summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorunknown <hf@deer.mysql.r18.ru>2003-01-21 20:20:46 +0400
committerunknown <hf@deer.mysql.r18.ru>2003-01-21 20:20:46 +0400
commitdceabff13192f614efd5b688d81e73e4aeeb96b2 (patch)
treec9e7b6941dd01018f2f3c6769a50be4c05a7837e /sql/table.h
parent94a6892eed05367e8c8490100d941ec07c736a46 (diff)
downloadmariadb-git-dceabff13192f614efd5b688d81e73e4aeeb96b2.tar.gz
SCRUM
Default in UPDATE & SELECT sql/field.h: brackets was omitted sql/item.cc: now only DEFAULT_ITEM sql/item.h: Item_default class deletion sql/sql_yacc.yy: changes in syntax for DEFAULT in UPDATE & SELECT sql/table.cc: default_values member removed sql/table.h: member changed with inline function
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h
index 75f16797050..dedad37f6c6 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -54,7 +54,6 @@ struct st_table {
Field_blob **blob_field; /* Pointer to blob fields */
HASH name_hash; /* hash of field names */
byte *record[3]; /* Pointer to records */
- byte *default_values;
uint fields; /* field count */
uint reclength; /* Recordlength */
uint rec_buff_length;
@@ -137,6 +136,7 @@ struct st_table {
uint derived_select_number;
THD *in_use; /* Which thread uses this */
struct st_table *next,*prev;
+ byte *default_values() { return record[2]; }
};