Loading sql/item_strfunc.cc +3 −0 Original line number Diff line number Diff line Loading @@ -2176,6 +2176,9 @@ void Item_func_lpad::fix_length_and_dec() { ulonglong length= ((ulonglong) args[1]->val_int() * collation.collation->mbmaxlen); /*a comment before (merged) */ length= max((ulonglong)args[0]->max_length, length); /*a comment after */ if (length >= MAX_BLOB_WIDTH) { length= MAX_BLOB_WIDTH; Loading Loading
sql/item_strfunc.cc +3 −0 Original line number Diff line number Diff line Loading @@ -2176,6 +2176,9 @@ void Item_func_lpad::fix_length_and_dec() { ulonglong length= ((ulonglong) args[1]->val_int() * collation.collation->mbmaxlen); /*a comment before (merged) */ length= max((ulonglong)args[0]->max_length, length); /*a comment after */ if (length >= MAX_BLOB_WIDTH) { length= MAX_BLOB_WIDTH; Loading