File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/common/src/client/sync/bucket Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @powersync/common ' : patch
3+ ---
4+
5+ Fixed issue where using triggers could block syncing after performing uploads.
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ export class SqliteBucketStorage extends BaseObserver<BucketStorageListener> imp
255255 // Nothing to update
256256 return false ;
257257 }
258- const rs = await this . db . getAll < { seq : number } > ( "SELECT seq FROM sqlite_sequence WHERE name = 'ps_crud'" ) ;
258+ const rs = await this . db . getAll < { seq : number } > ( "SELECT seq FROM main. sqlite_sequence WHERE name = 'ps_crud'" ) ;
259259 if ( ! rs . length ) {
260260 // Nothing to update
261261 return false ;
@@ -273,7 +273,7 @@ export class SqliteBucketStorage extends BaseObserver<BucketStorageListener> imp
273273 return false ;
274274 }
275275
276- const rs = await tx . execute ( "SELECT seq FROM sqlite_sequence WHERE name = 'ps_crud'" ) ;
276+ const rs = await tx . execute ( "SELECT seq FROM main. sqlite_sequence WHERE name = 'ps_crud'" ) ;
277277 if ( ! rs . rows ?. length ) {
278278 // assert isNotEmpty
279279 throw new Error ( 'SQLite Sequence should not be empty' ) ;
You can’t perform that action at this time.
0 commit comments