Re: [Mysql-cocoa-users] MCPConnection upgrade
Brought to you by:
sergecohen
From: Aaron J. <aj...@ed...> - 2004-08-16 14:12:14
|
Are you sure there's no line after that? Starting at line 502 of MCPConnection.m: NSLog (@"Problem in queryString error code is : %d, query is : %s -in ObjC : %@-\n", theQueryCode, theCQuery, query); NSLog(@"Error message is : %@\n", [self getLastErrorMessage]); That's basically the exact same thing that you use in your error reporting code. If the second line is not there, what version of the framework are you using? Have you modified it in any way? Aaron On Aug 16, 2004, at 8:59 AM, Camille GOUREAU-SUIGNARD wrote: > Hi all, > > it seems that i've got a problem with the framework. > With a trivial error in my code hre's what the frameworks tells via > the console : > > 2004-08-16 15:54:58.041 LLCaisse[623] Problem in queryString error > code is : -1, query is : select ERRORid from lulu.stock where > codebarre = "8712269354009" ; -in ObjC : select ERRORid from > lulu.stock where codebarre = "8712269354009" ;- > > and with my code : > > 2004-08-16 15:54:58.042 LLCaisse[623] erreur MySQL !! > 2004-08-16 15:54:58.042 LLCaisse[623] query : select ERRORid from > lulu.stock where codebarre = "8712269354009" ; > 2004-08-16 15:54:58.042 LLCaisse[623] error : Unknown column 'ERRORid' > in 'field list' > > Here, the error is rather trivial, but in somewhat complex query, it > helps me to have the error message from mySQL (third line of my > report). > > So I've perhaps forgot something, but I find a (my) complete report > usefull. > BTW, if I'm the only one to ask for this, just forget it. I'm sure you > have more important things to do. > > in any way, thanks for your work, I couldn't work without roue > framework. > > Camille > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users |