Bug #37235 Incorrect count in MyISAM partitioned table when using index
| Submitted: | 5 Jun 2008 18:16 | Modified: | 23 Jun 2008 10:23 |
|---|---|---|---|
| Reporter: | Manuel Duran Aguete | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Server: Partitions | Severity: | S1 (Critical) |
| Version: | 5.1.24-rc | OS: | Linux (Ubuntu LTS 8.04 server, Mysql binaries) |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
[5 Jun 2008 18:16]
Manuel Duran Aguete
[5 Jun 2008 18:37]
Sveta Smirnova
Thank you for the report. Please provide output of SHOW CREATE TABLE and dump of table enviados_operador.
[6 Jun 2008 9:16]
Manuel Duran Aguete
Hello, The same error in UBUNTU LTS 8.04 desktop with same binary. Uploaded bug-data-37235.zip to ftp://ftp.mysql.com/pub/mysql/upload/
[6 Jun 2008 9:18]
Manuel Duran Aguete
The show create table statement CREATE TABLE `enviados_operador` ( `id` int(11) NOT NULL, `n_destino` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL, `n_origen` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL, `fecha` datetime DEFAULT NULL, `operador` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL, `operador_real` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL, `id_recibido` int(11) DEFAULT NULL, `contenido` varchar(1024) COLLATE utf8_spanish_ci DEFAULT NULL, `tipo_contenido` varchar(10) COLLATE utf8_spanish_ci DEFAULT NULL, `n_partido` int(11) DEFAULT NULL, `estado` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL, `smsid` int(11) DEFAULT NULL, `descripcion_error` varchar(30) COLLATE utf8_spanish_ci DEFAULT NULL, `fecha_i` date NOT NULL, `hora_i` time NOT NULL, PRIMARY KEY (`id`,`fecha_i`) USING BTREE, KEY `eo_idrecibido_idx` (`id_recibido`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci /*!50100 PARTITION BY RANGE (TO_DAYS(fecha_i)) (PARTITION p_eo_0801 VALUES LESS THAN (733438) ENGINE = MyISAM, PARTITION p_eo_0802 VALUES LESS THAN (733467) ENGINE = MyISAM, PARTITION p_eo_0803 VALUES LESS THAN (733498) ENGINE = MyISAM, PARTITION p_eo_0804 VALUES LESS THAN (733528) ENGINE = MyISAM, PARTITION p_eo_0805 VALUES LESS THAN (733559) ENGINE = MyISAM, PARTITION p_eo_0806 VALUES LESS THAN (733589) ENGINE = MyISAM, PARTITION p_eo_0807 VALUES LESS THAN (733620) ENGINE = MyISAM, PARTITION p_eo_0808 VALUES LESS THAN (733651) ENGINE = MyISAM, PARTITION p_eo_0809 VALUES LESS THAN (733681) ENGINE = MyISAM, PARTITION p_eo_0810 VALUES LESS THAN (733712) ENGINE = MyISAM, PARTITION p_eo_0811 VALUES LESS THAN (733742) ENGINE = MyISAM, PARTITION p_eo_0812 VALUES LESS THAN (733773) ENGINE = MyISAM) */
[6 Jun 2008 11:35]
Sveta Smirnova
Thank you for the report. Verified as described. Can be duplicate of bug #37219 and bug #35745
[23 Jun 2008 10:23]
Mattias Jonsson
Duplicate of bug#35931, verified that the fix for that bug also fixes this.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.058 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.