From f93cdcb2847b530b1c9897c29bf4b57c8df347ac Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 24 Dec 2012 14:38:54 +0000 Subject: Remove stragling debug --- libmysqlpp/command.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'libmysqlpp/command.cpp') 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)); -- cgit v1.2.3