dbTalk Databases Forums  

Re: R: field_num("pippo") = ????????

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Re: R: field_num("pippo") = ???????? in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Warren Young
 
Posts: n/a

Default Re: R: field_num("pippo") = ???????? - 06-29-2005 , 12:08 PM






Paoletti Vincenzo wrote:
Quote:
the ref manual advices against uses it of "lookup_by_name" to cause its inefficiency .
lookup_by_name() is inefficient because it's built on field_num().

If efficiency is a concern, you shouldn't be looking up fields by name
at all. You should be using hard-coded indices into a Row array, or
SSQLS instead.

I've sent this to the mailing list, because the discussion should have
been kept there, and it's good info for the archives.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.