diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-02-28 13:16:17 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-02-28 13:16:17 +0100 |
commit | ec89275da79a07e8906a6635c97c8925f9610bef (patch) | |
tree | caa489ac345c382cb2c2d1d7c4ca5ec4989090f1 /sql/sql_class.h | |
parent | f0c682858f26efcebabb558068aa567eed44632e (diff) | |
parent | b64a2fef59bf7269a51884e74197d78c5ff203ff (diff) | |
download | mariadb-git-ec89275da79a07e8906a6635c97c8925f9610bef.tar.gz |
merge threadpool
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index b3aca00343e..4584644c321 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -1701,6 +1701,9 @@ public: /* True if we want to log all errors */ bool log_all_errors; + /* Do not set socket timeouts for wait_timeout (used with threadpool) */ + bool skip_wait_timeout; + /* container for handler's private per-connection data */ Ha_data ha_data[MAX_HA]; @@ -2343,6 +2346,7 @@ public: { mysql_mutex_lock(&LOCK_thd_data); active_vio = vio; + vio_set_thread_id(vio, pthread_self()); mysql_mutex_unlock(&LOCK_thd_data); } inline void clear_active_vio() @@ -4286,6 +4290,8 @@ inline int handler::ha_update_tmp_row(const uchar *old_data, uchar *new_data) return error; } +extern pthread_attr_t *get_connection_attrib(void); + #endif /* MYSQL_SERVER */ #endif /* SQL_CLASS_INCLUDED */ |