diff options
| author | Tekimaki <tekimaki_admin@users.sourceforge.net> | 2009-02-26 19:42:19 +0000 |
|---|---|---|
| committer | Tekimaki <tekimaki_admin@users.sourceforge.net> | 2009-02-26 19:42:19 +0000 |
| commit | 5d496ccac19a2435ad025db5f08527817b8afefb (patch) | |
| tree | de98e2ccd62242529c97ff5d9697d59c0fbddb61 /BitInstaller.php | |
| parent | 07a80078942634a19b64249b1c5e1fb6df28f78c (diff) | |
| download | install-5d496ccac19a2435ad025db5f08527817b8afefb.tar.gz install-5d496ccac19a2435ad025db5f08527817b8afefb.tar.bz2 install-5d496ccac19a2435ad025db5f08527817b8afefb.zip | |
fix renamesequence to work with more than just mysql
Diffstat (limited to 'BitInstaller.php')
| -rw-r--r-- | BitInstaller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BitInstaller.php b/BitInstaller.php index b5c2756..e6c253e 100644 --- a/BitInstaller.php +++ b/BitInstaller.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.50 2008/11/25 19:40:05 lsces Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.51 2009/02/26 19:42:19 tekimaki_admin Exp $ * @package install */ @@ -413,7 +413,7 @@ class BitInstaller extends BitSystem { case 'RENAMESEQUENCE': foreach( $dd as $rename ) { foreach( $rename as $from => $to ) { - if( $this->mDb->tableExists( $tablePrefix.$from ) ) { + if( $gBitDbType != 'mysql' || $this->mDb->tableExists( $tablePrefix.$from ) ) { if( $id = $this->mDb->GenID( $from ) ) { $this->mDb->DropSequence( $sequencePrefix.$from ); $this->mDb->CreateSequence( $sequencePrefix.$to, $id ); |
