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
commit97f0b6452d23e6dde0e9547fbf40a4e11d54485d (patch)
tree88a12931d94ff919efc20602c27f0d6f6a48aa83 /sql/unireg.cc
parent69b1940eefad9f9badbce78104a0fdc4780a05eb (diff)
parente338cf105f5eb980a1820c76d9f976ac7e7244b5 (diff)
downloadmariadb-git-97f0b6452d23e6dde0e9547fbf40a4e11d54485d.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);