|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
.execute() method segfault with python2.3
From: Jean-Michel OLTRA (jm.oltra
espinasse.net)
Date: Sat Mar 13 2004 - 15:27:24 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]