cvs: pear /MDB2_Schema/docs/examples example.php
| From: | Lukas Smith | Date: | Sun, 26 Mar 2006 10:10:18 +0000 |
| Subject: | cvs: pear /MDB2_Schema/docs/examples example.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39327@lists.php.net to get a copy of this message | ||
lsmith Sun Mar 26 10:10:18 2006 UTC
Modified files:
/pear/MDB2_Schema/docs/examples example.php
Log:
- fixed reverse engineering
http://cvs.php.net/viewcvs.cgi/pear/MDB2_Schema/docs/examples/example.php?r1=1.17&r2=1.18&diff_format=u
Index: pear/MDB2_Schema/docs/examples/example.php
diff -u pear/MDB2_Schema/docs/examples/example.php:1.17
pear/MDB2_Schema/docs/examples/example.php:1.18
--- pear/MDB2_Schema/docs/examples/example.php:1.17 Wed Mar 1 12:16:40 2006
+++ pear/MDB2_Schema/docs/examples/example.php Sun Mar 26 10:10:18 2006
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
//
-// $Id: example.php,v 1.17 2006/03/01 12:16:40 lsmith Exp $
+// $Id: example.php,v 1.18 2006/03/26 10:10:18 lsmith Exp $
//
/**
@@ -116,7 +116,8 @@
'output_mode' => 'file',
'output' => $_REQUEST['file']
);
- $operation = $schema->dumpDatabase($dump_config, $dump_what);
+ $definition = $schema->getDefinitionFromDatabase();
+ $operation = $schema->dumpDatabase($definition, $dump_config, $dump_what);
call_user_func($var_dump, $operation);
} elseif ($_REQUEST['action'] == 'create') {
$disable_query = false;