summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-02-21 08:58:19 +0100
committermsvensson@neptunus.(none) <>2006-02-21 08:58:19 +0100
commit7786d075e7d600ca678435ee6b92b8d32fc83173 (patch)
tree3fd25e3f155500df5105126f18a2411e9a281787 /cmd-line-utils
parent3764d3dab1046ee07e287f89211c648f8fc9ecc0 (diff)
parent26d5e2d83239f956302ae16c2703df3327022ad6 (diff)
downloadmariadb-git-7786d075e7d600ca678435ee6b92b8d32fc83173.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/bug16557/my50-bug16557
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
Diffstat (limited to 'cmd-line-utils')
-rw-r--r--cmd-line-utils/libedit/readline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-line-utils/libedit/readline.c b/cmd-line-utils/libedit/readline.c
index 616b55a877e..8c09a6f39d5 100644
--- a/cmd-line-utils/libedit/readline.c
+++ b/cmd-line-utils/libedit/readline.c
@@ -1109,7 +1109,7 @@ read_history(const char *filename)
if (h == NULL || e == NULL)
rl_initialize();
- return (history(h, &ev, H_LOAD, filename));
+ return (history(h, &ev, H_LOAD, filename) == -1);
}
@@ -1123,7 +1123,7 @@ write_history(const char *filename)
if (h == NULL || e == NULL)
rl_initialize();
- return (history(h, &ev, H_SAVE, filename));
+ return (history(h, &ev, H_SAVE, filename) == -1);
}