This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re[2]: Core dumped just only with strcat!


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]