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

14 commits

Author SHA1 Message Date
Kenichi Ishigaki
573d6f02b7 fixed ISNOT undef case 2017-11-21 05:15:27 +09:00
Peter Rabbitson
c4eab85ff7 Workaround for upcoming lack of dot in @INC ( RT#120444, sigh )
Zero functional changes, simply executed the following:

find . -name '*.t' -exec perl -0777 -p -i -e 's|^use t::lib::SQLiteTest|use lib "t/lib";\nuse SQLiteTest|m' {} +

Also had to do a manual (but identical) fix in t/01_compile.t
2017-05-05 00:48:33 +02:00
Kenichi Ishigaki
434aea6479 rename t/lib/Test.pm to t/lib/SQLiteTest.pm 2017-03-04 15:04:39 +09:00
Kenichi Ishigaki
2200a59da2 "IS NULL" was first supported at SQLite 3.6.19, not 3.6.10 2015-04-16 20:24:23 +09:00
Kenichi Ishigaki
eb10c7ce6f tweaked code and tests for older SQLite libraries (re: RT 101573) 2015-02-10 17:07:32 +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
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