mirror of
https://github.com/webmin/webmin.git
synced 2025-08-19 01:15:14 +00:00
Use new syntax for table type https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3480890&group_id=17457
This commit is contained in:
@ -908,7 +908,7 @@ for($i=0; defined($in{"field_$i"}); $i++) {
|
||||
@fields || &error($text{'table_enone'});
|
||||
local @sql;
|
||||
local $sql = "create table "."estr($_[1])." (".join(",", @fields).")";
|
||||
$sql .= " type = $in{'type'}" if ($in{'type'});
|
||||
$sql .= " engine $in{'type'}" if ($in{'type'});
|
||||
push(@sql, $sql);
|
||||
if (@pri) {
|
||||
# Setup primary fields too
|
||||
|
Reference in New Issue
Block a user