Hi all,
I did some more traces in the sdb.dbapi.execute and sdb.dbapi.wrapCall.
As far as I can see, there are no twice calls of the SQL-Statements from the
application layer. Maybe the SQL-Statements are called twice on the
Python-Interface ? Or may the returned Cursor a problem ?
DEBUG:Ape:sdb.dbapi.execute operation=SELECT SEQUENCE_NAME FROM
DOMAIN.SEQUENCES WHERE SEQUENCE_NAME = ?, parameters=('APETEST_OID_SEQ',)
<bound method Cursor.__executeParsed of <sdb.dbapi.Cursor instance at
0x418ea32c>> (<SapDB_Prepared object at 0x418dfad8>, ('APETEST_OID_SEQ',))
==> <sdb.dbapi.Cursor instance at 0x418ea32c>
DEBUG:Ape:reset_sequence(oid_seq, 1)
DEBUG:Ape:sdb.dbapi.execute operation=DROP SEQUENCE APETEST_OID_SEQ,
parameters=None
<bound method Cursor.__executeDirect of <sdb.dbapi.Cursor instance at
0x418ea32c>> ('DROP SEQUENCE APETEST_OID_SEQ',)
==> 0
DEBUG:Ape:create_sequence(oid_seq, 1)
DEBUG:Ape:sdb.dbapi.execute operation=CREATE SEQUENCE APETEST_OID_SEQ INCREMENT
BY 1 START WITH 1, parameters=None
<bound method Cursor.__executeDirect of <sdb.dbapi.Cursor instance at
0x418a530c>> ('CREATE SEQUENCE APETEST_OID_SEQ INCREMENT BY 1 START WITH 1',)
==> 0
DEBUG:Ape:sdb.dbapi.execute operation=SELECT APETEST_OID_SEQ.NEXTVAL FROM DUAL,
parameters=None
<bound method Cursor.__executeDirect of <sdb.dbapi.Cursor instance at
0x418b2c6c>> ('SELECT APETEST_OID_SEQ.NEXTVAL FROM DUAL',)
==> <sdb.dbapi.Cursor instance at 0x418b2c6c>
DEBUG:Ape:increment(oid_seq) 2
DEBUG:Ape:sdb.dbapi.execute operation=SELECT APETEST_OID_SEQ.NEXTVAL FROM DUAL,
parameters=None
<bound method Cursor.__executeDirect of <sdb.dbapi.Cursor instance at
0x418b24cc>> ('SELECT APETEST_OID_SEQ.NEXTVAL FROM DUAL',)
==> <sdb.dbapi.Cursor instance at 0x418b24cc>
DEBUG:Ape:increment(oid_seq) 4
DEBUG:Ape:sdb.dbapi.execute operation=SELECT APETEST_OID_SEQ.NEXTVAL FROM DUAL,
parameters=None
<bound method Cursor.__executeDirect of <sdb.dbapi.Cursor instance at
0x418b2b8c>> ('SELECT APETEST_OID_SEQ.NEXTVAL FROM DUAL',)
==> <sdb.dbapi.Cursor instance at 0x418b2b8c>
DEBUG:Ape:increment(oid_seq) 6
DEBUG:Ape:sdb.dbapi.execute operation=SELECT APETEST_OID_SEQ.NEXTVAL FROM DUAL,
parameters=None
<bound method Cursor.__executeDirect of <sdb.dbapi.Cursor instance at
0x418b2c4c>> ('SELECT APETEST_OID_SEQ.NEXTVAL FROM DUAL',)
==> <sdb.dbapi.Cursor instance at 0x418b2c4c>
DEBUG:Ape:increment(oid_seq) 8
Regards,
Dirk
--
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]