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
0f26f71b
Commit
0f26f71b
authored
Mar 27, 2018
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-15316 Assertion `(thd->lex)->var_list.is_empty()' failed in MYSQLparse
parent
902ace09
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
mysql-test/r/variables.result
mysql-test/r/variables.result
+5
-0
mysql-test/t/variables.test
mysql-test/t/variables.test
+7
-0
sql/sql_yacc.yy
sql/sql_yacc.yy
+0
-1
sql/sql_yacc_ora.yy
sql/sql_yacc_ora.yy
+0
-1
No files found.
mysql-test/r/variables.result
View file @
0f26f71b
...
...
@@ -1821,3 +1821,8 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
Warnings:
Note 1003 select @@FOObar.KEY_BUFfer_size AS "@@FOObar.KEY_BUFfer_size" from DUAL where rand() > @@fooBAR.key_buffer_size
#
# MDEV-15316 Assertion `(thd->lex)->var_list.is_empty()' failed in MYSQLparse
#
SET GLOBAL mc.key_cache_age_threshold=100, mc.key_cache_block_size=1024;
SET GLOBAL mc.key_buffer_size= 0 /*cleanup*/;
mysql-test/t/variables.test
View file @
0f26f71b
...
...
@@ -1540,3 +1540,10 @@ explain extended select @@VERsion from dual where rand() > @@verSION;
explain
extended
select
@@
SESsion
.
SQL_mode
from
dual
where
rand
()
>
@@
sesSION
.
sql_MODE
;
explain
extended
select
@@
GLObal
.
COLLATION_connection
from
dual
where
rand
()
>
@@
gloBAL
.
collation_CONNECTION
;
explain
extended
select
@@
FOObar
.
KEY_BUFfer_size
from
dual
where
rand
()
>
@@
fooBAR
.
key_bufFER_SIZE
;
--
echo
#
--
echo
# MDEV-15316 Assertion `(thd->lex)->var_list.is_empty()' failed in MYSQLparse
--
echo
#
SET
GLOBAL
mc
.
key_cache_age_threshold
=
100
,
mc
.
key_cache_block_size
=
1024
;
SET
GLOBAL
mc
.
key_buffer_size
=
0
/*cleanup*/
;
sql/sql_yacc.yy
View file @
0f26f71b
...
...
@@ -15984,7 +15984,6 @@ option_value_no_option_type:
}
| ident '.' ident equal set_expr_or_default
{
DBUG_ASSERT(Lex->var_list.is_empty());
if (Lex->set_variable(&$1, &$3, $5))
MYSQL_YYABORT;
}
...
...
sql/sql_yacc_ora.yy
View file @
0f26f71b
...
...
@@ -15839,7 +15839,6 @@ option_value_no_option_type:
}
| ident '.' ident equal set_expr_or_default
{
DBUG_ASSERT(Lex->var_list.is_empty());
if (Lex->set_variable(&$1, &$3, $5))
MYSQL_YYABORT;
}
...
...
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