aboutsummaryrefslogtreecommitdiff
path: root/src/func.c
Commit message (Collapse)AuthorAge
...
* Simplifications to the SQL function and aggregate calling procedures.drh2014-09-25
| | | FossilOrigin-Name: 3467049a1705b49905ea88a5c6becb6fe318f2fa
* Still more performance enhancements to the LIKE and GLOB operators.drh2014-09-25
| | | FossilOrigin-Name: 6c8924cacc2b875270770fed2cc3b1884f57a655
* More performance optimization for the LIKE and GLOB operators.drh2014-09-25
| | | FossilOrigin-Name: 5ab1023d6cfe31fa8a194804b8216058977ac973
* Size reduction and performance improvement in the LIKE and GLOB operators.drh2014-09-25
| | | FossilOrigin-Name: b2c89ef49cd19b8031a8149a2dc47cea07dd04e0
* Reorder the elements of the Mem object for a small size reduction anddrh2014-09-16
| | | | | performance improvement. FossilOrigin-Name: 0be3019ed794c10de67dfd645ceea7d45815bc4b
* Do not flatten aggregate subqueries that contain min() or max() functionsdrh2014-09-15
| | | | | | | so that if the min()/max() are discarded by the outer query, they still function and cause non-aggregate expression to be evaluated on the minimal or maximal row. FossilOrigin-Name: 0bdf1a086b3946722f4d4b328e25917f61c14713
* Add new APIs that take 64-bit length parameters: sqlite3_malloc64(),drh2014-09-11
|\ | | | | | | | | | | | | | | | | | | | | sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_bind_text64(), sqlite3_result_blob64(), and sqlite3_result_text64(). Add the sqlite3_msize() interface. Internal memory allocation routines now use 64-bit unsigned length parameters for safety. Fix the sqlite3_get_table() to use sqlite3_realloc64() to avoid a integer overflow problem. FossilOrigin-Name: 7e4978c003867d1b532b69221013dda75ca61953
| * Change the name of the _texte64() interfaces to just _test64(), without the "e".drh2014-09-09
| | | | | | FossilOrigin-Name: 6ab76c5fedfe568b0f0f34a600f9135bf6558148
| * Add new APIs that take 64-bit length parameters:drh2014-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_bind_texte64(), sqlite3_result_blob64(), and sqlite3_result_texte64(). Internal memory allocation routines also now use 64-bit unsigned length parameters for safety. Also add the sqlite3_msize() interface. Fix the sqlite3_get_table() to use sqlite3_realloc64() to avoid a integer overflow problem. FossilOrigin-Name: 94954850cf2e1ec0b7f590c7f46cdc54c72558ce
* | Add the ".user" shell command and implement the sqlite3_user_add()drh2014-09-10
|/ | | | | routine. Incremental check-in. The code compiles but does not work. FossilOrigin-Name: a0455f9deb603bf91684158d911269622720fc1a
* Fix typos in comments. No code changes.peter.d.reid2014-09-06
| | | FossilOrigin-Name: e62aab5e9290503869e1f4d5e0fefd2b4dee0a69
* Fix an obsolete comment in the func.c source file. No changes to code.drh2014-08-06
| | | FossilOrigin-Name: 5c6bb57d90bad32785d6d9cdf110a825bbc5ec73
* Add the likely() function for symmetry with unlikely(). The likely(X)drh2014-06-17
| | | | | function means the same thing as likelihood(X,0.9375). FossilOrigin-Name: 38965484199153e3e5b999f5196c1d66e5296f60
* A better fix for the group_concat() problem.drh2014-05-07
| | | FossilOrigin-Name: 1c086deebd0eb442918972e4b9185a5a0db3b8c3
* Ensure that the sqlite3StrAccumAppend() routine is never called with a NULLdrh2014-05-07
| | | | | | second argument. Doing so is harmless when N==0, but it causes an assert() to fail that was placed to quiet static analyzers. FossilOrigin-Name: f03fbf3700d9d4a654e3aa2e5caa810a8416bed9
* Make sure the group_concat() function returns an empty string, not a NULL,drh2014-05-07
| | | | | if it has at least one input row. Fix for ticket [55746f9e65f8587]. FossilOrigin-Name: 0deac8737545a020d344be96fff16660a7977ab8
* Fix a bug causing "SELECT char()" to return SQLITE_NOMEM.dan2014-03-08
| | | FossilOrigin-Name: ba39df9d4f7ffc6475ae0dc794f7d3f58c486de8
* Fixes for various clang warnings.drh2014-01-24
| | | FossilOrigin-Name: 87bf60637e5863c54c5e2d05aaaca0835b7aace8
* Add the printf() SQL function.drh2013-12-17
| | | FossilOrigin-Name: 6db7052eeefafdbf26b3153bc38600fecfb53ae6
* Fix harmless compiler warnings.drh2013-12-11
| | | FossilOrigin-Name: a7e5fcd66659750eb2f4675082df324e7cf35427
* Add the ability to factor constant functions out of inner loops. But dodrh2013-11-21
| | | | | not factor out non-constant functions, like random(). FossilOrigin-Name: 1b0f779e19a5c0d51eddd2d88db50034d77d132c
* Updates to requirements marks. No changes to code.drh2013-11-09
| | | FossilOrigin-Name: 8a0366285b94dc43d932736e7b1eedb71e241857
* Move the tointeger() and toreal() functions out of core and make them intodrh2013-10-14
| | | | | a run-time loadable extension. FossilOrigin-Name: 9f66dd7e3790c04f0ab724419f5381bd21f9ebad
* Merge updates from trunk.mistachkin2013-09-24
|\ | | | | FossilOrigin-Name: 435ce3b3fc0cffb4d7e6f2694c3100066e19f9ed
| * Adjust the query planner to take into account WHERE clause terms that do notdrh2013-09-13
| |\ | | | | | | | | | | | | | | | drive indices. Add the unlikely() and likelihood() functions used to give hints to the query planner about the selectivity of WHERE clause terms. FossilOrigin-Name: bc446449a19171c0fa0681973b06bc80d3c0517f
| | * Change the name of the two-argument unlikely() function to likelihood().drh2013-09-11
| | | | | | | | | | | | | | | Add test cases. FossilOrigin-Name: 29a359b8d7f90e6fa2b28ce2a112284fd3870494
| | * Initial implementation of the unlikely() SQL function used as a hint todrh2013-09-06
| | | | | | | | | | | | | | | the query planner. FossilOrigin-Name: 036fc37a034093a4c6fc190633bd41c2b7230d77
| * | Fix typo in a macro name: "GlogUpperToLower" should be "GlobUpperToLower"drh2013-09-12
| |/ | | | | FossilOrigin-Name: 73634ca463f46027bfa8ea23f18abaa530460e24
* | Merge updates from trunk.mistachkin2013-09-06
|\| | | | | FossilOrigin-Name: 8922be1a3e0269552e12b87fe1e5141c38a8d3f8
| * Combine the FuncDef.iPrefEnc and FuncDef.flags fields into a singledrh2013-09-06
| | | | | | | | | | new FuncDef.funcFlags field. FossilOrigin-Name: 97b10e66e98e84755aa577f8da017bf1aea2056c
* | When converting from a BLOB value in the tointeger() and toreal() SQL ↵mistachkin2013-09-06
| | | | | | | | | | functions, make sure that endianness of the machine does not matter. FossilOrigin-Name: 94c4cdc50d2753c859e494d53cebd09edd2e5663
* | Handle BLOBs specially, treating them as binary, in the tointeger() and ↵mistachkin2013-08-31
| | | | | | | | | | toreal() SQL functions. FossilOrigin-Name: c4c53acb985a248c89db2d75025d941e3a4899bc
* | Prevent the implementation of the toreal() SQL function from being ↵mistachkin2013-08-29
| | | | | | | | | | 'optimized' by MSVC. FossilOrigin-Name: 047bd1c24553b00ccf12d7745bb4c46820b91f5e
* | Fix boundary case for the toreal() SQL function.mistachkin2013-08-29
| | | | | | FossilOrigin-Name: abe82c634ccda7d62687df5917d18a9d6e411142
* | Merge updates from trunk.mistachkin2013-08-28
|\| | | | | FossilOrigin-Name: ffc6e682836cdf275189427109f8af2aeb423bcd
| * Merge the STAT4 capability into trunk.drh2013-08-26
| |\ | | | | | | FossilOrigin-Name: a32af0abe5fa6d570604fa3534e8230d5b6042fc
| | * Re-enable reading from the sqlite_stat3 table (as well as sqlite_stat4).dan2013-08-12
| | | | | | | | | FossilOrigin-Name: 6d45078e621526fc2bac0eaefbb0f9602b9a8ec5
| * | Simplification to the StrAccum object and the sqlite3StrAccumAppend()drh2013-08-21
| |/ | | | | | | | | method that also results in slightly better performance. FossilOrigin-Name: 700dbbea8647e0fdaee6d0aba3d3dd8ebfbac04a
* | Add test cases for tointeger() and toreal() functions. Fixes for several tests.mistachkin2013-08-20
| | | | | | FossilOrigin-Name: 5e1e9fd5e4f189836442baa42244be00de13ff0f
* | Fix compiler warnings and boundary cases for the tointeger() and toreal()drh2013-08-20
| | | | | | | | | | functions. FossilOrigin-Name: 4438b9865826446721b7aa09295fe335bf2fafb7
* | Merge in the latest changes from trunk. Simplify the implementation of thedrh2013-06-21
|\| | | | | | | | | | | tointeger() and toreal() functions. Fix test cases and put unambiguous labels on all testcase names. FossilOrigin-Name: 9b837b0508fbfb395f0a0d8e4bd127730c80ffc5
* | Merge updates from trunk.mistachkin2013-06-21
|\| | | | | FossilOrigin-Name: fa2a91e6c631864846484d13cffdc51856953cd1
| * Many small harmless comment changes. Removal of obsolete comments anddrh2013-05-28
| | | | | | | | | | fixing misspelled words. No changes to code. FossilOrigin-Name: a0d5cc9315dc6e9ef7dee4c3dfabf4e562d64376
* | Merge updates from trunk.mistachkin2013-05-15
|\| | | | | FossilOrigin-Name: 6fbad957259eb8c15eaf7e5657240ae24aaf343e
| * Add the sqlite3_strglob() interface.drh2013-04-10
| | | | | | FossilOrigin-Name: 41d6ff32a6dd1311dc3aabe5156335a64a886919
* | Rename the experimental todouble() function to toreal(), update comments.mistachkin2013-03-13
| | | | | | FossilOrigin-Name: 12c318ef1b674d1ef347458ce149398885f5ba10
* | Increase strictness of the new experimental functions and add more tests.mistachkin2013-03-12
| | | | | | FossilOrigin-Name: 05c4463ec5f36dde50f6eb116624dc40142f2c8c
* | Add experimental tointeger() and todouble() SQL functions.mistachkin2013-03-11
|/ | | FossilOrigin-Name: 465fd853d3e3544cb06b15ffa32ce25774d816c7
* Fix the char() function so that it works even if SQLITE_OMIT_UTF16 is defined.drh2013-03-07
| | | FossilOrigin-Name: af542c82e8e7f0415530b639fa397429c5f377f6
* Fix two compilation issues, one warning and one error, that occur only when ↵mistachkin2013-03-07
| | | | | SQLITE_OMIT_UTF16 is defined. FossilOrigin-Name: 10ace06be7fbe9a76a201c418b2af453c7a69043