mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 00:35:32 +02:00
Fix for bug#1944 'Function RPad() sometimes produce unexpected result'
This commit is contained in:
parent
d8e425c240
commit
c2b60a6f59
4 changed files with 20 additions and 12 deletions
|
|
@ -436,7 +436,7 @@ public:
|
|||
|
||||
class Item_func_rpad :public Item_str_func
|
||||
{
|
||||
String tmp_value;
|
||||
String tmp_value, rpad_str;
|
||||
public:
|
||||
Item_func_rpad(Item *arg1,Item *arg2,Item *arg3)
|
||||
:Item_str_func(arg1,arg2,arg3) {}
|
||||
|
|
@ -449,7 +449,7 @@ public:
|
|||
|
||||
class Item_func_lpad :public Item_str_func
|
||||
{
|
||||
String tmp_value;
|
||||
String tmp_value, lpad_str;
|
||||
public:
|
||||
Item_func_lpad(Item *arg1,Item *arg2,Item *arg3)
|
||||
:Item_str_func(arg1,arg2,arg3) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue