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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
c444c4f5
Commit
c444c4f5
authored
Jun 07, 2010
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merge and typo fix
parents
f29d24b0
e1e3293d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
sql/sql_parse.cc
sql/sql_parse.cc
+5
-2
sql/sys_vars.cc
sql/sys_vars.cc
+2
-2
No files found.
sql/sql_parse.cc
View file @
c444c4f5
...
@@ -1353,8 +1353,11 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
...
@@ -1353,8 +1353,11 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
SHUTDOWN_DEFAULT is 0. If client is >= 4.1.3, the shutdown level is in
SHUTDOWN_DEFAULT is 0. If client is >= 4.1.3, the shutdown level is in
packet[0].
packet[0].
*/
*/
enum
mysql_enum_shutdown_level
level
=
enum
mysql_enum_shutdown_level
level
;
(
enum
mysql_enum_shutdown_level
)
(
uchar
)
packet
[
0
];
if
(
!
thd
->
is_valid_time
())
level
=
SHUTDOWN_DEFAULT
;
else
level
=
(
enum
mysql_enum_shutdown_level
)
(
uchar
)
packet
[
0
];
if
(
level
==
SHUTDOWN_DEFAULT
)
if
(
level
==
SHUTDOWN_DEFAULT
)
level
=
SHUTDOWN_WAIT_ALL_BUFFERS
;
// soon default will be configurable
level
=
SHUTDOWN_WAIT_ALL_BUFFERS
;
// soon default will be configurable
else
if
(
level
!=
SHUTDOWN_WAIT_ALL_BUFFERS
)
else
if
(
level
!=
SHUTDOWN_WAIT_ALL_BUFFERS
)
...
...
sql/sys_vars.cc
View file @
c444c4f5
...
@@ -2405,8 +2405,8 @@ static Sys_var_session_special Sys_timestamp(
...
@@ -2405,8 +2405,8 @@ static Sys_var_session_special Sys_timestamp(
"timestamp"
,
"Set the time for this client"
,
"timestamp"
,
"Set the time for this client"
,
sys_var
::
ONLY_SESSION
,
NO_CMD_LINE
,
sys_var
::
ONLY_SESSION
,
NO_CMD_LINE
,
VALID_RANGE
(
0
,
~
(
time_t
)
0
),
BLOCK_SIZE
(
1
),
VALID_RANGE
(
0
,
~
(
time_t
)
0
),
BLOCK_SIZE
(
1
),
NO_MUTEX_GUARD
,
IN_BINLOG
,
ON_CHECK
(
0
),
ON_UPDATE
(
update_timestamp
),
NO_MUTEX_GUARD
,
IN_BINLOG
,
ON_CHECK
(
check_timestamp
),
ON_READ
(
read_timestamp
));
ON_
UPDATE
(
update_timestamp
),
ON_
READ
(
read_timestamp
));
static
bool
update_last_insert_id
(
THD
*
thd
,
set_var
*
var
)
static
bool
update_last_insert_id
(
THD
*
thd
,
set_var
*
var
)
{
{
...
...
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