summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay.choubey@oracle.com>2012-01-17 09:10:58 +0530
committerNirbhay Choubey <nirbhay.choubey@oracle.com>2012-01-17 09:10:58 +0530
commit429fdb3b09b24d8277b1f20fe03546a2eb7a71d5 (patch)
treefe3cafc841f6c1989cb1605f765edba845f7580a
parentd985ac1f38a496ef90742c5e4e800d6289937f49 (diff)
downloadmariadb-git-429fdb3b09b24d8277b1f20fe03546a2eb7a71d5.tar.gz
Bug #11760384 52792: MYSQLDUMP IN XML MODE DOES NOT
DUMP ROUTINES Minor post-fix to avoid build failure when built with Werror.
-rw-r--r--client/mysqldump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 27a593ff592..eff74e93152 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1877,7 +1877,7 @@ static void print_xml_row(FILE *xml_file, const char *row_name,
{
uint i;
my_bool body_found= 0;
- char *create_stmt_ptr;
+ char *create_stmt_ptr= NULL;
ulong create_stmt_len= 0;
MYSQL_FIELD *field;
ulong *lengths= mysql_fetch_lengths(tableRes);