summaryrefslogtreecommitdiff
path: root/sql/sql_type_fixedbin.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_type_fixedbin.h')
-rw-r--r--sql/sql_type_fixedbin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_type_fixedbin.h b/sql/sql_type_fixedbin.h
index 236241f67b7..bf771f1a878 100644
--- a/sql/sql_type_fixedbin.h
+++ b/sql/sql_type_fixedbin.h
@@ -1589,8 +1589,9 @@ public:
if (!example)
return false;
value_cached= true;
- null_value= example->val_native_with_conversion_result(current_thd,
- &m_value, type_handler());
+ null_value_inside= null_value=
+ example->val_native_with_conversion_result(current_thd,
+ &m_value, type_handler());
return true;
}
String* val_str(String *to)