1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00
Commit graph

273 commits

Author SHA1 Message Date
Kenichi Ishigaki
66dff77e10 added sqlite_limit method 2018-12-01 13:50:45 +09:00
Kenichi Ishigaki
1d665d8661 fetching attributes from a statement handle whose database handle is disabled should return an error, instead of coredump under perl with -fsanitize=address
- reported by Peter Rabbitson
2018-03-21 15:04:09 +09:00
Kenichi Ishigaki
fbf0714a3c implemented ParamValues statement handle attribute (RT-123886) 2017-12-16 03:31:54 +09:00
Jacques Germishuys
366a694cc6 silence some warnings 2017-05-25 13:20:40 +02:00
SATO Kentaro
8f8741d1b7 fix zero-length BLOB value is retrieved as undef 2017-03-14 00:20:56 +09:00
Kenichi Ishigaki
e17149317a re-enable perl tokenizer by calling sqlite3_db_config if SQLite >= 3.12 2016-11-26 10:07:24 +09:00
Kenichi Ishigaki
7ae3f655d0 make sure to set internal unicode mode before registering default callbacks (REGEXP function etc) 2016-02-20 09:45:11 +09:00
Kenichi Ishigaki
d1fd6128e3 register perl tokenizer only if DBD::SQLite is compiled with -DSQLITE_ENABLE_FTS3_TOKENIZER 2016-02-16 12:55:38 +09:00
Kenichi Ishigaki
e9ae705fb6 split dbdimp.c and move tokenizer/virtual table-related code into .inc files 2016-02-16 12:23:09 +09:00
Kenichi Ishigaki
b624002827 sqlite_db_readonly requires SQLite 3.7.11 2016-01-11 19:38:17 +09:00
Kenichi Ishigaki
8845364fba implemented ReadOnly attribute 2016-01-10 09:16:38 +09:00
Kenichi Ishigaki
ea07bcc638 LIKE/GLOB/REGEXP are also required to be implemented for SQLite 3.10.0 and above 2016-01-07 19:47:10 +09:00
Kenichi Ishigaki
0acc82460a added a workaround for prepared savepoints to fix rt-106950 2015-10-10 12:01:32 +09:00
Kenichi Ishigaki
4891d48782 extended errcode is available only if SQLite >= 3.6.5 2015-09-04 08:44:23 +09:00
Kenichi Ishigaki
f7dde96931 outermost savepoint should be treated as a begin(RT #106151) 2015-08-04 19:12:58 +09:00
Kenichi Ishigaki
01123b1321 savepv and free unprepared_statements attribute when necessary, to fix #11 (Grinnz++) 2015-07-30 00:27:24 +09:00
Kenichi Ishigaki
74e19c5161 use MY_CXT instead of a static global variable 2015-05-02 02:29:43 +09:00
Kenichi Ishigaki
a23de06650 fix GH #8 2015-04-16 19:59:21 +09:00
Kenichi Ishigaki
b1975f1e97 supported extended result codes 2015-03-20 11:52:46 +09:00
Kenichi Ishigaki
7a234eb71b implemented a "do" shortcut for a special case (no attr, no bind params) (RT-35449) 2015-02-16 17:41:42 +09:00
Kenichi Ishigaki
69d9a31fc0 not to store imp_dbh globally, which should fix RT-86006 under Win32 (ie. ithreads-enabled environments)
- This is a tentative fix. Ideally this should be stored in MY_CXT or something less global.
2015-02-11 12:51:17 +09:00
Kenichi Ishigaki
eb10c7ce6f tweaked code and tests for older SQLite libraries (re: RT 101573) 2015-02-10 17:07:32 +09:00
Kenichi Ishigaki
f5815659aa restore n_a for older perls. 2014-10-26 11:11:03 +09:00
Kenichi Ishigaki
305cdbac2e silenced a few warnings 2014-10-24 15:57:09 +09:00
Kenichi Ishigaki
0a1f3416fc fixed regression of 0 as integer 2014-10-24 15:40:12 +09:00
Kenichi Ishigaki
3066f36c2c adopted _sqlite_atoi64 from sqlite.c 2014-10-23 17:10:34 +09:00
Kenichi Ishigaki
517d9bf595 improved int64 handling for 32bit environment (RT-76395) 2014-10-23 00:25:47 +09:00
Kenichi Ishigaki
3c5267734d fix for VC6 2014-10-20 16:22:24 +09:00
Kenichi Ishigaki
539d79f080 Applied a patch from Rob to fix RT-97598, and added a test 2014-07-30 01:57:50 +09:00
Kenichi Ishigaki
b792b5f9bd fixed two issues for older perls (reported by ribasushi++) 2014-07-22 09:25:58 +09:00
Kenichi Ishigaki
db5df57c93 removed unused local variables 2014-07-21 08:34:30 +09:00
Kenichi Ishigaki
58b49b8bdb Merge branch 'rt_96877_unicode_statements' 2014-07-21 08:28:53 +09:00
Kenichi Ishigaki
c1ddd22120 fixes for VC6 2014-07-21 08:22:47 +09:00
Laurent Dami
0ec13083f1 implementation of FIND_FUNCTION, plus a couple of cosmetic changes in various places 2014-07-20 18:57:19 +02:00
Laurent Dami
7af00e7edd cleanup
- Emacs settings no longer in dbdimp.c source
- remove duplicated code (generalize cals to stacked_sv_from_sqlite3_value())
- variables renamed
2014-07-19 03:39:07 +02:00
Laurent Dami
9018a4683c various code refactorings, completion of the doc 2014-07-11 06:06:19 +02:00
Laurent Dami
d6a77c88ea bug corrections & addition of class VirtualTable/PerlData 2014-07-10 05:45:28 +02:00
Laurent Dami
78984a9de8 initial support for virtual tables in Perl (WORK IN PROGRESS) 2014-07-09 08:31:34 +02:00
Kenichi Ishigaki
28ea4bfad7 moved utf8::upgrade in dbdimp.c for performance
- and uprade occurs only if imp_dbh->unicode is true so that we can minimize impact on existing applications
2014-07-07 09:42:23 +09:00
Kenichi Ishigaki
0193c3f6ff error is too severe for calling db_filename against a closed connection 2014-05-30 01:08:07 +09:00
Kenichi Ishigaki
81d4d11fa1 fixed rt-96050; sqlite_db_filename returns an error (instead of segfault) if database connection is closed 2014-05-29 16:05:45 +09:00
Kenichi Ishigaki
0c96602837 allow to set busy_timeout to 0 via sqlite_busy_timeout() (#3) 2014-03-26 23:14:40 +09:00
Kenichi Ishigaki
7dec4f840e see_if_its_a_number should be ignored for bind values with explicit SQL types (mje++, ilmari++) 2014-01-09 00:17:38 +09:00
Kenichi Ishigaki
b1ac23d02e supported sqlite3_open_v2 flags 2013-07-28 17:11:16 +09:00
Kenichi Ishigaki
20111c7043 disabled reverse_unordered_selects pragma 2013-04-30 09:54:43 +00:00
Kenichi Ishigaki
646c5bf46d enabled reverse_unordered_selects pragma tentatively to fix unordered selects issues 2013-04-30 09:23:34 +00:00
Kenichi Ishigaki
04e45e686e resolved #84372 RURBAN++ 2013-04-02 14:50:41 +00:00
Kenichi Ishigaki
fad57f6d44 applied a patch from D. Richard Hipp to resolve #84027 2013-03-19 00:59:43 +00:00
Kenichi Ishigaki
b73cb71794 should also support END 2012-10-10 16:22:07 +00:00
Kenichi Ishigaki
8a418482dd should also ignore comments (#80087) 2012-10-10 15:17:20 +00:00