Petri Lehtinen <pe...@digip.org> added the comment:

What? Don't you SEE that it works correctly? :)

Attached an updated patch with a test case.

FTR, I also tried to make it possible to have the SQL statement include a zero 
byte, but it seems that sqlite3_prepare() (and also the newer 
sqlite3_prepare_v2()) always stops reading at the zero byte. See:

    http://www.sqlite.org/c3ref/prepare.html

----------
Added file: http://bugs.python.org/file24111/sqlite3_zero_byte_v2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13676>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to