summaryrefslogtreecommitdiff
path: root/sql/my_decimal.h
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2011-08-29 11:34:48 +0200
committerTor Didriksen <tor.didriksen@oracle.com>2011-08-29 11:34:48 +0200
commit3a493ae70f83d7d8549f08c950fe4ce69369a14d (patch)
treee83e044e0ae095cd37726515b006e10283d1cc36 /sql/my_decimal.h
parent972aeb03742c025eb0b947ce5917ed21c24c9d7f (diff)
parentf610c5658748ae97a5e2c1e1afbd229f2121a082 (diff)
downloadmariadb-git-3a493ae70f83d7d8549f08c950fe4ce69369a14d.tar.gz
merge 5.1 => 5.5
Diffstat (limited to 'sql/my_decimal.h')
-rw-r--r--sql/my_decimal.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/my_decimal.h b/sql/my_decimal.h
index 10fe431f40e..548d5ea3a53 100644
--- a/sql/my_decimal.h
+++ b/sql/my_decimal.h
@@ -124,12 +124,8 @@ public:
{
len= DECIMAL_BUFF_LENGTH;
buf= buffer;
-#if !defined (HAVE_purify) && !defined(DBUG_OFF)
- /* Set buffer to 'random' value to find wrong buffer usage */
- for (uint i= 0; i < DECIMAL_BUFF_LENGTH; i++)
- buffer[i]= i;
-#endif
}
+
my_decimal()
{
init();