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
da4479ef
Commit
da4479ef
authored
Oct 26, 2021
by
Alexander Barkov
Committed by
Sergei Golubchik
Oct 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-26732 Assertion `0' failed in Item::val_native
add a test case
parent
6bf5a3be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
plugin/type_uuid/mysql-test/type_uuid/type_uuid.result
plugin/type_uuid/mysql-test/type_uuid/type_uuid.result
+8
-0
plugin/type_uuid/mysql-test/type_uuid/type_uuid.test
plugin/type_uuid/mysql-test/type_uuid/type_uuid.test
+6
-0
No files found.
plugin/type_uuid/mysql-test/type_uuid/type_uuid.result
View file @
da4479ef
...
@@ -3144,3 +3144,11 @@ INSERT INTO t1 VALUES ('00----000000000000000000000000000024');
...
@@ -3144,3 +3144,11 @@ INSERT INTO t1 VALUES ('00----000000000000000000000000000024');
INSERT INTO t1 VALUES ('5796dac11a1c11--------------ecab4ef859-713e4be4');
INSERT INTO t1 VALUES ('5796dac11a1c11--------------ecab4ef859-713e4be4');
INSERT INTO t1 VALUES ('5796dac11a1c11---------------ecab4ef859-713e4be4');
INSERT INTO t1 VALUES ('5796dac11a1c11---------------ecab4ef859-713e4be4');
DROP TABLE t1;
DROP TABLE t1;
#
# MDEV-26732 Assertion `0' failed in Item::val_native
#
SELECT uuid() AS f, var_pop('x') FROM dual HAVING f > '';
f var_pop('x')
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: 'x'
Warning 1292 Incorrect uuid value: ''
plugin/type_uuid/mysql-test/type_uuid/type_uuid.test
View file @
da4479ef
...
@@ -1646,3 +1646,9 @@ INSERT INTO t1 VALUES ('00----000000000000000000000000000024');
...
@@ -1646,3 +1646,9 @@ INSERT INTO t1 VALUES ('00----000000000000000000000000000024');
INSERT
INTO
t1
VALUES
(
'5796dac11a1c11--------------ecab4ef859-713e4be4'
);
INSERT
INTO
t1
VALUES
(
'5796dac11a1c11--------------ecab4ef859-713e4be4'
);
INSERT
INTO
t1
VALUES
(
'5796dac11a1c11---------------ecab4ef859-713e4be4'
);
INSERT
INTO
t1
VALUES
(
'5796dac11a1c11---------------ecab4ef859-713e4be4'
);
DROP
TABLE
t1
;
DROP
TABLE
t1
;
--
echo
#
--
echo
# MDEV-26732 Assertion `0' failed in Item::val_native
--
echo
#
SELECT
uuid
()
AS
f
,
var_pop
(
'x'
)
FROM
dual
HAVING
f
>
''
;
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