diff options
author | unknown <sergefp@mysql.com> | 2004-06-01 15:31:58 +0400 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2004-06-01 15:31:58 +0400 |
commit | 40e65508792422e896dad764f3901c7e5971a132 (patch) | |
tree | 9aa76bc0ee10fa5550924ab9b8466e4a2e766664 /sql/opt_range.h | |
parent | b7130450950898892f14f2a1fef462ecac49e92a (diff) | |
download | mariadb-git-40e65508792422e896dad764f3901c7e5971a132.tar.gz |
More code cleanup, debug prints removed
Fixed an incorrect optimizer choice for ror-intersect(key, clustered_primary)
Typo bug fixed in multitable update
sql/opt_range.cc:
More code cleanup, debug prints removed
Fixed an incorrect optimizer choice for ror-intersect(key, clustered_primary)
sql/opt_range.h:
More code cleanup, debug prints removed
Fixed an incorrect optimizer choice for ror-intersect(key, clustered_primary)
sql/sql_update.cc:
Typo bug fixed
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r-- | sql/opt_range.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h index 22168a63f8e..654a7e3983c 100644 --- a/sql/opt_range.h +++ b/sql/opt_range.h @@ -155,15 +155,18 @@ public: function is called. SYNOPSIS init_ror_merged_scan() - reuse_handler quick select may use (q: psergey??) - (q: is this natural that we do it this way) - NOTES - psergey? + reuse_handler If true, the quick select may use table->handler, otherwise + it must create and use a separate handler object. + RETURN + 0 Ok + other Error */ virtual int init_ror_merged_scan(bool reuse_handler) { DBUG_ASSERT(0); return 1; } - /* Save ROWID of last retrieved row in file->ref. (psergey: or table->ref?) */ + /* + Save ROWID of last retrieved row in file->ref. This used in ROR-merging. + */ virtual void save_last_pos(){}; /* @@ -196,7 +199,6 @@ public: /* Table record buffer used by this quick select. - Currently this is always the same as head->record[0]. psergey: check that! */ byte *record; #ifndef DBUG_OFF |