)]}'
{"oslo/db/sqlalchemy/exc_filters.py":[{"author":{"_account_id":6849,"name":"Roman Podoliaka","email":"roman.podoliaka@gmail.com","username":"rpodolyaka"},"change_message_id":"dfe6beb82d0e3e30dd7b1401a591512104cd25d8","unresolved":false,"context_lines":[{"line_number":169,"context_line":""},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"@filters(\"sqlite\", sqla_exc.IntegrityError,"},{"line_number":172,"context_line":"         r\"(?i).*foreign key constraint failed\")"},{"line_number":173,"context_line":"@filters(\"sqlite\", sqla_exc.IntegrityError,"},{"line_number":174,"context_line":"         r\".*SQL error: foreign key constraint failed\")"},{"line_number":175,"context_line":"@filters(\"postgresql\", sqla_exc.IntegrityError,"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa98f980_8e86fa11","line":172,"updated":"2014-09-02 08:22:52.000000000","message":"I think this regexp will also match all the strings the next one can possibly match, making the latter useless.","commit_id":"b7d01cf507ef67f86559eaae3c1c5117e9750e3c"},{"author":{"_account_id":7491,"name":"Viktor Serhieiev","email":"viktor.sergeyev@gmail.com","username":"vsergeyev"},"change_message_id":"8cf101d86de6dda96c8a9d6d9582a180b33b9a00","unresolved":false,"context_lines":[{"line_number":169,"context_line":""},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"@filters(\"sqlite\", sqla_exc.IntegrityError,"},{"line_number":172,"context_line":"         r\"(?i).*foreign key constraint failed\")"},{"line_number":173,"context_line":"@filters(\"sqlite\", sqla_exc.IntegrityError,"},{"line_number":174,"context_line":"         r\".*SQL error: foreign key constraint failed\")"},{"line_number":175,"context_line":"@filters(\"postgresql\", sqla_exc.IntegrityError,"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa98f980_77f7b1f5","line":172,"in_reply_to":"fa98f980_8e86fa11","updated":"2014-09-03 12:57:00.000000000","message":"Done","commit_id":"b7d01cf507ef67f86559eaae3c1c5117e9750e3c"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"ba2d0b079351f694bb34d588f40a96b3a9a4c752","unresolved":false,"context_lines":[{"line_number":180,"context_line":"         r\".* \u0027Cannot add or update a child row: \""},{"line_number":181,"context_line":"         \"a foreign key constraint fails \\(`.+`\\.`(?P\u003ctable\u003e.+)`, \""},{"line_number":182,"context_line":"         \"CONSTRAINT `(?P\u003cconstraint\u003e.+)` FOREIGN KEY \\(`(?P\u003ckey\u003e.+)`\\) \""},{"line_number":183,"context_line":"         \"REFERENCES `(?P\u003ckey_table\u003e.+)` \")"},{"line_number":184,"context_line":"def _foreign_key_error(integrity_error, match, engine_name, is_disconnect):"},{"line_number":185,"context_line":"    \"\"\"Filter for foreign key errors.\"\"\""},{"line_number":186,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa98f980_bc0aa387","line":183,"updated":"2014-09-04 22:40:18.000000000","message":"OK.   So, this *technically* wont necessarily work in all cases.  MySQL has a variable quoting style - if ANSI quotes mode, it uses \" for quoting, not the backtick.  I\u0027d favor making this regexp *really* fuzzy - all of those quotes, turn them into something very catchall like `.?`.   So whether or not the quote is there, or what it is, won\u0027t fail.","commit_id":"252dfcbd74431ab79b7474d21d5b82efe57a3486"},{"author":{"_account_id":7491,"name":"Viktor Serhieiev","email":"viktor.sergeyev@gmail.com","username":"vsergeyev"},"change_message_id":"240867c4c1d6a9d0dcd4f14993f9a33f7444f182","unresolved":false,"context_lines":[{"line_number":180,"context_line":"         r\".* \u0027Cannot add or update a child row: \""},{"line_number":181,"context_line":"         \"a foreign key constraint fails \\(`.+`\\.`(?P\u003ctable\u003e.+)`, \""},{"line_number":182,"context_line":"         \"CONSTRAINT `(?P\u003cconstraint\u003e.+)` FOREIGN KEY \\(`(?P\u003ckey\u003e.+)`\\) \""},{"line_number":183,"context_line":"         \"REFERENCES `(?P\u003ckey_table\u003e.+)` \")"},{"line_number":184,"context_line":"def _foreign_key_error(integrity_error, match, engine_name, is_disconnect):"},{"line_number":185,"context_line":"    \"\"\"Filter for foreign key errors.\"\"\""},{"line_number":186,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa98f980_c20be321","line":183,"in_reply_to":"fa98f980_bc0aa387","updated":"2014-09-05 16:02:52.000000000","message":"Fixed, added test case","commit_id":"252dfcbd74431ab79b7474d21d5b82efe57a3486"}]}
