| 671 | } |
| 672 | |
| 673 | int64_t getRandomKeyIndex(uint64_t rowCount) { |
| 674 | int64_t randomKeyIndex; |
| 675 | if (zipf) { |
| 676 | randomKeyIndex = zipfian_next(); |
| 677 | } else { |
| 678 | randomKeyIndex = deterministicRandom()->randomInt64(0, rowCount); |
| 679 | } |
| 680 | return randomKeyIndex; |
| 681 | } |
| 682 | void parseOperationsSpec() { |
| 683 | const char* ptr = operationsSpec.c_str(); |
| 684 | int op = 0; |
nothing calls this directly
no test coverage detected