summaryrefslogtreecommitdiff
path: root/sql/sql_trigger.cc
diff options
context:
space:
mode:
authorDmitry Lenev <dlenev@mysql.com>2010-05-21 16:41:24 +0400
committerDmitry Lenev <dlenev@mysql.com>2010-05-21 16:41:24 +0400
commit6ceacd4fb94f84faeb6d637d068cea2722a016c1 (patch)
tree23df0e72499a1f25870f5e09512eae5871f70fa6 /sql/sql_trigger.cc
parentc09eb2afc39a5ff5bf4269e91da4dcb545a43731 (diff)
downloadmariadb-git-6ceacd4fb94f84faeb6d637d068cea2722a016c1.tar.gz
Follow-up for the fix for bug #46947 "Embedded SELECT without
FOR UPDATE is causing a lock". This patch tries to address problems which were exposed during backporting of original patch to 5.1 tree. - It ensures that we don't change locking behavior of simple SELECT statements on InnoDB tables when they are executed under LOCK TABLES ... READ and with @@innodb_table_locks=0. Also we no longer pass TL_READ_DEFAULT/TL_WRITE_DEFAULT lock types, which are supposed to be parser-only, to handler::start_stmt() method. - It makes check_/no_concurrent_insert.inc auxiliary scripts more robust against changes in test cases that use them and also ensures that they don't unnecessarily change environment of caller.
Diffstat (limited to 'sql/sql_trigger.cc')
0 files changed, 0 insertions, 0 deletions