Hello Simon, Thanks for the report. Could you possibly send the actual self-contained code that crashes?
Thanks, Aleksander On Thu, Sep 30, 2010 at 1:34 PM, Simon Chenard <[email protected]> wrote: > Hello, > First off, I never used a mailing list before... it's all pretty new to me. > Shouldn't pose any problem, but if I make a stupid mistake please pardon me. > So I started a new C++ project not too long ago, and I decided to use SOCI > to handle the database querying (MySQL). To test my set-up I used the > example there : http://soci.sourceforge.net/doc/index.html which I modified > a little by eliminating the while clause and querying a db and table which > currently exist. I'm able to do a COUNT(*) and store it in a int, but if I > select (select name from categories where id = 4) a varchar, and store it > into a string, I get a Segmentation Fault. Which is quite troublesome... I > tried a few things (initializing the string, messing with the query) but to > no avails. I really don't have any ideas on how to resolve this issue. Would > anyone have one? Thanks! > Simon > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Soci-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/soci-users > > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
