Home  >  Article  >  Database  >  mysql-c++接口程序求大神指导

mysql-c++接口程序求大神指导

WBOY
WBOYOriginal
2016-06-06 09:36:341156browse

mysql

当我执行到try语句块中的stmt—>executeUpdate()时就跳入至catch里,而且我看了catch里的err = ex.getErrorCode()的err值为0,而且ex.getMessage()信息如下面的自动窗口提示,不知怎么修改,希望有大神指点,谢谢!具体代码如下图:图片图片

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn