Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <03c001c1b954$de67a390$0300a8c0@bluebox>
From: "Eugene Rosenzweig" <eugenius@dingoblue.net.au>
To: "Dani P." <danielpa@wanadoo.es>
Cc: <cygwin@cygwin.com>
References: <003501c1b6d0$5f9c0dc0$0100a8c0@daniel> <003b01c1b6d0$d0959000$0100a8c0@daniel> <3C70C1E3.2050908@syntrex.com> <004601c1b8bd$4aa8f100$0100a8c0@daniel> <5810594954.20020219124424@syntrex.com>
Subject: Re: Re[2]: Core dumped just only with strcat!
Date: Wed, 20 Feb 2002 01:51:08 +1100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

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/

