Fri, 19 Dec 2008 09:17:16 +0000
Added the statement:affected() and statement:rowcount() methods.
#include <mysql.h> #include <dbd/common.h> #define DBD_MYSQL_CONNECTION "DBD.MySQL.Connection" #define DBD_MYSQL_STATEMENT "DBD.MySQL.Statement" /* * connection object implementation */ typedef struct _connection { MYSQL *mysql; } connection_t; /* * statement object implementation */ typedef struct _statement { MYSQL *mysql; MYSQL_STMT *stmt; MYSQL_RES *metadata; /* result dataset metadata */ } statement_t;