summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmysqlpp/command.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libmysqlpp/command.cpp b/libmysqlpp/command.cpp
index f33306f..3551ca7 100644
--- a/libmysqlpp/command.cpp
+++ b/libmysqlpp/command.cpp
@@ -10,11 +10,9 @@ MySQL::Command::Command(const Connection * conn, const std::string & sql) :
paramsNeedBinding(false)
{
if (!stmt) {
- fprintf(stderr, "here1\n");
throw Error(mysql_error(&conn->conn));
}
if (mysql_stmt_prepare(stmt, sql.c_str(), sql.length())) {
- fprintf(stderr, "here2\n");
throw Error(mysql_stmt_error(stmt));
}
binds.resize(mysql_stmt_param_count(stmt));