diff options
author | serg@janus.mylan <> | 2007-04-13 19:23:02 +0200 |
---|---|---|
committer | serg@janus.mylan <> | 2007-04-13 19:23:02 +0200 |
commit | 3ecbb5a4437a1ce8be7a5c83354ff698846602cc (patch) | |
tree | c318326d7c94a04b34753308fce3a0bb1b38f53e /storage/example | |
parent | 48f3ec85700eef4100fe0357a2e6bfaa9460f3f9 (diff) | |
download | mariadb-git-3ecbb5a4437a1ce8be7a5c83354ff698846602cc.tar.gz |
wl#2936 - fixing problems
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 bde6c41d777..8f3d9fca7b7 100644 --- a/storage/example/ha_example.cc +++ b/storage/example/ha_example.cc @@ -717,6 +717,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 */ |