diff options
author | serg@sergbook.mysql.com <> | 2007-04-16 10:37:50 +0200 |
---|---|---|
committer | serg@sergbook.mysql.com <> | 2007-04-16 10:37:50 +0200 |
commit | 6bc9bc92df57f1cc586e2223e23c0e94003fa7eb (patch) | |
tree | df4c92bcf5668ec88685604378ad6dc60bfcf269 /storage/example | |
parent | 3f72507d0d9e935b0a6badcf20c0dbff06860658 (diff) | |
parent | c53037af36e1e7af2996299fc6f0d126619f2565 (diff) | |
download | mariadb-git-6bc9bc92df57f1cc586e2223e23c0e94003fa7eb.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.1-wl2936
Diffstat (limited to 'storage/example')
-rw-r--r-- | storage/example/ha_example.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/example/ha_example.cc b/storage/example/ha_example.cc index a4cdcafc6d0..53af99dee97 100644 --- a/storage/example/ha_example.cc +++ b/storage/example/ha_example.cc @@ -723,6 +723,11 @@ int ha_example::external_lock(THD *thd, int lock_type) Called from lock.cc by get_lock_data(). + @note + In this method one should NEVER rely on table->in_use, it may, in fact, + refer to a different thread! (this happens if get_lock_data() is called + from mysql_lock_abort_for_thread() function) + @see get_lock_data() in lock.cc */ |