Commit 0679e0a6 authored by unknown's avatar unknown

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


sql/ha_ndbcluster.cc:
  Auto merged
parents 02a7bdc4 b8ea75c8
...@@ -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