diff options
author | monty@mysql.com <> | 2003-12-14 08:12:07 -0500 |
---|---|---|
committer | monty@mysql.com <> | 2003-12-14 08:12:07 -0500 |
commit | 427ce41c3c29edc5fa357bf342b369e0a0611b98 (patch) | |
tree | 0f5990bf9abb2973ecd5da83d8132c2fab612787 /myisam/mi_dbug.c | |
parent | d47deebb58804e2323d3861d0cf4d68f5cfea04f (diff) | |
download | mariadb-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.c | 4 |
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; |