Commit f23ab5ee authored by Tor Didriksen's avatar Tor Didriksen

Bug 12608543 - CRASHES WITH DECIMALS AND STATEMENT NEEDS TO BE REPREPARED ERRORS

sql/my_decimal.h:
  Implement proper swap() function.
parent 6e458fbd
...@@ -144,8 +144,6 @@ public: ...@@ -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);
} }
}; };
......
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