diff options
author | randomdan <randomdan@localhost> | 2012-12-24 14:38:54 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2012-12-24 14:38:54 +0000 |
commit | f93cdcb2847b530b1c9897c29bf4b57c8df347ac (patch) | |
tree | 909083debe6bfab50b5d0a45233ce228ef56fe49 /libmysqlpp/command.cpp | |
parent | Implement a basic MySQL bulk loader (diff) | |
download | libdbpp-mysql-f93cdcb2847b530b1c9897c29bf4b57c8df347ac.tar.bz2 libdbpp-mysql-f93cdcb2847b530b1c9897c29bf4b57c8df347ac.tar.xz libdbpp-mysql-f93cdcb2847b530b1c9897c29bf4b57c8df347ac.zip |
Remove stragling debug
Diffstat (limited to 'libmysqlpp/command.cpp')
-rw-r--r-- | libmysqlpp/command.cpp | 2 |
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)); |