Commit bb610214 authored by mskold@mysql.com's avatar mskold@mysql.com

Fix for bug#4669, Scans do not ignore uncommitted inserts (instead hang on lock)

parent 7c49eb21
......@@ -465,7 +465,7 @@ void ha_ndbcluster::release_metadata()
NdbScanOperation::LockMode get_ndb_lock_type(enum thr_lock_type type)
{
return (type == TL_WRITE_ALLOW_WRITE) ?
NdbScanOperation::LM_Exclusive : NdbScanOperation::LM_Read;
NdbScanOperation::LM_Exclusive : NdbScanOperation::LM_CommittedRead;
}
static const ulong index_type_flags[]=
......
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