mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-05-17 13:36:57 +00:00
* 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.