| Mailing List | | Home | | MySQL General - General MySQL discussion | | MaxDB - Everything about MaxDB, formerly known as SAP DB | | MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP | | MySQL++ - Programming with the C++ API to MySQL | | ODBC - ODBC with the MySQL Connector/ODBC driver | | Java Help - Mostly related to the MySQL Connector/J driver | | Perl - Perl support for MySQL with DBI and DBD::mysql | | GUI - MySQL GUI Tools | | Announcement |
|
|
  | |  | AW: Problems with dynamic ODBC and iodbc on Linux | AW: Problems with dynamic ODBC and iodbc on Linux 2004-04-07 - By Norbert Mende
Back Hello Thomas,
the program terminates "correctly" and the mysterious signs are the output.
iodbctest terminates in ODBC_Connect with a -1 and then an error message should follow. When printing out the errormessage, the debugger runs through a "if (unicodedriver) ...". So, my assumption is, that iodbctest tries to interpret a normal string as a unicode string (or the other way round) and prints it out.
The question now is: Why does it run into that unicode part? (And why does the connection not work)
I'm still debugging ...
Regards, Norbert
-- --Ursprüngliche Nachricht-- -- Von: Koetter, Thomas Theodor [mailto:thomas.theodor.koetter@(protected)] Gesendet: Mittwoch, 7. April 2004 09:43 An: 'Norbert Mende'; maxdb@(protected) Betreff: RE: Problems with dynamic ODBC and iodbc on Linux
Hi Norbert,
> -- --Original Message-- -- > From: Norbert Mende [mailto:norbert.mende@(protected)] > Sent: Montag, 5. April 2004 17:36 > To: maxdb@(protected) > Subject: Problems with dynamic ODBC and iodbc on Linux > > > Hi, > > I've got a problem when using MaxDB 7.5.00.08's ODBC driver > dynamically > on SuSe 8.1 with iodbc. iodbctest crashes by producing the following > output: > > sdb@(protected):/usr/local/libiodbc-3.51.1/samples> ./iodbctest > "DSN=maxdb1;UID=test;PWD=test" iODBC Demonstration program > This program shows an interactive SQL processor > Driver Manager: 03.51.0001.0908 > ? > > @`??¿taßx? @, SQLSTATE=? > > Have a nice day.sdb@(protected):/usr/local/libiodbc-3.51.1/samples>
Could you please run the application under gdb? The stack back trace may give valuable hints.
A valgrind output would probably also useful.
Regards Thomas
-- ---- ---- ---- ---- ---- ---- ---- ---- --- Dr. Thomas Kötter SAP AG, SAP Labs Berlin
Do you know SAP^H^H^H MaxDB ? www.sapdb.org
-- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=matt.woods@(protected)
-- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=mysql@(protected)
|
|
 |