Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

ODBC driver crash when used with libodbc++: msg#00240

db.tds.freetds

Subject: ODBC driver crash when used with libodbc++

Hi,

The FreeTDS ODBC driver crashes when used from the isql++ command line tool from libodbc++.

The FreeTDS driver also seems to corrupt some of the data returned (compare with the sybase driver below).

To reproduce, build libodbc++ 0.2.3 from http://libodbcxx.sourceforge.net/ and run isql++. For example, here is a run with the FreeTDS driver that ends in a core dump, followed by a run with the sybase driver so that you can see the expected results.

Cheers,
Alex.

$ isql++ 'DSN=TRAJANDEVTDS;UID=blackuser;PWD=xxxxxxxx;WKID=julius;'

Connected to sql server 12.05.0000 using libtdsodbc.so 0.62.dev.20031029 (ODBC
Version 3.0)

SQL> select * from sysusers;

suid uid gid name environ

=========== =========== =========== ==== ====================================

-16391 16391 16391 ha_r <NULL>

-16390 16390 16390 dtm_ <NULL>

0 0 0

-16389 16389 16389 repl <NULL>

0 0 0

0 0 0

-16388 16388 16388 navi <NULL>

0 0 0

0 0 0

17 17 17 ? ?

-16387 16387 16387 syba <NULL>

0 0 0

0 0 0

17 17 17 ? ?

4 4 4 Segmentation fault (core dumped)



$ isql++ 'DSN=TRAJANDEV;UID=blackuser;PWD=xxxxxxxx;WKID=julius;'

Connected to SQL Server 12.50.0000 using syodase.so 11.1.1/03.11.0000 (ODBC
Version 3.50)

SQL> select * from sysusers;

suid uid gid name environ

=========== =========== =========== ==== ====================================

-16391 16391 16391 ha_r <NULL>

-16390 16390 16390 dtm_ <NULL>

-16389 16389 16389 repl <NULL>

-16388 16388 16388 navi <NULL>

-16387 16387 16387 syba <NULL>

-16386 16386 16386 oper <NULL>

-16385 16385 16385 sso_ <NULL>

-16384 16384 16384 sa_r <NULL>

-2 0 0 publ <NULL>

45 1 0 dbo <NULL>

46 3 0 blac <NULL>

47 4 0 blac <NULL>

12 rows fetched.

-1 rows affected

SQL>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation