[DBIx-Class-Devel] [sql-translator] proposed fix for rt #83831 SQLite parser does not handle multi-word ON D... (#27)

joseds notifications at github.com
Fri Mar 8 22:43:53 GMT 2013


This simple fix replaces the old SQLite parsing which looked for a single word action after "ON UPDATE" or "ON DELETE" by comparing against the 5 currently available actions. The fix did not break any tests. This is my first pull request at all, I hope I did it right.
You can merge this Pull Request by running:

  git pull https://github.com/joseds/sql-translator topic/parse_on_delete_on_update_actions

Or you can view, comment on it, or merge it online at:

  https://github.com/dbsrgits/sql-translator/pull/27

-- Commit Summary --

  * proposed fix for rt #83831 SQLite parser does not handle multi-word ON DELETE/UPDATE actions

-- File Changes --

    M lib/SQL/Translator/Parser/SQLite.pm (4)

-- Patch Links --

https://github.com/dbsrgits/sql-translator/pull/27.patch
https://github.com/dbsrgits/sql-translator/pull/27.diff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20130308/9b2427d6/attachment.htm


More information about the DBIx-Class-Devel mailing list