summaryrefslogtreecommitdiff
path: root/sql/my_decimal.h
diff options
context:
space:
mode:
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);
}
};