summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@macbook.gmz>2008-01-08 11:49:40 +0200
committerunknown <gkodinov/kgeorge@macbook.gmz>2008-01-08 11:49:40 +0200
commitc82a7b94971dd6d49f4a80fe7a7cc304a42d2cd7 (patch)
tree4c0c8dc98c9c309b1ccd62950e7da4703764630e /sql/field.h
parentbaf5c2c132f498df72c5c8196d591481e03b9fee (diff)
parent2ae4b047a3d9c4236ebd157ef8ee4bf084d4629b (diff)
downloadmariadb-git-c82a7b94971dd6d49f4a80fe7a7cc304a42d2cd7.tar.gz
Merge macbook.gmz:/Users/kgeorge/mysql/work/B33256-5.0-opt
into macbook.gmz:/Users/kgeorge/mysql/work/B33256-5.1-opt mysql-test/r/union.result: Auto merged sql/field.cc: Auto merged sql/sql_select.cc: Auto merged mysql-test/r/type_decimal.result: merge of bug 33256 5.0-opt -> 5.1-opt mysql-test/t/union.test: merge of bug 33256 5.0-opt -> 5.1-opt sql/field.h: merge of bug 33256 5.0-opt -> 5.1-opt sql/item.cc: merge of bug 33256 5.0-opt -> 5.1-opt sql/item_sum.cc: merge of bug 33256 5.0-opt -> 5.1-opt sql/item_timefunc.cc: merge of bug 33256 5.0-opt -> 5.1-opt sql/item_timefunc.h: merge of bug 33256 5.0-opt -> 5.1-opt
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index dc4f1b13cb5..365072a4eec 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -1269,6 +1269,10 @@ public:
:Field_str(ptr_arg, 10, null_ptr_arg, null_bit_arg,
unireg_check_arg, field_name_arg, cs)
{}
+ Field_newdate(bool maybe_null_arg, const char *field_name_arg,
+ struct st_table *table_arg, CHARSET_INFO *cs)
+ :Field_str((char*) 0,10, maybe_null_arg ? (uchar*) "": 0,0,
+ NONE, field_name_arg, table_arg, cs) {}
enum_field_types type() const { return MYSQL_TYPE_DATE;}
enum_field_types real_type() const { return MYSQL_TYPE_NEWDATE; }
enum ha_base_keytype key_type() const { return HA_KEYTYPE_UINT24; }