From cfd549bf26bf1e858da118c02ab44184937e8ec1 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Fri, 11 Oct 2024 10:27:42 +0300 Subject: [PATCH] libsql-sqlite3: Add WAL API tests --- libsql-sqlite3/src/test_walapi.c | 154 +++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 libsql-sqlite3/src/test_walapi.c diff --git a/libsql-sqlite3/src/test_walapi.c b/libsql-sqlite3/src/test_walapi.c new file mode 100644 index 0000000000..f7bdd54628 --- /dev/null +++ b/libsql-sqlite3/src/test_walapi.c @@ -0,0 +1,154 @@ +#include +#include +#include + +#if 0 +static void dump_frame(unsigned char *frame, size_t size){ + for(int addr=0; addr