-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Description
From jose.gomes.ny on May 26, 2010 08:19:39
This is a way to reproduce the issue. valgrind shows uninitialized memory
reads and eventually an invalid read in vtable.c:174. This is using apsw-
3.6.23.1- r1 .
!/usr/bin/env python
import apsw
class Source:
def Create(self, *args):
return 'CREATE TABLE x (delete)', None
connection = apsw.Connection('db')
cursor = connection.cursor()
connection.createmodule("testmod2", Source())
cursor.execute("create virtual table foo using testmod2(2,two)")
for row in cursor.execute("select * from foo"):
print row