freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: GUTIERREZ Pablo TESIS-TAMSA <Tesgup AT tamsa.com.mx>
- To: "'freetds AT lists.ibiblio.org'" <freetds AT lists.ibiblio.org>
- Subject: [freetds] db-library : SIGSEGV on dbexit()
- Date: Tue, 10 Jun 2003 15:04:15 -0500
Hi,
I'm using FREE-TDS 0.61.1, and I'm having a problem with the DB-LIBRARY.
My code is similar to this one:
dbinit();
DBSETUSER (login,...
....
for (;;)
{
sleep (5);
dbproc=dbopen(login,"anything");
dbcmd (dbproc, "INSERT INTO ... ");
if (dbsqlexec (dbproc) != SUCCESS)
{
exit (-1);
}
...
...
dbexit();
}
The first time the loop runs, it goes fine.
But the second time, it throws a SIGSEGV signal in the execution of
dbexit();
I know I should use dbclose() instead of dbexit() in this case, but, why the
exception?
Regards,
Pablo
-
[freetds] db-library : SIGSEGV on dbexit(),
GUTIERREZ Pablo TESIS-TAMSA, 06/10/2003
- <Possible follow-up(s)>
- RE: [freetds] db-library : SIGSEGV on dbexit(), Lowden, James K, 06/10/2003
-
RE: [freetds] db-library : SIGSEGV on dbexit(),
GUTIERREZ Pablo TESIS-TAMSA, 06/10/2003
- Re: [freetds] db-library : SIGSEGV on dbexit(), James K. Lowden, 06/11/2003
Archive powered by MHonArc 2.6.24.