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
b5d583ae
Commit
b5d583ae
authored
Dec 28, 2005
by
andrey@lmy004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL #1034 update
- enable/disable -> enabled/disabled - fixed error message
parent
b95f342f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
sql/lex.h
sql/lex.h
+2
-0
sql/share/errmsg.txt
sql/share/errmsg.txt
+2
-2
sql/sql_yacc.yy
sql/sql_yacc.yy
+6
-2
No files found.
sql/lex.h
View file @
b5d583ae
...
...
@@ -165,6 +165,7 @@ static SYMBOL symbols[] = {
{
"DETERMINISTIC"
,
SYM
(
DETERMINISTIC_SYM
)},
{
"DIRECTORY"
,
SYM
(
DIRECTORY_SYM
)},
{
"DISABLE"
,
SYM
(
DISABLE_SYM
)},
{
"DISABLED"
,
SYM
(
DISABLED_SYM
)},
{
"DISCARD"
,
SYM
(
DISCARD
)},
{
"DISTINCT"
,
SYM
(
DISTINCT
)},
{
"DISTINCTROW"
,
SYM
(
DISTINCT
)},
/* Access likes this */
...
...
@@ -180,6 +181,7 @@ static SYMBOL symbols[] = {
{
"ELSE"
,
SYM
(
ELSE
)},
{
"ELSEIF"
,
SYM
(
ELSEIF_SYM
)},
{
"ENABLE"
,
SYM
(
ENABLE_SYM
)},
{
"ENABLED"
,
SYM
(
ENABLED_SYM
)},
{
"ENCLOSED"
,
SYM
(
ENCLOSED
)},
{
"END"
,
SYM
(
END
)},
{
"ENDS"
,
SYM
(
ENDS_SYM
)},
...
...
sql/share/errmsg.txt
View file @
b5d583ae
...
...
@@ -5726,9 +5726,9 @@ ER_EVENT_ALREADY_EXISTS
ER_EVENT_STORE_FAILED
eng "Failed to store event %s. Error code %d from storage engine."
ER_EVENT_DOES_NOT_EXIST
eng "Unknown event '%s'"
eng "Unknown event '%
-.64
s'"
ER_EVENT_CANT_ALTER
eng "Failed to alter event
%s
"
eng "Failed to alter event
'%-.64s'
"
ER_EVENT_DROP_FAILED
eng "Failed to drop %s"
ER_EVENT_INTERVAL_NOT_POSITIVE
...
...
sql/sql_yacc.yy
View file @
b5d583ae
...
...
@@ -240,6 +240,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, ulong *yystacksize);
%token DETERMINISTIC_SYM
%token DIRECTORY_SYM
%token DISABLE_SYM
%token DISABLED_SYM
%token DISCARD
%token DISTINCT
%token DIV_SYM
...
...
@@ -254,6 +255,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, ulong *yystacksize);
%token ELSEIF_SYM
%token ELT_FUNC
%token ENABLE_SYM
%token ENABLED_SYM
%token ENCLOSED
%token ENCODE_SYM
%token ENCRYPT
...
...
@@ -1410,13 +1412,13 @@ ev_schedule_time: EVERY_SYM expr interval
;
ev_status: /* empty */
| ENABLE_SYM
| ENABLE
D
_SYM
{
LEX *lex=Lex;
if (!lex->et_compile_phase)
lex->et->status= MYSQL_EVENT_ENABLED;
}
| DISABLE_SYM
| DISABLE
D
_SYM
{
LEX *lex=Lex;
...
...
@@ -8592,6 +8594,7 @@ keyword_sp:
| DELAY_KEY_WRITE_SYM {}
| DES_KEY_FILE {}
| DIRECTORY_SYM {}
| DISABLED_SYM {}
| DISCARD {}
| DUMPFILE {}
| DUPLICATE_SYM {}
...
...
@@ -8611,6 +8614,7 @@ keyword_sp:
| FOUND_SYM {}
| DISABLE_SYM {}
| ENABLE_SYM {}
| ENABLED_SYM {}
| FULL {}
| FILE_SYM {}
| FIRST_SYM {}
...
...
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