.execute() method segfault with python2.3 2004-03-14 - By Jean-Michel OLTRA
Back
bonjour,
This script:
#!/usr/bin/python2.3
import sapdbapi
conn = sapdbapi.Connection ( 'JM ', 'PASSWD ', 'TEST ')
curs = conn.cursor ()
try:
curs.execute ( "INSERT INTO MISEBAS \
(IDANIMAL,DATEMB,NBCHEVREAUX,OBSERVATIONS) \
VALUES \
(:idanimal,:datemb,:nbchevreaux,:observations) ", \
(180, '20040311 ',1, ' '))
conn.commit ()
finally:
curs.close ()
conn.close ()
segfault, no core dumped
But with python2.2 the statement is successfully executed.
What 's the matter whith it ?
--
jm
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/maxdb?unsub=mysql@(protected)
|
|