diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2011-06-10 17:37:05 +0200 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2011-06-10 17:37:05 +0200 |
commit | f23ab5ee1ab862563b9e4389c640c32bf39c6430 (patch) | |
tree | 0d86f4c65c5b981326411e6c47acb49526f9b1e4 /sql/my_decimal.h | |
parent | 6e458fbdea39639827b4d8a7e506df0e5864a6c8 (diff) | |
download | mariadb-git-f23ab5ee1ab862563b9e4389c640c32bf39c6430.tar.gz |
Bug 12608543 - CRASHES WITH DECIMALS AND STATEMENT NEEDS TO BE REPREPARED ERRORS
sql/my_decimal.h:
Implement proper swap() function.
Diffstat (limited to 'sql/my_decimal.h')
-rw-r--r-- | sql/my_decimal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/my_decimal.h b/sql/my_decimal.h index 6ac9d25b87d..10fe431f40e 100644 --- a/sql/my_decimal.h +++ b/sql/my_decimal.h @@ -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); } }; |