Merge dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.1/mysql-5.1-new-ndb

into  dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.1/mysql-5.1-new-ndb-bj.merge
parents 10dffc5a 2e27f2ce
...@@ -3915,6 +3915,8 @@ int ha_ndbcluster::extra(enum ha_extra_function operation) ...@@ -3915,6 +3915,8 @@ int ha_ndbcluster::extra(enum ha_extra_function operation)
DBUG_PRINT("info", ("HA_EXTRA_UPDATE_CANNOT_BATCH")); DBUG_PRINT("info", ("HA_EXTRA_UPDATE_CANNOT_BATCH"));
m_update_cannot_batch= TRUE; m_update_cannot_batch= TRUE;
break; break;
default:
break;
} }
DBUG_RETURN(0); DBUG_RETURN(0);
......
...@@ -113,7 +113,7 @@ public: ...@@ -113,7 +113,7 @@ public:
bool has_triggers(trg_event_type event_type, bool has_triggers(trg_event_type event_type,
trg_action_time_type action_time) trg_action_time_type action_time)
{ {
return (bodies[event_type][action_time]); return (bodies[event_type][action_time] != NULL);
} }
bool has_delete_triggers() bool has_delete_triggers()
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment