segmentation fault
- From: Chris Grossbe <noSpam@xxxxxx>
- Date: Wed, 23 Nov 2005 18:39:39 +0100
Hi!
this problem has been a headache for about 2 hours now and i just cant figure it out.
ive got a c program that connects to a DB via mysql.
currently ive got 2 querys. the first worked just fine but when it comes to the 2nd ive got an error: segmentation fault.
my query is fine tried it out directly.
i init the db with dbHandle = mysql_init(0) dbHandle = mysql_realconnect(dbHandle, host, pass.... blahbla)
as soon as the program comes to
mysql_query(dbHandle, str_query1);
it throws the seg fault
as i said the first q works without probs. could it be that the dbHandle has been changed during the first q?
any help would be appricated
thx and greez .
- Follow-Ups:
- Re: segmentation fault
- From: Gordon Burditt
- Re: segmentation fault
- Prev by Date: Re: function automatically returns the value
- Next by Date: Re: Evaluation order of function parameters
- Previous by thread: Does C have function to get angle?
- Next by thread: Re: segmentation fault
- Index(es):
Relevant Pages
|
|