projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aea6c7
)
UpdateDatabase/MysqlLinks.php
author
Alan Knowles
<alan@roojs.com>
Thu, 16 Apr 2015 06:18:18 +0000
(14:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 16 Apr 2015 06:18:18 +0000
(14:18 +0800)
UpdateDatabase/MysqlLinks.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase/MysqlLinks.php
b/UpdateDatabase/MysqlLinks.php
index
4d907a9
..
3b2944a
100644
(file)
--- a/
UpdateDatabase/MysqlLinks.php
+++ b/
UpdateDatabase/MysqlLinks.php
@@
-141,8
+141,8
@@
class Pman_Core_UpdateDatabase_MysqlLinks {
// create a list of source/targets from $this->links
- print_R($this->links);exit;
+
$revmap = array();
foreach($this->links as $tbl => $map) {
if (!isset($this->schema[$tbl])) {
@@
-158,7
+158,7
@@
class Pman_Core_UpdateDatabase_MysqlLinks {
$revmap[$tname]["$tbl:$k"] = "$tname:$tcol";
}
}
-
+ print_r($revmap);