summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/records.cc1
-rw-r--r--sql/records.h2
-rw-r--r--sql/sql_window.h1
3 files changed, 0 insertions, 4 deletions
diff --git a/sql/records.cc b/sql/records.cc
index 3decb8f1d24..fe2b2055c0e 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -194,7 +194,6 @@ bool init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
bzero((char*) info,sizeof(*info));
info->thd=thd;
info->table=table;
- info->forms= &info->table; /* Only one table */
info->addon_field= addon_field;
if ((table->s->tmp_table == INTERNAL_TMP_TABLE ||
diff --git a/sql/records.h b/sql/records.h
index 4f8e14da9ac..a4564df6146 100644
--- a/sql/records.h
+++ b/sql/records.h
@@ -52,8 +52,6 @@ struct READ_RECORD
typedef int (*Setup_func)(struct st_join_table*);
TABLE *table; /* Head-form */
- //handler *file;
- TABLE **forms; /* head and ref forms */
Unlock_row_func unlock_row;
Read_func read_record_func;
THD *thd;
diff --git a/sql/sql_window.h b/sql/sql_window.h
index 21f2c8af108..373b367b211 100644
--- a/sql/sql_window.h
+++ b/sql/sql_window.h
@@ -18,7 +18,6 @@
#define SQL_WINDOW_INCLUDED
#include "filesort.h"
-#include "records.h"
class Item_window_func;