summaryrefslogtreecommitdiff
path: root/myisam/mi_dbug.c
diff options
context:
space:
mode:
authormonty@mysql.com <>2003-12-14 08:12:07 -0500
committermonty@mysql.com <>2003-12-14 08:12:07 -0500
commit427ce41c3c29edc5fa357bf342b369e0a0611b98 (patch)
tree0f5990bf9abb2973ecd5da83d8132c2fab612787 /myisam/mi_dbug.c
parentd47deebb58804e2323d3861d0cf4d68f5cfea04f (diff)
downloadmariadb-git-427ce41c3c29edc5fa357bf342b369e0a0611b98.tar.gz
Fixed bug in last push found by valgrind
Diffstat (limited to 'myisam/mi_dbug.c')
-rw-r--r--myisam/mi_dbug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/myisam/mi_dbug.c b/myisam/mi_dbug.c
index 482287938c0..fe5b36fd304 100644
--- a/myisam/mi_dbug.c
+++ b/myisam/mi_dbug.c
@@ -137,6 +137,10 @@ void _mi_print_key(FILE *stream, register MI_KEYSEG *keyseg,
{
uint tmp_length;
get_key_length(tmp_length,key);
+ /*
+ The following command sometimes gives a warning from valgrind.
+ Not yet sure if the bug is in valgrind, glibc or mysqld
+ */
VOID(fprintf(stream,"%.*s",(int) tmp_length,key));
key+=tmp_length;
break;