Commit 8a96640e authored by Sergey Glukhov's avatar Sergey Glukhov

fixed compiler warning

parent e32e9cdc
......@@ -695,7 +695,7 @@ class Item_func_quote :public Item_str_func
void fix_length_and_dec()
{
ulonglong max_result_length= (ulonglong) args[0]->max_length * 2 + 2;
max_length= min(max_result_length, MAX_BLOB_WIDTH);
max_length= (uint32) min(max_result_length, MAX_BLOB_WIDTH);
collation.set(args[0]->collation);
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment