List:MySQL++« Previous MessageNext Message »
From:Matthias Braun Date:February 10 2006 6:19am
Subject:Stability problems with mysql++
View as plain text  
Help!

I am using Debian 3.1 / gcc 3.3.5 (Debian 1:3.3.5-13) and the old mysql
++ 1.7.40 installed via configure/install/make install. The Makefile is
as follows:

CXXFLAGS=       -pipe -Wall -W -O2 -I/usr/include/mysql
-I/usr/local/include/mysql++
LIBS    =       $(SUBLIBS) -L/usr/local/lib -lmysqlpp
(...)

Before I had the same issue with SuSE 9.3, with SuSE 8.2 it was fine.

My C++ is stable when running at Windows, but on my Linux it is unstable
and just crashing when setting up simple commands although I am using
exception handling like the following:

query << "ALTER TABLE " << tablename << " ENABLE KEYS;";
try
{
     query.store();
}
catch (BadQuery er)
{
      throw sql_error(er.error);
}

When setting up the corresponding command in the query analyzer - no
problem.

Thanks in advance,

Matthias

Thread
Stability problems with mysql++Matthias Braun10 Feb
  • Re: Stability problems with mysql++Chris Frey10 Feb
  • Re: Stability problems with mysql++Warren Young10 Feb