summaryrefslogtreecommitdiff
path: root/sql/select_handler.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2019-02-09 22:54:26 -0800
committerIgor Babaev <igor@askmonty.org>2019-02-09 22:54:26 -0800
commitd11be23933def394585fae83a6f1ab561e3736f2 (patch)
tree867a809df45931d5c6ad00424c327cd47aae9392 /sql/select_handler.h
parent3f9040085a0de4976f55bc7e4a2fa5fa8d923100 (diff)
downloadmariadb-git-d11be23933def394585fae83a6f1ab561e3736f2.tar.gz
MDEV-17096 Pushdown of simple derived tables to storage engines
Resolved the problem of forming a proper query string for FEDERATEDX. Added test cases. Cleanup of extra spaces.
Diffstat (limited to 'sql/select_handler.h')
-rw-r--r--sql/select_handler.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/select_handler.h b/sql/select_handler.h
index 3b1347efed6..19a1883f6c7 100644
--- a/sql/select_handler.h
+++ b/sql/select_handler.h
@@ -20,9 +20,9 @@ class select_handler
select_handler(THD *thd_arg, handlerton *ht_arg)
: thd(thd_arg), ht(ht_arg), table(0) {}
-
- virtual ~select_handler() {}
-
+
+ virtual ~select_handler() {}
+
/*
Functions to scan the select result set.
All these returns 0 if ok, error code in case of error.
@@ -32,7 +32,7 @@ class select_handler
virtual int init_scan() = 0;
/*
- Put the next produced row of the result set in table->record[0]
+ Put the next produced row of the result set in table->record[0]
and return 0. Return HA_ERR_END_OF_FILE if there are no more rows,
return other error number in case of fatal error.
*/
@@ -40,7 +40,7 @@ class select_handler
/* Finish scanning */
virtual int end_scan() = 0;
-
+
/* Report errors */
virtual void print_error(int error, myf errflag) = 0;
};