Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL)
-
None
Description
Test:
create view v1 as SELECT min(999999999999999999999999999999999999999999999999999999999999999999999999999999999) AS foo; |
select * from v1; |
drop view v1; |
Number is less than it should be
Actual result:
foo
|
99999999999999999999999999999999999999999999999999999999999999999
|
Expected result:
foo
|
999999999999999999999999999999999999999999999999999999999999999999999999999999999
|
It looks like the problem is in the allowed number of digits, because in the next test the same problem:
Test:
create view v1 as SELECT -(999999999999999999999999999999999999999999999999999999999999999999999999999999999) AS foo; |
select * from v1; |
drop view v1; |
Number is less than it should be
Actual result:
foo
|
-99999999999999999999999999999999999999999999999999999999999999999
|
Expected result:
foo
|
-999999999999999999999999999999999999999999999999999999999999999999999999999999999
|
Attachments
Issue Links
- is part of
-
MDEV-27691 make working view-protocol
- Open
- relates to
-
MDEV-28651 quote(NULL) returns incorrect result in view ('NU' instead of 'NULL')
- Closed