mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Issue #1109, Fixes #830, Fixes #731, Fixes #710, Fixes #608, Fixes #1012 : v1 -> v2 Upgrade-Routine fixes (including forum plugin)
This commit is contained in:
@@ -873,9 +873,7 @@ class db_verify
|
||||
function getSqlData($tbl,$language='')
|
||||
{
|
||||
|
||||
|
||||
$mes = e107::getMessage();
|
||||
|
||||
$prefix = MPREFIX;
|
||||
|
||||
if($language)
|
||||
@@ -890,6 +888,13 @@ class db_verify
|
||||
}
|
||||
|
||||
$sql = e107::getDb();
|
||||
|
||||
if(!$sql->isTable($tbl))
|
||||
{
|
||||
$mes->addDebug('Missing table on db-verify: '.$tbl);
|
||||
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