Bug #28028 Falcon AND fails if index exists

Submitted: 23 Apr 2007 17:25
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Falcon storage engine Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[23 Apr 2007 17:25] Hakan Küçükyılmaz
Description:
If two columns are in the same key, then
a search of the two columns together (ANDed)
results in fewer rows than expected.

This was inspired by update.test.

How to repeat:
mysql> create table t2 (
    -> place_id int (10) unsigned,
    -> ts timestamp,
    -> primary key (place_id, ts))
    -> engine = jstar;
Query OK, 0 rows affected (0.01 sec)

mysql> insert into t2 values (1,20000928174434);
Query OK, 1 row affected (0.00 sec)

mysql> select *
    -> from t2
    -> where place_id = 1
    -> and ts>='2000-09-28 00:00:00';
Empty set (0.02 sec)

mysql> select *
    -> from t2
    -> where place_id = 1
    -> and ts >= 20000928000000;
Empty set (0.00 sec)
[23 Apr 2007 17:50] Hakan Küçükyılmaz
Test case is falcon_bug_28028.test.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 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.