projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d03e3
)
UpdateDatabase/MysqlLinks.php
author
Alan Knowles
<alan@roojs.com>
Thu, 22 Jun 2017 06:48:41 +0000
(14:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 22 Jun 2017 06:48:41 +0000
(14:48 +0800)
UpdateDatabase/MysqlLinks.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase/MysqlLinks.php
b/UpdateDatabase/MysqlLinks.php
index
0437bb4
..
2c5541a
100644
(file)
--- a/
UpdateDatabase/MysqlLinks.php
+++ b/
UpdateDatabase/MysqlLinks.php
@@
-134,7
+134,7
@@
class Pman_Core_UpdateDatabase_MysqlLinks {
FROM
information_schema.TABLES
WHERE
- TABLE_SCHEMA =
'{$q->escape($q->database())}'
+ TABLE_SCHEMA =
DATABASE()
AND
TABLE_NAME = '{$q->escape($tbl)}'
");