Fix #15898 - escape tbl_storage_engine argument
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
20e3d2fa9f
commit
ca42395ee4
@ -467,7 +467,7 @@ class CreateAddField
|
||||
if (! empty($_POST['tbl_storage_engine'])
|
||||
&& ($_POST['tbl_storage_engine'] != 'Default')
|
||||
) {
|
||||
$sqlQuery .= ' ENGINE = ' . $_POST['tbl_storage_engine'];
|
||||
$sqlQuery .= ' ENGINE = ' . $this->dbi->escapeString($_POST['tbl_storage_engine']);
|
||||
}
|
||||
if (! empty($_POST['tbl_collation'])) {
|
||||
$sqlQuery .= Util::getCharsetQueryPart($_POST['tbl_collation']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user