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
e183aec1
Commit
e183aec1
authored
Oct 27, 2020
by
Anel Husakovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-24018: SIGSEGV in Item_func_nextval::update_table on SELECT SETVAL
Reviewed-by: wlad@mariadb.com
parent
e64084d5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
mysql-test/suite/sql_sequence/next.result
mysql-test/suite/sql_sequence/next.result
+5
-0
mysql-test/suite/sql_sequence/next.test
mysql-test/suite/sql_sequence/next.test
+7
-0
No files found.
mysql-test/suite/sql_sequence/next.result
View file @
e183aec1
...
...
@@ -541,5 +541,10 @@ CREATE VIEW v AS SELECT 1;
LOCK TABLE v READ;
SELECT NEXT VALUE FOR v;
ERROR 42S02: 'test.v' is not a SEQUENCE
#
# MDEV-24018: SIGSEGV in Item_func_nextval::update_table on SELECT SETVAL
#
SELECT SETVAL (v,0);
ERROR 42S02: 'test.v' is not a SEQUENCE
UNLOCK TABLES;
DROP VIEW v;
mysql-test/suite/sql_sequence/next.test
View file @
e183aec1
...
...
@@ -288,5 +288,12 @@ CREATE VIEW v AS SELECT 1;
LOCK
TABLE
v
READ
;
--
error
ER_NOT_SEQUENCE
SELECT
NEXT
VALUE
FOR
v
;
--
echo
#
--
echo
# MDEV-24018: SIGSEGV in Item_func_nextval::update_table on SELECT SETVAL
--
echo
#
--
error
ER_NOT_SEQUENCE
SELECT
SETVAL
(
v
,
0
);
UNLOCK
TABLES
;
DROP
VIEW
v
;
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