summaryrefslogtreecommitdiff
path: root/sql/event_data_objects.h
diff options
context:
space:
mode:
authoranozdrin/alik@ibm. <>2007-06-14 18:49:17 +0400
committeranozdrin/alik@ibm. <>2007-06-14 18:49:17 +0400
commitf8be48bb4f27e4472346987dde341f393dc7d944 (patch)
treea9da7d4c1767c4cb54792a67c63b7e07243c196a /sql/event_data_objects.h
parent1ff91214c6103b8c4cefd6e47f01a5c7e83a64ba (diff)
downloadmariadb-git-f8be48bb4f27e4472346987dde341f393dc7d944.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).
Diffstat (limited to 'sql/event_data_objects.h')
-rw-r--r--sql/event_data_objects.h14
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