diff options
author | unknown <heikki@hundin.mysql.fi> | 2002-09-25 20:35:12 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2002-09-25 20:35:12 +0300 |
commit | 936c6b6a52e15eaa8dcbe0097384f90e3f639a56 (patch) | |
tree | 096797edcaa627d23128c3ee6acd11c6a4396e91 /sql/ha_innodb.h | |
parent | e24efe513abc4ea679b7fcc96a4396d2a7e1d3f9 (diff) | |
download | mariadb-git-936c6b6a52e15eaa8dcbe0097384f90e3f639a56.tar.gz |
ha_innodb.h, ha_innodb.cc:
Remove the flag HA_NOT_READ_PREFIX_LAST because ORDER BY orders wrong then; also remove the diagnostic print to avoid cluttering the error log
sql/ha_innodb.cc:
Remove the flag HA_NOT_READ_PREFIX_LAST because ORDER BY orders wrong then; also remove the diagnostic print to avoid cluttering the error log
sql/ha_innodb.h:
Remove the flag HA_NOT_READ_PREFIX_LAST because ORDER BY orders wrong then; also remove the diagnostic print to avoid cluttering the error log
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r-- | sql/ha_innodb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h index 84cf6343bda..fad585433d7 100644 --- a/sql/ha_innodb.h +++ b/sql/ha_innodb.h @@ -81,8 +81,11 @@ class ha_innobase: public handler HA_NO_WRITE_DELAYED | HA_PRIMARY_KEY_IN_READ_INDEX | HA_DROP_BEFORE_CREATE | + /* We should also list HA_NOT_READ_PREFIX_LAST + here but it currently seems to break ORDER BY; + until release 4.0.5 some LIKE 'abc%' ... DESC + queries will not work correctly */ HA_NO_PREFIX_CHAR_KEYS | - HA_NOT_READ_PREFIX_LAST | HA_TABLE_SCAN_ON_INDEX), last_dup_key((uint) -1), start_of_scan(0) |