Skip to content
Permalink
Browse files

Fixing `MDEV-20303 SPACE(-1) returns a wrong data type` compilation p…

…roblem in Windows
  • Loading branch information...
abarkov committed Aug 13, 2019
1 parent 98b24da commit 20c78a6d3e209c20a08c4f9be546d8e3f1a7636d
Showing with 1 addition and 1 deletion.
  1. +1 −1 sql/item_strfunc.cc
@@ -3180,7 +3180,7 @@ bool Item_func_pad::fix_length_and_dec()
DBUG_ASSERT(collation.collation->mbmaxlen > 0);
if (args[1]->const_item() && !args[1]->is_expensive())
{
fix_char_length(Repeat_count(args[1]).count());
fix_char_length_ulonglong(Repeat_count(args[1]).count());
return false;
}
max_length= MAX_BLOB_WIDTH;

0 comments on commit 20c78a6

Please sign in to comment.
You can’t perform that action at this time.