Commit c8d9ec2c authored by Eugene Kosov's avatar Eugene Kosov Committed by Sergey Vojtovich

Cleanup unused READ_RECORD::forms

parent 617d34ae
...@@ -194,7 +194,6 @@ bool init_read_record(READ_RECORD *info,THD *thd, TABLE *table, ...@@ -194,7 +194,6 @@ bool init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
bzero((char*) info,sizeof(*info)); bzero((char*) info,sizeof(*info));
info->thd=thd; info->thd=thd;
info->table=table; info->table=table;
info->forms= &info->table; /* Only one table */
info->addon_field= addon_field; info->addon_field= addon_field;
if ((table->s->tmp_table == INTERNAL_TMP_TABLE || if ((table->s->tmp_table == INTERNAL_TMP_TABLE ||
......
...@@ -52,8 +52,6 @@ struct READ_RECORD ...@@ -52,8 +52,6 @@ struct READ_RECORD
typedef int (*Setup_func)(struct st_join_table*); typedef int (*Setup_func)(struct st_join_table*);
TABLE *table; /* Head-form */ TABLE *table; /* Head-form */
//handler *file;
TABLE **forms; /* head and ref forms */
Unlock_row_func unlock_row; Unlock_row_func unlock_row;
Read_func read_record_func; Read_func read_record_func;
THD *thd; THD *thd;
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#define SQL_WINDOW_INCLUDED #define SQL_WINDOW_INCLUDED
#include "filesort.h" #include "filesort.h"
#include "records.h"
class Item_window_func; class Item_window_func;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment