Konstantin Osipov
ec2c3bf2c1
A pre-requisite patch for the fix for Bug#52044.
...
This patch also fixes Bug#55452 "SET PASSWORD is
replicated twice in RBR mode".
The goal of this patch is to remove the release of
metadata locks from close_thread_tables().
This is necessary to not mistakenly release
the locks in the course of a multi-step
operation that involves multiple close_thread_tables()
or close_tables_for_reopen().
On the same token, move statement commit outside
close_thread_tables().
Other cleanups:
Cleanup COM_FIELD_LIST.
Don't call close_thread_tables() in COM_SHUTDOWN -- there
are no open tables there that can be closed (we leave
the locked tables mode in THD destructor, and this
close_thread_tables() won't leave it anyway).
Make open_and_lock_tables() and open_and_lock_tables_derived()
call close_thread_tables() upon failure.
Remove the calls to close_thread_tables() that are now
unnecessary.
Simplify the back off condition in Open_table_context.
Streamline metadata lock handling in LOCK TABLES
implementation.
Add asserts to ensure correct life cycle of
statement transaction in a session.
Remove a piece of dead code that has also become redundant
after the fix for Bug 37521.
2010-07-27 14:25:53 +04:00
..
2010-01-11 18:47:27 -07:00
2009-11-10 18:43:43 -02:00
2009-08-25 15:56:50 +02:00
2010-05-24 21:54:08 +08:00
2010-07-26 13:22:38 +04:00
2010-07-12 10:38:38 -03:00
2009-12-22 19:23:13 +03:00
2010-04-26 21:39:24 +02:00
2010-06-06 13:19:29 +02:00
2009-08-20 14:30:59 +02:00
2010-02-09 11:30:50 +01:00
2009-09-28 10:21:25 +03:00
2010-02-26 16:06:31 +03:00
2010-04-26 20:44:10 +02:00
2010-05-28 00:07:40 +04:00
2010-07-03 20:17:03 -03:00
2010-04-22 15:52:00 +02:00
2010-06-17 22:51:35 +02:00
2009-11-25 12:25:49 +05:30
2009-12-22 10:35:56 +01:00
2009-10-27 12:09:19 +04:00
2010-02-11 08:17:25 +04:00
2009-12-22 19:23:13 +03:00
2009-12-22 10:35:56 +01:00
2010-02-20 13:07:32 +03:00
2010-02-20 13:07:32 +03:00
2010-02-20 13:07:32 +03:00
2010-02-20 13:07:32 +03:00
2010-04-28 14:47:49 +02:00
2010-06-08 19:47:10 +02:00
2010-03-12 12:51:53 +03:00
2010-02-20 13:07:32 +03:00
2010-01-22 19:00:19 -07:00
2010-04-13 11:38:28 +02:00
2010-05-24 21:54:08 +08:00
2010-06-11 10:14:38 +02:00
2010-02-24 16:52:27 +03:00
2010-01-14 15:17:57 +04:00
2010-07-09 09:39:41 +04:00
2009-11-06 11:49:27 +01:00
2010-05-26 22:34:25 +08:00
2010-07-09 09:39:41 +04:00
2009-10-15 17:23:43 +05:00
2010-07-03 20:17:03 -03:00
2010-01-14 15:17:57 +04:00
2010-01-14 15:17:57 +04:00
2009-09-07 13:42:54 +08:00
2010-01-14 15:17:57 +04:00
2010-07-09 09:39:41 +04:00
2010-03-24 18:03:44 +03:00
2010-02-24 13:15:34 +04:00
2010-02-20 13:07:32 +03:00
2009-10-15 17:23:43 +05:00
2010-02-15 09:57:24 +04:00
2009-10-15 17:23:43 +05:00
2010-07-09 09:39:41 +04:00
2010-02-15 09:57:24 +04:00
2010-06-02 16:23:50 +04:00
2010-03-05 12:17:19 +04:00
2010-03-05 12:17:19 +04:00
2010-03-05 12:17:19 +04:00
2010-03-05 12:17:19 +04:00
2010-06-02 16:23:50 +04:00
2010-02-24 13:15:34 +04:00
2010-06-02 16:23:50 +04:00
2010-02-24 13:15:34 +04:00
2010-06-02 16:23:50 +04:00
2009-12-22 10:35:56 +01:00
2010-01-15 15:42:15 +04:00
2010-01-15 15:42:15 +04:00
2010-02-01 14:43:06 +03:00
2010-02-17 16:13:42 +04:00
2009-12-11 12:39:38 +03:00
2010-05-24 00:41:18 +04:00
2009-11-04 12:28:20 +00:00
2009-11-10 16:48:46 -02:00
2009-11-10 17:09:27 -02:00
2009-09-06 00:42:17 +04:00
2009-12-08 10:53:40 +03:00
2009-10-09 18:52:49 +04:00
2010-06-07 17:27:40 +02:00
2010-06-24 15:21:23 +02:00
2010-05-27 20:01:43 +04:00
2009-10-08 00:57:03 +04:00
2009-12-22 10:35:56 +01:00
2009-12-22 10:35:56 +01:00
2009-10-23 16:02:20 +05:00
2010-05-19 11:18:59 +02:00
2010-06-02 14:01:26 +04:00
2009-11-04 12:28:20 +00:00
2010-05-26 22:34:25 +08:00
2009-12-09 18:56:34 +03:00
2009-11-30 18:55:03 +03:00
2010-03-10 17:35:25 +03:00
2010-01-25 04:55:31 -07:00
2009-12-22 17:52:15 +02:00
2010-04-02 19:17:43 +04:00
2010-07-14 09:57:50 -06:00
2009-09-10 03:18:29 -06:00
2010-04-03 00:30:22 +04:00
2009-10-19 15:13:26 +04:00
2010-07-07 10:38:11 +04:00
2010-04-13 19:04:45 +04:00
2009-09-10 03:18:29 -06:00
2010-04-03 21:35:51 +04:00
2009-12-22 19:23:13 +03:00
2010-06-22 22:53:08 +04:00
2010-06-08 10:47:23 +04:00
2010-06-24 15:29:53 +04:00
2010-03-19 11:29:12 +03:00
2010-04-07 13:59:02 +04:00
2009-10-19 15:13:26 +04:00
2009-11-04 10:17:39 +01:00
2010-04-02 19:17:43 +04:00
2010-03-18 13:38:29 +03:00
2010-02-22 00:33:11 +03:00
2010-03-25 15:49:01 +04:00
2010-02-11 18:32:53 +01:00
2009-12-17 00:09:52 +00:00
2009-10-20 11:47:57 +05:30
2010-02-20 13:07:32 +03:00
2009-10-27 12:09:19 +04:00
2010-05-09 02:03:35 +04:00
2010-03-01 17:31:02 +01:00
2010-05-24 00:41:18 +04:00
2010-06-11 10:15:55 +02:00
2010-07-05 13:59:34 +02:00
2010-07-05 13:59:34 +02:00
2009-09-29 17:38:40 +02:00
2009-10-29 10:51:04 -06:00
2009-12-22 10:35:56 +01:00
2010-04-13 19:04:45 +04:00
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2010-07-09 14:46:46 +04:00
2010-02-20 13:07:32 +03:00
2010-02-20 13:07:32 +03:00
2010-02-20 13:07:32 +03:00
2010-02-26 10:58:33 +01:00
2009-10-08 13:27:45 +04:00
2010-01-06 11:54:45 +01:00
2010-01-15 15:42:15 +04:00
2009-10-23 16:02:20 +05:00
2010-07-09 15:55:13 +03:00
2010-05-26 09:56:55 +02:00
2010-07-09 15:55:13 +03:00
2009-10-05 16:22:48 +02:00
2010-07-15 18:46:41 +03:00
2010-05-30 13:27:44 +04:00
2010-06-26 22:23:28 +02:00
2010-06-25 09:07:18 +02:00
2009-11-20 22:51:12 +03:00
2009-09-04 15:20:58 +02:00
2009-12-22 19:23:13 +03:00
2009-11-26 09:03:04 +01:00
2010-01-29 11:48:11 +01:00
2009-10-19 15:14:43 +02:00
2010-06-01 11:57:23 +04:00
2010-04-30 00:33:06 +04:00
2009-12-22 10:35:56 +01:00
2010-02-20 13:07:32 +03:00
2009-11-30 18:55:03 +03:00
2010-07-14 15:05:20 +03:00
2010-05-05 14:34:20 +04:00
2010-02-22 00:33:11 +03:00
2009-08-28 18:49:16 -03:00
2009-08-28 18:49:16 -03:00
2010-02-26 13:40:25 +01:00
2010-05-30 13:27:44 +04:00
2010-02-01 14:43:06 +03:00
2009-10-12 15:35:30 +02:00
2010-06-23 00:32:29 +04:00
2010-02-26 09:22:48 -03:00
2009-12-22 12:02:52 +01:00
2009-11-06 17:20:27 +03:00
2010-07-03 20:17:03 -03:00
2010-06-28 11:23:50 +02:00
2009-08-28 16:13:27 +02:00
2010-06-25 15:59:44 +03:00
2010-07-02 11:26:27 +02:00
2010-07-02 20:07:57 +04:00
2009-12-08 16:57:25 +03:00
2010-07-02 20:07:57 +04:00
2010-03-24 18:03:44 +03:00
2010-02-20 13:07:32 +03:00
2010-05-26 22:34:25 +08:00
2009-11-25 16:25:01 +04:00
2009-09-10 03:18:29 -06:00
2010-04-27 13:58:21 +04:00
2009-11-26 13:47:55 +01:00
2010-05-19 16:33:51 +04:00
2009-10-27 08:38:32 +04:00
2010-07-05 13:22:13 +03:00
2010-01-18 23:19:19 +03:00
2010-01-07 15:39:11 +00:00
2010-03-22 13:10:18 +01:00
2010-03-12 12:42:30 +00:00
2010-01-07 15:39:11 +00:00
2009-11-15 23:19:53 +04:00
2009-09-07 13:42:54 +08:00
2010-04-03 21:35:51 +04:00
2010-01-15 15:42:15 +04:00
2010-06-17 22:51:35 +02:00
2010-06-17 22:51:35 +02:00
2010-05-09 02:03:35 +04:00
2010-06-03 11:27:27 +02:00
2010-06-03 11:27:27 +02:00
2010-05-25 18:44:33 -07:00
2010-02-09 18:13:57 +01:00
2010-02-20 13:07:32 +03:00
2010-02-05 17:51:55 +00:00
2009-12-05 02:02:48 +03:00
2009-12-23 13:06:03 +01:00
2009-09-25 11:26:49 +02:00
2010-05-05 15:00:59 +04:00
2009-11-03 17:54:41 +04:00
2009-11-06 17:54:19 +03:00
2010-01-29 16:54:27 +02:00
2010-01-06 11:54:45 +01:00
2010-01-06 11:54:45 +01:00
2010-05-31 16:52:19 +04:00
2010-05-07 00:41:37 +04:00
2009-10-19 14:58:13 +02:00
2010-06-09 10:46:24 +02:00
2010-06-09 10:46:24 +02:00
2009-08-11 14:18:26 +02:00
2010-03-30 22:52:45 +02:00
2009-12-13 23:29:50 +03:00
2009-11-30 18:55:03 +03:00
2010-05-26 09:56:55 +02:00
2009-09-04 15:20:58 +02:00
2009-10-28 01:11:17 +01:00
2010-07-01 15:53:46 +02:00
2010-06-07 12:47:04 +04:00
2009-10-05 22:59:19 +02:00
2009-09-25 11:26:49 +02:00
2010-06-08 19:47:10 +02:00
2010-04-28 14:47:49 +02:00
2010-07-06 14:38:03 -03:00
2009-12-22 10:35:56 +01:00
2009-10-21 20:04:34 +02:00
2009-09-15 17:07:52 +02:00
2009-07-27 16:50:43 +05:30
2009-10-21 12:40:21 +02:00
2009-10-08 15:36:43 +02:00
2010-03-24 18:03:44 +03:00
2010-03-20 23:23:42 +03:00
2009-07-27 16:50:43 +05:30
2009-10-21 12:40:21 +02:00
2009-12-10 14:41:41 +01:00
2009-09-10 11:15:39 +02:00
2009-12-17 18:39:10 +01:00
2010-05-28 09:47:58 +04:00
2010-02-24 00:22:19 -07:00
2010-02-23 17:45:49 -07:00
2010-03-13 18:32:42 -03:00
2009-12-22 12:02:52 +01:00
2009-12-22 10:35:56 +01:00
2010-02-20 13:07:32 +03:00
2010-02-11 08:17:25 +04:00
2010-02-11 08:17:25 +04:00
2010-02-11 08:17:25 +04:00
2010-02-11 08:17:25 +04:00
2009-12-29 15:19:05 +03:00
2010-02-20 13:07:32 +03:00
2009-10-27 14:09:36 +04:00
2010-06-08 19:47:10 +02:00
2009-10-29 17:18:09 +01:00
2009-11-20 22:51:12 +03:00
2009-12-22 10:35:56 +01:00
2009-12-22 10:35:56 +01:00
2010-03-24 17:37:41 +01:00
2010-02-26 10:58:33 +01:00
2010-05-11 12:27:53 +04:00
2010-03-10 10:36:40 -03:00
2010-05-28 09:25:11 +04:00
2010-05-21 22:47:32 +04:00
2010-02-20 13:07:32 +03:00
2010-04-16 16:42:34 +05:00
2010-07-16 21:25:00 +03:00
2010-07-02 11:54:14 +02:00
2009-12-22 10:35:56 +01:00
2010-07-15 10:47:50 -03:00
2010-02-20 13:07:32 +03:00
2010-07-23 10:44:55 +02:00
2010-02-05 17:31:34 +01:00
2009-12-01 21:07:18 +02:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-10-14 15:36:55 +04:00
2009-09-10 03:18:29 -06:00
2010-02-23 11:43:26 -07:00
2010-06-23 00:32:29 +04:00
2010-03-31 16:12:37 +03:00
2010-02-24 16:52:27 +03:00
2010-06-07 11:06:55 +04:00
2010-07-04 20:35:05 +01:00
2010-02-22 00:33:11 +03:00
2010-02-13 08:35:14 -02:00
2009-12-01 21:07:18 +02:00
2010-03-03 10:24:53 +01:00
2009-09-10 03:18:29 -06:00
2010-02-23 11:43:26 -07:00
2010-04-19 15:35:13 +02:00
2009-10-29 10:51:04 -06:00
2009-12-17 00:09:52 +00:00
2010-02-01 14:43:06 +03:00
2010-01-15 15:42:15 +04:00
2010-02-23 11:43:26 -07:00
2010-05-14 09:28:51 +04:00
2009-10-09 16:52:02 +02:00
2010-02-20 13:07:32 +03:00
2010-02-20 13:07:32 +03:00
2009-11-20 23:30:00 +03:00
2010-03-19 11:29:12 +03:00
2010-03-24 18:03:44 +03:00
2010-06-23 08:13:34 +02:00
2010-06-25 16:32:47 +03:00
2010-04-01 18:49:02 +04:00
2009-11-06 17:20:27 +03:00
2010-06-23 13:34:40 +02:00
2010-01-15 15:42:15 +04:00
2010-01-15 15:42:15 +04:00
2010-05-09 02:03:35 +04:00
2010-06-11 17:32:12 +04:00
2010-05-25 17:01:38 -03:00
2010-05-27 20:01:43 +04:00
2010-02-22 00:33:11 +03:00
2010-02-09 11:30:50 +01:00
2010-03-20 23:23:42 +03:00
2010-05-05 13:28:37 +04:00
2010-05-28 17:30:39 +02:00
2009-12-22 19:23:13 +03:00
2010-03-18 13:38:29 +03:00
2010-02-27 11:43:32 +04:00
2010-05-31 13:38:10 +04:00
2010-03-09 15:54:12 +01:00
2009-12-16 10:48:07 +03:00
2010-03-22 12:33:25 +04:00
2010-03-24 18:03:44 +03:00
2010-03-24 18:03:44 +03:00
2010-06-23 00:32:29 +04:00
2010-05-21 22:47:32 +04:00
2009-12-22 10:35:56 +01:00
2010-01-07 15:39:11 +00:00
2010-05-05 15:00:59 +04:00
2010-02-11 14:26:58 +01:00
2010-05-24 00:41:18 +04:00
2010-07-27 14:25:53 +04:00
2010-03-09 07:36:26 -03:00
2010-02-24 16:52:27 +03:00
2010-07-27 14:25:53 +04:00
2009-12-22 12:02:52 +01:00
2010-02-23 11:43:26 -07:00
2009-09-22 08:22:07 -03:00
2010-03-10 19:31:22 +04:00