projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ef8bdde
)
SQL fix
author
Roland Häder
<roland@mxchange.org>
Fri, 28 Jan 2011 04:59:07 +0000
(
04:59
+0000)
committer
Roland Häder
<roland@mxchange.org>
Fri, 28 Jan 2011 04:59:07 +0000
(
04:59
+0000)
inc/db/lib-mysql3.php
patch
|
blob
|
history
diff --git
a/inc/db/lib-mysql3.php
b/inc/db/lib-mysql3.php
index 9db8e65beafdc1b83fa8a4eff87a9a24a949c07f..7a33983a1ec2d59cb71e9ae08a518dc84280d4c5 100644
(file)
--- a/
inc/db/lib-mysql3.php
+++ b/
inc/db/lib-mysql3.php
@@
-556,7
+556,7
@@
function isSqlTableCreated ($table) {
// Do we have cache?
if (!isset($GLOBALS[__FUNCTION__][$table])) {
// Check if the table is there
// Do we have cache?
if (!isset($GLOBALS[__FUNCTION__][$table])) {
// Check if the table is there
- $result = SQL_QUERY_ESC("SHOW TABLES FROM `{?__DB_NAME?}` WHERE `Tables_in_{?__DB_NAME?}`='{?_MYSQL_PREFIX?}_%s'
LIMIT 1
",
+ $result = SQL_QUERY_ESC("SHOW TABLES FROM `{?__DB_NAME?}` WHERE `Tables_in_{?__DB_NAME?}`='{?_MYSQL_PREFIX?}_%s'",
array($table), __FILE__, __LINE__);
// Is there an entry?
array($table), __FILE__, __LINE__);
// Is there an entry?