amol...@123india.com writes:
Hello Sir ,
I have RedHat Linux7.0 . I install MySql-3.23.36 . By using C++ I am trying to
coonect to database . I use C++ wrapper classes for the same which in build uses
the Mysql++ API.I can compile and also link the programe.
And when I run that programe if i give the command to create the table with the
same name which is already present it displays the correct message that you can
not create the table with the same name. And programe get terminated but when i
fire the query to retriew the data from the table then at run time it just give
me error as Segmentation fault (core dumped)
eventhough the query statement is valid .
So please give me solution on this.
thanking you
waiting for your reply.
amol
Hi!
It is a known fact that C++ compiler in 2.96 is buggy.
Use g++ 2.95.2 with it's STL classes and there will be no problem.
Regards,
Sinisa