summaryrefslogtreecommitdiff
path: root/sql/unireg.cc
diff options
context:
space:
mode:
authorunknown <monty@mishka.mysql.fi>2005-09-14 03:18:05 +0300
committerunknown <monty@mishka.mysql.fi>2005-09-14 03:18:05 +0300
commit5be482f15fd316199fbb46a8690b49b1667975e9 (patch)
tree88a12931d94ff919efc20602c27f0d6f6a48aa83 /sql/unireg.cc
parenta1d03c13ff339fd2cc2eb51853b7882c239a40aa (diff)
parent1c1419dddfd6967d9e151bdc60a7295fff20816f (diff)
downloadmariadb-git-5be482f15fd316199fbb46a8690b49b1667975e9.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mishka.mysql.fi:/home/my/mysql-5.0 sql/unireg.cc: Auto merged
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r--sql/unireg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc
index 18905c5368d..1ac8be0f49a 100644
--- a/sql/unireg.cc
+++ b/sql/unireg.cc
@@ -763,7 +763,7 @@ static bool make_empty_rec(THD *thd, File file,enum db_type table_type,
(field->flags & NOT_NULL_FLAG))
{
regfield->set_notnull();
- regfield->store((longlong) 1);
+ regfield->store((longlong) 1, TRUE);
}
else if (type == Field::YES) // Old unireg type
regfield->store(ER(ER_YES),(uint) strlen(ER(ER_YES)),system_charset_info);