summaryrefslogtreecommitdiff
path: root/sql/event_data_objects.cc
diff options
context:
space:
mode:
authorunknown <kostja@vajra.(none)>2007-04-06 01:53:15 +0400
committerunknown <kostja@vajra.(none)>2007-04-06 01:53:15 +0400
commita06ff97656cf8882cd87f23b206a92646be4fa0e (patch)
tree3392241ad6382afe9a80a102ad046c93c76bff80 /sql/event_data_objects.cc
parent25677bdc2e385f67f7df13c5fb25d0973e1f00d9 (diff)
downloadmariadb-git-a06ff97656cf8882cd87f23b206a92646be4fa0e.tar.gz
A fix for events_trans.test failure on many hosts (5.1-runtime)
sql/event_data_objects.cc: Disable an event if its data in the table is corrupted. sql/events.cc: A fix for events_trans failure on most of the hosts. A better error message if the event table is old (don't suggest it's corrupted, it may simply have bad data).
Diffstat (limited to 'sql/event_data_objects.cc')
-rw-r--r--sql/event_data_objects.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/event_data_objects.cc b/sql/event_data_objects.cc
index 1881a3540e4..3d2a5b277fe 100644
--- a/sql/event_data_objects.cc
+++ b/sql/event_data_objects.cc
@@ -1043,6 +1043,7 @@ Event_queue_element::load_from_row(THD *thd, TABLE *table)
status = Event_queue_element::SLAVESIDE_DISABLED;
break;
case 'D' :
+ default:
status = Event_queue_element::DISABLED;
break;
}