1
- From 04fd5a3a01be7b42ec97c2d9865e4c7501b5b6a8 Mon Sep 17 00:00:00 2001
1
+ From 80ec8f3a54d938c6bf39b471aa26c4c77f9984a2 Mon Sep 17 00:00:00 2001
2
2
From: Simon Binder <simon@journeyapps.com>
3
3
Date: Mon, 27 Jan 2025 15:12:53 +0100
4
4
Subject: [PATCH] Link PowerSync core extension
@@ -10,7 +10,7 @@ Subject: [PATCH] Link PowerSync core extension
10
10
3 files changed, 17 insertions(+), 3 deletions(-)
11
11
12
12
diff --git a/sqlite3/assets/wasm/CMakeLists.txt b/sqlite3/assets/wasm/CMakeLists.txt
13
- index e4283b3..5c52593 100644
13
+ index 6597d86..81a5a41 100644
14
14
--- a/sqlite3/assets/wasm/CMakeLists.txt
15
15
+++ b/sqlite3/assets/wasm/CMakeLists.txt
16
16
@@ -6,6 +6,7 @@ project(${PROJECT_NAME} LANGUAGES C)
@@ -43,11 +43,11 @@ index e4283b3..5c52593 100644
43
43
)
44
44
45
45
diff --git a/sqlite3/assets/wasm/os_web.c b/sqlite3/assets/wasm/os_web.c
46
- index 04f2e97..666902d 100644
46
+ index 4a1df1d..be9c3c9 100644
47
47
--- a/sqlite3/assets/wasm/os_web.c
48
48
+++ b/sqlite3/assets/wasm/os_web.c
49
- @@ -4,6 +4,15 @@
50
-
49
+ @@ -6,7 +6,16 @@
50
+ #include "bridge.h"
51
51
#include "sqlite3.h"
52
52
53
53
- int sqlite3_os_init(void) { return SQLITE_OK; }
@@ -63,11 +63,12 @@ index 04f2e97..666902d 100644
63
63
+ }
64
64
65
65
int sqlite3_os_end(void) { return SQLITE_OK; }
66
+
66
67
diff --git a/sqlite3/assets/wasm/sqlite_cfg.h b/sqlite3/assets/wasm/sqlite_cfg.h
67
- index 6f3e3c2..45847f8 100644
68
+ index 74e8dd7..682acbf 100644
68
69
--- a/sqlite3/assets/wasm/sqlite_cfg.h
69
70
+++ b/sqlite3/assets/wasm/sqlite_cfg.h
70
- @@ -43 ,7 +43 ,7 @@
71
+ @@ -42 ,7 +42 ,7 @@
71
72
// Disable things we don't need
72
73
#define SQLITE_OMIT_DEPRECATED
73
74
#define SQLITE_OMIT_PROGRESS_CALLBACK
0 commit comments