summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2018-06-25 18:57:32 +0400
committerAlexander Barkov <bar@mariadb.com>2018-06-25 19:20:36 +0400
commitf5b60857f49f886926530b2e28cbf9e179658014 (patch)
tree166d9fa4f8f89eec673c816814a311a856d3be80 /sql/sql_lex.h
parent1ba5b38bfa9a7334bfb3f8899a2b992cd05340a2 (diff)
downloadmariadb-git-f5b60857f49f886926530b2e28cbf9e179658014.tar.gz
A cleanup for 84c55a5668db582aa92dd2ccf076fbb783894b12 (that implemented cursor FOR loops earlier):
MDEV-10581 sql_mode=ORACLE: Explicit cursor FOR LOOP MDEV-12098 sql_mode=ORACLE: Implicit cursor FOR loop Cleanup changes: - Removing sp_lex_cursor::m_cursor_name - Adding sp_instr_cursor_copy_struct::m_cursor (the cursor global index) - Fixing sp_instr_cursor_copy_struct::print() to access to the cursor name using m_ctx and m_cursor (like other cursor related instructions do) instead of m_cursor_name. This change is needed to unify sp_assignment_lex and sp_cursor_lex later, to fix this problem easier: MDEV-16558 Parenthesized expression does not work as a lower FOR loop bound
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 89c5688ad96..49e10421911 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -3177,8 +3177,6 @@ public:
return NULL;
}
- virtual const LEX_CSTRING *cursor_name() const { return &null_clex_str; }
-
void start(THD *thd);
inline bool is_ps_or_view_context_analysis()