summaryrefslogtreecommitdiff
path: root/storage/tokudb
diff options
context:
space:
mode:
authorRich Prohaska <prohaska@tokutek.com>2014-11-21 07:13:07 -0500
committerRich Prohaska <prohaska@tokutek.com>2014-11-21 07:13:07 -0500
commite64b62117982911695fa3aabd80e4b7cee094f28 (patch)
treed184c3e41f8388d132d24083e44dfdc63cb5c98d /storage/tokudb
parent3f3e058f5ae454c2fa01e749c61389a96331cedf (diff)
downloadmariadb-git-e64b62117982911695fa3aabd80e4b7cee094f28.tar.gz
DB-771 fix incorrect assert in update callback for varchar expansion
Diffstat (limited to 'storage/tokudb')
-rw-r--r--storage/tokudb/tokudb_update_fun.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/tokudb/tokudb_update_fun.cc b/storage/tokudb/tokudb_update_fun.cc
index 3ab7510121a..9754dc989a2 100644
--- a/storage/tokudb/tokudb_update_fun.cc
+++ b/storage/tokudb/tokudb_update_fun.cc
@@ -851,7 +851,7 @@ static int tokudb_expand_variable_offsets(
DBT new_val; memset(&new_val, 0, sizeof new_val);
if (old_val != NULL) {
- assert(offset_start + number_of_offsets < old_val->size);
+ assert(offset_start + number_of_offsets <= old_val->size);
// compute the new val from the old val
uchar *old_val_ptr = (uchar *)old_val->data;