diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2011-10-27 13:54:28 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2011-10-27 13:54:28 +0400 |
commit | 08e9e6a790ea6ba8bbe6fa5c5bd54677f4add072 (patch) | |
tree | 7d2c321123f1838ec8e1dd853e39023a6e9ec563 /sql/structs.h | |
parent | fa36a7426bf505e83cbd03d8e54e433b3df4d72e (diff) | |
download | mariadb-git-08e9e6a790ea6ba8bbe6fa5c5bd54677f4add072.tar.gz |
BUG#882472: subselect4.test fails in current 5.3
- The problem was that the value of READ_RECORD::file was not updated when the underlying table
was temporary and was converted from heap to myisam. Resolved by eliminating READ_RECORD::file,
always use READ_RECORD::table->file
Diffstat (limited to 'sql/structs.h')
-rw-r--r-- | sql/structs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/structs.h b/sql/structs.h index 18f90d5b8b1..61354cbd01c 100644 --- a/sql/structs.h +++ b/sql/structs.h @@ -149,7 +149,7 @@ struct READ_RECORD { /* Parameter to read_record */ typedef int (*Read_func)(READ_RECORD*); typedef void (*Unlock_row_func)(st_join_table *); struct st_table *table; /* Head-form */ - handler *file; + // handler *file_; struct st_table **forms; /* head and ref forms */ Read_func read_record; |