diff --git a/COMPAT.md b/COMPAT.md index 962271493..de149ff0c 100644 --- a/COMPAT.md +++ b/COMPAT.md @@ -170,7 +170,7 @@ Limbo aims to be fully compatible with SQLite, with opt-in features not supporte | PRAGMA temp_store_directory | Not Needed | deprecated in SQLite | | PRAGMA threads | No | | | PRAGMA trusted_schema | No | | -| PRAGMA user_version | Partial | Only read implemented | +| PRAGMA user_version | Yes | | | PRAGMA vdbe_addoptrace | No | | | PRAGMA vdbe_debug | No | | | PRAGMA vdbe_listing | No | | diff --git a/testing/pragma.test b/testing/pragma.test index 4d56e06ab..fd98b19b9 100755 --- a/testing/pragma.test +++ b/testing/pragma.test @@ -49,4 +49,9 @@ do_execsql_test_on_specific_db "testing/testing_user_version_10.db" pragma-user- do_execsql_test_on_specific_db ":memory:" pragma-user-version-default { PRAGMA user_version -} {0} \ No newline at end of file +} {0} + +do_execsql_test_on_specific_db ":memory:" pragma-user-version-update { + PRAGMA user_version = 42; + PRAGMA user_version; +} {42}