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

Commit Graph

  • ba65f36875 Merge pull request #536 from tursodatabase/bottomless-retry Piotr Sarna 2023-10-31 10:55:16 +00:00
  • 3aa0955768 Make s3 retry op configurable and set default to 10 Avinash Sajjanshetty 2023-10-31 14:50:08 +05:30
  • 739edb99ee Remedy CLI non-UTF8 handling detection flaw [forum:/forumpost/fa0e00d36db5fe0a|noted in a forum post]. larrybr 2023-10-30 23:20:45 +00:00
  • 7545b0eab7 Remedy CLI non-UTF8 handling detection flaw [forum:/forumpost/fa0e00d36db5fe0a|noted in a forum post]. larrybr 2023-10-30 23:04:27 +00:00
  • 23f5f62d41 Update the autoconf/Makefile.msc so that it aligns with Makefile.msc. drh 2023-10-30 20:35:33 +00:00
  • cc2af7e68a Dodge a nuisance warning from MSVC in CLI use of Prepared Statement Scan Status. (Yes, C rules are fine.) larrybr 2023-10-30 19:50:20 +00:00
  • f3f0bd2155 Add a cast to i64 for an integer in an sqlite3OsWrite() offset calculation. The cast is not strictly necessary, but it helps human readers see that the code is correct. drh 2023-10-30 19:03:17 +00:00
  • 383295eb17 Fix another comment typo. No code changes. drh 2023-10-30 18:48:03 +00:00
  • 2d0dd57dd5 Add FTS5 to default Makefile.msc builds. And UNKNOWN_SQL_FUNCTION and STMT_SCANSTATUS to default Makefile.msc shell builds. dan 2023-10-30 18:17:29 +00:00
  • 279cdb5bf2 Enable embedded_replica test lucio/enable-embedded-replica-test Lucio Franco 2023-10-30 11:16:35 -07:00
  • aa36dcf074 Make the new sqlite3_get_clientdata() and sqlite3_set_clientdata() interfaces available to run-time loaded extensions. drh 2023-10-30 18:09:14 +00:00
  • a238c57eb8 Fix problems with previous commit on Makefile.msc. Also some win32-specific test failures in fts5misc.test. dan 2023-10-30 18:07:18 +00:00
  • 30c9aca83e Fix typo in a comment. No code changes. drh 2023-10-30 17:56:27 +00:00
  • 23e8f976dd Add FTS5 to default Makefile.msc builds. And UNKNOWN_SQL_FUNCTION and STMT_SCANSTATUS to default Makefile.msc shell builds. dan 2023-10-30 17:13:12 +00:00
  • a8a8cfd056 Merge pull request #477 from tursodatabase/same-thread-injection ad hoc 2023-10-30 17:11:52 +00:00
  • ed15e00c7a Add SQL query metrics to prometheus Athos Couto 2023-10-30 14:08:06 -03:00
  • 1cf2d65bc2 Use u64 for SlowestQuery and TopQuery instead of i64 Athos Couto 2023-10-30 14:06:28 -03:00
  • 68fca441b5 Add basic namespace metrics to /metrics Athos Couto 2023-10-30 12:20:01 -03:00
  • 88d3c148c8 Predicate Windows CLI UTF-8 console I/O on a runtime capability check rather than an OS version check. larrybr 2023-10-30 16:38:05 +00:00
  • 9a5fc8d5f6 review fixes ad hoc 2023-10-30 10:39:10 +01:00
  • 19c1c5d962 fix CI out of space ad hoc 2023-10-25 17:45:15 +02:00
  • 0c40a3bc76 review changes ad hoc 2023-10-25 12:43:47 +02:00
  • a9481c8326 remove unused deps ad hoc 2023-10-25 11:03:18 +02:00
  • ea56d83b79 fix clippy ad hoc 2023-10-24 18:00:06 +02:00
  • 866d8858ea remove debug statements ad hoc 2023-10-24 17:57:14 +02:00
  • d7a9b64c9d add libsql local replica sync tests ad hoc 2023-10-24 17:55:56 +02:00
  • 641945e97f fix panick in local sync embbedded replica ad hoc 2023-10-24 17:55:04 +02:00
  • 818a0564d1 handle libsql replication errors. ad hoc 2023-10-24 14:06:21 +02:00
  • 4a3a31836b session based handshake ad hoc 2023-10-24 12:19:36 +02:00
  • 0012ae05c2 fix tests ad hoc 2023-10-23 10:52:39 +02:00
  • 29dc6d953e fix tests ad hoc 2023-10-22 19:57:39 +02:00
  • c1ac7e4e06 libsql re-export libsql_replication SnapshotFile ad hoc 2023-10-22 19:22:30 +02:00
  • da4f293c12 use libsql_replication snapshot in libsql_server ad hoc 2023-10-22 19:19:05 +02:00
  • 0b04438393 add snapshot to libsql-replication ad hoc 2023-10-22 11:27:20 +02:00
  • 6c87f263bd clippy & fmt ad hoc 2023-10-21 22:57:53 +02:00
  • fef62c831f add Frames doc ad hoc 2023-10-21 22:51:57 +02:00
  • 0a55bbc099 remove unused files ad hoc 2023-10-21 22:48:45 +02:00
  • fbc6d30fba use abstract replicator in libsql ad hoc 2023-10-21 09:57:56 +02:00
  • e16d3e857a move WalIndexMeta to libsql-replication ad hoc 2023-10-20 18:40:22 +02:00
  • 5d9fd529fc use abstract Replicator in libsql-server ad hoc 2023-10-20 17:12:24 +02:00
  • ade217c5eb Abstract Replicator ad hoc 2023-10-20 15:48:59 +02:00
  • f493f3f054 use injector from replication crate ad hoc 2023-10-19 14:59:08 +02:00
  • e998c8a7d8 move injector to replcation crate ad hoc 2023-10-19 13:57:53 +02:00
  • 2e42c635b5 move rpc to libsql-replication crate ad hoc 2023-10-19 12:27:13 +02:00
  • 4879f4ccc2 Revert "Revert "Same-thread frame injection (#695)" (#775)" ad hoc 2023-10-19 09:02:30 +02:00
  • 8735e582df Merge pull request #533 from cookiengineer/patch-1 ad hoc 2023-10-30 15:31:34 +00:00
  • 1401cd45ba Small bugfix for wrong link to libsql-server Cookie Engineer 2023-10-30 15:47:49 +01:00
  • 8a95e92af9 Predicate Windows CLI UTF-8 console I/O on a runtime capability check rather than an OS version check. larrybr 2023-10-30 13:56:50 +00:00
  • 2f1caebde0 Merge pull request #530 from psarna/moarprometheus ad hoc 2023-10-30 12:36:53 +00:00
  • 9cecb0e7a4 Merge pull request #531 from tursodatabase/enable-sim-tests ad hoc 2023-10-30 12:24:27 +00:00
  • d2147bd32b With SQLITE_ENABLE_BLOCK_ATOMIC_WRITE enabled, if a transaction is committing and there is a new freelist page at the end of the database file which would cause the database file size to grow, ensure that page is written and the file size grows before the block-atomic-write commits. Fix for the problem identified by [forum:/forumpost/3bd8d497b2|forum post 3bd8d497b2] drh 2023-10-30 12:09:48 +00:00
  • c1c7df14cf fix OpenFlag import ad hoc 2023-10-30 12:23:38 +01:00
  • 2fc8e91995 enable sim tests in CI ad hoc 2023-10-30 12:19:30 +01:00
  • ffdec18581 metrics: add a histogram for bytes returned Piotr Sarna 2023-10-30 10:24:22 +01:00
  • 1005a99b2c metrics: add histogram of mem_used per statement Piotr Sarna 2023-10-30 10:10:45 +01:00
  • 6bff4617b5 metrics: add moar moarprometheus Piotr Sarna 2023-10-30 09:58:13 +01:00
  • 9e8d488a04 Merge pull request #515 from pjhades/shell-cmd-option Piotr Sarna 2023-10-30 08:25:20 +01:00
  • 7c2d3e8a06 For Windows CLI, institute a version check to determine default MBCS or UTF-8 translation on console I/O. (Default to UTF-8 where known possible.) larrybr 2023-10-29 20:05:18 +00:00
  • 84eab13df9 Simplify code slightly. Improve comments on added code and its use. larrybr 2023-10-29 19:55:22 +00:00
  • 060c097e0d Properly close a handle. Use a putatively effective runtime test for UTF-8 console I/O capability. (This makes the version test useful mainly for avoiding a warning that UTF-8 console I/O could not be setup.) larrybr 2023-10-29 16:26:12 +00:00
  • d4e0dcddca Merge pull request #524 from wyhaya/pub_flags ad hoc 2023-10-29 09:10:13 +00:00
  • 4a0fd3e8d5 Merge pull request #527 from tursodatabase/remove-pr-image-builds ad hoc 2023-10-29 09:03:32 +00:00
  • 0ed2249c6a remove workflow that builds PR images ad hoc 2023-10-29 09:50:49 +01:00
  • d98eeb588e Merge pull request #521 from psarna/resetstats ad hoc 2023-10-29 08:49:34 +00:00
  • 3017a6851f Condition default UTF-8 console I/O for Windows builds on OS version 10 or more. This is to accomodate an IsValidCodePage() API which may happily report CP_UTF8 as a valid code page when the stock console cannot, in fact, do UTF-8 I/O. larrybr 2023-10-29 00:24:22 +00:00
  • af63313d45 Export OpenFlags wyhaya 2023-10-29 04:58:29 +08:00
  • c9b60a1c8e Merge pull request #449 from tursodatabase/savepointclient Lucio Franco 2023-10-28 19:21:27 +00:00
  • 7ecd5f2357 replication: support SAVEPOINT Piotr Sarna 2023-10-11 11:00:52 +02:00
  • 5269e846dc Limit the range of integer unix timestamps in date4.test, since some systems (RaspberryPI) cannot deal with timestamp values that exceed pow(2,31). drh 2023-10-28 16:19:21 +00:00
  • bdc9c74ca0 libsql-shell: add --cmd option Jing Peng 2023-10-24 19:03:55 -04:00
  • 50862112b9 Update documentation for sqlite3_errmsg() to try to make it clear that if the schema of a database contains table names or similar with invalid UTF, then the error message generated by SQLite might also contain invalid UTF. No changes to code. drh 2023-10-28 11:53:14 +00:00
  • 1b772cae2d Since SQLite considers NaN to be like NULL and NULL sorts before any integer, make sure the sqlite3IntFloatCompare() routine reports that the integer argument is larger if the floating-point argument is NaN. drh 2023-10-28 11:40:33 +00:00
  • 793e872803 Merge trunk into jni-post-3.44 branch. stephan 2023-10-28 03:56:14 +00:00
  • a9fea28761 Remove the SQLITE_MAX_ALLOCATION_SIZE flag (set to 536mb) from the WASM and JNI builds because it can unduly limit db exports via sqlite3_serialize(), as reported in [forum:75524f7342c1ba45|forum post 75524f7342c1ba45]. It now defaults to whatever sqlite3.c uses, which is currently just shy of 2gb. stephan 2023-10-28 03:54:28 +00:00
  • 95c11b1158 Add missing docs for the JS Worker1 export method, as pointed out in [forum:75524f7342|forum post 75524f7342]. stephan 2023-10-27 23:02:01 +00:00
  • 4b8010a8ee Fix cosmetic flaw in SQLITE_TXN_* doc. (no code change) larrybr 2023-10-27 21:44:53 +00:00
  • 26422f823f Export sqlite3_get_autocommit() to WASM and add tests for it. stephan 2023-10-27 21:05:50 +00:00
  • ac74077f19 admin: allow resetting top and slowest queries Piotr Sarna 2023-10-27 21:36:55 +02:00
  • 6572f7799c Disable two rtree test cases for Linux-i686. We do not have that platform available for testing. The test cases work on all other 64-bit and 32-bit platforms that we have at hand. So there is no way for us to debug this problem. Better to disable the test. [forum:/forumpost/ffcbf789b5386573|forum post ffcbf789b5386573]. drh 2023-10-27 18:16:15 +00:00
  • 2e0d7b28c1 Add makefile targets for fuzzcheck-asan and fuzzcheck-ubsan. drh 2023-10-27 17:40:46 +00:00
  • e39fe86ff5 Merge pull request #520 from tursodatabase/lucio/fix-local-sync2 Lucio Franco 2023-10-27 17:24:20 +00:00
  • 75e738dd7c libsql: Fix local sync internal connection Lucio Franco 2023-10-27 13:09:28 -04:00
  • 5d676e6283 Merge pull request #513 from tursodatabase/athos/skip-rm-apt-lists Athos 2023-10-27 15:51:17 +00:00
  • a03932a790 Fix to Makefile.in so that the "tool-zip" target can be run from outside the source tree. dan 2023-10-27 15:31:44 +00:00
  • cc803fd3e6 Merge pull request #518 from tursodatabase/lucio/vendor-parser Lucio Franco 2023-10-27 15:06:40 +00:00
  • 8466500dd4 Merge pull request #519 from tursodatabase/lucio/fix-local-sync Lucio Franco 2023-10-27 14:21:30 +00:00
  • f03057b44c sqlite3-parser: disable benchmarks and features Lucio Franco 2023-10-27 10:11:30 -04:00
  • 2da9a81a27 libsql/core: Fix local sync constructor Lucio Franco 2023-10-27 10:04:55 -04:00
  • b685ab5723 Vendored sqlite3-parser and remove patch Lucio Franco 2023-10-27 10:00:54 -04:00
  • 1b2a93ea36 Cleanup shell.c comments. Hide -utf8 option, as it is undocumented and accepted only for backward compatibility. No functional changes except for -help content. larrybr 2023-10-27 13:59:05 +00:00
  • c42276f63e Back out [2904fcbeebba9189], mostly. The page bitmap is needed even for a partial integrity_check in order to avoid an infinite loops while walking the database. drh 2023-10-27 10:49:17 +00:00
  • 255297a21d Merge pull request #506 from psarna/slowestquery Piotr Sarna 2023-10-27 09:38:21 +00:00
  • 124f42871c Run apt update on sqld runtime image Athos Couto 2023-10-26 22:03:03 -03:00
  • 1ecf531fb0 In CLI for Windows builds, do MBCS/UTF-8 translation independently for input and output. (And cure an MSVC warning.) larrybr 2023-10-26 18:41:13 +00:00
  • d7969e5274 Handle utf8 mode restore better for redirected input or output. Move utf8 mode setup to before any invocation command processing. Sync w/trunk. larrybr 2023-10-26 18:24:41 +00:00
  • 2473180bb1 Enhance the "tool-zip" makefile target on Windows so that it uses more universally available commands to build the ZIP archive. Fix other minor issues with that makefile target at the same time. drh 2023-10-26 17:30:54 +00:00
  • 113e15fbbe Further enhancements to make sure the correct returnning trigger is run when there are nested INSERT RETURNING statements. drh 2023-10-26 16:59:22 +00:00
  • 94331d406a Handle the case where a virtual table xBestIndex method called while coding a trigger fired by a top-level statement with a RETURNING clause prepares a statement that also contains a RETURNING clause. dan 2023-10-26 16:05:57 +00:00
  • 69d40f8e1f Ready for merge, but could use testing on some dusty old Windows machines. larrybr 2023-10-26 15:12:41 +00:00
  • 3c75a03615 Deal with the case of a reentrant INSERT on a virtual table where the outer INSERT has a RETURNING clause but the inner does not. dbsqlfuzz 3ac9a1e33f676254e02c0f297263b0a7aeb0c1a5. drh 2023-10-26 12:59:41 +00:00