summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2003-12-14 08:12:07 -0500
committerunknown <monty@mysql.com>2003-12-14 08:12:07 -0500
commitc324fddc9cbeef8d56030b3c286b77c83914ff13 (patch)
tree0f5990bf9abb2973ecd5da83d8132c2fab612787 /myisam
parentafb07566181f3bca7f49f3ac5f7fc0deadccf0c7 (diff)
downloadmariadb-git-c324fddc9cbeef8d56030b3c286b77c83914ff13.tar.gz
Fixed bug in last push found by valgrind
myisam/mi_dbug.c: Added comment to warn about probabably unimportant valgrind warning sql/opt_range.cc: Fixed bug in last push (did not fill max string properly with end space) sql/sql_update.cc: Initalize not initialized variable
Diffstat (limited to 'myisam')
-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;