Skip to content

优海

人,技术,生活。

  • 常用
  • 生活
  • 历史
  • 技术
  • 编程
  • 软件

Day: October 26, 2022

Broken pipe in QSqlQuery

November 17, 2022October 26, 2022 by euhat
1
2
3
#include <signal.h>
signal(SIGPIPE, SIG_IGN);
//.

#include <signal.h> signal(SIGPIPE, SIG_IGN); //.

And reconnect mysql database before wait_timeout reached.

refer to:
https://zhuanlan.zhihu.com/p/335138654
https://blog.csdn.net/chengcheng1024/article/details/108104507
https://zhuanlan.zhihu.com/p/36104903

Categories 编程 Tags QSqlQuery, 判断, 存活, 连接
October 2022
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Sep   Nov »

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Email:
euhat@hotmail.com
wolinux@163.com

鄂ICP备14020742号-1

Tags

Android bash c Chrome cmake debug dpdk epoll Euhat fedora ffmpeg gdb include ipsec jni kernel Linux mat MFC mp4 NDK ofp opencv openssl printf python qt Rtsp source StrongSwan tcp ubuntu UE4 vmware win32 Windows 命令行 失败 年表 控件 日语 源码 皇帝 禁止 编译
© 2025 优海 • Built with GeneratePress