Skip to content

Commit 838762b

Browse files
committed
chore
1 parent 0bee8a9 commit 838762b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

plans/TODO.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- I need to call cloudsync_update_schema_hash to update the last schema hash when upgrading the library from the 0.8.* version
2+
- Fix cloudsync_begin_alter and cloudsync_commit_alter for PostgreSQL, and we could call them automatically with a trigger on ALTER TABLE

src/network.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,6 @@ int cloudsync_network_check_internal(sqlite3_context *context, int *pnrows, sync
10541054
char json_payload[2024];
10551055
snprintf(json_payload, sizeof(json_payload), "{\"dbVersion\":%lld, \"seq\":%d}", (long long)db_version, seq);
10561056

1057-
// http://uuid.g5.sqlite.cloud/v2/cloudsync/{dbname}/{site_id}/check
10581057
NETWORK_RESULT result = network_receive_buffer(netdata, netdata->check_endpoint, netdata->authentication, true, true, json_payload, CLOUDSYNC_HEADER_SQLITECLOUD);
10591058
int rc = SQLITE_OK;
10601059
if (result.code == CLOUDSYNC_NETWORK_BUFFER) {

0 commit comments

Comments
 (0)