0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-22 03:08:19 +00:00
Files
libsql/libsql-sqlite3/src
Glauber Costa 49db7d57b7 Make sure the C code doesn't segfault (#1108)
* make sure pager is valid

We have had a segfault issue recently because the pager passed down
to the c code was null. That happened because libsql-server had
encryption disabled, while libsql had encryption enabled.

To prevent issues like that in the future, the C code should be checking
if the arguments it needs are valid.

Because this function returned a pointer, we now change it so that it
can return an integer, with the pointer as a return argument.

* update generated code

We have generated code in-tree. We should either remove it, or keep it
in sync. For now, just keeping it in sync.

This patch is just the result of running tests, and seeing what changes.
2024-02-28 20:05:50 +00:00
..
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-30 11:24:47 +01:00
2023-11-30 11:24:47 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-11-15 14:46:34 +01:00
2023-11-15 14:46:34 +01:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2024-02-26 13:56:20 +00:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-23 19:55:56 +01:00
2023-11-23 19:55:56 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-11-30 11:24:47 +01:00
2023-10-16 13:58:16 +02:00
2023-11-30 11:24:47 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-11-30 11:26:44 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2024-02-06 17:44:23 +00:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00
2023-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-11-15 14:46:34 +01:00