freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD
- From: "Amanda Wise" <awise AT idtdna.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD
- Date: Thu, 20 Sep 2007 12:30:17 -0500
Hello,
I would suggest including a small program that's extremely simple (just
connects to the database and prints out column names for instance), just to
show what the base case of the connection needs to be. The sample code I
found was most helpful was from the Sys admin newsletter at
http://www.samag.com/documents/s=9368/sam0507d/0507d.htm. Attached is the
zipped code that was included in the article.
Amanda
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org on behalf of James K. Lowden
Sent: Thu 9/20/2007 9:40 AM
To: FreeTDS Development Group
Subject: Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD
Amanda Wise wrote:
> I had been reading many conflicting examples that included combinations
> of sybdb.h, tds.h, and dblib.h. Using only sybdb made my code simpler
> and allowed the message handler to run.
Hi Amanda,
You don't need to scrounge around for examples. You have good ones in the
FreeTDS source tree, if I may say so myself.
One of the reasons I wrote bsqldb was to provide an example of a complete
db-lib application. fisql is also a working example that was written for,
and is still used with, Sybase's db-lib.
Your feedback would be helpful. If bsqldb does not help you figure out
what to do in what order, and how, please tell me what the problem is.
Maybe I can incorporate your suggestions.
Regards,
--jkl
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
<<winmail.dat>>
-
[freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
Amanda Wise, 09/18/2007
- <Possible follow-up(s)>
-
[freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
Amanda Wise, 09/18/2007
- Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD, James K. Lowden, 09/18/2007
-
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
Frediano Ziglio, 09/19/2007
-
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
Amanda Wise, 09/19/2007
-
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
ZIGLIO, Frediano, VF-IT, 09/20/2007
-
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
Amanda Wise, 09/20/2007
-
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
ZIGLIO, Frediano, VF-IT, 09/20/2007
- Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD, Amanda Wise, 09/20/2007
-
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
ZIGLIO, Frediano, VF-IT, 09/20/2007
-
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
Amanda Wise, 09/20/2007
-
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
James K. Lowden, 09/20/2007
- Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD, Amanda Wise, 09/20/2007
-
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
ZIGLIO, Frediano, VF-IT, 09/20/2007
-
Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD,
Amanda Wise, 09/19/2007
Archive powered by MHonArc 2.6.24.