Core dumped just only with strcat!
Eugene Rosenzweig
eugenius@dingoblue.net.au
Tue Feb 19 06:51:00 GMT 2002
Dani,
You should really give us more info about the fault like say, the actual
line number.
Compile with -g option, run in gbd, it should tell you where it crashes,
send us as much info as possible.
I do not have experience in mysql but I did have a look at the code. If you
are crashing in teh mysql call
maybe you not allocating and initialising the MYSQL *base_de_datos
structure?
Are you calling mysql_init() as per
http://www.mysql.com/documentation/mysql/bychapter/manual_Clients.html#mysql
_init?
Another thing: mysql expects you to put ';' at the end of every SQL query,
thats in their docs too.
Eugene.
----- Original Message -----
From: "Pavel Tsekov" <ptsekov@syntrex.com>
To: "Dani P." <danielpa@wanadoo.es>
Cc: <cygwin@cygwin.com>
Sent: Tuesday, February 19, 2002 10:44 PM
Subject: Re[2]: Core dumped just only with strcat!
Lots of stuff omitted...
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list