| Bug #46082 | Assertion failed: !(start_key == 0 && end_key == 0), file .\ha_federated.cc, lin | ||
|---|---|---|---|
| Submitted: | 9 Jul 2009 13:14 | Modified: | 10 Jan 2013 11:29 |
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: Federated storage engine | Severity: | S1 (Critical) |
| Version: | 5.0.84, 5.1.37, 5.4.4, 5.5.27 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[9 Jul 2009 13:14]
Shane Bester
[9 Jul 2009 14:40]
Valeriy Kravchuk
Thank you for the bug report. Verified just as described with -debug binaries built from recent bzr code on Linux.
With older non-debug 5.0.79 on Windows, though, I've got results that look corect to me:
mysql> drop table if exists `t1_local`,`t1_fed`;
Query OK, 0 rows affected, 2 warnings (0.25 sec)
mysql> create table `t1_local` (`c1` int,primary key(`c1`)) engine=myisam;
Query OK, 0 rows affected (0.30 sec)
mysql> create table `t1_fed` (`c1` int,primary key(`c1`)) engine=federated
-> connection='mysql://root:root@127.0.0.1:3308/test/t1_local';
Query OK, 0 rows affected (0.06 sec)
mysql> insert into `t1_fed`(`c1`) values (1),(2);
Query OK, 2 rows affected (0.67 sec)
Records: 2 Duplicates: 0 Warnings: 0
mysql> select 1 from `t1_fed` where (c1<>'ch') or (c1>='cb');
+---+
| 1 |
+---+
| 1 |
| 1 |
+---+
2 rows in set, 4 warnings (0.27 sec)
mysql> show warnings\G
*************************** 1. row ***************************
Level: Warning
Code: 1292
Message: Truncated incorrect DOUBLE value: 'ch'
*************************** 2. row ***************************
Level: Warning
Code: 1292
Message: Truncated incorrect DOUBLE value: 'ch'
*************************** 3. row ***************************
Level: Warning
Code: 1292
Message: Truncated incorrect DOUBLE value: 'ch'
*************************** 4. row ***************************
Level: Warning
Code: 1292
Message: Truncated incorrect DOUBLE value: 'ch'
4 rows in set (0.03 sec)
mysql> select version();
+--------------------------+
| version() |
+--------------------------+
| 5.0.79-enterprise-gpl-nt |
+--------------------------+
1 row in set (0.08 sec)
[20 Jul 2012 7:23]
Valeriy Kravchuk
Same assertion still happens in 5.5.27-debug.
[10 Jan 2013 11:29]
Erlend Dahl
Can't repeate on 5.6.7 and 5.7.0.
