dbd/mysql/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_mysql.h"

int dbd_mysql_connection(lua_State *L);
int dbd_mysql_statement(lua_State *L);

/*
 * libabry entry point
 */
LUA_EXPORT int luaopen_dbdmysql(lua_State *L) {
    dbd_mysql_connection(L);
    dbd_mysql_statement(L);

    return 1;
}

mercurial