mariadb/storage/spider
Monty 3d4a7390c1 MDEV-6150 Speed up connection speed by moving creation of THD to new thread
Creating a CONNECT object on client connect and pass this to the working thread which creates the THD.
Split LOCK_thread_count to different mutexes
Added LOCK_thread_start to syncronize threads
Moved most usage of LOCK_thread_count to dedicated functions
Use next_thread_id() instead of thread_id++

Other things:
- Thread id now starts from 1 instead of 2
- Added cast for thread_id as thread id is now of type my_thread_id
- Made THD->host const (To ensure it's not changed)
- Removed some DBUG_PRINT() about entering/exiting mutex as these was already logged by mutex code
- Fixed that aborted_connects and connection_errors_internal are counted in all cases
- Don't take locks for current_linfo when we set it (not needed as it was 0 before)
2016-02-07 10:34:03 +02:00
..
hs_client MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
mysql-test/spider Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
scripts MDEV-5499 install_spider.sql tries to create tables with DEFAULT clause for TEXT columns 2014-02-06 16:25:40 +01:00
CMakeLists.txt cmake: always use the same function to test for compiler flags 2015-09-04 10:32:02 +02:00
configure.in MDEV-4438 - Spider storage engine 2013-06-27 15:18:48 +04:00
ha_spider.cc merge spider-3.2.37 2015-10-29 07:34:53 +09:00
ha_spider.h merge spider-3.2.37 2015-10-29 07:34:53 +09:00
Makefile.am MDEV-4438 - Spider storage engine 2013-06-27 15:18:48 +04:00
spd_conn.cc MDEV-6150 Speed up connection speed by moving creation of THD to new thread 2016-02-07 10:34:03 +02:00
spd_conn.h merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_copy_tables.cc merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_copy_tables.h fix for MariaDB 10.0.8 2014-03-25 05:32:12 +09:00
spd_db_conn.cc MDEV-6150 Speed up connection speed by moving creation of THD to new thread 2016-02-07 10:34:03 +02:00
spd_db_conn.h merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_db_handlersocket.cc merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_db_handlersocket.h merge Spider 3.2.4 2014-06-08 19:52:11 +09:00
spd_db_include.h merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_db_mysql.cc MDEV-6150 Speed up connection speed by moving creation of THD to new thread 2016-02-07 10:34:03 +02:00
spd_db_mysql.h merge Spider 3.2.4 2014-06-08 19:52:11 +09:00
spd_db_oracle.cc Merge branch 'kentoku/10.0' into 10.0 2015-12-13 23:55:20 +01:00
spd_db_oracle.h merge Spider 3.2.4 2014-06-08 19:52:11 +09:00
spd_direct_sql.cc merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_direct_sql.h fix for MariaDB 10.0.8 2014-03-25 05:32:12 +09:00
spd_err.h merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_i_s.cc Merge Spider 3.2.18 2015-02-20 00:41:26 +09:00
spd_include.h merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_malloc.cc merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_malloc.h fix for MariaDB 10.0.8 2014-03-25 05:32:12 +09:00
spd_param.cc Merge branch '10.0' into 10.1 2015-12-21 21:24:22 +01:00
spd_param.h merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_ping_table.cc merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_ping_table.h merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_sys_table.cc Merge branch '10.0' into 10.1 2015-12-21 21:24:22 +01:00
spd_sys_table.h fix for MariaDB 10.0.8 2014-03-25 05:32:12 +09:00
spd_table.cc MDEV-6150 Speed up connection speed by moving creation of THD to new thread 2016-02-07 10:34:03 +02:00
spd_table.h merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_trx.cc merge spider-3.2.37 2015-10-29 07:34:53 +09:00
spd_trx.h fix for MariaDB 10.0.8 2014-03-25 05:32:12 +09:00
spd_udf.cc fix for MariaDB 10.0.8 2014-03-25 05:32:12 +09:00
spd_udf.def MDEV-4438 - Spider storage engine 2013-06-27 15:18:48 +04:00
spd_udf.h fix for MariaDB 10.0.8 2014-03-25 05:32:12 +09:00