George Joseph
cc06c95ed2
db.c: Remove limit on family/key length
...
Consumers like media_cache have been running into issues with
the previous astdb "/family/key" limit of 253 bytes when needing
to store things like long URIs. An Amazon S3 URI is a good example
of this. Now, instead of using a static 256 byte buffer for
"/family/key", we use ast_asprintf() to dynamically create it.
Both test_db.c and test_media_cache.c were also updated to use
keys/URIs over the old 253 character limit.
Resolves : #881
UserNote: The `ast_db_*()` APIs have had the 253 byte limit on
"/family/key" removed and will now accept families and keys with a
total length of up to SQLITE_MAX_LENGTH (currently 1e9!). This
affects the `DB*` dialplan applications, dialplan functions,
manager actions and `databse` CLI commands. Since the
media_cache also uses the `ast_db_*()` APIs, you can now store
resources with URIs longer than 253 bytes.
2024-09-20 14:06:27 +00:00
..
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2023-01-03 09:00:42 -06:00
2017-12-22 09:23:22 -05:00
2018-12-07 09:06:08 -05:00
2021-12-02 15:02:09 -06:00
2024-06-24 15:33:08 +00:00
2023-04-03 07:58:23 -05:00
2023-12-08 13:11:51 +00:00
2023-04-03 07:58:23 -05:00
2020-05-05 10:06:43 -05:00
2023-12-08 13:11:51 +00:00
2024-06-14 17:25:03 +00:00
2023-01-13 08:32:33 -06:00
2020-06-02 11:35:07 -05:00
2021-11-15 17:33:27 -06:00
2021-12-02 10:37:38 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2019-09-23 07:35:48 -04:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2023-08-09 14:50:07 +00:00
2024-09-09 23:17:16 +00:00
2020-04-06 10:23:20 -05:00
2021-12-02 15:02:09 -06:00
2024-06-20 18:39:41 +00:00
2023-01-13 08:32:33 -06:00
2021-12-02 15:02:09 -06:00
2024-02-12 18:46:29 +00:00
2024-02-12 18:46:29 +00:00
2024-04-22 12:02:42 +00:00
2023-01-10 14:07:44 -06:00
2024-08-12 15:21:33 +00:00
2024-08-12 15:21:33 +00:00
2024-08-12 15:21:33 +00:00
2024-08-12 15:21:33 +00:00
2018-03-01 13:13:55 -06:00
2024-08-12 15:21:33 +00:00
2023-09-22 16:10:07 +00:00
2024-02-12 18:46:29 +00:00
2023-12-12 14:40:19 +00:00
2024-02-12 18:46:29 +00:00
2022-03-23 17:13:03 -05:00
2023-11-02 21:38:09 +00:00
2022-05-05 08:15:42 -05:00
2021-12-02 15:02:09 -06:00
2020-04-15 13:56:40 -05:00
2022-07-07 08:19:14 -05:00
2024-09-20 14:06:27 +00:00
2021-12-02 15:02:09 -06:00
2023-01-10 14:07:44 -06:00
2024-09-05 16:32:23 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2020-04-28 13:05:55 -05:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2024-02-14 13:19:11 +00:00
2019-03-11 11:39:35 -03:00
2021-11-15 17:33:27 -06:00
2024-08-12 15:21:33 +00:00
2023-03-20 10:46:17 -05:00
2018-03-14 05:20:12 -04:00
2023-01-13 08:32:33 -06:00
2024-06-05 18:09:51 +00:00
2021-06-24 08:18:19 -05:00
2024-02-12 18:46:29 +00:00
2021-12-02 15:02:09 -06:00
2021-01-04 05:00:58 -06:00
2024-02-12 18:46:29 +00:00
2021-01-27 10:40:41 -06:00
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2017-12-22 09:23:22 -05:00
2018-03-01 13:13:55 -06:00
2018-03-01 13:13:55 -06:00
2023-03-16 07:21:33 -05:00
2024-02-12 18:46:29 +00:00
2024-02-12 18:46:29 +00:00
2021-12-02 15:02:09 -06:00
2024-04-29 13:24:01 +00:00
2017-12-20 12:40:01 -05:00
2023-10-05 14:38:01 +00:00
2018-05-20 13:55:26 +02:00
2024-05-06 16:08:47 +00:00
2023-09-22 14:34:37 +00:00
2020-10-02 12:58:18 -05:00
2024-01-17 15:01:04 +00:00
2024-04-30 19:28:00 +00:00
2023-04-03 07:58:23 -05:00
2022-01-05 10:32:46 -06:00
2024-08-12 15:21:33 +00:00
2017-12-22 09:23:22 -05:00
2022-01-05 10:32:46 -06:00
2017-12-19 09:42:19 -05:00
2024-08-12 18:26:03 +00:00
2021-12-02 15:02:09 -06:00
2019-01-28 12:26:58 -07:00
2024-02-12 18:46:29 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2017-12-30 13:20:16 -05:00
2018-05-21 11:03:10 -05:00
2021-12-02 10:37:38 -06:00
2023-09-20 19:14:58 +00:00
2019-03-11 11:39:35 -03:00
2024-02-12 18:46:29 +00:00
2024-04-01 19:02:06 +00:00
2024-02-12 18:46:29 +00:00
2021-12-02 15:02:09 -06:00
2021-08-06 09:04:28 -05:00
2017-12-22 09:23:22 -05:00
2021-12-02 15:02:09 -06:00
2024-03-22 13:04:35 +00:00
2024-06-20 18:34:22 +00:00
2023-01-10 14:07:44 -06:00
2018-07-26 14:29:18 -05:00
2017-12-22 09:23:22 -05:00
2019-03-11 11:39:35 -03:00
2024-02-12 18:46:29 +00:00
2024-09-03 15:29:35 +00:00
2024-04-30 15:17:17 +00:00
2022-01-21 10:06:57 -06:00
2017-12-22 09:23:22 -05:00
2019-03-11 11:39:35 -03:00
2019-11-18 11:05:24 -05:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2024-04-22 12:55:42 +00:00
2019-02-04 14:40:35 -06:00
2021-12-02 15:02:09 -06:00
2021-11-18 14:46:42 -06:00
2019-03-11 11:39:35 -03:00
2021-11-18 14:46:42 -06:00
2024-08-12 15:21:33 +00:00
2021-12-13 08:57:26 -06:00
2021-12-02 10:37:38 -06:00
2023-06-09 18:19:53 +00:00
2022-05-09 08:20:46 -05:00
2019-03-11 11:39:35 -03:00
2023-12-08 13:11:51 +00:00
2020-05-08 13:44:08 -05:00
2020-09-14 09:27:14 -05:00
2018-03-13 16:24:06 -04:00
2022-08-17 11:11:32 -05:00
2024-04-09 20:12:28 +00:00
2022-02-14 16:20:17 -06:00
2024-04-29 13:24:01 +00:00
2021-12-02 15:02:09 -06:00
2021-09-08 19:10:54 -05:00
2023-04-03 07:41:08 -06:00
2021-12-02 15:02:09 -06:00
2017-12-22 09:23:22 -05:00
2022-03-24 12:00:58 -05:00
2018-01-03 17:23:36 -05:00
2024-02-28 13:03:22 +00:00
2023-01-03 09:00:42 -06:00
2017-12-22 09:23:22 -05:00
2023-11-14 20:51:37 +00:00
2023-03-01 09:50:02 -06:00
2024-02-06 18:55:43 +00:00
2021-12-02 15:02:09 -06:00
2024-06-07 16:24:21 +00:00
2022-12-08 09:16:33 -06:00