1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-08 06:38:12 -04:00
Commit graph

365 commits

Author SHA1 Message Date
Kenichi Ishigaki
0de40139bf releng 1.45_06 2014-11-26 17:52:00 +09:00
Kenichi Ishigaki
76c4cc1cfa releng 1.45_05 2014-11-25 13:05:29 +09:00
Laurent Dami
13e2b63d26 #99748 catch runtime errors occurring when user input for the MATCH operator is not a proper regex 2014-11-25 04:30:57 +01:00
Laurent Dami
28fc0e459e RT#99748: replacing interpolated variables by a closure -- no risk of code injection 2014-10-29 06:57:17 +02:00
Kenichi Ishigaki
893c47e1d8 releng 1.45_04 2014-10-28 17:25:57 +09:00
Kenichi Ishigaki
9b227e74f4 fixed a case where bind param is undef (which should be converted to NULL) 2014-10-28 16:13:46 +09:00
Kenichi Ishigaki
0cd3997830 use quotemeta (as adviced in RT-99748) to address serious security issues 2014-10-28 15:12:29 +09:00
Laurent Dami
b4aeff356f additional tests for checking proper handling of '}' and '\}' 2014-10-26 22:47:03 +02:00
Laurent Dami
fb9a6bdd82 adapt tests so that they also work for DBI versions prior to 1.608 2014-10-26 10:14:49 +02:00
Laurent Dami
90ec404874 RT#99748 removed tests that cause segfaults under Perl <= 5.8.8 2014-10-26 09:19:48 +02:00
Laurent Dami
ab7539a7c8 RT#99748 - removed a test which causes experimental warnings under Perl >= 5.18 (and did not add much to the intended tests) 2014-10-26 07:46:10 +02:00
Laurent Dami
c6d9c27e22 RT#99748
- added support for undef (NULLs) in comparisons
- new test file t/virtual_table/rt_99748.t for testing nulls and comparing vtable with a regular table
- tests that no security holes can be inserted in compiled regexes
- ROWIDs start at 1, not at 0
- replaced qr{..} by m{..}
2014-10-25 21:06:16 +02:00
Laurent Dami
704c2d2d3c fix RT#99747 - skip tests if Unicode::UCD is not installed 2014-10-25 05:32:24 +02:00
Kenichi Ishigaki
e18172fb91 releng 1.45_03 2014-10-25 02:57:27 +09:00
Kenichi Ishigaki
b388c648a3 added a few test cases for int overflow regression 2014-10-24 15:41:14 +09:00
Kenichi Ishigaki
c4056c3bb8 releng 1.45_02 2014-10-23 17:19:18 +09:00
Kenichi Ishigaki
f975b5cd15 releng 1.45_01 2014-10-23 00:31:57 +09:00
Kenichi Ishigaki
40cc2628bf updated rt_76395_int_overflow.t with test cases from ribasushi 2014-10-22 23:41:13 +09:00
Kenichi Ishigaki
3ef48ff6ce releng 1.44 2014-10-22 23:17:35 +09:00
Kenichi Ishigaki
4139bb51bb releng 1.43_09 (yet another rc for 1.44) 2014-10-20 16:48:05 +09:00
Kenichi Ishigaki
12509a7855 fixed RT-99583
- avoid shortening a database filename with Win32::GetShortPathName, because it makes corresponding journal files (-journal, .wal etc) with the shortened filename, and those journal files will not be recognized by other sqlite3 clients (which may lead to inconsistensy/database corruption).
- need to keep using Win32::GetShortPathName to make a parent directory canonical (so that sqlite3 can recognize a path with unicode characters correctly.)
2014-10-20 15:55:26 +09:00
Kenichi Ishigaki
c931e7c01d releng 1.43_08 2014-08-21 18:00:21 +09:00
Kenichi Ishigaki
69a785e173 releng 1.43_07 2014-07-30 02:01:31 +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
371cfe83a1 releng 1.43_06 2014-07-22 09:29:45 +09:00
Kenichi Ishigaki
153040e776 releng 1.43_05 2014-07-21 14:43:44 +09:00
Kenichi Ishigaki
6ab97143c8 oops, overlooked unnecessary non-core deps 2014-07-21 14:16:52 +09:00
Kenichi Ishigaki
550849a2ab releng 1.43_04 2014-07-21 10:13:05 +09:00
Kenichi Ishigaki
defae5918a changed diag to note 2014-07-21 08:31:07 +09:00
Kenichi Ishigaki
58b49b8bdb Merge branch 'rt_96877_unicode_statements' 2014-07-21 08:28:53 +09:00
Laurent Dami
ab008be4e3 test the example described in L<DBD::SQLite::VirtualTable::PerlData/"Hashref example : unicode characters"> 2014-07-20 20:29:02 +02: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
bf65db231f various fixes / improvements 2014-07-12 08:20:19 +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
Laurent Dami
96325b1916 test case for RT#96878 : inserting into a contentless FTS table
OK without bind values
NOK with bind values ("constraint failed")
In the end, it's not really a bug, but rather a matter of usage pattern
2014-07-04 22:07:03 +02:00
Laurent Dami
6c57a3e2aa fix RT#96877 ...
but this breakx some previous tests which made incorrect assumptions about utf8 in statements :-(
2014-07-04 11:29:16 +02:00
Kenichi Ishigaki
3ccab507a6 applied a patch by mjp++ (rt96494) 2014-06-17 15:07:33 +09:00
Kenichi Ishigaki
938f22eb6c releng 1.43_03 2014-06-12 13:59:25 +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
354d07f61f applied a fix by Kenneth Kroenlein to support named primary key (RT 95511), and added some tests 2014-05-12 10:18:13 +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
d23dac5eaa releng 1.43_02 2014-03-26 04:56:29 +09:00
Kenichi Ishigaki
d4f1f45a06 releng 1.43_01 2014-03-26 03:47:27 +09:00
Kenichi Ishigaki
66083b879c releng 1.42 2014-03-20 00:26:59 +09:00
Kenichi Ishigaki
8a5868b01e releng 1.41_07 2014-03-13 22:34:54 +09:00
Kenichi Ishigaki
73c9a1b56d releng 1.41_06 2014-02-12 11:51:14 +09:00