FATAL: `thread_run' function failed: ./tpcc_run.lua:115: attempt to perform arithmetic on local 'd_next_o_id' (a nil value) (last message repeated 2 times) FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value) FATAL: `thread_run' function failed: ./tpcc_run.lua:115: attempt to perform arithmetic on local 'd_next_o_id' (a nil value) FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value) ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value) FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value)怎么解决
时间: 2024-02-26 07:53:44 浏览: 416
fatal error: boostdesc_bgm.i: No such file or directory补充文件
这段错误信息看起来是来自一个名为 tpcc_run.lua 的 Lua 脚本。其中的错误包括尝试在一个空值上进行算术运算,尝试从一个空结果集中获取行等等。要解决这些错误,你需要检查代码并确定哪些变量或值为空或未定义,然后进行必要的检查和处理。这可能需要对代码进行逐行分析和调试,以确定问题的确切原因。建议你仔细检查代码并使用调试器或其他工具来帮助你找到问题所在。
阅读全文