Skip to content

Commit

Permalink
new tables created with innoDB & utf8 automatically
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
  • Loading branch information
Paul POULAIN authored and Joshua Ferraro committed Oct 24, 2007
1 parent d2dc5bc commit 61c73b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updater/update22to30.pl
Expand Up @@ -1821,7 +1821,7 @@
foreach $table ( keys %requiretables ) {
unless ( $existingtables{$table} ) {
print "Adding $table table...\n" unless $silent;
my $sth = $dbh->prepare("create table $table $requiretables{$table}");
my $sth = $dbh->prepare("create table $table $requiretables{$table} ENGINE=InnoDB DEFAULT CHARSET=utf8");
$sth->execute;
if ( $sth->err ) {
print "Error : $sth->errstr \n";
Expand Down

0 comments on commit 61c73b1

Please sign in to comment.