diff options
author | jani@hynda.mysql.fi <> | 2001-08-09 18:51:38 +0300 |
---|---|---|
committer | jani@hynda.mysql.fi <> | 2001-08-09 18:51:38 +0300 |
commit | 44722151fdacd66e847a5084b5f2d06d3c3e9848 (patch) | |
tree | fae4985713a526cf99cd5de3f34e3e2cc10f5463 /sql/sql_class.cc | |
parent | 4ad1e112f8ed61ceb407627c4e6defa157edfd44 (diff) | |
download | mariadb-git-44722151fdacd66e847a5084b5f2d06d3c3e9848.tar.gz |
Added new optino --sql-mode to mysqld.
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 9ea3896fd78..efe0d7864b9 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -120,6 +120,7 @@ THD::THD():user_time(0),fatal_error(0),last_insert_id_used(0), server_status=SERVER_STATUS_AUTOCOMMIT; update_lock_default= low_priority_updates ? TL_WRITE_LOW_PRIORITY : TL_WRITE; options=thd_startup_options; + sql_mode=(uint) opt_sql_mode; inactive_timeout=net_wait_timeout; open_options=ha_open_options; tx_isolation=session_tx_isolation=default_tx_isolation; |