Re: MaxDB/SAPDB compatibility (with trace)
Timo Denis <[email protected]>
| Newsgroups | gmane.comp.db.maxdb |
|---|---|
| Message-ID | <[email protected]> |
I've attached a SQL trace, which shows more data than the displayed result! What do you mean by: Does the driver manager handle it properly in the 64-bit environment? Cheers, Timo Koetter, Thomas Theodor wrote: > Hello Timo > >> -----Original Message----- >> From: Timo Denis [mailto:[email protected]] >> Sent: Mittwoch, 21. März 2007 08:57 >> To: [email protected] >> Subject: MaxDB/SAPDB compatibility >> >> Hi, >> >> I'm using SAPDB 7.4.0.35 (32bit linux) on one of our linux >> servers, all >> clients from Windows and Linux (both 32bit) can access the server w/o >> any problem. Now I need to access the server from a 64bit >> linux client. >> >> I tried to find a 64bit SAPDB client (7.4.x) for 64bit Linux, >> but there >> is only a iA64 version and no x86_64 version of the SAPDB software at >> http://www.sapdb.org/7.4/rpm_linux.htm, so I've installed the >> maxdb-callif packages from mysql.com on RHEL4 and Fedora Core 4, ie. >> maxdb-callif-7.5.0.34-1.x86_64.rpm/maxdb-callif-7.6.0.34-1.x86_64.rpm > > [problem with select] > > Maybe the ODBC-trace might help. Please add > > tracefilename=<your trace file> > > to the DSN-entry. > > > FYI, with 64-bit some data types changed in the ODBC interfaces (e.g. SQLLEN is on 64-bit machines a 64-bit integer). See for example SQLGetData: > > SQLGetData(SQLHSTMT StatementHandle, > SQLUSMALLINT ColumnNumber, SQLSMALLINT TargetType, > SQLPOINTER TargetValue, SQLLEN BufferLength, > SQLLEN *StrLen_or_Ind); > > > Does the application and the driver manager handle it properly in the 64-bit environment? > > > Regards Thomas > > > > > ---------------------------------------------- > Dr. Thomas Kötter > SAP AG, Berlin > NW EIM MLC IFA > > MaxDB: all you need! > www.sdn.sap.com/irj/sdn/maxdb www.mysql.com/products/maxdb www.sapdb.org > > Sitz der Gesellschaft/Registered Office: Walldorf, Germany > Vorstand/SAP Executive Board: Henning Kagermann (Sprecher/CEO), Shai Agassi, Léo Apotheker, Werner Brandt, Claus Heinrich, Gerhard Oswald, Peter Zencke > Vorsitzender des Aufsichtsrats/Chairperson of the SAP Supervisory Board: Hasso Plattner > Registergericht/Commercial Register Mannheim No HRB 350269 > > Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. > Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank. > > This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. > > -- IEE S.A. International Electronics & Engineering Zone Industrielle, L-6468 Echternach, Luxembourg Phone +(352)72 89 89-801, Fax +(352)72 89 89-109 This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation. -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[email protected]
sqltrace.txt
(text/plain, 4.5 KB)
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body ><PRE><PLAINTEXT> PRODUCT : MaxDB C-PreComp Runtime VERSION : 7.6.00 BUILD : 034-123-134-685 DATASOURCE: dc03 SESSION : 1; SQLMODE : INTERN SERVERDB : IEEINT SERVERNODE: dc03.process.echternach.ieeintern CONNECT "TESTERRO " IDENTIFIED BY :A ISOLATION LEVEL 1 AUTHENTICATION: NO START : DATE : 2007-03-21 TIME : 0011:15:10 END : DATE : 2007-03-21 TIME : 0011:15:10 select * from tester.ieeuser where firstname='Timo' PARSE : CMD : mfIndex init : 1 mfIndex init : 2 PARSEID: OUTPUT: 00F274CE 00000201 3C002C00 01000000 START : DATE : 2007-03-21 TIME : 0011:15:21 END : DATE : 2007-03-21 TIME : 0011:15:21 select * from tester.ieeuser where firstname='Timo' EXECUTE: CMD : PARSEID: INPUT : 00F274CE 00000201 3C002C00 01000000 mfIndex init : 2 mfIndex init : 2 WARNING: W-------8------- SQLRESULTNAME : SQL_CURSOR_0001 SQLERRD(INDEX_3) : -1 START : DATE : 2007-03-21 TIME : 0011:15:21 END : DATE : 2007-03-21 TIME : 0011:15:21 MASS STATEMENT : FETCH "SQL_CURSOR_0001" PARSE : CMD : WARNING: W--3------------ PARSEID: OUTPUT: 00F274CE 00000401 2A002B00 01000000 START : DATE : 2007-03-21 TIME : 0011:15:21 END : DATE : 2007-03-21 TIME : 0011:15:21 MASS STATEMENT : FETCH "SQL_CURSOR_0001" EXECUTE: CMD : PARSEID: INPUT : 00F274CE 00000401 2A002B00 01000000 PARAMETER DESCRIPTION: 0x5aede0 Application Kernel Nr. Type Length Type Length Fraction --------------------------------------------- 1 1 4 30 10 0 2 7 51 31 50 0 3 7 51 31 50 0 4 7 51 31 50 0 5 7 11 31 10 0 6 7 21 31 20 0 7 7 21 31 20 0 8 6 10 10 10 0 9 6 10 10 10 0 10 7 1 23 1 0 11 7 21 31 20 0 12 7 255 31 254 0 OUTPUT : 1: USER_ID : 984 OUTPUT : 2: FIRSTNAME : Timo OUTPUT : 3: SURNAME : Denis OUTPUT : 4: MNAME : IS NULL OUTPUT : 5: SHORTNAME : Employee OUTPUT : 6: IEE_ID : 5510001191 OUTPUT : 7: TIMECODE : IS NULL OUTPUT : 8: INDATE : 2002-01-15 OUTPUT : 9: OUTDATE : IS NULL OUTPUT : 10: SEX : FALSE OUTPUT : 11: LANGUAGE : GER OUTPUT : 12: NOTES : IS NULL SQLERRD(INDEX_3) : 1 START : DATE : 2007-03-21 TIME : 0011:15:21 END : DATE : 2007-03-21 TIME : 0011:15:21 MASS STATEMENT : FETCH "SQL_CURSOR_0001" EXECUTE: CMD : PARSEID: INPUT : 00F274CE 00000401 2A002B00 01000000 SQLCODE: 100 ROW NOT FOUND START : DATE : 2007-03-21 TIME : 0011:15:21 END : DATE : 2007-03-21 TIME : 0011:15:21 CLOSE "SQL_CURSOR_0001" PARSE : CMD : PARSEID: OUTPUT: 00F274CE 00000501 06002800 01000000 START : DATE : 2007-03-21 TIME : 0011:15:21 END : DATE : 2007-03-21 TIME : 0011:15:21 CLOSE "SQL_CURSOR_0001" EXECUTE: CMD : PARSEID: INPUT : 00F274CE 00000501 06002800 01000000 PARSEID: SELECT: 00F274CE 00000201 3C002C00 01000000 mfIndex init : 2 mfIndex restore : 2 START : DATE : 2007-03-21 TIME : 0011:15:21 END : DATE : 2007-03-21 TIME : 0011:15:21 PARSEID: DROP : 00F274CE 00000401 2A002B00 01000000 START : DATE : 2007-03-21 TIME : 0011:15:21 END : DATE : 2007-03-21 TIME : 0011:15:21 SQCDROPPARSID PARSEID: : 00F274CE 00000401 2A002B00 01000000 PARSEID: DROP : 00F274CE 00000501 06002800 01000000 START : DATE : 2007-03-21 TIME : 0011:15:21 END : DATE : 2007-03-21 TIME : 0011:15:21 SQCDROPPARSID PARSEID: : 00F274CE 00000501 06002800 01000000 mfIndex delete : 2 PARSEID: DROP : 00F274CE 00000201 3C002C00 01000000 START : DATE : 2007-03-21 TIME : 0011:15:21 END : DATE : 2007-03-21 TIME : 0011:15:21 SQCDROPPARSID PARSEID: : 00F274CE 00000201 3C002C00 01000000 S1: DISCONNECT SQCFINISH