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

Commit Graph

  • 6234b33478 Have the shell tool emit a warning if the user attempts to use ".scanstats vm" in a non-SQLITE_ENABLE_BYTECODE_VTAB build. dan 2023-11-08 15:56:41 +00:00
  • e445586630 Remove old files related to wapptest.tcl from test/ directory. dan 2023-11-08 15:51:42 +00:00
  • 0ad5301378 Avoid blocking as part of passive checkpoint operations, even if SQLITE_ENABLE_SETLK_TIMEOUT is defined. dan 2023-11-08 15:49:57 +00:00
  • 8657eddcdb Remove an unused/invalid test from the wasm suite. stephan 2023-11-08 15:34:03 +00:00
  • 22b6d12781 Merge pull request #590 from tursodatabase/lucio/prepare-server-0.22 ad hoc 2023-11-08 15:00:38 +00:00
  • 43d05ccc31 Add declarations for new API functions. dan 2023-11-08 14:55:20 +00:00
  • c2461b2c4f update release-libsql-server.yml Lucio Franco 2023-11-08 09:48:08 -05:00
  • 98b59ac10a bump libsql-server to 0.22.0 ad hoc 2023-11-08 15:17:37 +01:00
  • 86b1898cb4 JNI build fixes for platforms where the jint type is not the same as int, as reported in [forum:9089d2049a|forum post 9089d2049a]. stephan 2023-11-08 12:56:23 +00:00
  • 4de573727c Merge pull request #588 from tursodatabase/conccurent-conns-test-timeout ad hoc 2023-11-08 12:44:19 +00:00
  • 4219220619 add timeout to conccurent connections test ad hoc 2023-11-08 13:15:10 +01:00
  • 69b0bbcd73 Merge pull request #587 from tursodatabase/lucio/client-versions ad hoc 2023-11-08 12:06:04 +00:00
  • c78d3b5963 Suppress harmless UBSAN warnings about memory overflow in OP_AddImm. The exact same machine code is generated by GCC. drh 2023-11-08 00:45:14 +00:00
  • 5b1e1c245b Add client version reporting metrics Lucio Franco 2023-11-03 09:29:41 -04:00
  • ec8f893e06 Changes a no-op call to freeP4() into an assert(). drh 2023-11-08 00:12:38 +00:00
  • 5df434fa6f Merge pull request #581 from tursodatabase/add-prom-metrics Lucio Franco 2023-11-07 23:32:53 +00:00
  • 42a83894c2 ignore metrics test for futher investigation Lucio Franco 2023-11-07 18:16:26 -05:00
  • 4be1f090b1 sleep in basic_metrics for ci Lucio Franco 2023-11-07 17:49:58 -05:00
  • 7d5d86c856 remove guage check in basic_metrics test Lucio Franco 2023-11-07 17:18:30 -05:00
  • 3b2da5abdf Merge pull request #586 from tursodatabase/lucio/fix-cf-sender Lucio Franco 2023-11-07 21:52:48 +00:00
  • 94a388de37 Merge pull request #585 from tursodatabase/fix-hrana-rusqlite-error-handling ad hoc 2023-11-07 21:48:11 +00:00
  • 2d197918b8 run rustfmt Lucio Franco 2023-11-07 16:35:52 -05:00
  • 0a6cb0451d Merge branch 'main' into fix-hrana-rusqlite-error-handling Lucio Franco 2023-11-07 16:32:00 -05:00
  • fd0c479042 libsql: make cf sender public Lucio Franco 2023-11-07 16:29:17 -05:00
  • 0259bf8729 fix basic_metrics test Lucio Franco 2023-11-07 16:27:27 -05:00
  • 0322a55bc2 Merge pull request #571 from Horusiath/cloudflare-client Lucio Franco 2023-11-07 21:04:03 +00:00
  • 027daa39b8 Merge pull request #552 from psarna/prometheus_script Lucio Franco 2023-11-07 21:02:06 +00:00
  • 24111a6efc Merge pull request #569 from pjhades/shell-no-follow Lucio Franco 2023-11-07 21:01:36 +00:00
  • 513b3cb4c2 update snapshot Lucio Franco 2023-11-07 16:00:27 -05:00
  • d7b0b5ec6f Add -DSQLITE_ENABLE_SETLK_TIMEOUT=1 to a release-test configuration. dan 2023-11-07 20:56:29 +00:00
  • 54e1e87ce8 add global app labels Lucio Franco 2023-11-07 15:56:18 -05:00
  • 3ef74dc97d Merge pull request #570 from tursodatabase/sqldrandomrowid Lucio Franco 2023-11-07 20:52:21 +00:00
  • 09d8148d95 more prom metrics ad hoc 2023-11-07 16:59:17 +01:00
  • 392f2059a0 add test for random rowid Lucio Franco 2023-11-07 15:42:20 -05:00
  • d433884baa add snapshot Lucio Franco 2023-11-07 15:38:44 -05:00
  • 9050911a94 rework macros, adjust feature flags, add xtask build-wasm Lucio Franco 2023-11-07 15:34:43 -05:00
  • 9d3d3351a4 add docs, move stuff to wasm mod Lucio Franco 2023-11-07 12:10:06 -05:00
  • 275234e320 Fix an assert() that could fail within calls to sqlite3_snapshot_open() in SQLITE_ENABLE_SETLK_TIMEOUT builds. dan 2023-11-07 20:11:49 +00:00
  • 38a84df6e3 add ci job, fix coerce_url_scheme Lucio Franco 2023-11-07 11:36:34 -05:00
  • 3a2d90bec5 Apply suggestions from code review Lucio Franco 2023-11-07 11:16:51 -05:00
  • ac01f85fbb fix wasm compile Lucio Franco 2023-11-07 11:02:18 -05:00
  • 041324a3cf moved libsql-remote back to libsql Bartosz Sypytkowski 2023-11-07 09:44:57 +09:00
  • 010fe90a54 remove broken docs examples Bartosz Sypytkowski 2023-11-06 14:48:58 +09:00
  • 21a7a6a601 added core feature as a dependency of hrana Bartosz Sypytkowski 2023-11-06 10:45:01 +09:00
  • bda9fa0cfd put libsql-remote as a dependency of libsql Bartosz Sypytkowski 2023-11-06 10:22:50 +09:00
  • 24401583d1 libsql-remote working with cloudflare client Bartosz Sypytkowski 2023-11-06 09:57:02 +09:00
  • 0f1e16db69 moving hrana protocol to separate lib Bartosz Sypytkowski 2023-10-31 20:51:49 +09:00
  • 5eb11ef2e5 fixed to cloudflare build Bartosz Sypytkowski 2023-10-31 12:15:04 +09:00
  • 3b064396ef abstracted hyper/cloudflare http clients Bartosz Sypytkowski 2023-10-31 09:18:37 +09:00
  • 344255e5aa An attempt to work around compilation errors on MinGW reported in [forum:9089d2049a|forum post 9089d2049a]. stephan 2023-11-07 19:39:23 +00:00
  • 73f03276d9 Refactor MBCS/UTF-8 translation to avoid extra allocations, supporting non-formatted (faster) output. Some code cleanup. Wrap .system/.shell command exection with restoration of startup console mode and renewing mode setup. Changes to make legacy MBCS build work better (than legacy did, even with --no-utf8.) larrybr 2023-11-07 19:30:14 +00:00
  • f436d7b523 Merge pull request #584 from tursodatabase/delegate-write-until-sync ad hoc 2023-11-07 19:22:27 +00:00
  • 7af5b247ac make replica proxy to primary until caught up with primary ad hoc 2023-11-07 18:08:21 +01:00
  • 17a3295387 Update the documentation to the sqlite3_set_auxdata() and sqlite3_get_auxdata() routines to make it clear that they do not work as one might expect when they are called during query planning, instead of during query execution. The JSON routines misuse those interfaces, so add a special flag to JSON routines that prevents them from being invoked during query planning. Fix for the problem in [forum:/forumpost/a655ee159eca1ea5|forum post a655ee159eca1ea5]. drh 2023-11-07 19:03:13 +00:00
  • 86e8683176 fix hrana handling of rusqlite error ad hoc 2023-11-07 18:31:36 +01:00
  • 637922acac JNI: during static init record whether the current JVM supports JNI-level access to java.nio.ByteBuffer raw memory, and add sqlite3_jni_supports_nio() to query that. stephan 2023-11-07 17:15:55 +00:00
  • 19dfc7ed8d Merge pull request #579 from tursodatabase/fix-batch-replication-index ad hoc 2023-11-07 17:09:29 +00:00
  • d7b65533cf add primary replication index to Hello response ad hoc 2023-11-07 17:57:16 +01:00
  • a0a901cb2a test hrana batch correct sample query ad hoc 2023-11-07 15:00:31 +01:00
  • 50e259e165 fix hrana batch replication index ad hoc 2023-11-07 14:34:55 +01:00
  • 488125d4ce Add Sqlite.prepareMulti() to JNI wrapper1, for preparing multiple statements from a single input. stephan 2023-11-07 15:56:39 +00:00
  • c6abeef961 Merge pull request #577 from tursodatabase/restore-autocommit Lucio Franco 2023-11-07 14:09:28 +00:00
  • 5292eff893 Merge pull request #576 from pjhades/sys-fix-build-script Lucio Franco 2023-11-07 14:04:48 +00:00
  • 6dc368e632 Diverse minor cleanups in the JNI pieces. stephan 2023-11-07 13:44:29 +00:00
  • 6ca0cfd87a Flesh out [7a63b5b65a79] to be able to build JNI with or without SQLITE_ENABLE_COLUMN_METADATA. stephan 2023-11-07 13:22:49 +00:00
  • a098789803 restore is_autocommit ad hoc 2023-11-07 13:15:48 +01:00
  • 54895cb167 proxy proto: change txn state to is_autocommit ad hoc 2023-11-07 12:41:31 +01:00
  • ecf6dbb913 Merge pull request #555 from DaBigBlob/main Pekka Enberg 2023-11-07 11:13:53 +00:00
  • 84e137f634 Merge pull request #574 from tursodatabase/fix-lock-stealing ad hoc 2023-11-07 11:02:16 +00:00
  • fd06e6d648 more lock stealing tests ad hoc 2023-11-07 11:46:21 +01:00
  • 4c78cb50bf Get dependencies into make recipes. Get legacy console I/O (-DSHELL_LEGACY_CONSOLE_IO) working. Due to movement of MBCS/UTF-8 translation into traditional stream I/O simulacra, the input translation does not happen the same way. (It works the same, but fails differently and a bit better.) Added printf() and fputs() look-alikes, and made CLI use them. larrybr 2023-11-07 02:41:46 +00:00
  • 23056b608e Add -DSQLITE_ENABLE_COLUMN_METADATA to the JNI build, as per [forum:9205518c0568fdf0|forum post 9205518c0568fdf0]. Add tests for the functions that flag enables so that the build will fail if that flag is missing. stephan 2023-11-06 21:57:15 +00:00
  • 81ab90628b libsql-sys: fix path to sqlite3.c in build.rs Jing Peng 2023-11-06 16:17:59 -05:00
  • b4fc827c0f Merge latest trunk into this branch. dan 2023-11-06 19:16:38 +00:00
  • a3e8822c4b Fix an fts5 problem where a transaction consisting of (a) a DELETE on rowid X, (b) a prefix query, and (c) an INSERT on rowid X, could corrupt the index. dan 2023-11-06 18:40:25 +00:00
  • 4cad31912e Merge trunk changes into this branch. dan 2023-11-06 16:32:50 +00:00
  • d0046388a0 Move console_io lib to its own subdirectory, etc/consio . larrybr 2023-11-06 15:31:08 +00:00
  • eb1898d6f3 Some renaming, warnings cured, and more coding convention conformance. larrybr 2023-11-06 15:15:58 +00:00
  • 9dce3cec6f fix bug in lock-stealing ad hoc 2023-11-06 16:04:56 +01:00
  • 56fba47850 Add an fputs() equivalent to console I/O lib, and use in CLI. larrybr 2023-11-06 13:24:07 +00:00
  • f9861d84e8 Merge pull request #572 from tursodatabase/fix-snapshot-bug ad hoc 2023-11-06 10:15:42 +00:00
  • 010f48a091 remove block_on in async function ad hoc 2023-11-06 11:01:26 +01:00
  • 325fc36a2f Merge pull request #568 from PragmaTwice/main Pekka Enberg 2023-11-06 08:16:51 +00:00
  • e3a6a60901 Cause CLI to use console_io library. larrybr 2023-11-06 03:09:10 +00:00
  • a0cd392979 Make MSVC accept it, too. (Cannot use static const int as part of a constant expression?) larrybr 2023-11-06 00:15:14 +00:00
  • 8dd4697e48 Make it buildable. Pull test program from testee. Zap stray fprintf(). larrybr 2023-11-05 23:55:41 +00:00
  • a89c3f0dc7 vendored/sqlite3-parser: support RANDOM ROWID Piotr Sarna 2023-11-05 21:36:04 +01:00
  • ff39634625 Input working. No line-editor provisions yet. (WIP, but suitable for testing.) larrybr 2023-11-05 19:42:00 +00:00
  • a6b7da4de9 libsql-shell: add --nofollow flag Jing Peng 2023-11-05 08:46:11 -05:00
  • ed99e7493a Add incremental blob I/O support to JNI wrapper1. stephan 2023-11-05 04:20:04 +00:00
  • 17d91adf32 Fix mistakenly moved CODE_OF_CONDUCT.md from libsql-sqlite3 to root dir PragmaTwice 2023-11-05 13:18:41 +09:00
  • 546db3f14a JNI wrapper1 normalizeSql() now throws UnsupportedOperationException, instead of returning null, if built without SQLITE_ENABLE_NORMALIZE. Remove SQLITE_PREPARE_NORMALIZE from the JNI interface because it's a legacy no-op. stephan 2023-11-05 03:37:33 +00:00
  • 88c90a793e Add authorizer support to JNI wrapper1. stephan 2023-11-05 01:55:20 +00:00
  • 9a26589940 Add progress-handler support to JNI wrapper1. Correct the return type of the extended_result_codes() JNI binding and expose it to wrapper1. stephan 2023-11-05 01:39:29 +00:00
  • 557297ae77 Setup, takedown, mode set and output working. No input yet. (WIP) larrybr 2023-11-05 01:21:14 +00:00
  • 0ee7ae72a1 Add update-hook support to JNI wrapper1. stephan 2023-11-05 01:14:07 +00:00
  • 2c930e3b86 Add commit/rollback hook support to JNI wrapper1. stephan 2023-11-05 00:48:43 +00:00
  • b02ca781ad Add busy-handler support to JNI wrapper1. stephan 2023-11-05 00:02:47 +00:00
  • 15d38c0dde Bind collation and collation-needed to JNI wrapper1 and correct the callback return type for collation-needed callbacks in the lower-level JNI binding. stephan 2023-11-04 23:37:11 +00:00
  • dc8a684c11 Wrap the sqlite3_backup API in the JNI wrapper1 API. stephan 2023-11-04 22:47:40 +00:00