summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorunknown <andrey@lmy004.>2005-12-08 00:17:05 +0100
committerunknown <andrey@lmy004.>2005-12-08 00:17:05 +0100
commitfaa8995e7a4b9504a7f02ef69761f5064f388127 (patch)
treee8bf8f5c141d8fc2b904984ffd304cbbdec56670 /sql/sql_yacc.yy
parenta4bcbd51d901d455c58a934284e00359edbb80c8 (diff)
downloadmariadb-git-faa8995e7a4b9504a7f02ef69761f5064f388127.tar.gz
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
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r--sql/sql_yacc.yy10
1 files changed, 5 insertions, 5 deletions
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
{