1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-13 21:42:58 +03:00
Files
mariadb/mysql-test/r
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
..
2014-05-09 12:35:11 +02:00
2015-05-04 22:00:24 +02:00
2015-05-03 11:51:22 +02:00
2014-02-25 16:04:35 +01:00
2015-12-21 21:24:22 +01:00
2015-09-03 12:58:41 +02:00
2015-12-21 21:24:22 +01:00
2014-03-16 19:21:37 +01:00
2014-09-11 16:42:54 +02:00
2015-01-21 12:03:02 +01:00
2015-12-13 00:10:40 +01:00
2015-10-12 00:37:58 +02:00
2015-10-12 00:37:58 +02:00
2013-11-21 14:25:28 +01:00
2015-05-04 22:00:24 +02:00
2014-09-12 16:51:41 +02:00
2014-02-27 13:54:05 -08:00
2015-05-04 22:00:24 +02:00
2014-02-01 00:54:03 +01:00
2014-06-06 00:07:27 +02:00
2015-12-21 21:24:22 +01:00
2014-04-23 17:01:35 +02:00
2015-10-06 22:11:39 +02:00
2013-11-19 13:16:25 +01:00
2015-12-21 21:24:22 +01:00
2014-09-16 14:03:17 +02:00
2015-08-04 23:40:25 +02:00
2015-05-04 22:00:24 +02:00
2015-05-04 22:00:24 +02:00
2013-11-13 13:38:37 +01:00
2015-11-19 15:52:14 +01:00
2014-02-14 14:09:29 +01:00
2015-10-06 22:11:39 +02:00
2015-11-18 22:03:02 +01:00
2014-03-16 13:59:44 +01:00