0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-20 23:08:17 +00:00

Commit Graph

  • 536ce5095c rename(pkg): rename lib to libsql-server, keep bin as sqld Ashley Williams 2023-11-16 13:34:46 -06:00
  • 1151955e8a fix(manifest): update and/or comment out Cargo.toml repo keys Ashley Williams 2023-11-16 13:18:06 -06:00
  • 8b5d6aecd0 Merge pull request #629 from tursodatabase/test-dirty-startup ad hoc 2023-11-17 13:54:48 +00:00
  • 7daffe6f20 Merge pull request #641 from tursodatabase/penberg/improve-c-bindings ad hoc 2023-11-17 13:47:05 +00:00
  • ecff30bb65 test namespace creation on dirty instance ad hoc 2023-11-15 18:34:34 +01:00
  • 43e150e006 Merge pull request #640 from tursodatabase/remove-unwrap-write-proxy ad hoc 2023-11-17 13:20:57 +00:00
  • b6be623949 Merge pull request #642 from tursodatabase/injector-rollback-on-error ad hoc 2023-11-17 13:19:57 +00:00
  • 072120e3f1 remove unwrap in write proxy ad hoc 2023-11-17 12:01:21 +01:00
  • b76430dd4c rollback injector on error ad hoc 2023-11-17 14:09:22 +01:00
  • f2bb6ab3fb Fix harmless compiler warnings in debugging code. drh 2023-11-17 12:22:42 +00:00
  • c15133e82a Fix an incorrect assert() associated with ALTER TABLE where an unknown aggregate function contains an ORDER BY clause. dbsqlfuzz e0900262dadd5c78c2226ad6a435c7f0255be2cd. drh 2023-11-17 11:58:26 +00:00
  • 9a1b686c61 bindings/c: Implement libsql_last_insert_rowid() Pekka Enberg 2023-11-17 13:00:49 +02:00
  • a782fdabea bindings/c: Implement libsql_changes() Pekka Enberg 2023-11-17 13:00:01 +02:00
  • a0764f63a8 When querying a tokendata=1 fts5 table, do not use a prefix cursor for the case where the term has only one variant. dan 2023-11-16 21:11:56 +00:00
  • e1edecf5d3 Simplify and make more rational how console I/O package features are selected. (Motivated by Fiddle and other command-line utilities to soon use the package.) No substantive code-execution changes. larrybr 2023-11-16 18:31:05 +00:00
  • 244bfc507e Merge pull request #635 from tursodatabase/lucio/prepare-0.22.4 libsql-server-v0.22.4 Lucio Franco 2023-11-16 17:11:12 +00:00
  • ba1dc573f8 server: prepare v0.22.4 release Lucio Franco 2023-11-16 12:02:06 -05:00
  • 846e5b7e21 Merge pull request #634 from tursodatabase/lucio/properly-shutdown Lucio Franco 2023-11-16 16:58:19 +00:00
  • f332f9e5d8 server: fix SIGTERM shutdown process Lucio Franco 2023-11-16 11:49:13 -05:00
  • a9fd8760ae Merge pull request #631 from pjhades/replace-debug-with-trace-in-sqlite3-parser ad hoc 2023-11-16 15:33:51 +00:00
  • 54bd90d9e4 Merge pull request #633 from tursodatabase/fix-lockstealing-deadlock ad hoc 2023-11-16 15:28:27 +00:00
  • f66a4526a5 fix deadock in lock-stealing ad hoc 2023-11-16 16:12:41 +01:00
  • 6365e5ebef Merge pull request #625 from psarna/merge3440 Piotr Sarna 2023-11-16 13:25:31 +00:00
  • ab44a0a24f .gitignore: update Piotr Sarna 2023-11-16 09:34:39 +01:00
  • e56bdbd521 vdbe,sqlite.h: introduce libsql_module Piotr Sarna 2023-11-16 09:33:19 +01:00
  • e2ae8a65b5 sqlite3-parser: replace debug! with trace! Jing Peng 2023-11-15 11:38:21 -05:00
  • 11e8242e2e Both json_remove() jsonb_remove() work on pure JSONB as long as the input is JSONB. drh 2023-11-15 20:32:06 +00:00
  • 5e3ae1ec76 Some simple test cases for JSONB direct remove. drh 2023-11-15 19:21:09 +00:00
  • 91c8e65dd4 Changes so that if SQLITE_ENABLE_SETLK_TIMEOUT is defined as 2 instead of 1, all blocking locks are taken for a single millisecond and the default busy-handler invoked as normal. dan 2023-11-15 19:19:04 +00:00
  • 82b054c906 Merge pull request #626 from tursodatabase/no-recover-empty-database ad hoc 2023-11-15 18:57:13 +00:00
  • 1afd647dd9 Merge pull request #630 from tursodatabase/libsql-server-v0.22.x ad hoc 2023-11-15 18:56:55 +00:00
  • 8c96d3c104 jsonb_remove() now works without having to use a JsonNode parse, assuming that the input is JSONB. drh 2023-11-15 18:55:03 +00:00
  • af0c9ffb4a The jsonb_remove() routine now appears to be working. drh 2023-11-15 18:47:31 +00:00
  • 3b53fc2437 Merge branch 'main' into libsql-server-v0.22.x Lucio Franco 2023-11-15 13:32:19 -05:00
  • e988268c96 Merge pull request #627 from tursodatabase/log-when-dirty ad hoc 2023-11-15 17:44:44 +00:00
  • 04f63f5b73 server: prepare v0.22.3 release libsql-server-v0.22.3 Lucio Franco 2023-11-15 12:29:52 -05:00
  • c768bbbaa8 Merge pull request #628 from tursodatabase/lucio/fix-reocvery Lucio Franco 2023-11-15 12:16:43 -05:00
  • 9b5d2d6ad8 collect more data about dirty startups ad hoc 2023-11-15 18:08:35 +01:00
  • d49a9dbef3 do not attempt to recover empty database ad hoc 2023-11-15 18:02:19 +01:00
  • efa02d23f0 collect more data about dirty startups ad hoc 2023-11-15 18:08:35 +01:00
  • 24ee6383ad do not attempt to recover empty database ad hoc 2023-11-15 18:02:19 +01:00
  • 0399994759 Work toward getting jsonb_remove() to work directly on JSONB blobs. drh 2023-11-15 16:10:31 +00:00
  • 607d1cff7b sqlite.h: bring back xIntegrity before xPreparedSql Piotr Sarna 2023-11-15 16:00:08 +01:00
  • 9eb7694d58 Improvements to the description of sqlite3_errmsg() and sqlite3_errstr(). drh 2023-11-15 14:09:37 +00:00
  • f5dc919cbc LIBSQL_VERSION: bump to 0.2.3 Piotr Sarna 2023-11-15 14:54:00 +01:00
  • 0dfca64aa3 Merge tag 'version-3.44.0' into HEAD Piotr Sarna 2023-11-15 14:46:34 +01:00
  • fb57c8a932 Merge all the latest enhancements and fixes from trunk into the jsonb branch. drh 2023-11-15 13:23:40 +00:00
  • eafb6c7703 Merge pull request #618 from dimbtp/shell-commands Piotr Sarna 2023-11-15 13:46:54 +01:00
  • b80ca30204 Merge branch 'main' into shell-commands Piotr Sarna 2023-11-15 13:44:02 +01:00
  • cd117c18eb Merge pull request #620 from alvin/patch-1 ad hoc 2023-11-15 11:49:04 +00:00
  • 50b0e25a55 Add implementation of xInstToken() API. dan 2023-11-15 11:45:19 +00:00
  • 5cc4ab93f2 Fix an exception misuse in test-opfs-vfs.js. stephan 2023-11-15 11:31:49 +00:00
  • 633dcadbdb Merge pull request #624 from tursodatabase/libsql-ffi ad hoc 2023-11-15 10:37:53 +00:00
  • 035ff0ef6b Merge pull request #619 from tursodatabase/lucio/docs-client-versions Piotr Sarna 2023-11-15 12:40:21 +01:00
  • a40b9d2b27 remove generated assets from libsql-sys ad hoc 2023-11-15 11:10:35 +01:00
  • d57b87b576 make libsql-sys depend on libsql-ffi ad hoc 2023-11-15 11:10:19 +01:00
  • d0e4212a44 generate libsql-ffi bindings ad hoc 2023-11-15 11:09:49 +01:00
  • 2e52239401 add libsql-ffi to workspace ad hoc 2023-11-15 11:09:07 +01:00
  • 477af9bef6 introduce libsql-ffi ad hoc 2023-11-15 11:08:51 +01:00
  • 1b963102b7 JNI: add more wrapper1 Sqlite.Blob tests. stephan 2023-11-15 08:59:53 +00:00
  • bd06d8672d JNI: clear out the sqlite3_context native pointer after calling UDF callbacks which do not have an argv (as was already done for those which have an argv). Add related tests and code commentary. stephan 2023-11-15 08:29:42 +00:00
  • 4d6b10cdbe JNI doc updates. stephan 2023-11-15 06:28:51 +00:00
  • 6b36312e8a JNI: add the @Experimental annotation and mark all java.nio.ByteBuffer-related methods with it. stephan 2023-11-15 06:10:37 +00:00
  • 973011432b JNI test code cleanups. stephan 2023-11-15 05:08:39 +00:00
  • d7ef0e8f87 JNI: add CONFIG_LOG and CONFIG_SQLLOG support to wrapper1. Code-adjacent cleanups. stephan 2023-11-15 04:55:38 +00:00
  • c1a8e1c5dd add shell command .exit test 2023-11-15 12:00:55 +08:00
  • 253727b33d JNI: apply an internal level of API indirection to avoid having to work with massively-mangled names for the various sqlite3_config() overloads. stephan 2023-11-15 03:02:11 +00:00
  • 7e9394b654 change the way to check readonly state of databases test 2023-11-15 09:50:58 +08:00
  • 89c3bd6c43 Merge pull request #622 from tursodatabase/lucio/add-io-error-backtrace libsql-server-v0.22.2 ad hoc 2023-11-14 18:09:40 +01:00
  • 617353c192 server: add backtrace log on IOError Lucio Franco 2023-11-14 11:55:44 -05:00
  • 7df044633d Add NEVER() to a branch made unreachable by [6f9eed826f5b3d1c]. drh 2023-11-14 16:53:52 +00:00
  • 3e3dba5987 Update README.md Alvin 2023-11-14 08:01:55 -08:00
  • bb9799231d docs: add client versions doc Lucio Franco 2023-11-14 10:28:35 -05:00
  • c0bef53f3b docs: move docs to root of repo Lucio Franco 2023-11-14 10:28:20 -05:00
  • 1386fddd00 Stop using context on error Piotr Jastrzebski 2023-11-14 11:06:52 +01:00
  • 513ac905e7 Introduce NamespaceBottomlessDbId and NamespaceBottomlessDbIdInit enums Piotr Jastrzebski 2023-11-14 10:56:14 +01:00
  • f2f9d35927 Use correct bottomless_db_id in destroy Piotr Jastrzebski 2023-11-09 08:55:34 +01:00
  • f3ad18b47f Hide NamespaceStore::reset Piotr Jastrzebski 2023-11-09 08:29:43 +01:00
  • a95cba5f6b Use correct bottomless_db_id in fork Piotr Jastrzebski 2023-11-08 22:29:53 +01:00
  • 1fecb63176 Remove reset_cb from ForkTask and MakeNamespace::fork Piotr Jastrzebski 2023-11-08 16:38:49 +01:00
  • cab50db572 Add optional bottomless_db_id param to create namespace endpoint Piotr Jastrzebski 2023-11-07 10:07:57 +01:00
  • 75e700aaab Add optional bottomless_db_id param to NamespaceStore::create Piotr Jastrzebski 2023-11-08 10:55:45 +01:00
  • 69325b3f7d Add optional bottomless_db_id param to MakeNamespace::create Piotr Jastrzebski 2023-11-08 10:41:16 +01:00
  • 9f3309bc7a Add optional bottomless_db_id to new_primary Piotr Jastrzebski 2023-11-08 09:59:54 +01:00
  • 975f006327 Add optional bottomless_db_id param to try_new_primary Piotr Jastrzebski 2023-11-08 09:57:16 +01:00
  • 26676a0594 Add optional namespace_db_id param to make_bottomless_options Piotr Jastrzebski 2023-11-08 09:49:14 +01:00
  • a8e784e115 Add bottomless_db_id to DatabaseConfig Piotr Jastrzebski 2023-11-08 09:44:45 +01:00
  • 6eac0a6ea6 Create db_config_store earlier in try_new_primary Piotr Jastrzebski 2023-11-07 09:39:45 +01:00
  • 5d59669711 JNI: reimplement Tester2.execSql() using the high-level API. stephan 2023-11-14 14:59:41 +00:00
  • d928e78088 Fix another obscure problem with nested aggregates. dbsqlfuzz 04408efc51. dan 2023-11-14 14:50:34 +00:00
  • cb3a0b1b67 JNI: add Sqlite.Stmt.step(boolean) overload which returns the result code of sqlite3_step() unless passed true, in which case it throws for any result other than ROW or DONE. The intent is to simplify handling of LOCKED and BUSY errors. stephan 2023-11-14 14:38:11 +00:00
  • eb4d3c0097 remove file scope's allow(dead_code) test 2023-11-14 21:54:15 +08:00
  • 4d78b2452c add shell command .dbconfig test 2023-11-14 21:52:17 +08:00
  • 34ccd18d65 Extra PRAGMA vdbe_addoptrace output showing when OP_Column gets translated into OP_Copy due to using a coroutine instead of a cursor. drh 2023-11-14 13:51:19 +00:00
  • 88041a450e Merge pull request #615 from psarna/fixchecksum_le Piotr Sarna 2023-11-14 12:54:42 +00:00
  • e441c4acd4 add shell command .databases test 2023-11-14 20:42:51 +08:00
  • 0c631155c7 bottomless/backup: do not cache WAL file descriptor Piotr Sarna 2023-11-14 13:07:32 +01:00
  • d99e2cc6fb test/bottomless: add snapshotting to the test Piotr Sarna 2023-11-14 13:06:50 +01:00
  • ceea9ef346 add shell command .changes test 2023-11-14 18:36:18 +08:00
  • 6ac769eb48 bottomless: make WAL checksums work across matching endianness Piotr Sarna 2023-11-13 21:24:06 +01:00