Re: [gnome-db] Prepared statements with libgda



Hi Vivien,

I'm testing libgda with my project, and I found another strange behaviour.
If I issue a query like this:

"SELECT * FROM table WHERE name = ## /* name:'+0' type:gchararray */
LIMIT 1"

note the 'LIMIT 1', it won't compile on a gda_query_new_from_sql ()
call. On the contrary, if I use 'ORDER BY' it works good. I searched
into the code for a 'LIMIT' keyword, but I didn't find it. I suppose
it's not yet implemented, is it?


thanks and regards,

Massimo

 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Vuoi fare business con la Cina? Videocorso pratico con utili suggerimenti
per chi vuole fare import-export con la Cina
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6201&d=20070410





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]