会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
永远的麦田
博客园
首页
新随笔
联系
订阅
管理
2017年5月22日
freetds设置超时
摘要: freetds的超时一般在其配置文件中有设置,实际上程序中也可以设置,动用两个apidbsetlogintime dbsettime 设置在dbopen之前,如下所示: 表示设置登录超时5秒,读写超时8秒... dbsetlogintime(5); dbsettime(8); m_dbprocess = dbopen(loginrec, server); ...
阅读全文
posted @ 2017-05-22 14:43 绿色的麦田
阅读(206)
评论(0)
推荐(0)
编辑
公告