mirror of
https://github.com/zyx0814/dzzoffice.git
synced 2025-01-07 03:16:58 +08:00
安全问题修复
This commit is contained in:
parent
2c212a63a8
commit
4b9523e474
@ -499,7 +499,7 @@ function sqldumptablestruct($table) {
|
||||
}
|
||||
|
||||
$tablestatus = DB::fetch_first("SHOW TABLE STATUS LIKE '$table'");
|
||||
$tabledump .= ($tablestatus['Auto_increment'] ? " AUTO_INCREMENT=$tablestatus['Auto_increment']" : ''). ";\n\n";
|
||||
$tabledump .= ($tablestatus['Auto_increment'] ? (" AUTO_INCREMENT=".$tablestatus['Auto_increment']): ''). ";\n\n";
|
||||
if ($_GET['sqlcompat'] == 'MYSQL40' && $db -> version() >= '4.1' && $db -> version() < '5.1') {
|
||||
if ($tablestatus['Auto_increment'] <> '') {
|
||||
$temppos = strpos($tabledump, ',');
|
||||
|
Loading…
Reference in New Issue
Block a user