bonjour,

Le jeudi 05 ao�t 2004, Dittmar, Daniel a �crit...


> Could you try the included python program? The output on my machine using Python 2.2 
> is:
> === using sapdb.sql
> OK: (3,)
> ERR: sql.SQLError: [-300] (at 0) stopped

idem on my Debian box.

> Whene using the dbapi, Stored procedures should be called using cursor.callproc (). 
> This doesn't help in this case as I found plenty of errors in the implementation 
> when using output variables. Fix forthcoming.

I had tried out...

But I notice that:

* with values giving no resultset:
    dbapi -> cursor.execute ("CALL PROCNAME(?,?,?,?), [list]) returns 0
    sql -> call.execute ([list]) returns NoneType (after .prepare() method of
        course)
* with correct values:
    dbapi returns 1, <type int>, and so do sql module

I really do not understand...

-- 
jm


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to