Re: [pysqlite] cursor changes have broken read of pragmas
Gerhard Häring <[email protected]> Sat, 14 Mar 2009 23:11:39 +0100
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Damien Elmes wrote:
> Hi,
>
> Is this supposed to fail?
>
> --- pysqlite-2.5.4/pysqlite2/test/dbapi.py 2009-03-03
> 18:22:46.000000000 +0900
> +++ pysqlite-2.5.4/build/lib.linux-i686-2.5/pysqlite2/test/dbapi.py
> 2009-03-14 06:38:03.000000000 +0900
> @@ -391,6 +391,8 @@
> self.failUnlessEqual(row[0], "foo")
> row = self.cu.fetchone()
> self.failUnlessEqual(row, None)
> + self.cu.execute("pragma page_size")
> + row = self.cu.fetchone()
>
> def CheckFetchoneNoStatement(self):
> cur = self.cx.cursor()
Of course not. I'll look into it.
-- Gerhard