[Jifty-commit] r6333 - in jifty/trunk: lib/Jifty/Script
Jifty commits
jifty-commit at lists.jifty.org
Tue Feb 10 20:41:08 EST 2009
Author: alexmv
Date: Tue Feb 10 20:41:07 2009
New Revision: 6333
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Script/Schema.pm
Log:
r41995 at kohr-ah: chmrr | 2009-02-10 20:40:42 -0500
* Update for changed regex
Modified: jifty/trunk/lib/Jifty/Script/Schema.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/Schema.pm (original)
+++ jifty/trunk/lib/Jifty/Script/Schema.pm Tue Feb 10 20:41:07 2009
@@ -223,9 +223,7 @@
# No version table. Assume the DB is empty.
$self->{create_all_tables} = 1;
- } elsif ( $error =~ /database .*? does not exist/i
- or $error =~ /unknown database/i )
- {
+ } elsif ( $error =~ /(database .*? (?:does not|doesn't) exist|unknown database)/i) {
# No database exists; we'll need to make one and fill it up
$self->{drop_database} = 0;
More information about the Jifty-commit
mailing list