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
12661904
Commit
12661904
authored
Dec 02, 2022
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-28643: view protocol fails due to different column name
Decent name given to the column.
parent
b91b4e0b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
mysql-test/main/func_encrypt_ucs2.result
mysql-test/main/func_encrypt_ucs2.result
+4
-4
mysql-test/main/func_encrypt_ucs2.test
mysql-test/main/func_encrypt_ucs2.test
+2
-3
No files found.
mysql-test/main/func_encrypt_ucs2.result
View file @
12661904
...
...
@@ -9,11 +9,11 @@ CONVERT(DES_ENCRYPT(0, CHAR('1' USING ucs2)),UNSIGNED)
0
Warnings:
Warning 1292 Truncated incorrect INTEGER value: '\xFFT\xDCiK\x92j\xE6\xFC'
SELECT CHAR_LENGTH(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' USING ucs2)));
CHAR_LENGTH(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' USING ucs2)))
SELECT CHAR_LENGTH(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' USING ucs2)))
as a
;
a
4
SELECT CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED);
CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED)
SELECT CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED)
as a
;
a
0
Warnings:
Warning 1292 Truncated incorrect INTEGER value: 'test'
mysql-test/main/func_encrypt_ucs2.test
View file @
12661904
...
...
@@ -8,8 +8,7 @@
SELECT
CHAR_LENGTH
(
DES_ENCRYPT
(
0
,
CHAR
(
'1'
USING
ucs2
)));
SELECT
CONVERT
(
DES_ENCRYPT
(
0
,
CHAR
(
'1'
USING
ucs2
)),
UNSIGNED
);
#enable after fix MDEV-28643, MDEV-27871
--
disable_view_protocol
SELECT
CHAR_LENGTH
(
DES_DECRYPT
(
0xFF0DC9FC9537CA75F4
,
CHAR
(
'1'
USING
ucs2
)));
SELECT
CONVERT
(
DES_DECRYPT
(
0xFF0DC9FC9537CA75F4
,
CHAR
(
'1'
using
ucs2
)),
UNSIGNED
);
SELECT
CHAR_LENGTH
(
DES_DECRYPT
(
0xFF0DC9FC9537CA75F4
,
CHAR
(
'1'
USING
ucs2
)))
as
a
;
SELECT
CONVERT
(
DES_DECRYPT
(
0xFF0DC9FC9537CA75F4
,
CHAR
(
'1'
using
ucs2
)),
UNSIGNED
)
as
a
;
--
enable_view_protocol
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