Hi, Alex
I found that the result of mysql_stmt_errno() isn't saved in StatementException (v1.5.1). So I can't distinguish what the real error is becase the code() equal 0. I wonder if the next version will fix it or keep it?
v1.5.1
--Data/MySQL/src/MySQLException.h
126 StatementException::StatementException(const std::string& text, MYSQL_STMT* h, const std::string& stmt) : MySQLException(compose(text, h, stmt))
127 {
128 }
v1.4.6
--Data/MySQL/src/MySQLException.h
82 StatementException::StatementException(const std::string& text, MYSQL_STMT* h, const std::string& stmt) :
83 MySQLException(compose(text, h, stmt), mysql_stmt_errno(h))
84 {
85 }





