|
//void execute(){ // if(sql/Index.html'>mysql_stmt_execute(stmt_)) // throw sql/Index.html'>mysql_stmt_error(stmt_); //} void bind(MYSQL_BIND* bind){ if(sql/Index.html'>mysql_stmt_bind_param(stmt_,bind) ) throw sql/Index.html'>mysql_stmt_error(stmt_); } int fetch(){ return sql/Index.html'>mysql_stmt_fetch(stmt_)==0; } ~DBSTMT(){ if(stmt_){ sql/Index.html'>mysql_stmt_close(stmt_); } } }; class DBMysql{ DBMysql(const DBMysql&); DBMysql&operator=(const DBMysql&); MYSQL * sql/Index.html'>mysqlPtr_;
上一页 [1] [2] [3] [4] [5] [6] [7] 下一页
|