diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2004-11-18 22:45:48 +0000 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2004-11-18 22:45:48 +0000 |
commit | 3ef38a3732a832f91d1ab5db62659a36a081646e (patch) | |
tree | 04327495b470d2cb0ee9c42b7025287007034847 /sql/sql_class.cc | |
parent | f7164c732b86fff6c5f5ffb6defc42307e24a3e1 (diff) | |
download | mariadb-git-3ef38a3732a832f91d1ab5db62659a36a081646e.tar.gz |
moved ndb_use_transactions out of opts and to be set default true in THD::init
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index eda60b5cfdb..bab81d785c3 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -280,6 +280,9 @@ void THD::init(void) variables.date_format); variables.datetime_format= date_time_format_copy((THD*) 0, variables.datetime_format); +#ifdef HAVE_NDBCLUSTER_DB + variables.ndb_use_transactions= 1; +#endif pthread_mutex_unlock(&LOCK_global_system_variables); server_status= SERVER_STATUS_AUTOCOMMIT; options= thd_startup_options; |