diff options
author | unknown <kroki/tomash@moonlight.home> | 2007-03-09 13:17:46 +0300 |
---|---|---|
committer | unknown <kroki/tomash@moonlight.home> | 2007-03-09 13:17:46 +0300 |
commit | b311d870523b6c1bae7e3a49e9d04d2c30bef5b2 (patch) | |
tree | 6197d95ef12f5c0b810b541f1b32c7955b0b1d7b /sql/handler.h | |
parent | 1b198eeb6893b4095c70df224eafb2c823f8970f (diff) | |
parent | 0ea47f3ed46011263d696f9852190c6a2edf4772 (diff) | |
download | mariadb-git-b311d870523b6c1bae7e3a49e9d04d2c30bef5b2.tar.gz |
Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-5.1
into moonlight.home:/home/tomash/src/mysql_ab/mysql-5.1-bug9953
mysql-test/r/sp-error.result:
Auto merged
mysql-test/r/view.result:
Auto merged
sql/item_timefunc.cc:
Auto merged
sql/lock.cc:
Auto merged
sql/log_event.cc:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/set_var.cc:
Auto merged
sql/sp.cc:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_help.cc:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_show.cc:
Auto merged
sql/sql_view.cc:
Auto merged
sql/table.cc:
Auto merged
sql/tztime.cc:
Auto merged
storage/myisam/ha_myisam.cc:
Auto merged
sql/sql_yacc.yy:
SCCS merged
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sql/handler.h b/sql/handler.h index 82970cc1ac6..2b74b28d9ee 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -974,7 +974,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 @@ -993,7 +997,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; |