1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix a valgrind warning in decimal.c:sanity()

This commit is contained in:
konstantin@mysql.com
2005-03-21 12:57:42 +03:00
parent df12e29955
commit 3e8045c662
2 changed files with 5 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public:
{
len= DECIMAL_BUFF_LENGTH;
buf= buffer;
#if !defined(DBUG_OFF)
#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;