mariadb/storage/innobase
Timothy Smith 2450190eed Apply InnoDB snapshot innodb-5.1-ss2637, part 1. Fixes
Bug #37885: row_search_for_mysql may gap lock unnecessarily with SQL comments in query


Detailed revision comments:

r2603 | marko | 2008-08-21 16:25:05 +0300 (Thu, 21 Aug 2008) | 10 lines
branches/5.1: Identify SELECT statements by thd_sql_command() == SQLCOM_SELECT
instead of parsing the query string.  This fixes MySQL Bug #37885 without
us having to implement lexical analysis of SQL comments in yet another place.

thd_is_select(): A new predicate.

row_search_for_mysql(): Use thd_is_select().

Approved by Heikki.
2008-12-14 12:28:19 -07:00
..
btr Complete application of InnoDB snapshot innodb-5.1-ss2545. 2008-12-14 12:25:33 -07:00
buf Cherry-pick some changes from innodb-5.1-ss2479 snapshot. Includes fixes for 2008-08-19 18:37:41 -06:00
data Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
dict Complete application of InnoDB snapshot innodb-5.1-ss2545. 2008-12-14 12:25:33 -07:00
dyn Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
eval Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
fil Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
fsp Apply snapshot innodb-51-ss1644 2007-07-24 19:34:31 -06:00
fut Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
ha Cherry-pick some changes from innodb-5.1-ss2545 snapshot. Includes fixes for 2008-08-20 16:18:33 -06:00
handler Apply InnoDB snapshot innodb-5.1-ss2637, part 1. Fixes 2008-12-14 12:28:19 -07:00
ibuf Apply snapshot innodb-5.1-ss1989 2007-11-06 15:42:58 -07:00
include Apply InnoDB snapshot innodb-5.1-ss2637, part 1. Fixes 2008-12-14 12:28:19 -07:00
lock Cherry-pick some changes from innodb-5.1-ss2545 snapshot. Includes fixes for 2008-08-20 16:18:33 -06:00
log Apply InnoDB snapshot innodb-5.1-ss1726. 2007-08-24 19:14:52 -06:00
mach Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
mem Apply snapshot innodb-5.1-ss1989 2007-11-06 15:42:58 -07:00
mtr Apply InnoDB snapshot innodb-5.1-ss1751. 2007-08-25 03:55:38 -06:00
os Complete applying InnoDB snapshot innodb-5.1-ss2479. Fixes 2008-12-14 12:15:12 -07:00
page Apply snapshot innodb-51-ss1644 2007-07-24 19:34:31 -06:00
pars Apply InnoDB snapshot innodb-5.1-ss1751. 2007-08-25 03:55:38 -06:00
que Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
read Applied InnoDB snapshot innodb-5.1-ss2298 2008-02-19 09:44:09 -07:00
rem Apply snapshot innodb-51-ss1644 2007-07-24 19:34:31 -06:00
row Apply InnoDB snapshot innodb-5.1-ss2637, part 1. Fixes 2008-12-14 12:28:19 -07:00
srv Complete application of InnoDB snapshot innodb-5.1-ss2485, part 2. Fixes 2008-12-14 12:21:24 -07:00
sync Applied InnoDB snapshot innodb-5.1-ss2298 2008-02-19 09:44:09 -07:00
thr Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
trx apply snapshot innodb-5.1-ss2387 2008-03-27 15:13:10 +01:00
usr Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
ut Complete application of InnoDB snapshot innodb-5.1-ss2485, part 1. Fixes 2008-12-14 12:18:59 -07:00
CMakeLists.txt Bug #34297: MySQL Server crashes when processing large table 2008-05-09 00:38:17 -06:00
Makefile.am Completing snapshot innodb-5.1-ss2438, part 3. 2008-12-14 11:54:01 -07:00
plug.in Completing snapshot innodb-5.1-ss2438, part 3. 2008-12-14 11:54:01 -07:00