0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-18 18:46:59 +00:00

Commit Graph

  • 4167033eaf Update the sqldiff.exe utility program so that it uses the sqlite3_str string interface, and so that it does console output using the ext/consio extension. drh 2024-01-03 12:26:02 +00:00
  • 450e9053b9 main,pager,pragma: forward-declare custom libsql functions Piotr Sarna 2024-01-03 11:14:04 +01:00
  • 379b227587 pager,wal: first batch of hooks to integrate encryption Piotr Sarna 2024-01-02 16:25:52 +01:00
  • 52bb6cc706 libsql-sqlite3: add hooks for vfs, pragmas and uri Piotr Sarna 2024-01-03 10:07:34 +01:00
  • 2bdfe312b5 Merge pull request #845 from QuiiBz/ci/docker-release-amd64-arm64 Pekka Enberg 2024-01-03 10:20:16 +00:00
  • 5971b9894b Merge pull request #775 from tursodatabase/fix-blocking-builder-write-proxy ad hoc 2024-01-03 09:58:10 +00:00
  • a910b34d27 add test ad hoc 2023-12-22 18:33:30 +01:00
  • e9354400d3 fix blocking result builder ad hoc 2023-12-11 14:11:07 +01:00
  • d059153deb Back out [b517a52fa36df0a0] which is no longer reachable due to early error detection enhancements in [166e82dd20efbfd3]. drh 2024-01-02 22:49:14 +00:00
  • f5740f72ec Adjust the sqlite3PagerDirectReadOk() routine (part of the SQLITE_DIRECT_OVERFLOW_READ optimization) to use less code and to be more easily testable. drh 2024-01-02 21:37:51 +00:00
  • 4eb626350a Fix a problem in fts5 caused by a COMMIT involving fts5 data that immediately follows a ROLLBACK TO that does not. dan 2024-01-02 21:08:25 +00:00
  • 533622fb8b Increase the default "max_page_count" to its theoretical maximum of 4294967294. drh 2024-01-02 20:34:27 +00:00
  • 4b56badb06 Merge pull request #849 from tursodatabase/fix-deser Lucio Franco 2024-01-02 19:30:44 +00:00
  • d428904c28 Revert "chore: test in PR if it builds successfully" Tom Lienard 2024-01-02 16:25:01 +01:00
  • b15f1ef2a9 Configure Windows CI penberg/windows-ci Pekka Enberg 2023-12-22 16:11:32 +02:00
  • 34fb84f2ba Merge pull request #850 from psarna/clifix65 Piotr Sarna 2024-01-02 13:30:10 +00:00
  • 8d66466ab2 clippy fixes Piotr Sarna 2024-01-02 14:18:04 +01:00
  • a0fe61c591 Merge pull request #799 from tursodatabase/hrana-pipeline-return-replication-index ad hoc 2024-01-02 12:26:31 +00:00
  • 70ea955b68 fix bincode deserialize error ad hoc 2024-01-02 12:56:52 +01:00
  • 16c20fbdc6 test embedded replica proxy query returning value ad hoc 2024-01-02 12:52:59 +01:00
  • 9596666518 return replication index in hrana StmtResp ad hoc 2023-12-18 11:11:24 +01:00
  • a7fb619e4d Merge pull request #836 from tursodatabase/count-replication-latencies-cache-misses ad hoc 2024-01-02 12:16:18 +00:00
  • 778f6d1227 count replication latency cache misses ad hoc 2023-12-27 14:42:36 +01:00
  • 092487b9a1 libsql: add an introspective libsql_server_database_name() function Piotr Sarna 2023-12-20 12:04:26 +01:00
  • fbae23965d Merge pull request #846 from tursodatabase/remove_is_anonymous Piotr Sarna 2024-01-02 09:54:16 +00:00
  • aff7664939 Elaborate on the various build flavors used by ext/wasm/. Doc changes only. stephan 2024-01-02 09:20:53 +00:00
  • 3d4d3fb59d Update and clean up the in-makefile docs for ext/wasm. stephan 2024-01-02 09:03:42 +00:00
  • fe1d8210c7 Back out [99d11e6d0ae6] (enabling of STAT4 in WASM/JNI), per /chat discussion. stephan 2024-01-01 23:28:02 +00:00
  • 92e970ae98 New logic to avoid using indexes that ANALYZE has identified as of little practical use. Also a performance optimization in ANALYZE. drh 2024-01-01 19:20:00 +00:00
  • 4cfc19f34c Remove some unnecessary computations from ANALYZE so that ANALYZE runs with fewer CPU cycles. These changes were spotted while working on the nearby enhanced-stat1 branch. So even if enhanced-stat1 is abandoned, that effort put into it will not have been in vain. drh 2024-01-01 17:58:57 +00:00
  • 4ccf707c6e Extra steps taken to avoid using low-quality indexes in a query plan. This branch accomplishes the same end as the nearby enhanced-stat1 branch, but with much less change and hence less risk. drh 2024-01-01 17:48:02 +00:00
  • 7b3be1be22 Remove Authenticated::is_anonymous Piotr Jastrzebski 2024-01-01 12:16:52 +01:00
  • c498c98e69 chore: test in PR if it builds successfully Tom Lienard 2024-01-01 09:41:57 +01:00
  • 816c10d40b ci: release Docker images for arm64 Tom Lienard 2024-01-01 09:37:58 +01:00
  • 307f326ba3 JNI: move the ByteBuffer-using APIs from public to package visibility for the time being because they have UB-inducing possibilities which need to be worked out. Update test code to account for a change in custom FTS5 columntext() impls. stephan 2024-01-01 06:58:32 +00:00
  • 805cd395a9 WASM: various build cleanups and add initial infrastructure for a build which elides the oo1 API and its dependents (worker1 and promiser). Sidebar: an attempt was made to move generation of the build rules to an external script, but the mixed-mode make/script was even less legible than the $(eval) indirection going on in the makefile. stephan 2024-01-01 05:58:47 +00:00
  • 11a4e0b08c Add boolean visitor Jonah Lund 2023-12-31 07:20:27 +01:00
  • 7a482b3bcd Use SQLITE_ENABLE_STAT4 in both the WASM and JNI builds. stephan 2023-12-31 04:01:36 +00:00
  • f5f7718e79 Merge pull request #834 from psarna/unix-excl-vfs Piotr Sarna 2023-12-30 15:18:34 +00:00
  • 4130b792c9 libsql-sys: bring back unix-excl-vfs feature Piotr Sarna 2023-12-26 18:45:44 +01:00
  • 0595417845 Merge pull request #837 from tursodatabase/configurable-replication-latency-cache-size ad hoc 2023-12-29 11:00:36 +00:00
  • e24cd27c39 Minor doc touchup in the JS bits. stephan 2023-12-29 04:29:07 +00:00
  • 2aae3a95a9 Enable SQLITE_DIRECT_OVERFLOW_READ unless it is specifically disabled using the -DSQLITE_DIRECT_OVERFLOW_READ=0 compile-time option. drh 2023-12-28 21:02:08 +00:00
  • 751c4e2152 Update fts5origintext4.test to work with SQLITE_DIRECT_OVERFLOW_READ. dan 2023-12-28 20:54:12 +00:00
  • 4c13d3ca92 Performance improvement by unwinding a loop in jsonAppendString(). drh 2023-12-28 19:18:08 +00:00
  • 42203e1b75 Fix harmless compiler warnings in FTS5. drh 2023-12-28 16:25:48 +00:00
  • 0546a284fa Enhance the (undocumented, debug-only) json_parse() SQL function so that it returns the text rendering of the JSONB parse of the input, rather than printing the rendering on stdout. drh 2023-12-28 16:21:22 +00:00
  • d9ac37fc44 Fix a problem in the shell tool (not library) causing an out-of-bounds write if an ".open" command failed, then the user pressed ctrl-c to interrupt a query running on the substitute in-memory database. dan 2023-12-27 16:24:53 +00:00
  • 3bdc80bdbe make replication latency cache configurable ad hoc 2023-12-27 15:04:45 +01:00
  • 81548114f1 configurable replication latency cache size ad hoc 2023-12-27 14:47:10 +01:00
  • 7cbf480d04 Merge pull request #835 from tursodatabase/penberg/out-of-sync-replication-lat Pekka Enberg 2023-12-27 12:09:19 +00:00
  • a6023f6f43 Add a metric for out-of-sync replication values Pekka Enberg 2023-12-27 12:37:30 +02:00
  • d82320ac9a Ensure that the xColumnText(), xQueryPhrase() and xPhraseFirstColumn() APIs all return SQLITE_RANGE if they are passed a bad column or phrase number. dan 2023-12-26 15:52:40 +00:00
  • b2b7490862 Improved handling of malformed unicode within JSON strings. drh 2023-12-26 13:20:57 +00:00
  • bb5528a87f Merge pull request #832 from tursodatabase/replication-latencies ad hoc 2023-12-26 11:26:25 +00:00
  • 88217e43a1 send commit timestamp to replicas to compute replication latencies ad hoc 2023-12-26 11:17:10 +01:00
  • 25a8cf7255 record replication latency in replicas ad hoc 2023-12-26 11:16:53 +01:00
  • 971dbb842a add timestamp to replication protocol ad hoc 2023-12-26 11:16:16 +01:00
  • 17f5135923 fix missig feature in libsql-replication ad hoc 2023-12-26 11:14:52 +01:00
  • 95c3d64021 restore Cargo.lock ad hoc 2023-12-26 11:14:33 +01:00
  • d9ebd45dbf regenerate bundled c ad hoc 2023-12-26 11:13:45 +01:00
  • 71a32aede3 Remove an ALWAYS() added in [c50e6c2ace49d092] because it is sometimes false. dbsqlfuzz c393a4f783d42efd9552772110aff7e5d937f15e. drh 2023-12-24 12:02:36 +00:00
  • 5a85cf5879 Fix harmless compiler warnings associated with [5db30bcc338aac1c] drh 2023-12-24 11:43:49 +00:00
  • c1805ab222 Avoid signed integer overflow during integrity_check of FTS5. drh 2023-12-24 11:31:20 +00:00
  • 57c98747cb Improvements to the query planner to address the inefficiency described by [forum/forumpost/2568d1f6e6|forum post 2568d1f6e6]. drh 2023-12-23 19:03:50 +00:00
  • a3884184ab Merge pull request #830 from tursodatabase/restore-lockfile ad hoc 2023-12-23 13:30:19 +00:00
  • 21e2edff9a remove Cargo.toml from lockfile ad hoc 2023-12-23 14:20:37 +01:00
  • 4ed0b117f3 Add debugging output routines sqlite3ShowWhereLoop(X) and sqlite3ShowWhereLoopList(X) that can be invoked from a debugger to show a summary of the content of a single WhereLoop object or a list of WhereLoop objects. No change in release builds. drh 2023-12-23 11:31:47 +00:00
  • 8a630c2aa3 Change parameters on a debugging function to include "const". drh 2023-12-22 21:22:55 +00:00
  • d9e4aa7621 Merge pull request #823 from psarna/sqlite3filename Piotr Sarna 2023-12-22 16:57:54 +00:00
  • ba5043f818 Add the -fno-sanitize-recover=undefined to the sanitizer builds used for sdevtest and release testing. To ensure that any test that provokes undefined behaviour fails. dan 2023-12-22 16:03:45 +00:00
  • 09e6c82d56 Update #ifdef checks in pager.c and util.c to account for [0462a2612d1fc1d0] to resolve the build problem reported in [forum:9819032aac|forum post 9819032aac]. stephan 2023-12-22 15:41:13 +00:00
  • 0810150532 Fix a usan complaint about signed integer overflow. dan 2023-12-22 14:47:30 +00:00
  • 15bff25111 Add a new comment to debugging output routine sqlite3WhereLoopPrint() to remind us of what the various fields of the debug output mean. No changes to code. drh 2023-12-22 12:57:49 +00:00
  • 9200a6d16f move vendored/rusqlite to libsql_rusqlite libsql-rusqlite ad hoc 2023-12-22 11:54:25 +01:00
  • 2f599e2621 libsql-sqlite3: restore sqlite3_filename_* API semantics Piotr Sarna 2023-12-22 11:21:03 +01:00
  • 513941b768 add workflow to build and publish cr-sqlite Matt 2023-12-21 15:13:20 -05:00
  • 682d42783d fix missing define for cases where we build a loadable rather than static libsql extension Matt 2023-12-21 15:08:39 -05:00
  • f42bd234c6 pull in latest cr-sqlite changes Matt 2023-12-21 15:05:06 -05:00
  • c2eff91bd3 Add internal core-developer-only documentation of the JSONB format. drh 2023-12-21 18:08:05 +00:00
  • ded615ba53 fmt ad hoc 2023-12-21 18:38:44 +01:00
  • 50702ebfd6 document backup cli args ad hoc 2023-12-21 18:38:14 +01:00
  • 8b67e1fc7b fix shutdown ad hoc 2023-12-21 18:31:37 +01:00
  • 5756db477c backup metastore ad hoc 2023-12-21 18:30:06 +01:00
  • 2c2143c828 simplify ReplicationWal ad hoc 2023-12-21 18:28:17 +01:00
  • d8541f8d00 add metastore config ad hoc 2023-12-21 18:26:51 +01:00
  • f195235e4b Merge pull request #818 from tursodatabase/lucio/prepare-server-0.22.11 libsql-server-v0.22.11 Lucio Franco 2023-12-21 12:10:33 -05:00
  • ae71124a75 expose wrapper and wrapped methods for WalWrap ad hoc 2023-12-21 11:15:17 +01:00
  • 40f5b9420d implemented WrapWal for Option<T> ad hoc 2023-12-21 11:15:00 +01:00
  • 93fc274648 use WrapWal for bottomless wal ad hoc 2023-12-21 11:14:26 +01:00
  • 1ce7bd09fc server: prepare v0.22.11 release Lucio Franco 2023-12-21 10:33:24 -05:00
  • 26d0e3e5c4 Merge pull request #819 from tursodatabase/lucio/machine-metrics Lucio Franco 2023-12-21 11:34:52 -05:00
  • 2c0d54ca8b server: add server count metric Lucio Franco 2023-12-21 11:15:04 -05:00
  • 4afc01ba17 server: fix metrics overflow panic Lucio Franco 2023-12-13 14:55:01 -05:00
  • d6ae643439 Merge pull request #750 from Horusiath/libsql-cursor Lucio Franco 2023-12-21 14:51:57 +00:00
  • 54c5e47fc8 wip: play with sqlite3MultipleCiphers encryption_mess Piotr Sarna 2023-12-21 10:14:06 +01:00
  • 9d9c6bf1a9 added logging for skipped cursor entries + base_url rewriting Bartosz Sypytkowski 2023-12-21 05:29:48 +09:00
  • e881734a2b post-rebase fixes Bartosz Sypytkowski 2023-12-19 07:17:21 +09:00
  • f5f420d182 hyper: add "stream" feature Bartosz Sypytkowski 2023-12-18 10:54:07 +09:00
  • a10c7a4687 abstracted HttpStream between hyper and cloudflare clients Bartosz Sypytkowski 2023-12-18 10:27:11 +09:00