aboutsummaryrefslogtreecommitdiff
path: root/ext/misc
Commit message (Collapse)AuthorAge
...
* Guard against a NULL-pointer dereference following OOM in the JSON extension.drh2021-04-30
| | | FossilOrigin-Name: ea221f3c8e243a5dc4952e510cbe396614a24876bacdc04fb1ebd4127c7ef0d9
* Fix the date/time translation logic in the zipfile extension so that itdrh2021-04-22
| | | | | | works with boundary cases. See [forum:/forumpost/d82289d69f|forum post d82289d69f] for the trouble report. FossilOrigin-Name: c8de5f061359c174e143e5e81ade8aa9b7d71ba57287459cf0f4f2c94459c345
* Ensure that the typedefs for specific-length integers in zipfile.c aredrh2021-04-22
| | | | | correct. FossilOrigin-Name: f1f2a49007e938ea7a00dda6f8898b1cd38525c0de1e1cac00a7aebcd7b625f5
* Fix a potential crash when using json_group_array() as a window function.dan2021-04-14
| | | FossilOrigin-Name: 3c266690c753d093c2cb74138a46ed69276d85cd119d687a6858c84211e84eaf
* Fix an error in the inversion function for json_group_array().drh2021-04-13
| | | | | dbsqlfuzz 68a4b0f668b7bc27235e3f1c5cff8a2d94cfa17e. FossilOrigin-Name: e718a62ed1d5ba9b1404ba67fae1ad731809e2ebd9253edc57d2b34a19fbef24
* Fix seg-fault upon appendvfs attempt to open non-existent file.larrybr2021-04-07
| | | FossilOrigin-Name: 04f6439f4d9b9b1f717c3aa243a93585df7e7844c216fab5d15bebb050ab00b1
* In the wholenumber virtual table, increase the cost penalty for runningdrh2021-03-19
| | | | | | open-loop. This appears to fix the problem reported by [https://sqlite.org/forum/forumpost/b52a020ce4|forum post b52a020ce4]. FossilOrigin-Name: f12b54042e27b2fe99f23f97c103ee4371f8d4df3b049d9bb5d64891db56eee5
* Fix a harmless compiler warning in the appendvfs.c extension.drh2021-03-17
| | | FossilOrigin-Name: 0ed7eb9115510511f13dca715bb2b178580648517d8d30436a992d70a2e85ac1
* Comment and stylistic changes to the appendvfs.c implementation.drh2021-03-16
| | | FossilOrigin-Name: 25c3186aa143328157fb506a29802e87099cd14be4fa218230484a3212f20621
* Fix assert typo.larrybr2021-03-16
| | | FossilOrigin-Name: 3aedf818c1cfc88ee1103abd8b20e787f6be1bcc4c9350963f0cd52f5ac04154
* Fix appendvfs bug exposed with bigger files, and add tests for such conditions.larrybr2021-03-16
| | | FossilOrigin-Name: 19b1f53a1c0a14440ae8ac71660a2595d37a4a5b201055c19366c7dca75d6660
* Bug fix in appendvfs.c: Adjust the size parameter fordrh2021-03-11
| | | | | SQLITE_FCNTL_SIZE_HINT to account for the prefix. FossilOrigin-Name: 41df3bbefd63151f2ddb920066777eab8e07ecfc0edb0f71f9493debe0a4a2c4
* Add tests for too-tiny appended DBs, clarify align macro.larrybr2021-03-08
| | | FossilOrigin-Name: eb40a8dea6afe6890ddda989de83f3d4ae03b112bf78bfc818dfbd57cc5b5b2a
* Fix a harmless compiler warning in appendvfs.cdrh2021-03-08
| | | FossilOrigin-Name: f538961a8058cc327d64c8ec317f1b4f8bbb604f90261160c6c27f26f4800682
* Require that the appendvfs suffix mark indicate that the appended databasedrh2021-03-08
| | | | | | begins at an offset that is a muliple of 512 and that the appended database contains at least 512 bytes. FossilOrigin-Name: aeb87cc70495dd172e170eff31fd754331d4b979c0b649ab239f8c5c0c76e695
* Correct the precendence order for rules that determine how a database isdrh2021-03-08
| | | | | opened by appendvfs when a database is appended to another database. FossilOrigin-Name: 92989fc56f2e81ac13f8106ec83c930f43d10715269b988ee47c9bfa53621995
* Minor comment and formatting changes.drh2021-03-08
| | | FossilOrigin-Name: cf2add064f70c477fee1473c3196b72deb41222eb0cdbbdbdcf4a79995184e2b
* Add grow/shrink tests. Fix truncate bug. Make appendvfs.c easier to inspect.larrybr2021-03-07
| | | FossilOrigin-Name: c9521fa55620d0cb3cec20db7b42bc5f18876b42dca07811d1cd0f4b2907eab2
* Fix appendvfs bug exposed by docsapp build (in docsrc), and tighten/revise ↵larrybr2021-03-05
| | | | | published behavior. FossilOrigin-Name: 7f0f2eacdb496f7f36865ba62164a48edb324a3c6baede736b4e7edf5e8b0fdb
* Limit the size of the exponent input in the second argument to thedrh2021-03-02
| | | | | | ieee754() SQL function, to avoid integer overflow. Ticket [22dea1cfdb9151e4]. FossilOrigin-Name: 99aab32da14cc76beb5c1823a70bdeab144459398d61c42a858be4d6868d361e
* Fix an issue with sha3_query() when the first argument contains blankdrh2021-01-08
| | | | | SQL statements. FossilOrigin-Name: 24baab9a9faab50c26d7167821031cd66aaf784baefbc0f92354ae54ac43a714
* Update cksumvfs to check that the xCurrentTimeGetInt64 method of the ↵dan2021-01-07
| | | | | underlying VFS is not NULL before invoking it. FossilOrigin-Name: c71f6cadcc8c2172ad4113bbe4026aac4ebb8a91485454e8a14de32d197a93aa
* Add an "#ifndef SQLITE_AMALGAMATION" block around the typedef for u64 in ↵dan2020-12-11
| | | | | shathree.c. FossilOrigin-Name: b411f29e1a6415f4a241777c45591b8389e746cd8b40d9b225e073bcb0a3bdbf
* Add an optional function to the chsumvfs extension. When activated bydrh2020-12-10
| | | | | | | | the SQLITE_CKSUMVFS_INIT_FUNCNAME macro, this function will invoke the file-control that sets the number of reserved bytes to 8. This can be used to initialize a cksumvfs database file by programming languages that do not have access to the sqlite3_file_control() interface. FossilOrigin-Name: 01841fb4bf3d6c5fd5bcbc7d1338998c50f69f84ca475fba7cf764d636714678
* Enhance the generate_series() table-valued function to support negativedrh2020-12-03
| | | | | step values. FossilOrigin-Name: 9b60fc48706bb77b2d4fe27a7b5834a6dc229b4051a9285032da578e4f2849e6
* Fix harmless compiler warnings about unused function parameters.drh2020-11-25
| | | FossilOrigin-Name: 25d067c270966d9506db8bedf280883e32b69050b14bdbbeda4bb2d9a362619c
* Update cksumvfs.c so that if SQLITE_AMALGAMATION is defined, ↵dan2020-11-18
| | | | | SQLITE_CKSUMVFS_STATIC is implied. FossilOrigin-Name: 184e9d782dfbad8011b5b0043b3fd8e5a369ed7076e37e14b301483ce5ffe5db
* Add test infrastructure for cksumvfs. And update cksumvfs so that it works ↵dan2020-11-18
| | | | | in concert with version 2 VFSs. No changes to core SQLite. FossilOrigin-Name: 43d4801df5dc4625f6829ed8246758493842b2416ba609ee0423ef63155cece2
* Fix a problem causing sqlite3_carray_bind() to return an undefined value.dan2020-11-18
| | | FossilOrigin-Name: 083203a549d3cf26991d8626b308ff1e9e44be6abb72ab3d38e5fd53c99aed7f
* Add a single-argument form to the CARRAY table-valued function, withdrh2020-11-17
| | | | | | content bound using the sqlite3_carray_bind() interface that is included with the extension. FossilOrigin-Name: 7b229cb1202be203a87b8f47d284313f357deb1e6dfeb94bba7b46744c33512e
* Minor fixes to the cksumvfs documentation in the header comment of the sourcedrh2020-10-15
| | | | | | file. Enhance speedtest1.c so that it can more easily do performance comparisons of cksumvfs. FossilOrigin-Name: ed3bb818f58b75c087f2875331ec944397b6c61a5b14d8af4b9ec6f376bd1872
* In the CSV extension, use SQLITE_TRANSIENT rather than SQLITE_STATIC ondrh2020-10-07
| | | | | return values that can in fact change. FossilOrigin-Name: 54b54f02c66c5aeaa3504c52a04614e2fb4d7260da8367840d5ea5a71cdc2fda
* Fix a sanitizer warning in zipfile.c.dan2020-08-29
| | | FossilOrigin-Name: ded1a75b3cf39834d38a385f38ae969b296f6c9409856b7eea08645e861b1ac2
* Fix harmless compiler warnings that surface in newer versions of GCC.drh2020-08-10
| | | FossilOrigin-Name: 9d670a318381f219b467653f5f9539097808b887ae37291ce13be462dedfb18d
* Reorder declarations in the decimal extension for C89.drh2020-08-08
| | | FossilOrigin-Name: eface2da2c0b3daee2a5fd640cca3d3757d0930f62900fc810c50c104635241d
* Fix other potentiall pointer aliasing problems associated with subclassingdrh2020-07-24
| | | | | of the sqlite3_file object for various VFS implementations. FossilOrigin-Name: 270ac1a0f232d75537be40abae559004e950b992cb2c7e94cd6de66e96ae17bd
* More harmless compiler warning fixes.drh2020-07-18
| | | FossilOrigin-Name: 4c0d208c455abb983217a6dfea7634f677f8360fb57857e1421334fe7a5a23e2
* Add the ieee754_to_blob() and ieee754_from_blob() functions. Fix the handlingdrh2020-06-26
| | | | | of subnormal forms in the two-argument version of ieee754(). FossilOrigin-Name: c78cbf2e86850cc6882d3f0bd5415f6e731c3c675ffe77bb343682c619cb8cd9
* Add the ieee754_mantissa() and ieee754_exponent() functions to the iee754drh2020-06-24
| | | | | extension. Build the ieee754 extension into the CLI. FossilOrigin-Name: db2f0836b64cd2e119684f1cf75fa3b19a84ca6aca1a239f7e2b9298016e2c95
* Fix the decoding of subnormal values in the ieee754 extension.drh2020-06-24
| | | FossilOrigin-Name: 838817b680f02b3845d6d56f85d5d36fa5ae7453afef7a1a5a24624255f2dc3e
* In the one-argument version of the ieee754() extension function, if thedrh2020-06-24
| | | | | | argument is an 8-byte blob, interpret that blob as a binary64 floating point and decode it. FossilOrigin-Name: 4199c1e8aa47d77df3ef598cb6f5418f67970dd00f34823463c85eabfc8d2b77
* Fix a harmless compiler warning.drh2020-06-23
| | | FossilOrigin-Name: e1416c8b0628afa062d8cff40d0cd3576dc85460e55b21a271f88fcb608b9f59
* Avoid unnecessary normalization in decimal_sum(). Trim excess trailingdrh2020-06-23
| | | | | zeros off the result of decimal_mul(). FossilOrigin-Name: 0294ce071c863eb517e97beff31c3d95a4370e979a969415162302a90d3fda0e
* Add the decimal_mul() function.drh2020-06-22
| | | FossilOrigin-Name: 72eee04b67268ad38fd51ff32849f08c0a54cf1b481d5ecb11d77cc9c729ee03
* An extension for doing decimal arithmetic on strings.drh2020-06-22
| | | FossilOrigin-Name: 4c3b85607feb53462ccc8b89bea699fdb132c402eae597afa33cc40a85c32329
* Extend the refactoring into extensions. Clean up stray newlines.drh2020-06-19
| | | FossilOrigin-Name: 7a876209a678a34c198b54ceef9e3c041f128a14dc73357f6a57cadadaa6cf7b
* Fix the cksumvfs extension so that it will not register itself more thandrh2020-05-26
| | | | | once. FossilOrigin-Name: d5cdd57150db914b61b8b9c61c6caac9690fe7b647ee2c003e75b9b62be62752
* Fix minor compile issues with optional extensions.drh2020-05-25
| | | FossilOrigin-Name: 3261ee9ec26bbeaa64190c12556a1d8146270b6660c70004830bd38c1b5b63f4
* Avoid harmless UB in memcpy() in the JSON extension.drh2020-05-17
| | | FossilOrigin-Name: 69e149f76853d196c8855fedfc98848b60fb116ac36bc08824b1a122469f8ece
* Fix a compiler warning in cksumvfs.c.drh2020-05-05
| | | FossilOrigin-Name: 68033bcade87e6046f4c0a49936d63ce531c680c1def98fae02afa0c79db2c7f