summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorkostja@bodhi.local <>2007-03-20 00:42:11 +0300
committerkostja@bodhi.local <>2007-03-20 00:42:11 +0300
commitbdb10baec172fa2443f94b0f613a2c9d5e843017 (patch)
tree430ad1efea83b67994a7f31aab1a92c249366fb6 /sql/handler.h
parente9fb4a686ff2d464e33902624d8425d379ef5016 (diff)
parent1812656d90f7d6d3db961500779c7ee8b8bea780 (diff)
downloadmariadb-git-bdb10baec172fa2443f94b0f613a2c9d5e843017.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into bodhi.local:/opt/local/work/mysql-5.1-runtime
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 0158cbad515..5c42dc670ee 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -986,7 +986,11 @@ public:
check_if_locking_is_allowed()
thd Handler of the thread, trying to lock the table
table Table handler to check
- count Number of locks already granted to the table
+ count Total number of tables to be locked
+ current Index of the current table in the list of the tables
+ to be locked.
+ system_count Pointer to the counter of system tables seen thus
+ far.
called_by_privileged_thread TRUE if called from a logger THD
(general_log_thd or slow_log_thd)
or by a privileged thread, which
@@ -1005,7 +1009,8 @@ public:
*/
virtual bool check_if_locking_is_allowed(uint sql_command,
ulong type, TABLE *table,
- uint count,
+ uint count, uint current,
+ uint *system_count,
bool called_by_privileged_thread)
{
return TRUE;