Paul Fitzpatrick
9e8e895abd
(core) fix filters with many values when querying directly from db
...
Summary:
This fixes DocStorage.fetchQuery when the number of parameters
exceeds the maximum that can be passed directly to sqlite.
In this case, parameters are now stored and used from a temporary
table.
Problem first noticed via a use of DocStorage.fetchQuery by
granular access controls. Access control should be optimized
to make fewer such queries, but that is a separate issue.
Test Plan: added tests
Reviewers: dsagal
Reviewed By: dsagal
Differential Revision: https://phab.getgrist.com/D2772
2021-04-14 12:44:02 -04:00
..
2021-03-19 18:20:33 -04:00
2020-12-18 13:32:31 -05:00
2020-09-19 20:45:33 -04:00
2020-11-12 10:55:15 -05:00
2021-03-25 15:05:26 -04:00
2020-07-21 20:39:10 -04:00
2020-09-14 18:05:27 -04:00
2020-12-18 13:32:31 -05:00
2020-12-11 15:15:35 -05:00
2020-07-21 20:39:10 -04:00
2021-02-15 17:02:24 -05:00
2020-12-11 15:15:35 -05:00
2020-07-21 20:39:10 -04:00
2021-01-12 14:08:49 -05:00
2021-03-01 13:49:31 -05:00
2021-03-18 19:37:07 -04:00
2020-07-21 20:39:10 -04:00
2020-09-02 14:46:15 -04:00
2021-03-18 19:37:07 -04:00
2021-01-12 14:08:49 -05:00
2021-04-14 12:44:02 -04:00
2021-01-12 14:08:49 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2021-01-14 13:43:55 -05:00
2020-11-02 15:46:46 -05:00
2021-02-10 09:22:34 -05:00
2021-02-15 17:02:24 -05:00
2020-11-10 08:12:31 -05:00
2020-07-23 11:26:16 -04:00
2020-07-21 20:39:10 -04:00
2021-04-03 09:41:06 -04:00
2021-03-25 15:05:26 -04:00
2021-03-18 19:37:07 -04:00
2020-11-02 15:46:46 -05:00
2020-07-21 20:39:10 -04:00
2020-09-18 16:31:29 -04:00
2020-10-30 13:52:46 -04:00
2021-01-12 14:08:49 -05:00
2020-07-21 20:39:10 -04:00
2020-10-30 13:52:46 -04:00
2021-03-18 19:37:07 -04:00
2021-01-12 14:08:49 -05:00
2021-01-12 14:08:49 -05:00
2020-07-23 11:29:05 -04:00
2020-07-21 20:39:10 -04:00
2020-10-02 13:24:21 -04:00
2020-07-21 20:39:10 -04:00
2021-03-18 19:37:07 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-10-28 13:59:13 -04:00
2020-07-21 20:39:10 -04:00
2021-04-03 09:41:06 -04:00
2020-07-21 20:39:10 -04:00
2021-03-01 13:49:31 -05:00
2021-01-12 14:08:49 -05:00
2020-07-22 14:45:42 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-12-18 13:32:31 -05:00
2021-03-01 13:49:31 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-12-11 15:15:35 -05:00
2021-03-01 13:49:31 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-10-30 13:52:46 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-10-08 14:19:25 -04:00
2020-07-21 20:39:10 -04:00