summaryrefslogtreecommitdiff
path: root/sql/debug_sync.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-10-04 12:53:02 +0300
committerGeorgi Kodinov <joro@sun.com>2009-10-04 12:53:02 +0300
commite86e52e50f5dd4da60367a3491fb520a13309062 (patch)
treebc44ebb415051c7ebc4464843bb4840bf174e2eb /sql/debug_sync.cc
parent68dde113fb746f10ba9c36f9bf1efcaa317c0d82 (diff)
downloadmariadb-git-e86e52e50f5dd4da60367a3491fb520a13309062.tar.gz
Fixed a valgrind error in debug_sync
Diffstat (limited to 'sql/debug_sync.cc')
-rw-r--r--sql/debug_sync.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/debug_sync.cc b/sql/debug_sync.cc
index 9e7141b775b..2580d526b52 100644
--- a/sql/debug_sync.cc
+++ b/sql/debug_sync.cc
@@ -1276,7 +1276,7 @@ static bool debug_sync_eval_action(THD *thd, char *action_str)
const char *errmsg;
char *ptr;
char *token;
- uint token_length;
+ uint token_length= 0;
DBUG_ENTER("debug_sync_eval_action");
DBUG_ASSERT(thd);
DBUG_ASSERT(action_str);