1
0
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:
Cameron
2017-01-07 11:18:32 -08:00
parent 8d2adfa719
commit bd8c42e4b3

View File

@@ -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 . "`";