Kenichi Ishigaki
e761e1af79
DBD-SQLite: "Your env might be too slow" message should be directed to STDERR to make it visible while doing "make test"
2009-08-15 10:33:39 +00:00
Kenichi Ishigaki
445517aca7
DBD-SQLite: made it clearer the first insert failure is intentional and expected
2009-08-15 10:03:53 +00:00
Kenichi Ishigaki
9750059197
DBD-SQLite: wrapped the second insert (which may be timed out in the worst case) with eval not to abort the test
2009-08-15 10:02:53 +00:00
Kenichi Ishigaki
692a7840b1
DBD-SQLite: added another comment to the busy test, and tweaked sleep/timeout to prevent it from failing under slower machines
2009-08-15 09:54:24 +00:00
Kenichi Ishigaki
411cd59e82
DBD-SQLite: added a comment to the busy test, and made the first timeout happen sooner
2009-08-15 09:34:12 +00:00
Kenichi Ishigaki
c944fdc5e4
DBD-SQLite: removed an unused variable
2009-08-15 09:25:00 +00:00
Kenichi Ishigaki
3441f644ff
DBD-SQLite: made the debugger test non-interactive
2009-08-13 11:39:39 +00:00
Kenichi Ishigaki
6de5c908f7
DBD-SQLite: now BegunWork (set by begin_work) is handled properly (as requested in DBI::Changes; see notes for 1.20), and this resolved rt #48393 .
...
In fact, it looks like I lost this code by mistake while preparing the previous release. I remember I wrote this before...
I added a test for this, but as it requires the perl debugger, it is disabled by default. Wondering if we can do it without calling system() and the likes...
2009-08-13 11:28:40 +00:00
Kenichi Ishigaki
3aa4ac0eed
DBD-SQLite: updated version
2009-08-10 16:05:36 +00:00
Laurent Dami
ec38f98792
new implementation for collation_needed, no more malloc -- should no longer leak
...
new API for global registry of collations, using a "write-once" tied hash
2009-08-06 14:22:12 +00:00
Kenichi Ishigaki
976d04a682
DBD-SQLite: don't need to show diagnostics twice
2009-07-23 14:30:24 +00:00
Kenichi Ishigaki
5ff1f078d5
DBD-SQLite: also applied @CALL_FUNCS trick to t/08_busy.t
2009-07-23 14:22:04 +00:00
Kenichi Ishigaki
19b512b0b8
DBD-SQLite: applied @CALL_FUNCS trick and removed several _func tests
2009-07-23 14:12:35 +00:00
Laurent Dami
3997c0ffaf
- Accept empty filename at connect (sqlite will open a tempfile) (DAMI)
...
- Documented the connect() method (DAMI)
2009-07-23 07:00:26 +00:00
Kenichi Ishigaki
4f5603f3db
DBD-SQLite: fixed the perl 5.8 segfault issue for set_authorizer
2009-07-21 17:32:31 +00:00
Kenichi Ishigaki
0db63f3f9e
DBD-SQLite: moved the plan tests calculation out of a BEGIN block, as it uses a variable/configuration initialized outside the block
2009-07-21 14:42:14 +00:00
Kenichi Ishigaki
80bd5e10a0
DBD-SQLite: 36_hooks.t even segfaults under Solaris + perl 5.8. From what I've seen and tested, I guess it segfaults with perl 5.8, and it doesn't with perl 5.10. DBI version doesn't matter.
2009-07-21 14:38:13 +00:00
Kenichi Ishigaki
1d6d87ffc1
DBD-SQLite: made svn:eol-style property to native
2009-07-21 14:16:07 +00:00
Kenichi Ishigaki
1e3d1171a8
DBD-SQLite: 36_hooks.t also segfaults on freebsd
2009-07-21 14:10:42 +00:00
Kenichi Ishigaki
cb8a0ec896
DBD-SQLite: skip_all should be in a BEGIN block and be placed before use Test::NoWarnings
2009-07-21 14:05:06 +00:00
Kenichi Ishigaki
9b62d7a2aa
DBD-SQLite: don't need to (in fact, shouldn't) check DBI version explicitly if we use @CALL_FUNCS (as it checks DBI version)
2009-07-21 14:00:28 +00:00
Kenichi Ishigaki
a7742e4d4c
DBD-SQLite: tentatively disabled one test which causes segfault under MSWin32
2009-07-21 06:18:41 +00:00
Laurent Dami
3714dc6954
- Added support for commit/rollback/update hooks (DAMI)
...
- Added support for set_authorizer (DAMI)
- Added support for collation_needed(), and reorganised driver API
for user-defined collations (DAMI)
- Exported constants from sqlite3.h into DBD::SQLite namespace (DAMI)
- Added support in t/lib/Test.pm for checking both versions of
driver-private methods ("func" / "sqlite_*") (DAMI)
- Removed unused and obsolete "list_tables" from SQLite.xs (DAMI)
- Added a default implementation for the REGEXP infix operator (DAMI)
2009-07-20 10:20:09 +00:00
Kenichi Ishigaki
5cbeb50890
DBD-SQLite: switched to use :memory: for most of the tests
...
Speaking more specifically, for the tests that don't require reconnection. It seems this makes it easier to find memory leaks by DBD::SQLite itself.
2009-07-02 10:00:51 +00:00
Kenichi Ishigaki
ae41bd45c1
applied a patch to fix table_info issue from Vlyon ( #46831 )
2009-06-11 01:20:49 +00:00
Kenichi Ishigaki
74efd983dc
DBD-SQLite: skip_all should be placed before Test::NoWarnings
2009-05-22 01:36:09 +00:00
Kenichi Ishigaki
1c06ff021e
DBD-SQLite: made sure if private methods/functions return true after successful calls ( #44871 )
2009-05-06 12:18:37 +00:00
Kenichi Ishigaki
804169717e
DBD-SQLite: prepared install_method() for the rest of the functions, and added tests for the installed methods (TODO: need to tweak return values for several functions)
2009-05-06 08:39:49 +00:00
Kenichi Ishigaki
87baa98f67
DBD-SQLite: applied the online backup patch from Toby Corkindale (with a little modification)
2009-05-06 07:55:35 +00:00
Kenichi Ishigaki
16d3af7794
DBD-SQLite: started using install_method(); ported last_insert_rowid as the first attempt
2009-05-05 09:02:02 +00:00
Adam Kennedy
7315981580
Preparing for dev release
2009-05-05 05:42:39 +00:00
Kenichi Ishigaki
81ee8cbe1e
DBD-SQLite: reverted cygwin hacks
2009-05-01 00:50:22 +00:00
Adam Kennedy
899a69e15a
Minor addition
2009-04-26 16:19:17 +00:00
Adam Kennedy
5088ece17b
Preparing to release the next prod version
2009-04-23 10:09:02 +00:00
Adam Kennedy
e120f1e6a1
Tweak
2009-04-23 10:00:32 +00:00
Adam Kennedy
ee373f5c09
Prep for release
2009-04-22 12:43:06 +00:00
Adam Kennedy
34736152e7
Doing the next dev release
2009-04-22 02:04:36 +00:00
Kenichi Ishigaki
28ed4ffc44
DBD-SQLite: resolved #45171 , maybe a perl bug resolved somewhere perl > 5.8.5
2009-04-21 15:05:23 +00:00
Kenichi Ishigaki
3bb67972ff
DBD-SQLite: better unicode path handling under cygwin ( resolved #45166 )
2009-04-21 06:05:16 +00:00
Adam Kennedy
ab521c5c97
Move to a production version number
2009-04-19 09:40:16 +00:00
Adam Kennedy
9958f58fda
Reverting corion's Win32 64-bit changes
2009-04-19 09:16:22 +00:00
Adam Kennedy
68c4b9fe85
Fixing test module version
2009-04-19 08:56:31 +00:00
Adam Kennedy
1087a50857
Preparing for pre-release
2009-04-17 08:59:36 +00:00
Adam Kennedy
51bd0c50ff
Completed the migration away from and deprecation of t/lib.pl
2009-04-17 04:24:04 +00:00
Adam Kennedy
e991a7db97
Converted another batch of tests from lib.pl to t::lib::Test
2009-04-16 03:05:01 +00:00
Adam Kennedy
54682e35e1
Migrate from lib.pl to t::lib::Test
2009-04-16 01:09:20 +00:00
Adam Kennedy
e93d416d28
Removing the table name generator, since each test now uses it's own database
2009-04-16 00:54:21 +00:00
Kenichi Ishigaki
b04ff786fc
DBD-SQLite: unicode dirs/files may not be removed by CLEANUP of File::Temp (as they may requrie special treatment on Win32)
2009-04-15 20:31:17 +00:00
Gábor Szabó
e9ee8a3481
add more test cases
2009-04-15 15:00:15 +00:00
Adam Kennedy
1a5d2ed879
Encoding tweaks
2009-04-15 14:49:23 +00:00