diff options
author | unknown <konstantin@oak.local> | 2004-03-03 12:44:00 +0300 |
---|---|---|
committer | unknown <konstantin@oak.local> | 2004-03-03 12:44:00 +0300 |
commit | ceacb0346d8df3f22a27ff1210411be663c3ea89 (patch) | |
tree | 26d24b8a6fe956634392e849210faa8101f7740a /sql | |
parent | edf6ad90416f60be30b0b5d4139c0ad19115dd69 (diff) | |
download | mariadb-git-ceacb0346d8df3f22a27ff1210411be663c3ea89.tar.gz |
Comment on handler::unlock_row()
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_select.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 7c1a5ad67b4..7605016dbe1 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -5762,7 +5762,15 @@ sub_select(JOIN *join,JOIN_TAB *join_tab,bool end_of_records) return 0; } else + { + /* + This row failed selection, release lock on it. + XXX: There is no table handler in MySQL which makes use of this + call. It's kept from Gemini times. A lot of new code was added + recently (i. e. subselects) without having it in mind. + */ info->file->unlock_row(); + } } } while (!(error=info->read_record(info)) && !(*report_error)); } |