Commit b8cbed7c authored by unknown's avatar unknown

Added comment to store_lock

parent e0e1adc3
...@@ -3083,7 +3083,13 @@ double ha_ndbcluster::scan_time() ...@@ -3083,7 +3083,13 @@ double ha_ndbcluster::scan_time()
DBUG_RETURN(res); DBUG_RETURN(res);
} }
/*
Convert MySQL table locks into locks supported by Ndb Cluster.
Note that MySQL Cluster does currently not support distributed
table locks, so to be safe one should set cluster in Single
User Mode, before relying on table locks when updating tables
from several MySQL servers
*/
THR_LOCK_DATA **ha_ndbcluster::store_lock(THD *thd, THR_LOCK_DATA **ha_ndbcluster::store_lock(THD *thd,
THR_LOCK_DATA **to, THR_LOCK_DATA **to,
enum thr_lock_type lock_type) enum thr_lock_type lock_type)
......
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