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
8f86a0d3
Commit
8f86a0d3
authored
Mar 21, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_yacc.yy:
Reduce/reduce conflict fix.
parent
45329852
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/sql_yacc.yy
sql/sql_yacc.yy
+4
-4
No files found.
sql/sql_yacc.yy
View file @
8f86a0d3
...
...
@@ -4339,18 +4339,18 @@ option_value:
find_sys_var("tx_isolation"),
new Item_int((int32) $4)));
}
| charset
opt_equal
set_expr_or_default
| charset set_expr_or_default
{
THD *thd= YYTHD;
LEX *lex= &thd->lex;
if (!$
3
)
if (!$
2
)
{
CHARSET_INFO *cl= thd->db_charset;
$
3
= new Item_string(cl->name, strlen(cl->name), &my_charset_latin1);
$
2
= new Item_string(cl->name, strlen(cl->name), &my_charset_latin1);
}
lex->var_list.push_back(new set_var(lex->option_type,
find_sys_var("client_collation"),
$
3
));
$
2
));
}
| NAMES_SYM charset_name_or_default opt_collate
{
...
...
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