Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.11.5
-
None
-
None
-
CentOS 7.8
Description
The sum function without a predicate returns wrong result
MariaDB [(none)]> select sum(DATA_LENGTH)
|
-> from information_schema.TABLES
|
-> ;
|
+------------------+
|
| sum(DATA_LENGTH) |
|
+------------------+
|
| 106496 |
|
+------------------+
|
 |
select sum(DATA_LENGTH)
|
-> from information_schema.TABLES
|
-> where table_name like '%'
|
-> ;
|
+------------------+
|
| sum(DATA_LENGTH) |
|
+------------------+
|
| 658573483127 |
|
+------------------+
|