Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行sql语句后卡住 #47

Open
waste-of-kindergarten opened this issue Mar 18, 2023 · 0 comments
Open

执行sql语句后卡住 #47

waste-of-kindergarten opened this issue Mar 18, 2023 · 0 comments

Comments

@waste-of-kindergarten
Copy link

我使用的ghc版本是8.6.5, mysql 版本8+ , 尝试使用mysql-haskell 进行增删查改, 除了查找外, 其他几个操作能够执行,但是执行后会立即卡住,例如
query_ conn "insert into xxx values (...)", 数据库中显示已经插入,但控制台的主程序卡在此处不能继续执行其他的操作.我不清楚问题出在哪里?

目前我尝试结合启动带有消亡时间的线程来使用,插入后自动清除线程来继续其他的操作.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant