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:
parent
700bcf285e
commit
19dbfbd260
1 changed files with 10 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue