2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[2837] Addressed review comments.

This commit is contained in:
Thomas Markwalder
2013-04-09 06:55:06 -04:00
parent 02fb3337a3
commit 2b7e75de16
4 changed files with 12 additions and 17 deletions

View File

@@ -1026,7 +1026,7 @@ MySqlLeaseMgr::openDatabase() {
// constitutes insertable data for a given column, and how to handle
// invalid data. We want to ensure we get the strictest behavior and
// to reject invalid data with an error.
const char *sql_mode = "set SESSION sql_mode ='STRICT_ALL_TABLES'";
const char *sql_mode = "SET SESSION sql_mode ='STRICT_ALL_TABLES'";
result = mysql_options(mysql_, MYSQL_INIT_COMMAND, sql_mode);
if (result != 0) {
isc_throw(DbOpenError, "unable to set SQL mode options: " <<