summaryrefslogtreecommitdiff
path: root/libmysqlpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2012-12-24 14:38:54 +0000
committerrandomdan <randomdan@localhost>2012-12-24 14:38:54 +0000
commitf93cdcb2847b530b1c9897c29bf4b57c8df347ac (patch)
tree909083debe6bfab50b5d0a45233ce228ef56fe49 /libmysqlpp
parentImplement a basic MySQL bulk loader (diff)
downloadlibdbpp-mysql-f93cdcb2847b530b1c9897c29bf4b57c8df347ac.tar.bz2
libdbpp-mysql-f93cdcb2847b530b1c9897c29bf4b57c8df347ac.tar.xz
libdbpp-mysql-f93cdcb2847b530b1c9897c29bf4b57c8df347ac.zip
Remove stragling debug
Diffstat (limited to 'libmysqlpp')
-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));