This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author poq
Recipients Mark.Bucciarelli, ghaering, poq
Date 2011-09-18.02:57:00
SpamBayes Score 1.3162751e-08
Marked as misclassified No
Message-id <1316314621.94.0.409387806433.issue12997@psf.upfronthosting.co.za>
In-reply-to
Content
Nope.

$ sqlite3
SQLite version 3.7.4
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> pragma foreign_keys;
0
sqlite>

$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) 
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>> c = sqlite3.connect(':memory:')
>>> list(c.execute('pragma foreign_keys'))
[(0,)]
>>> list(c.execute('pragma foreign_keys = on'))
[]
>>> list(c.execute('pragma foreign_keys'))
[(1,)]
History
Date User Action Args
2011-09-18 02:57:02poqsetrecipients: + poq, ghaering, Mark.Bucciarelli
2011-09-18 02:57:01poqsetmessageid: <1316314621.94.0.409387806433.issue12997@psf.upfronthosting.co.za>
2011-09-18 02:57:01poqlinkissue12997 messages
2011-09-18 02:57:00poqcreate