summaryrefslogtreecommitdiff
path: root/sql/my_decimal.h
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2011-06-10 17:37:05 +0200
committerTor Didriksen <tor.didriksen@oracle.com>2011-06-10 17:37:05 +0200
commitf23ab5ee1ab862563b9e4389c640c32bf39c6430 (patch)
tree0d86f4c65c5b981326411e6c47acb49526f9b1e4 /sql/my_decimal.h
parent6e458fbdea39639827b4d8a7e506df0e5864a6c8 (diff)
downloadmariadb-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.h2
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);
}
};