mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Bug 12608543 - CRASHES WITH DECIMALS AND STATEMENT NEEDS TO BE REPREPARED ERRORS
sql/my_decimal.h: Implement proper swap() function.
This commit is contained in:
parent
6e458fbdea
commit
f23ab5ee1a
1 changed files with 0 additions and 2 deletions
|
|
@ -144,8 +144,6 @@ public:
|
||||||
void swap(my_decimal &rhs)
|
void swap(my_decimal &rhs)
|
||||||
{
|
{
|
||||||
swap_variables(my_decimal, *this, rhs);
|
swap_variables(my_decimal, *this, rhs);
|
||||||
/* Swap the buffer pointers back */
|
|
||||||
swap_variables(decimal_digit_t *, buf, rhs.buf);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue