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
d1609043
Commit
d1609043
authored
Apr 23, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set_var.cc:
We don't need this code any more. It was used to initialize CONVERT structure in 4.0.
parent
6d5f527a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
sql/set_var.cc
sql/set_var.cc
+0
-6
No files found.
sql/set_var.cc
View file @
d1609043
...
@@ -1215,11 +1215,7 @@ bool sys_var_collation_client::update(THD *thd, set_var *var)
...
@@ -1215,11 +1215,7 @@ bool sys_var_collation_client::update(THD *thd, set_var *var)
if
(
var
->
type
==
OPT_GLOBAL
)
if
(
var
->
type
==
OPT_GLOBAL
)
global_system_variables
.
collation_client
=
var
->
save_result
.
charset
;
global_system_variables
.
collation_client
=
var
->
save_result
.
charset
;
else
else
{
thd
->
variables
.
collation_client
=
var
->
save_result
.
charset
;
thd
->
variables
.
collation_client
=
var
->
save_result
.
charset
;
thd
->
protocol_simple
.
init
(
thd
);
thd
->
protocol_prep
.
init
(
thd
);
}
return
0
;
return
0
;
}
}
...
@@ -1236,9 +1232,7 @@ void sys_var_collation_client::set_default(THD *thd, enum_var_type type)
...
@@ -1236,9 +1232,7 @@ void sys_var_collation_client::set_default(THD *thd, enum_var_type type)
if
(
type
==
OPT_GLOBAL
)
if
(
type
==
OPT_GLOBAL
)
global_system_variables
.
collation_client
=
default_charset_info
;
global_system_variables
.
collation_client
=
default_charset_info
;
else
else
{
thd
->
variables
.
collation_client
=
global_system_variables
.
collation_client
;
thd
->
variables
.
collation_client
=
global_system_variables
.
collation_client
;
}
}
}
...
...
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