diff options
author | sergefp@mysql.com <> | 2005-10-19 12:41:30 +0400 |
---|---|---|
committer | sergefp@mysql.com <> | 2005-10-19 12:41:30 +0400 |
commit | 841a2abde03cce4886b6a64f363e178d2d745887 (patch) | |
tree | 78335682bf1cbbc0ed6e5f601e65d8944748366a /sql/opt_range.cc | |
parent | e7065d355c7360aaa15ae168499506100c91402d (diff) | |
download | mariadb-git-841a2abde03cce4886b6a64f363e178d2d745887.tar.gz |
Post-merge fixes
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 7e1821b9953..ff2b14a27ee 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -1401,7 +1401,7 @@ uint get_index_for_order(TABLE *table, ORDER *order, ha_rows limit) if (!ord->asc) return MAX_KEY; - for (idx= 0; idx < table->keys; idx++) + for (idx= 0; idx < table->s->keys; idx++) { if (!(table->keys_in_use_for_query.is_set(idx))) continue; |