summaryrefslogtreecommitdiff
path: root/sql/item.cc
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/item.cc
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/item.cc')
-rw-r--r--sql/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc
index a8b17a5ca12..922c3b7a976 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -4467,7 +4467,7 @@ Field *Item::tmp_table_field_from_field_type(TABLE *table, bool fixed_length)
break;
case MYSQL_TYPE_NEWDATE:
case MYSQL_TYPE_DATE:
- field= new Field_date(maybe_null, name, &my_charset_bin);
+ field= new Field_newdate(maybe_null, name, &my_charset_bin);
break;
case MYSQL_TYPE_TIME:
field= new Field_time(maybe_null, name, &my_charset_bin);