Commit 73f31696 authored by unknown's avatar unknown

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

parent f226af45
......@@ -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