summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2000-11-28 18:11:18 +0100
committerunknown <serg@serg.mysql.com>2000-11-28 18:11:18 +0100
commitb865c72adb710c9cd5378e4b55eda0ffc9352303 (patch)
treeeb5ed1a0abb845262a5b1d5977e66783acd0e227 /sql/opt_range.cc
parent85a61b2cce24448f7ea24c75584a6f7061fd94e5 (diff)
downloadmariadb-git-b865c72adb710c9cd5378e4b55eda0ffc9352303.tar.gz
errmsg.txt translated
opt_range.h bugs with const_tables and filesort fixed opt_range.cc bugs with const_tables and filesort fixed item_func.cc bugs with const_tables and filesort fixed ha_myisam.h bugs with const_tables and filesort fixed ha_myisam.cc bugs with const_tables and filesort fixed ft_search.c bugs with const_tables and filesort fixed myisam/ft_search.c: bugs with const_tables and filesort fixed sql/ha_myisam.cc: bugs with const_tables and filesort fixed sql/ha_myisam.h: bugs with const_tables and filesort fixed sql/item_func.cc: bugs with const_tables and filesort fixed sql/opt_range.cc: bugs with const_tables and filesort fixed sql/opt_range.h: bugs with const_tables and filesort fixed sql/share/russian/errmsg.txt: translated
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 442597bbfad..d0310bf58e5 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -393,7 +393,7 @@ QUICK_SELECT::QUICK_SELECT(TABLE *table,uint key_nr,bool no_alloc)
else
bzero((char*) &alloc,sizeof(alloc));
file=head->file;
- error=file->index_init(index);
+ // error=file->index_init(index);
record=head->record[0];
}
@@ -403,13 +403,16 @@ QUICK_SELECT::~QUICK_SELECT()
free_root(&alloc,MYF(0));
}
+int QUICK_SELECT::init()
+{
+ return error=file->index_init(index);
+}
QUICK_RANGE::QUICK_RANGE()
:min_key(0),max_key(0),min_length(0),max_length(0),
flag(NO_MIN_RANGE | NO_MAX_RANGE)
{}
-
SEL_ARG::SEL_ARG(SEL_ARG &arg) :Sql_alloc()
{
type=arg.type;