dbd/postgresql/main.c@5ba1dd988961
dbd/postgresql/main.c
Sat, 30 Jun 2012 00:37:19 +0200
- author
- Matthew Wild <mwild1@gmail.com>
- date
- Sat, 30 Jun 2012 00:37:19 +0200
- changeset 46
- 5ba1dd988961
- parent 33
-
6c64c45e7d8f
- permissions
- -rw-r--r--
MySQL: Fix off-by-one in allocation and pass address of correct bind result buffer to mysql_stmt_fetch_column()
#include "dbd_postgresql.h"
int dbd_postgresql_connection(lua_State *L);
int dbd_postgresql_statement(lua_State *L);
/*
* library entry point
*/
LUA_EXPORT int luaopen_dbdpostgresql(lua_State *L) {
dbd_postgresql_connection(L);
dbd_postgresql_statement(L);
return 1;
}