summaryrefslogtreecommitdiff
path: root/readline/histexpand.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/histexpand.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/histexpand.c')
-rw-r--r--readline/histexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readline/histexpand.c b/readline/histexpand.c
index 392e6d38d9e..30c6131801d 100644
--- a/readline/histexpand.c
+++ b/readline/histexpand.c
@@ -200,7 +200,7 @@ get_history_event (string, caller_index, delimiting_quote)
}
/* Only a closing `?' or a newline delimit a substring search string. */
- for (local_index = i; c = string[i]; i++)
+ for (local_index = i; (c = string[i]); i++)
if ((!substring_okay && (whitespace (c) || c == ':' ||
(history_search_delimiter_chars && member (c, history_search_delimiter_chars)) ||
string[i] == delimiting_quote)) ||