1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

ndb - testScan -n ScanRead488O fix

ndb/test/ndbapi/testScan.cpp:
  remove added test feature
This commit is contained in:
unknown
2005-05-15 17:56:39 +02:00
parent aa80c3a4be
commit 194745cd63

View File

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