sysbench-tpcc
sysbench-tpcc copied to clipboard
Question about other_ware function
Not really understand other_ware in tpcc_run.lua.
https://github.com/Percona-Lab/sysbench-tpcc/blob/585e2b8af327d35866aed7e56837c2134d8835a9/tpcc_run.lua#L24C1-L36C4
I think this code will finally generate a warehouse_id exactly as same as input, which is opposite to the comment over the code.