I'm able to duplicate this on Linux with fresh compiles of Python, apsw, 
sqlite.

Scott

On Saturday 05 March 2005 06:11 pm, Scott Chapman wrote:
> I'm using APSW 3.0.8-r3 on Python Windows XP Pro with Python 2.3.4.
>
> Minimal test-case code:
>
> import apsw
> db = apsw.Connection('test.db3')
> cursor=db.cursor()
> cursor.execute('PRAGMA empty_result_callbacks = 1')
> sql="select * from testnn" # testnn is empty
> cursor.execute (sql)
> description = cursor.getdescription()
>
> Results:
>
> Traceback (most recent call last):
>   File "test_pragma.py", line 7, in ?
>     description = cursor.getdescription()
> apsw.ExecutionCompleteError: Can't get description for statements that
> have completed execution
>
> Am I doing something wrong here?  I'm expecting a description even
> though the table is empty because the full_column_names pragma is on.
>
> TIA,
> Scott

Reply via email to