summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-03-30 19:24:28 +0300
committerunknown <monty@mysql.com>2004-03-30 19:24:28 +0300
commitbc12d57fa781c3c0320733b9f096835f951edbbc (patch)
tree3ba6124dc8f91baccee6bbd806fe1056d021e326 /sql/field.h
parentceeaa24d187b228fd6e8b1ac1e667d341155640f (diff)
downloadmariadb-git-bc12d57fa781c3c0320733b9f096835f951edbbc.tar.gz
Fix to get correct metadata when using temporary tables to create result. (Bug #2654)
client/mysqltest.c: Added support for --enable_metadata mysql-test/t/order_by.test: Improved comment scripts/mysqlaccess.sh: CGI is required (Bug #2988) sql/field.cc: Fix to get correct metadata when using temporary tables to create result sql/field.h: Fix to get correct metadata when using temporary tables to create result sql/sql_insert.cc: Fix to get correct metadata when using temporary tables to create result
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index e6ed5c2dbb7..27fe3858fe6 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -46,6 +46,7 @@ public:
char *ptr; // Position to field in record
uchar *null_ptr; // Byte where null_bit is
struct st_table *table; // Pointer for table
+ struct st_table *orig_table; // Pointer to original table
const char *table_name,*field_name;
LEX_STRING comment;
ulong query_id; // For quick test of used fields