diff options
author | unknown <anozdrin/alik@ibm.> | 2007-06-14 18:49:17 +0400 |
---|---|---|
committer | unknown <anozdrin/alik@ibm.> | 2007-06-14 18:49:17 +0400 |
commit | c7aeb8f37b007dfdd4d5339a7dd4b0083282be4e (patch) | |
tree | a9da7d4c1767c4cb54792a67c63b7e07243c196a /sql/event_data_objects.h | |
parent | efaaeecaa82710f51516f255105ee973f820f9b9 (diff) | |
download | mariadb-git-c7aeb8f37b007dfdd4d5339a7dd4b0083282be4e.tar.gz |
This is the 3-rd part of patch for BUG#11986:
remove redundant "body" from Event_parse_data (use sp_head::m_body).
sql/event_data_objects.cc:
Use sp_head::m_body to store SQL-statement.
Polishing.
sql/event_data_objects.h:
Use sp_head::m_body to store SQL-statement.
Polishing.
sql/event_db_repository.cc:
Use sp_head::m_body to store SQL-statement.
sql/sql_yacc.yy:
Use sp_head::m_body to store SQL-statement.
Diffstat (limited to 'sql/event_data_objects.h')
-rw-r--r-- | sql/event_data_objects.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sql/event_data_objects.h b/sql/event_data_objects.h index 8e03ab19602..d79732780ff 100644 --- a/sql/event_data_objects.h +++ b/sql/event_data_objects.h @@ -77,7 +77,7 @@ public: Event_basic(); virtual ~Event_basic(); - virtual int + virtual bool load_from_row(THD *thd, TABLE *table) = 0; protected: @@ -119,7 +119,7 @@ public: Event_queue_element(); virtual ~Event_queue_element(); - virtual int + virtual bool load_from_row(THD *thd, TABLE *table); bool @@ -157,7 +157,7 @@ public: void init(); - virtual int + virtual bool load_from_row(THD *thd, TABLE *table); int @@ -176,7 +176,7 @@ public: Event_job_data(); - virtual int + virtual bool load_from_row(THD *thd, TABLE *table); bool @@ -205,12 +205,11 @@ public: */ bool do_not_create; - const char *body_begin; + bool body_changed; LEX_STRING dbname; LEX_STRING name; LEX_STRING definer;// combination of user and host - LEX_STRING body; LEX_STRING comment; Item* item_starts; @@ -235,9 +234,6 @@ public: bool check_parse_data(THD *thd); - void - init_body(THD *thd); - private: void |