diff options
Diffstat (limited to 'sql/sql_join_cache.cc')
-rw-r--r-- | sql/sql_join_cache.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_join_cache.cc b/sql/sql_join_cache.cc index 41741f3dcc7..9a7b8f2af21 100644 --- a/sql/sql_join_cache.cc +++ b/sql/sql_join_cache.cc @@ -27,6 +27,7 @@ #pragma implementation // gcc: Class implementation #endif +#include "mariadb.h" #include "key.h" #include "sql_base.h" #include "sql_select.h" @@ -3372,7 +3373,7 @@ int JOIN_TAB_SCAN::next() if (is_first_record) is_first_record= FALSE; else - err= info->read_record(info); + err= info->read_record(); if (!err) { @@ -3387,7 +3388,7 @@ int JOIN_TAB_SCAN::next() Move to the next record if the last retrieved record does not meet the condition pushed to the table join_tab. */ - err= info->read_record(info); + err= info->read_record(); if (!err) { join_tab->tracker->r_rows++; |