Erlend Egeberg Aasland
090819ec5f
gh-89022: Improve sqlite3 exceptions related to binding params and API misuse ( #91572 )
...
* Map SQLITE_MISUSE to sqlite3.InterfaceError
SQLITE_MISUSE implies misuse of the SQLite C API, which, if it happens,
is _not_ a user error; it is an sqlite3 extension module error.
* Raise better errors when binding parameters fail.
Instead of always raising InterfaceError, guessing what went wrong,
raise accurate exceptions with more accurate error messages.
2022-05-04 07:16:01 -06:00
..
2022-04-29 22:23:54 -07:00
2022-04-06 20:00:14 +03:00
2022-05-02 14:24:39 -06:00
2022-04-18 09:27:09 +02:00
2022-04-18 14:01:18 -07:00
2022-04-30 13:17:23 +03:00
2022-02-22 22:04:07 +01:00
2022-03-14 16:30:46 -04:00
2022-05-02 16:28:45 -06:00
2022-04-18 19:56:53 -07:00
2022-04-27 22:36:34 -06:00
2022-02-03 11:20:08 +02:00
2022-04-13 07:42:25 -07:00
2022-05-02 16:29:03 -06:00
2022-04-14 12:50:11 -07:00
2022-05-03 17:49:57 -06:00
2022-04-11 15:34:18 +01:00
2022-04-30 13:13:46 +03:00
2022-03-28 11:44:41 -07:00
2022-05-04 07:16:01 -06:00
2022-03-17 13:05:52 +02:00
2022-03-08 09:26:13 +01:00
2022-04-24 10:23:59 +03:00
2022-03-30 15:28:20 +03:00
2022-04-13 09:07:10 +01:00
2022-04-16 13:37:02 -07:00
2022-03-07 11:31:46 +02:00
2022-03-30 12:00:27 +01:00
2022-01-21 13:18:31 -08:00
2022-03-22 13:53:51 +01:00
2022-04-06 13:03:36 -05:00
2022-02-03 11:20:08 +02:00
2022-04-21 21:27:15 -07:00
2022-05-01 10:44:14 +09:00
2022-04-06 20:00:14 +03:00
2022-04-11 15:02:41 -07:00
2022-05-03 18:38:18 +02:00
2022-03-26 09:55:35 -07:00
2022-04-06 11:22:39 -07:00
2022-04-06 11:22:39 -07:00
2022-02-24 14:29:08 +01:00
2022-04-08 17:15:35 -07:00
2022-04-08 17:15:35 -07:00
2022-04-11 15:02:41 -07:00
2022-05-03 21:36:52 -06:00
2022-03-05 17:47:00 +02:00
2022-04-05 08:15:11 -07:00
2022-02-26 14:05:20 +02:00
2022-04-06 20:00:14 +03:00
2022-03-30 12:10:10 +01:00
2022-04-11 17:02:19 -07:00
2022-05-02 10:36:39 -06:00
2022-05-03 15:14:25 -07:00
2022-04-27 15:28:56 -06:00
2022-05-02 16:51:17 +01:00
2022-03-22 14:01:15 -07:00
2022-01-22 18:27:52 -08:00
2022-03-21 12:49:43 -05:00
2022-01-22 20:52:55 -06:00
2022-04-12 22:46:40 +09:00
2022-03-22 02:37:00 -07:00
2022-04-17 23:12:33 -05:00
2022-04-13 10:47:41 -07:00
2022-05-03 13:52:30 -07:00
2022-02-23 02:25:00 +02:00
2022-05-03 06:12:58 -06:00
2022-04-30 15:53:29 +09:00
2022-04-26 22:43:50 +02:00
2022-05-03 15:17:57 -06:00
2022-04-15 12:32:56 -07:00
2022-01-13 23:35:42 +00:00
2022-04-27 22:36:34 -06:00
2022-02-17 23:10:33 -05:00
2022-04-28 12:45:03 -07:00
2022-01-21 17:00:48 +00:00
2022-04-21 19:28:34 -07:00
2022-01-17 07:18:13 -08:00
2022-03-07 13:36:47 +01:00
2022-05-02 16:25:52 -06:00
2022-04-14 17:23:57 +09:00
2022-02-15 17:12:15 -06:00
2022-05-02 16:36:29 -06:00
2022-04-29 12:22:46 -06:00
2022-03-30 12:00:27 +01:00
2022-02-02 10:15:02 +02:00
2022-04-11 17:57:52 -07:00
2022-04-06 11:22:39 -07:00
2022-04-22 15:48:03 -07:00
2022-04-19 18:16:20 +01:00
2022-03-11 23:25:14 +01:00
2022-04-02 11:35:13 +03:00
2022-04-02 11:35:13 +03:00
2022-04-02 11:35:13 +03:00
2022-05-03 09:56:24 -06:00
2022-05-03 23:22:04 -05:00
2022-01-11 11:15:42 -08:00
2022-04-30 15:53:29 +09:00
2022-04-25 16:26:43 -07:00
2022-04-18 14:01:18 -07:00
2022-02-09 18:06:19 +01:00
2022-04-26 10:45:08 -07:00
2022-05-03 21:18:18 +09:00
2022-01-27 13:55:58 +02:00
2022-02-25 22:17:13 -06:00
2022-02-03 11:20:08 +02:00
2022-04-16 19:59:52 +01:00
2022-05-02 10:57:00 -06:00
2022-01-25 18:00:57 +00:00
2022-05-03 07:21:42 -06:00
2022-04-27 20:26:33 -07:00
2022-04-23 17:55:22 -07:00
2022-04-11 15:02:41 -07:00
2022-03-31 09:11:35 -05:00
2022-01-05 11:53:23 +00:00
2022-04-29 18:22:10 -07:00
2022-04-05 11:41:38 -07:00