dbd/mysql/main.c@7c968f66bccd
dbd/mysql/main.c
Fri, 29 Jun 2012 17:45:37 +0100
- author
- Matthew Wild <mwild1@gmail.com>
- date
- Fri, 29 Jun 2012 17:45:37 +0100
- changeset 45
- 7c968f66bccd
- parent 33
-
6c64c45e7d8f
- permissions
- -rw-r--r--
MySQL: Avoid allocating the full column size to receive results, for variable-length types check result size before allocation (thanks Florob)
#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;
}