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
aeff61ee
Commit
aeff61ee
authored
Mar 07, 2017
by
Alexey Botchkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-12064 Bug#18411494 WRONG COMPARSION ON BIG DECIMAL VALUES.
Test results updated.
parent
ea317557
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
17 deletions
+18
-17
mysql-test/r/select.result
mysql-test/r/select.result
+1
-1
mysql-test/r/select_jcl6.result
mysql-test/r/select_jcl6.result
+1
-1
mysql-test/r/select_pkeycache.result
mysql-test/r/select_pkeycache.result
+1
-1
mysql-test/r/type_num.result
mysql-test/r/type_num.result
+15
-14
No files found.
mysql-test/r/select.result
View file @
aeff61ee
...
@@ -2956,7 +2956,7 @@ insert into t1 values (1,'x',5);
...
@@ -2956,7 +2956,7 @@ insert into t1 values (1,'x',5);
select * from t1 natural join v1;
select * from t1 natural join v1;
s1 s2 s3
s1 s2 s3
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: 'x'
Warning 1292 Truncated incorrect D
ECIMAL
value: 'x'
drop table t1;
drop table t1;
drop view v1;
drop view v1;
create table t1(a1 int);
create table t1(a1 int);
...
...
mysql-test/r/select_jcl6.result
View file @
aeff61ee
...
@@ -2967,7 +2967,7 @@ insert into t1 values (1,'x',5);
...
@@ -2967,7 +2967,7 @@ insert into t1 values (1,'x',5);
select * from t1 natural join v1;
select * from t1 natural join v1;
s1 s2 s3
s1 s2 s3
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: 'x'
Warning 1292 Truncated incorrect D
ECIMAL
value: 'x'
drop table t1;
drop table t1;
drop view v1;
drop view v1;
create table t1(a1 int);
create table t1(a1 int);
...
...
mysql-test/r/select_pkeycache.result
View file @
aeff61ee
...
@@ -2956,7 +2956,7 @@ insert into t1 values (1,'x',5);
...
@@ -2956,7 +2956,7 @@ insert into t1 values (1,'x',5);
select * from t1 natural join v1;
select * from t1 natural join v1;
s1 s2 s3
s1 s2 s3
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: 'x'
Warning 1292 Truncated incorrect D
ECIMAL
value: 'x'
drop table t1;
drop table t1;
drop view v1;
drop view v1;
create table t1(a1 int);
create table t1(a1 int);
...
...
mysql-test/r/type_num.result
View file @
aeff61ee
...
@@ -570,7 +570,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1 ';
...
@@ -570,7 +570,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1 ';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Note 1292 Truncated incorrect D
OUBLE
value: '1 '
Note 1292 Truncated incorrect D
ECIMAL
value: '1 '
SELECT COUNT(*) FROM t1 WHERE f4='';
SELECT COUNT(*) FROM t1 WHERE f4='';
COUNT(*)
COUNT(*)
2
2
...
@@ -605,7 +605,7 @@ SELECT COUNT(*) FROM t1 WHERE d='';
...
@@ -605,7 +605,7 @@ SELECT COUNT(*) FROM t1 WHERE d='';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: ''
Warning 1292 Truncated incorrect D
ECIMAL
value: ''
SELECT COUNT(*) FROM t1 WHERE f4='x';
SELECT COUNT(*) FROM t1 WHERE f4='x';
COUNT(*)
COUNT(*)
2
2
...
@@ -640,7 +640,7 @@ SELECT COUNT(*) FROM t1 WHERE d='x';
...
@@ -640,7 +640,7 @@ SELECT COUNT(*) FROM t1 WHERE d='x';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: 'x'
Warning 1292 Truncated incorrect D
ECIMAL
value: 'x'
SELECT COUNT(*) FROM t1 WHERE f4=' x';
SELECT COUNT(*) FROM t1 WHERE f4=' x';
COUNT(*)
COUNT(*)
2
2
...
@@ -675,7 +675,7 @@ SELECT COUNT(*) FROM t1 WHERE d=' x';
...
@@ -675,7 +675,7 @@ SELECT COUNT(*) FROM t1 WHERE d=' x';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: ' x'
Warning 1292 Truncated incorrect D
ECIMAL
value: ' x'
SELECT COUNT(*) FROM t1 WHERE f4='.';
SELECT COUNT(*) FROM t1 WHERE f4='.';
COUNT(*)
COUNT(*)
2
2
...
@@ -710,7 +710,7 @@ SELECT COUNT(*) FROM t1 WHERE d='.';
...
@@ -710,7 +710,7 @@ SELECT COUNT(*) FROM t1 WHERE d='.';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: '.'
Warning 1292 Truncated incorrect D
ECIMAL
value: '.'
SELECT COUNT(*) FROM t1 WHERE f4='-';
SELECT COUNT(*) FROM t1 WHERE f4='-';
COUNT(*)
COUNT(*)
2
2
...
@@ -745,7 +745,7 @@ SELECT COUNT(*) FROM t1 WHERE d='-';
...
@@ -745,7 +745,7 @@ SELECT COUNT(*) FROM t1 WHERE d='-';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: '-'
Warning 1292 Truncated incorrect D
ECIMAL
value: '-'
SELECT COUNT(*) FROM t1 WHERE f4='+';
SELECT COUNT(*) FROM t1 WHERE f4='+';
COUNT(*)
COUNT(*)
2
2
...
@@ -780,7 +780,7 @@ SELECT COUNT(*) FROM t1 WHERE d='+';
...
@@ -780,7 +780,7 @@ SELECT COUNT(*) FROM t1 WHERE d='+';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: '+'
Warning 1292 Truncated incorrect D
ECIMAL
value: '+'
SELECT COUNT(*) FROM t1 WHERE f4='1x';
SELECT COUNT(*) FROM t1 WHERE f4='1x';
COUNT(*)
COUNT(*)
2
2
...
@@ -815,7 +815,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1x';
...
@@ -815,7 +815,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1x';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: '1x'
Warning 1292 Truncated incorrect D
ECIMAL
value: '1x'
SELECT COUNT(*) FROM t1 WHERE f4='1e';
SELECT COUNT(*) FROM t1 WHERE f4='1e';
COUNT(*)
COUNT(*)
2
2
...
@@ -850,7 +850,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1e';
...
@@ -850,7 +850,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1e';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: '1e'
Warning 1292 Truncated incorrect D
ECIMAL
value: '1e'
SELECT COUNT(*) FROM t1 WHERE f4='1e+';
SELECT COUNT(*) FROM t1 WHERE f4='1e+';
COUNT(*)
COUNT(*)
2
2
...
@@ -885,7 +885,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1e+';
...
@@ -885,7 +885,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1e+';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: '1e+'
Warning 1292 Truncated incorrect D
ECIMAL
value: '1e+'
SELECT COUNT(*) FROM t1 WHERE f4='1E-';
SELECT COUNT(*) FROM t1 WHERE f4='1E-';
COUNT(*)
COUNT(*)
2
2
...
@@ -920,7 +920,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1E-';
...
@@ -920,7 +920,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1E-';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: '1E-'
Warning 1292 Truncated incorrect D
ECIMAL
value: '1E-'
SELECT COUNT(*) FROM t1 WHERE f4='1Ex';
SELECT COUNT(*) FROM t1 WHERE f4='1Ex';
COUNT(*)
COUNT(*)
2
2
...
@@ -955,7 +955,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1Ex';
...
@@ -955,7 +955,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1Ex';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: '1Ex'
Warning 1292 Truncated incorrect D
ECIMAL
value: '1Ex'
SELECT COUNT(*) FROM t1 WHERE f4='1e+x';
SELECT COUNT(*) FROM t1 WHERE f4='1e+x';
COUNT(*)
COUNT(*)
2
2
...
@@ -990,7 +990,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1e+x';
...
@@ -990,7 +990,7 @@ SELECT COUNT(*) FROM t1 WHERE d='1e+x';
COUNT(*)
COUNT(*)
2
2
Warnings:
Warnings:
Warning 1292 Truncated incorrect D
OUBLE
value: '1e+x'
Warning 1292 Truncated incorrect D
ECIMAL
value: '1e+x'
SELECT COUNT(*) FROM t1 WHERE f4='1e1000';
SELECT COUNT(*) FROM t1 WHERE f4='1e1000';
COUNT(*)
COUNT(*)
0
0
...
@@ -1025,7 +1025,8 @@ SELECT COUNT(*) FROM t1 WHERE d='1e1000';
...
@@ -1025,7 +1025,8 @@ SELECT COUNT(*) FROM t1 WHERE d='1e1000';
COUNT(*)
COUNT(*)
0
0
Warnings:
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: '1e1000'
Warning 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Warning 1292 Truncated incorrect DECIMAL value: '1e1000'
ALTER TABLE t1
ALTER TABLE t1
ADD KEY f4(f4),
ADD KEY f4(f4),
ADD KEY f8(f8),
ADD KEY f8(f8),
...
...
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