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
30ff6164
Commit
30ff6164
authored
Sep 07, 2020
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-23680 Assertion `data' failed in crcr32_calc_pclmulqdq
Fix DBUG_ASSERT
parent
2cc9e456
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
mysql-test/main/func_math.result
mysql-test/main/func_math.result
+6
-0
mysql-test/main/func_math.test
mysql-test/main/func_math.test
+5
-0
mysys/crc32/crc32_x86.c
mysys/crc32/crc32_x86.c
+1
-1
No files found.
mysql-test/main/func_math.result
View file @
30ff6164
...
...
@@ -3591,5 +3591,11 @@ t2 CREATE TABLE `t2` (
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t2, t1;
#
# MDEV-23680 Assertion `data' failed in crcr32_calc_pclmulqdq
#
SELECT CRC32(ExtractValue('<a><b/></a>', '/a/b')) AS f;
f
0
#
# End of 10.5 tests
#
mysql-test/main/func_math.test
View file @
30ff6164
...
...
@@ -1883,6 +1883,11 @@ CREATE TABLE t2 AS SELECT UUID_SHORT() - a FROM t1;
SHOW
CREATE
TABLE
t2
;
DROP
TABLE
t2
,
t1
;
--
echo
#
--
echo
# MDEV-23680 Assertion `data' failed in crcr32_calc_pclmulqdq
--
echo
#
SELECT
CRC32
(
ExtractValue
(
'<a><b/></a>'
,
'/a/b'
))
AS
f
;
--
echo
#
--
echo
# End of 10.5 tests
...
...
mysys/crc32/crc32_x86.c
View file @
30ff6164
...
...
@@ -219,7 +219,7 @@ static inline uint32_t crcr32_calc_pclmulqdq(const uint8_t *data, uint32_t data_
__m128i
temp
,
fold
,
k
;
uint32_t
n
;
DBUG_ASSERT
(
data
);
DBUG_ASSERT
(
data
!=
NULL
||
data_len
==
0
);
DBUG_ASSERT
(
params
);
if
(
unlikely
(
data_len
==
0
))
...
...
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