[Jifty-commit] r2913 - jifty/trunk/lib/Jifty/Script
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Mar 5 16:46:21 EST 2007
Author: rodi
Date: Mon Mar 5 16:46:20 2007
New Revision: 2913
Modified:
jifty/trunk/lib/Jifty/Script/Schema.pm
Log:
added /i to test for database existence, to work with MySQL 5.x.
Modified: jifty/trunk/lib/Jifty/Script/Schema.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/Schema.pm (original)
+++ jifty/trunk/lib/Jifty/Script/Schema.pm Mon Mar 5 16:46:20 2007
@@ -161,7 +161,7 @@
# No version table. Assume the DB is empty.
$self->{create_all_tables} = 1;
} elsif ( $@ =~ /database .*? does not exist/i
- or $@ =~ /unknown database/ ) {
+ or $@ =~ /unknown database/i ) {
# No database exists; we'll need to make one and fill it up
$self->{create_database} = 1;
More information about the Jifty-commit
mailing list