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
9ed4d067
Commit
9ed4d067
authored
5 years ago
by
Eugene Kosov
Browse files
Options
Browse Files
Download
Plain Diff
Merge 5.5 into 10.1
parents
2cc360bd
84088d94
Branches unavailable
Tags unavailable
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
client/mysql.cc
client/mysql.cc
+11
-2
storage/innobase/.clang-format
storage/innobase/.clang-format
+11
-0
No files found.
client/mysql.cc
View file @
9ed4d067
...
...
@@ -1401,12 +1401,21 @@ sig_handler handle_sigint(int sig)
char
kill_buffer
[
40
];
MYSQL
*
kill_mysql
=
NULL
;
/*
terminate if no query being executed, or we already tried interrupting
*/
if
(
!
executing_query
||
(
interrupted_query
==
2
)
)
/*
Terminate if we already tried interrupting.
*/
if
(
interrupted_query
==
2
)
{
tee_fprintf
(
stdout
,
"Ctrl-C -- exit!
\n
"
);
goto
err
;
}
/* If no query being executed, don't exit. */
if
(
!
executing_query
)
{
tee_fprintf
(
stdout
,
"Ctrl-C
\n
"
);
rl_on_new_line
();
// Regenerate the prompt on a newline
rl_replace_line
(
""
,
0
);
// Clear the previous text
rl_redisplay
();
return
;
}
kill_mysql
=
mysql_init
(
kill_mysql
);
if
(
!
do_connect
(
kill_mysql
,
current_host
,
current_user
,
opt_password
,
""
,
0
))
...
...
This diff is collapsed.
Click to expand it.
storage/innobase/.clang-format
0 → 100644
View file @
9ed4d067
UseTab: Always
TabWidth: 8
IndentWidth: 8
ContinuationIndentWidth: 8
BreakBeforeBinaryOperators: All
PointerAlignment: Left
BreakBeforeBraces: Custom
ColumnLimit: 79
BraceWrapping:
AfterFunction: true
AccessModifierOffset: -8
This diff is collapsed.
Click to expand it.
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