Foreign Keys support for SQLite

Bug #676702 reported by Giorgos Logiotatidis
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Storm
Fix Released
Undecided
Unassigned

Bug Description

Hello,
In sqlite you have to exceptionally ask for foreign key support (because it was introduced recently and not activated -due to compatibility restrictions- by default)

Currently there is no easy way of doing it since the developer has to execute a PRAGMA command to the sqlite db.

To solve the problem I patched SQLite() to include a foreign_keys uri.option. The patched is attached.

Tags: sqlite
Revision history for this message
Giorgos Logiotatidis (seadog) wrote :
Revision history for this message
Jamu Kakar (jkakar) wrote :

Thanks for the patch Giorgos! Before we can accept we need to confirm
that you've signed the Canonical contributor agreement:

http://www.canonical.com/contributors

Please follow the instructions there if you haven't already signed the
agreement and confirm for us when you have.

Changed in storm:
milestone: none → 0.19
Revision history for this message
Giorgos Logiotatidis (seadog) wrote :

Hello Jamu,
I just signed the agreement, please proceed with the patch.

Barry Warsaw (barry)
Changed in storm:
milestone: 0.19 → 0.20
Changed in storm:
milestone: 0.20 → 0.21
Revision history for this message
Giovanni Pellerano (evilaliv3) wrote :

This is already merged in 0.20 by a patch i did.

why is this issue still open and included in milestone 0.21?

Revision history for this message
Colin Watson (cjwatson) wrote :

Yes, sorry, this seems to have been an oversight. I can't change the milestone to 0.20 now because that's already been released, but this was indeed fixed in r458.

Changed in storm:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.