MTW 写入报错 <Exception> in insert: thread is exiting. 可能是什么原因

我在使用 MTW 写入数据时出现报错 <Exception> in insert: thread is exiting. 可能是什么原因导致的
attachments-2023-06-DhWKuAQB649e2fe550519.png

请先 登录 后评论

1 个回答

veryOrdinary

有几种可能的原因:

1. 写入数据中有脏数据,如类型不匹配的数据,导致数据没插入完成之前,mtw 的线程就退出了。

2. 调用 waitForThreadCompletion 后,继续用 mtw 对象写入数据。

请先 登录 后评论