cvs: pear /MDB2/MDB2/Tools Manager.php
| From: | Lukas Smith | Date: | Sun, 07 Nov 2004 23:18:39 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Tools Manager.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-25751@lists.php.net to get a copy of this message | ||
lsmith Sun Nov 7 18:18:39 2004 EDT
Modified files:
/pear/MDB2/MDB2/Tools Manager.php
Log:
fixed bug in initialization dumping
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Tools/Manager.php?r1=1.22&r2=1.23&ty=u
Index: pear/MDB2/MDB2/Tools/Manager.php
diff -u pear/MDB2/MDB2/Tools/Manager.php:1.22 pear/MDB2/MDB2/Tools/Manager.php:1.23
--- pear/MDB2/MDB2/Tools/Manager.php:1.22 Fri Oct 29 08:48:48 2004
+++ pear/MDB2/MDB2/Tools/Manager.php Sun Nov 7 18:18:36 2004
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Manager.php,v 1.22 2004/10/29 12:48:48 lsmith Exp $
+// $Id: Manager.php,v 1.23 2004/11/07 23:18:36 lsmith Exp $
//
require_once 'MDB2/Tools/Manager/Parser.php';
@@ -1781,7 +1781,8 @@
if (!is_array($data[$row])) {
break;
}
- $table['initialization']['insert'][] =
$data[$row];
+ $instruction = array('type' => 'insert',
'fields' => $data[$row]);
+
$this->database_definition['tables'][$table_name]['initialization'][] =
$instruction;
}
}
}