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
f187ed9e
Commit
f187ed9e
authored
Mar 20, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NCHAR(n) and NATIONAL CHARACTER(n) is now synonim for CHARACTER(n) CHARACTER SET utf8
parent
77fb60e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
sql/sql_yacc.yy
sql/sql_yacc.yy
+13
-3
No files found.
sql/sql_yacc.yy
View file @
f187ed9e
...
@@ -664,7 +664,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
...
@@ -664,7 +664,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
when_list2 expr_list2 handler
when_list2 expr_list2 handler
opt_precision opt_ignore opt_column opt_restrict
opt_precision opt_ignore opt_column opt_restrict
grant revoke set lock unlock string_list field_options field_option
grant revoke set lock unlock string_list field_options field_option
field_opt_list opt_binary table_lock_list table_lock varchar
field_opt_list opt_binary table_lock_list table_lock varchar
nchar
ref_list opt_on_delete opt_on_delete_list opt_on_delete_item use
ref_list opt_on_delete opt_on_delete_list opt_on_delete_item use
opt_delete_options opt_delete_option
opt_delete_options opt_delete_option
opt_outer table_list table_name opt_option opt_place
opt_outer table_list table_name opt_option opt_place
...
@@ -1130,6 +1130,12 @@ type:
...
@@ -1130,6 +1130,12 @@ type:
$$=FIELD_TYPE_STRING; }
$$=FIELD_TYPE_STRING; }
| char opt_binary { Lex->length=(char*) "1";
| char opt_binary { Lex->length=(char*) "1";
$$=FIELD_TYPE_STRING; }
$$=FIELD_TYPE_STRING; }
| nchar '(' NUM ')' { Lex->length=$3.str;
$$=FIELD_TYPE_STRING;
Lex->charset=&my_charset_utf8; }
| nchar { Lex->length=(char*) "1";
$$=FIELD_TYPE_STRING;
Lex->charset=&my_charset_utf8; }
| BINARY '(' NUM ')' { Lex->length=$3.str;
| BINARY '(' NUM ')' { Lex->length=$3.str;
Lex->charset=&my_charset_bin;
Lex->charset=&my_charset_bin;
$$=FIELD_TYPE_STRING; }
$$=FIELD_TYPE_STRING; }
...
@@ -1211,8 +1217,12 @@ type:
...
@@ -1211,8 +1217,12 @@ type:
char:
char:
CHAR_SYM {}
CHAR_SYM {}
| NCHAR_SYM {}
;
| NATIONAL_SYM CHAR_SYM {};
nchar:
NCHAR_SYM {}
| NATIONAL_SYM CHAR_SYM {}
;
varchar:
varchar:
char VARYING {}
char VARYING {}
...
...
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