}
// Set SQL mode to standard ANSI and TRADITIONAL.
try {
- this.getConnection().createStatement().executeUpdate("SET SQL_MODE='ANSI,TRADITIONAL'");
- this.logStatement("### SET SQL_MODE='ANSI,TRADITIONAL' ###");
+ this.getConnection().createStatement().executeUpdate("SET SQL_MODE = 'ANSI,TRADITIONAL'");
+ this.logStatement("### SET SQL_MODE = 'ANSI,TRADITIONAL' ###");
}
catch (SQLException exception) {
throw new MDatabaseConnectionFailureException("Could not set SQL mode to ANSI and TRADITIONAL.", exception);