Sun, 23 Nov 2008 01:29:09 +0000
Initial import.
1 | 1 | #include <mysql.h> |
2 | #include <dbd/common.h> | |
3 | ||
4 | #define DBD_MYSQL_CONNECTION "DBD.MySQL.Connection" | |
5 | #define DBD_MYSQL_STATEMENT "DBD.MySQL.Statement" | |
6 | ||
7 | typedef struct _connection { | |
8 | MYSQL *mysql; | |
9 | } connection_t; | |
10 | ||
11 | typedef struct _statement { | |
12 | MYSQL *mysql; | |
13 | MYSQL_STMT *stmt; | |
14 | MYSQL_RES *metadata; | |
15 | } statement_t; | |
16 |