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
e9e71445
Commit
e9e71445
authored
Sep 13, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indentation cleanup
parent
00d5f66a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
sql/sql_parse.cc
sql/sql_parse.cc
+21
-21
No files found.
sql/sql_parse.cc
View file @
e9e71445
...
@@ -3518,29 +3518,29 @@ purposes internal to the MySQL server", MYF(0));
...
@@ -3518,29 +3518,29 @@ purposes internal to the MySQL server", MYF(0));
}
}
thd
->
proc_info
=
"query end"
;
// QQ
thd
->
proc_info
=
"query end"
;
// QQ
if
(
thd
->
one_shot_set
)
if
(
thd
->
one_shot_set
)
{
/*
If this is a SET, do nothing. This is to allow mysqlbinlog to print
many SET commands (in this case we want the charset temp setting to
live until the real query). This is also needed so that SET
CHARACTER_SET_CLIENT... does not cancel itself immediately.
*/
if
(
lex
->
sql_command
!=
SQLCOM_SET_OPTION
)
{
{
/*
thd
->
variables
.
character_set_client
=
If this is a SET, do nothing. This is to allow mysqlbinlog to print
global_system_variables
.
character_set_client
;
many SET commands (in this case we want the charset temp setting to
thd
->
variables
.
collation_connection
=
live until the real query). This is also needed so that SET
global_system_variables
.
collation_connection
;
CHARACTER_SET_CLIENT... does not cancel itself immediately.
thd
->
variables
.
collation_database
=
*/
global_system_variables
.
collation_database
;
if
(
lex
->
sql_command
!=
SQLCOM_SET_OPTION
)
thd
->
variables
.
collation_server
=
{
global_system_variables
.
collation_server
;
thd
->
variables
.
character_set_client
=
thd
->
update_charset
();
global_system_variables
.
character_set_client
;
thd
->
variables
.
time_zone
=
thd
->
variables
.
collation_connection
=
global_system_variables
.
time_zone
;
global_system_variables
.
collation_connection
;
thd
->
one_shot_set
=
0
;
thd
->
variables
.
collation_database
=
global_system_variables
.
collation_database
;
thd
->
variables
.
collation_server
=
global_system_variables
.
collation_server
;
thd
->
update_charset
();
thd
->
variables
.
time_zone
=
global_system_variables
.
time_zone
;
thd
->
one_shot_set
=
0
;
}
}
}
}
if
(
res
<
0
)
if
(
res
<
0
)
send_error
(
thd
,
thd
->
killed
?
ER_SERVER_SHUTDOWN
:
0
);
send_error
(
thd
,
thd
->
killed
?
ER_SERVER_SHUTDOWN
:
0
);
...
...
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