Le samedi 13 mars 2004, Jean-Michel OLTRA a �crit...
bonjour,
> segfault, no core dumped
> But with python2.2 the statement is successfully executed.
Some more details, if someone is interested in.
I wrote a script using sapdb.sql module
This script parses a tab separated file, and, for each line, uses the
third field in a prepared query:
the prepare:
select = session.prepare ("SELECT IDETABLISSEMENT FROM ETABLISSEMENT
WHERE NOMETABLISSEMENT = ?")
the query:
resultat = select.execute ([champs[2]])
the script read all the file, retrieves all IDETABLISSEMENT as asked and
write them in a separate file, doing some stuff with other fields of the
input file.
And then, when it's time to close all files (before ?, after ?, just at the
end ?), the loop `for ligne in file`, having being executed entirely, the
script segfault, with python2.3
--
jm
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]