mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Reduce queries while using db_verify.
This commit is contained in:
@@ -54,6 +54,8 @@ class db_verify
|
||||
|
||||
$pref = e107::getPref();
|
||||
$mes = e107::getMessage();
|
||||
$sql = e107::getDb();
|
||||
$sql->gen('SET SQL_QUOTE_SHOW_CREATE = 1');
|
||||
|
||||
$this->backUrl = e_SELF;
|
||||
|
||||
@@ -930,7 +932,7 @@ class db_verify
|
||||
return false;
|
||||
}
|
||||
|
||||
$sql->gen('SET SQL_QUOTE_SHOW_CREATE = 1');
|
||||
|
||||
// mysql_query('SET SQL_QUOTE_SHOW_CREATE = 1');
|
||||
$qry = 'SHOW CREATE TABLE `' . $prefix . $tbl . "`";
|
||||
|
||||
|
Reference in New Issue
Block a user