diff options
author | unknown <joreland@mysql.com> | 2004-12-28 17:01:07 +0100 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2004-12-28 17:01:07 +0100 |
commit | 928d3f04a17384426693236d377d60b4c245f88e (patch) | |
tree | f7d574c3817694260bc0e746e467ea372619a621 /sql/opt_range.cc | |
parent | 4f24f3b011c6eaf7ce1bf61b58d3b87772f388b1 (diff) | |
download | mariadb-git-928d3f04a17384426693236d377d60b4c245f88e.tar.gz |
wl2126 - fix ndb part of "latest" ingo patch
(hopefully last :-))
ndb/include/ndbapi/NdbDictionary.hpp:
remove unimplemented types
ndb/include/ndbapi/NdbReceiver.hpp:
return pointer to row for simplified handling of current row features
ndb/include/ndbapi/NdbScanOperation.hpp:
return pointer to row for simplified handling of current row features
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
remove unimplemented types
ndb/src/ndbapi/NdbIndexOperation.cpp:
remove unimplemented types
ndb/src/ndbapi/NdbReceiver.cpp:
return pointer to row for simplified handling of current row features
ndb/src/ndbapi/NdbScanOperation.cpp:
return pointer to row for simplified handling of current row features
sql/ha_ndbcluster.cc:
Impl. newest read_multi_range patch
sql/ha_ndbcluster.h:
Impl. newest read_multi_range patch
sql/opt_range.cc:
Add 1 to compensate for incorrect row estimate of 0
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 e7f03b51fc0..d5d67212c41 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -5947,7 +5947,7 @@ int QUICK_RANGE_SELECT::get_next_init(void) if (file->table_flags() & HA_NEED_READ_RANGE_BUFFER) { mrange_bufsiz= min(multi_range_bufsiz, - QUICK_SELECT_I::records * head->reclength); + (QUICK_SELECT_I::records + 1)* head->reclength); while (mrange_bufsiz && ! my_multi_malloc(MYF(MY_WME), |