summaryrefslogtreecommitdiff
path: root/sql/field.cc
diff options
context:
space:
mode:
authorunknown <lars/lthalmann@dl145h.mysql.com>2007-09-17 12:38:22 +0200
committerunknown <lars/lthalmann@dl145h.mysql.com>2007-09-17 12:38:22 +0200
commitcbcc5bb60354a8436c1d23e560c20d660877d8f2 (patch)
tree27d7a9a4f32afbf68deb65143071769a79487261 /sql/field.cc
parent36906fb724c0df18a91f384c634e422b45be0c12 (diff)
parent9f8b990b31a0dd323e43c78bd30b910695b31f87 (diff)
downloadmariadb-git-cbcc5bb60354a8436c1d23e560c20d660877d8f2.tar.gz
Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl
into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge sql/field.cc: Auto merged sql/log_event.cc: Auto merged sql/rpl_utility.cc: Auto merged sql/rpl_utility.h: Auto merged sql/slave.cc: Auto merged sql/sql_insert.cc: Auto merged sql/sql_update.cc: Auto merged
Diffstat (limited to 'sql/field.cc')
-rw-r--r--sql/field.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.cc b/sql/field.cc
index fa93454c757..052f1cdf6d2 100644
--- a/sql/field.cc
+++ b/sql/field.cc
@@ -6732,6 +6732,7 @@ const uint Field_varstring::MAX_SIZE= UINT_MAX16;
int Field_varstring::do_save_field_metadata(uchar *metadata_ptr)
{
char *ptr= (char *)metadata_ptr;
+ DBUG_ASSERT(field_length <= 65535);
int2store(ptr, field_length);
return 2;
}