1
0
Fork 0
mirror of https://github.com/xevidos/codiad.git synced 2025-03-16 05:24:28 +01:00

Fixed innodb addition for only mysql

This commit is contained in:
xevidos 2019-04-17 12:16:08 -04:00
parent 700bcf285e
commit 19dbfbd260

View file

@ -418,7 +418,16 @@ class sql_conversions {
$query .= $unique_string;
$query = substr( $query, 0, -1 );
$query .= ") ENGINE=InnoDB;";
$query .= ")";
if( $dbtype == "mysql" ) {
$query .= " ENGINE=InnoDB;";
} else {
$query .= ";";
}
return( $query );
}