add support for setting database engine for mysql in Schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
df6bfd2bcc
commit
f3d80d40a1
@ -475,6 +475,12 @@ sub buildcreatestmt
|
||||
$retv =~ s/,$/)\n)/;
|
||||
}
|
||||
$retv =~ s/,$/)\n)/;
|
||||
# allow engine change for mysql
|
||||
if ($descr->{engine}) {
|
||||
if ($xcatcfg =~ /^mysql:/) { #for mysql
|
||||
$retv .= " ENGINE=$descr->{engine} ";
|
||||
}
|
||||
}
|
||||
#print "retv=$retv\n";
|
||||
return $retv;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user