summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authoriggy@recycle.(none) <>2007-01-18 11:38:05 -0500
committeriggy@recycle.(none) <>2007-01-18 11:38:05 -0500
commitef5f757ac282528c0abc1a93df888e4c1350c467 (patch)
tree170d3d0ca24a93b60706c40ee189187211eb74f7 /include/my_sys.h
parent8a746fc0d27eabd98a6f7d7df7dcaa33c563ee86 (diff)
downloadmariadb-git-ef5f757ac282528c0abc1a93df888e4c1350c467.tar.gz
Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces
- Create space safe strings for system() calls in mysql_upgrade.exe
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index d19091a85e8..cbcc6cf7486 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -781,6 +781,8 @@ extern my_bool init_dynamic_string(DYNAMIC_STRING *str, const char *init_str,
extern my_bool dynstr_append(DYNAMIC_STRING *str, const char *append);
my_bool dynstr_append_mem(DYNAMIC_STRING *str, const char *append,
uint length);
+extern my_bool dynstr_append_os_quoted(DYNAMIC_STRING *str, const char *append,
+ ...);
extern my_bool dynstr_set(DYNAMIC_STRING *str, const char *init_str);
extern my_bool dynstr_realloc(DYNAMIC_STRING *str, ulong additional_size);
extern void dynstr_free(DYNAMIC_STRING *str);