1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-03 05:41:09 +03:00
Files
mariadb/mysql-test/t
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
2006-10-13 08:48:47 +02:00
2006-11-13 18:12:15 +04:00
2007-01-02 17:46:20 +04:00
2006-04-11 15:26:18 +05:00
2006-05-06 23:48:13 -07:00
2006-11-13 10:39:15 +04:00
2005-09-06 18:03:08 +04:00
2006-04-18 20:57:31 -07:00
2006-06-30 18:29:27 +03:00
2005-11-25 10:41:22 +01:00
2005-09-30 11:39:49 +02:00
2006-08-15 13:12:27 +02:00
2005-07-31 04:28:01 -07:00
2005-09-05 12:33:25 +02:00
2007-01-10 00:27:11 -08:00
2007-02-01 18:00:24 +04:00
2006-11-16 20:44:37 +04:00
2005-01-30 10:24:03 +00:00
2004-11-15 17:03:54 +01:00
2006-10-07 20:16:57 +02:00
2007-01-25 18:44:35 -08:00
2007-02-01 18:00:24 +04:00
2006-10-07 20:16:57 +02:00
2005-08-09 00:13:49 +03:00
2006-01-26 00:06:20 +03:00