fix putting the mode back. I merged it to the wrong place

This commit is contained in:
Isaac Connor 2014-11-19 13:54:10 -05:00
parent 793998484c
commit cc989dbe19
1 changed files with 1 additions and 1 deletions

View File

@ -347,8 +347,8 @@ if ( $interactive ) {
my $sth = $dbh->prepare_cached( $sql ) or die( "Can't prepare '$sql': ".$dbh->errstr() );
my $res = $sth->execute() or die( "Can't execute: ".$sth->errstr() );
$sth->finish();
$dbh->do(q|SET sql_mode=''|); # Set mode back to default
}
$dbh->do(q|SET sql_mode=''|); # Set mode back to default
}
}
} # end if interactive