Commit 143ad508 authored by pekka@mysql.com's avatar pekka@mysql.com

ndb - testScan -n ScanRead488O fix

parent 1cd13590
...@@ -317,6 +317,7 @@ int runScanReadIndex(NDBT_Context* ctx, NDBT_Step* step){ ...@@ -317,6 +317,7 @@ int runScanReadIndex(NDBT_Context* ctx, NDBT_Step* step){
g_info << i << ": "; g_info << i << ": ";
bool sort = (rand() % 100) > 50 ? true : false; bool sort = (rand() % 100) > 50 ? true : false;
bool desc = (rand() % 100) > 50 ? true : false; bool desc = (rand() % 100) > 50 ? true : false;
desc = false; // random causes too many deadlocks
int scan_flags = int scan_flags =
(NdbScanOperation::SF_OrderBy & -(int)sort) | (NdbScanOperation::SF_OrderBy & -(int)sort) |
(NdbScanOperation::SF_Descending & -(int)desc); (NdbScanOperation::SF_Descending & -(int)desc);
......
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