Fri, 29 Jun 2012 17:45:37 +0100
MySQL: Avoid allocating the full column size to receive results, for variable-length types check result size before allocation (thanks Florob)
1 | 1 | #include "dbd_postgresql.h" |
2 | ||
3 | int dbd_postgresql_connection(lua_State *L); | |
4 | int dbd_postgresql_statement(lua_State *L); | |
5 | ||
2 | 6 | /* |
7 | * library entry point | |
8 | */ | |
33 | 9 | LUA_EXPORT int luaopen_dbdpostgresql(lua_State *L) { |
1 | 10 | dbd_postgresql_connection(L); |
11 | dbd_postgresql_statement(L); | |
12 | ||
13 | return 1; | |
14 | } | |
15 |