1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03: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:
Tor Didriksen
2011-06-10 17:37:05 +02:00
parent 6e458fbdea
commit f23ab5ee1a

View File

@ -144,8 +144,6 @@ public:
void swap(my_decimal &rhs)
{
swap_variables(my_decimal, *this, rhs);
/* Swap the buffer pointers back */
swap_variables(decimal_digit_t *, buf, rhs.buf);
}
};