Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
26d5e2d8
Commit
26d5e2d8
authored
Feb 13, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#16557 mysql cmd-line client does not rename .mysql_history.TMP to .mysql_history
- Return error only if 'history' returns -1
parent
5000951a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cmd-line-utils/libedit/readline.c
cmd-line-utils/libedit/readline.c
+2
-2
No files found.
cmd-line-utils/libedit/readline.c
View file @
26d5e2d8
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment