From faa8995e7a4b9504a7f02ef69761f5064f388127 Mon Sep 17 00:00:00 2001 From: unknown <andrey@lmy004.> Date: Thu, 8 Dec 2005 00:17:05 +0100 Subject: WL #1034 updates after review (strip m_ as prefix from member variables' names) sql/event.cc: - change copyright years - remove m_ prefix from member variables (I liked m_) - reorder parameter in evex_update_event() sql/event.h: - change copyright years - remove m_ prefix from member variables - declare some member variables as private (were public) - delete 0 is valid in C++ therefore don't embrace with if() sql/event_executor.cc: - executor => scheduler in messages - fix a bug introduced in last commit -> typo in a mutex name - remove m_ prefix from member variables sql/event_priv.h: - change copyright years sql/event_timed.cc: - change copyright years - strip m_ as prefix from member variables' names sql/sql_parse.cc: - strip m_ as prefix from member variables' names sql/sql_yacc.yy: - strip m_ as prefix from member variables names --- sql/sql_yacc.yy | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sql/sql_yacc.yy') diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 082eee98e57..4b3e694b911 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -1415,14 +1415,14 @@ ev_status: /* empty */ { LEX *lex=Lex; if (!lex->et_compile_phase) - lex->et->m_status= MYSQL_EVENT_ENABLED; + lex->et->status= MYSQL_EVENT_ENABLED; } | DISABLE_SYM { LEX *lex=Lex; if (!lex->et_compile_phase) - lex->et->m_status= MYSQL_EVENT_DISABLED; + lex->et->status= MYSQL_EVENT_DISABLED; } ; ev_starts: /* empty */ @@ -1457,13 +1457,13 @@ ev_on_completion: /* empty */ { LEX *lex=Lex; if (!lex->et_compile_phase) - lex->et->m_on_completion= MYSQL_EVENT_ON_COMPLETION_PRESERVE; + lex->et->on_completion= MYSQL_EVENT_ON_COMPLETION_PRESERVE; } | ON COMPLETION_SYM NOT_SYM PRESERVE_SYM { LEX *lex=Lex; if (!lex->et_compile_phase) - lex->et->m_on_completion= MYSQL_EVENT_ON_COMPLETION_DROP; + lex->et->on_completion= MYSQL_EVENT_ON_COMPLETION_DROP; } ; ev_comment: /* empty */ @@ -1497,7 +1497,7 @@ ev_sql_stmt: lex->sphead->m_body_begin= lex->ptr; if (!lex->et_compile_phase) - lex->et->m_body_begin= lex->ptr; + lex->et->body_begin= lex->ptr; } ev_sql_stmt_inner { -- cgit v1.2.1