免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1672 | 回复: 2
打印 上一主题 下一主题

检索sybase数据库时候出现报错:ct_send(): [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-10-14 12:48 |只看该作者 |倒序浏览
user api layer:external error: this routine cannot be called because
another command structure has results pending!  
各位老大这是什么错误 怎么解决呢 多谢!!!!!!

论坛徽章:
0
2 [报告]
发表于 2003-10-14 13:26 |只看该作者

检索sybase数据库时候出现报错:ct_send():

Possible Cause
This error can occur when an application:

Initiates a new command on a new command structure before all of the results from a previous command have been processed.
Attempts to close a connection where results are pending.
Action
To resolve the problem, take one of following actions, as appropriate:

Check your code to verify that you are not issuing a new command on a new command structure until all results from a previous command structure have been completely processed.
Check your results processing loop. It must process all results returned until ct_results returns a value of CS_SUCCEED.
For more information on result processing, see the section on ct_results in the Client-Library/C Reference Manual.

If the error is raised on a ct_close statement, and you want the connection closed when a certain condition has been met, whether or not all results have been processed, make the ct_close call using the CS_FORCE_CLOSE option. This closes the connection regardless of pending results. When you do this, however, the client does not notify the server of the disconnect.

论坛徽章:
0
3 [报告]
发表于 2003-10-14 14:25 |只看该作者

检索sybase数据库时候出现报错:ct_send():

老大 一段英文 俺看不太明白
不过,还是多谢了!  
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP