]> granicus.if.org Git - python/commit
Issue #18519, #18408: Fix sqlite authorizer callback
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 21 Jul 2013 11:05:38 +0000 (13:05 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 21 Jul 2013 11:05:38 +0000 (13:05 +0200)
commit41801f581202ab8fab149465d10568003c9a8aad
treea282752e8b378bec69a45ab608c6f427369ebb2c
parentb97cc49c3a4870713f1872de87543651dc940e96
Issue #18519, #18408: Fix sqlite authorizer callback

If a previous call to the authorizer callback failed and raised an exception,
don't call the Python authorizer callback, but just return SQLITE_DENY.
Modules/_sqlite/connection.c