I have tried the alpha relase and I got no errors with the alpha relase.I realised that I got the problems that I specified are related with the 1.0.0preview release.
But there are some warning messages in the alpha relase.For ex:
In "driver/mysql_prepared_statement.cpp:202":
The line is:
if (param_count && !param_bind->isAllSet() || mysql_stmt_bind_param(stmt, param_bind->get()) ) {
CPP_ERR("Couldn't bind");
throw sql::SQLException(mysql_stmt_error(stmt), mysql_stmt_sqlstate(stmt), mysql_stmt_errno(stmt));
}
The warning message is:
warning:suggest parenthesis around && within ||
As the reference says:
http://www.cppreference.com/wiki/operator_precedence
&& has evaluated before ||
So the code must be:
if ((param_count && !param_bind->isAllSet()) || mysql_stmt_bind_param(stmt, param_bind->get()) ) {
CPP_ERR("Couldn't bind");
throw sql::SQLException(mysql_stmt_error(stmt), mysql_stmt_sqlstate(stmt), mysql_stmt_errno(stmt));
}
Also there are some warning messages in the examples and also in the test classes.