From: Warren Young Date: November 2 2008 5:32pm Subject: Re: help neede: crash at mysqlpp::StoreQueryResult res = query.store(); List-Archive: http://lists.mysql.com/plusplus/8116 Message-Id: <7D2C0C08-3D6C-49AD-9491-550E9FFA0B03@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Nov 2, 2008, at 8:54 AM, koochan sarat wrote: > mysqlpp::Query query = mySQL.query("select * from tblcontact"); > query.parse(); I think you'll find that if you remove the call to parse(), the program works. It's only needed for template queries: http://tangentsoft.net/mysql++/doc/html/userman/tquery.html Calling it anyway shouldn't crash MySQL++, though. We'll fix the weakness at some point. Until we do, don't annoy the library. :) > the same is working in sample app i got with MySQl++ You'll find that parse() is only called in the tquery examples and in resetdb, which all use template queries. None of the other examples do, so they don't call parse().