diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-01-17 00:50:27 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-01-17 00:50:27 +0200 |
commit | 0ae9e6e8dd56af68a49329ad7ac4df5c978b7103 (patch) | |
tree | 18705fa3ee0ffa6627467ee9aa7fec4f211bad4e /sql | |
parent | ef3091541e34703138e1c9f2fa5037faefaf20ba (diff) | |
download | mariadb-git-0ae9e6e8dd56af68a49329ad7ac4df5c978b7103.tar.gz |
ha_innodb.cc:
Had forgotten to change ha_innodb.cc to reflect that InnoDB now supports HA_READ_PREFIX_LAST
sql/ha_innodb.cc:
Had forgotten to change ha_innodb.cc to reflect that InnoDB now supports HA_READ_PREFIX_LAST
Diffstat (limited to 'sql')
-rw-r--r-- | sql/ha_innodb.cc | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc index f8321064683..b4fe6130e9b 100644 --- a/sql/ha_innodb.cc +++ b/sql/ha_innodb.cc @@ -2249,19 +2249,7 @@ convert_search_mode_to_innobase( case HA_READ_AFTER_KEY: return(PAGE_CUR_G); case HA_READ_BEFORE_KEY: return(PAGE_CUR_L); case HA_READ_PREFIX: return(PAGE_CUR_GE); - case HA_READ_PREFIX_LAST: - /* ut_print_timestamp(stderr); - fprintf(stderr, - " InnoDB: Warning: Using HA_READ_PREFIX_LAST\n"); */ - return(PAGE_CUR_LE); - - /* InnoDB does not yet support ..PREFIX_LAST! - We have to add a new search flag - PAGE_CUR_LE_OR_PREFIX to InnoDB. */ - - /* the above PREFIX flags mean that the last - field in the key value may just be a prefix - of the complete fixed length field */ + case HA_READ_PREFIX_LAST: return(PAGE_CUR_LE_OR_EXTENDS); default: assert(0); } |