Commit 947065dd authored by konstantin@mysql.com's avatar konstantin@mysql.com

Clean up the warning inside sanity():decimal.c in valgrind-max builds.

parent 8ed6b8f8
...@@ -85,7 +85,7 @@ public: ...@@ -85,7 +85,7 @@ public:
{ {
len= DECIMAL_BUFF_LENGTH; len= DECIMAL_BUFF_LENGTH;
buf= buffer; buf= buffer;
#if !defined(HAVE_purify) && !defined(DBUG_OFF) #if !defined(DBUG_OFF)
/* Set buffer to 'random' value to find wrong buffer usage */ /* Set buffer to 'random' value to find wrong buffer usage */
for (uint i= 0; i < DECIMAL_BUFF_LENGTH; i++) for (uint i= 0; i < DECIMAL_BUFF_LENGTH; i++)
buffer[i]= i; buffer[i]= i;
......
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