summaryrefslogtreecommitdiff
path: root/readline/tilde.c
diff options
context:
space:
mode:
authormonty@tramp.mysql.fi <>2000-10-03 14:18:03 +0300
committermonty@tramp.mysql.fi <>2000-10-03 14:18:03 +0300
commit9f7c4563f78f74999efd94768ec483d8c24c3761 (patch)
treec02cc6a9c6585038615c596332aae70354b44aac /readline/tilde.c
parent69a249c054b3c1dd4c1aadeb735291ea63862c98 (diff)
downloadmariadb-git-9f7c4563f78f74999efd94768ec483d8c24c3761.tar.gz
First part of automatic repair of MyISAM tables.
Error on full disk on repair. SIGHUP signal handling. Update with keys on timestamp Portability fixes
Diffstat (limited to 'readline/tilde.c')
-rw-r--r--readline/tilde.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readline/tilde.c b/readline/tilde.c
index d1853bd63d6..65a1e2f3902 100644
--- a/readline/tilde.c
+++ b/readline/tilde.c
@@ -182,7 +182,7 @@ tilde_expand (string)
int result_size, result_index;
result_index = result_size = 0;
- if (result = strchr (string, '~'))
+ if ((result = strchr (string, '~')))
result = xmalloc (result_size = (strlen (string) + 16));
else
result = xmalloc (result_size = (strlen (string) + 1));