From 269ab365aa0effeda19e1e0e12fb87a9fdae4f50 Mon Sep 17 00:00:00 2001
From: "msvensson@neptunus.(none)" <>
Date: Thu, 23 Feb 2006 14:06:29 +0100
Subject: [PATCH] Aix52 build fix

---
 client/mysqldump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/mysqldump.c b/client/mysqldump.c
index 815a283286..aa6e6f649e 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -3238,10 +3238,10 @@ static int replace(DYNAMIC_STRING *ds_str,
                    const char *search_str, ulong search_len,
                    const char *replace_str, ulong replace_len)
 {
+  DYNAMIC_STRING ds_tmp;
   const char *start= strstr(ds_str->str, search_str);
   if (!start)
     return 1;
-  DYNAMIC_STRING ds_tmp;
   init_dynamic_string(&ds_tmp, "",
 		      ds_str->length + replace_len, 256);
   dynstr_append_mem(&ds_tmp, ds_str->str, start - ds_str->str);
-- 
2.30.9