1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 22:28:47 -04:00

DBD::SQLite - apply patch in RT#60698 which fixes tests that newly failed with SQLite 3.7.x

This commit is contained in:
Darren Duncan 2010-08-24 22:57:46 +00:00
parent 7fd4d30880
commit faec7efc79
2 changed files with 7 additions and 0 deletions

View file

@ -2,6 +2,8 @@ Changes for Perl extension DBD-SQLite
1.30_04 to be released 1.30_04 to be released
- Updated to SQLite 3.7.2 (DUNCAND) - Updated to SQLite 3.7.2 (DUNCAND)
- Resolved #60698: "Test failures with SQLite 3.7", using included
patch by Niko Tyni (ntyni@debian.org) of t/lib/Test.pm (DUNCAND)
- Added support for FTS3 tokenizers written in Perl. Added tests - Added support for FTS3 tokenizers written in Perl. Added tests
and documentation on how to use FTS3. Changed compilation flag and documentation on how to use FTS3. Changed compilation flag
to use the recommanded -DSQLITE_ENABLE_FTS3_PARENTHESIS to use the recommanded -DSQLITE_ENABLE_FTS3_PARENTHESIS

View file

@ -8,6 +8,7 @@ use File::Spec ();
use Test::More (); use Test::More ();
use vars qw{$VERSION @ISA @EXPORT @CALL_FUNCS}; use vars qw{$VERSION @ISA @EXPORT @CALL_FUNCS};
my $parent;
BEGIN { BEGIN {
$VERSION = '1.30_03'; $VERSION = '1.30_03';
@ISA = 'Exporter'; @ISA = 'Exporter';
@ -15,6 +16,8 @@ BEGIN {
# Allow tests to load modules bundled in /inc # Allow tests to load modules bundled in /inc
unshift @INC, 'inc'; unshift @INC, 'inc';
$parent = $$;
} }
# Always load the DBI module # Always load the DBI module
@ -22,6 +25,8 @@ use DBI ();
# Delete temporary files # Delete temporary files
sub clean { sub clean {
return
if $$ != $parent;
unlink( 'foo' ); unlink( 'foo' );
unlink( 'foo-journal' ); unlink( 'foo-journal' );
} }