[Jifty-commit] r505 -

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat Jan 14 13:25:14 EST 2006


Author: jesse
Date: Sat Jan 14 13:25:14 2006
New Revision: 505

Modified:
   /   (props changed)
   jifty/trunk/lib/Jifty/Script/Schema.pm

Log:
 r22402 at truegrounds:  jesse | 2006-01-14 13:23:12 -0500
 * Jifty::Script::Schema support for basic mysql love
 


Modified: jifty/trunk/lib/Jifty/Script/Schema.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/Schema.pm	(original)
+++ jifty/trunk/lib/Jifty/Script/Schema.pm	Sat Jan 14 13:25:14 2006
@@ -406,6 +406,7 @@
     # Everything but the template1 database is assumed
     my %connect_args;
     $connect_args{'database'} = 'template1' if ( $driver eq 'Pg' );
+    $connect_args{'database'} = 'mysql' if ( $driver eq 'mysql' );
     $handle->connect(%connect_args);
 
     if ( $self->{'drop_database'} ) {


More information about the Jifty-commit mailing list