List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:January 6 2009 11:10am
Subject:Re: Stack Corruption with mysqlpp::Query
View as plain text  
On Jan 6, 2009, at 12:39 AM, Ryan Rosario wrote:

>        mysqlpp::ResUse res = query.use();

It appears you're using an old version of MySQL++.  It's possible that  
there was a bug in it which was fixed in a later version.

Try moving up to at least the latest point release within the minor  
one you're using now.  Better, move up to the last minor release in  
the major series you're using now.  For instance, go from 2.0.3 to  
2.0.7 (last 2.0.x release) or 2.3.2 (last 2.x release).  If you're on  
some 2.x release, you shouldn't have to change anything in your code  
to make the upgrade.  Assuming you're using dynamic linkage, you don't  
even have to recompile your program to get it to use the new library  
when staying within a major version, though it is recommended.

Changing major versions will take some work, but may still be worth  
it, as the library was greatly cleaned up and enhanced with each major  
release.  3.0 has been out long enough now that it should be quite  
stable.
Thread
Stack Corruption with mysqlpp::QueryRyan Rosario6 Jan
  • Re: Stack Corruption with mysqlpp::QueryWarren Young6 Jan