0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-16 06:12:35 +00:00
Files
Glauber Costa 49db7d57b7 Make sure the C code doesn't segfault ()
* 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-10-16 13:58:16 +02:00
2023-10-16 13:58:16 +02:00
2023-10-16 15:25:18 +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-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-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:54:26 +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-29 09:27:24 +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-11-15 14:46:34 +01:00