1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-03 05:41:09 +03:00
Files
mariadb/mysql-test/r
istruewing@chilla.local c33486ff1b Bug#26231 - select count(*) on myisam table returns wrong value
when index is used

When the table contained TEXT columns with empty contents
('', zero length, but not NULL) _and_ strings starting with
control characters like tabulator or newline, the empty values
were not found in a "records in range" estimate. Hence count(*)
missed these records.

The reason was a different set of search flags used for key
insert and key range estimation.

I decided to fix the set of flags used in range estimation.
Otherwise millions of databases around the world would require
a repair after an upgrade.

The consequence is that the manual must be fixed, which claims
that TEXT columns are compared with "end space padding". This
is true for CHAR/VARCHAR but wrong for TEXT. See also bug 21335.
2007-03-16 10:28:48 +01:00
..
2006-05-01 21:30:09 +03:00
2005-06-16 10:09:05 +02:00
2006-10-13 08:48:47 +02:00
2005-08-29 22:35:48 -05:00
2005-06-27 20:31:00 +03:00
2005-05-05 10:36:17 -07:00
2005-07-22 21:06:02 +05:00
2006-05-06 23:48:13 -07:00
2006-10-03 15:48:41 +02:00
2006-01-30 15:17:33 +03:00
2005-09-06 18:03:08 +04:00
2006-06-30 18:29:27 +03:00
2006-10-03 15:33:44 +02:00
2005-11-25 10:41:22 +01:00
2005-09-12 12:45:03 -07:00
2005-09-30 11:39:49 +02:00
2005-05-04 10:16:03 +02:00
2007-01-10 00:27:11 -08:00
2007-02-01 18:00:24 +04:00
2006-09-12 19:06:26 +04:00
2005-08-24 19:37:27 +03:00
2005-07-28 21:25:05 +03:00
2005-04-06 12:20:55 +02:00
2005-02-28 19:59:38 +04:00
2007-01-25 18:44:35 -08:00
2007-02-01 18:00:24 +04:00
2005-08-09 00:13:49 +03:00
2006-01-26 00:06:20 +03:00