Commit 194745cd authored by unknown's avatar unknown

ndb - testScan -n ScanRead488O fix


ndb/test/ndbapi/testScan.cpp:
  remove added test feature
parent aa80c3a4
...@@ -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