# HG changeset patch # User jbe # Date 1451852157 -3600 # Node ID ef3201ed67f5381f0b7d46959469b5b12ce8dc25 # Parent ac9a4e1885dadb1be2e1dc6dc3d8f146d5828d1f Bug in :try_query(...) fixed, which caused errors when result contains more than two columns (bug introduced by changeset fb98b17056e5) diff -r ac9a4e1885da -r ef3201ed67f5 libraries/mondelefant/mondelefant_native.c --- a/libraries/mondelefant/mondelefant_native.c Thu Dec 10 17:27:53 2015 +0100 +++ b/libraries/mondelefant/mondelefant_native.c Sun Jan 03 21:15:57 2016 +0100 @@ -1270,7 +1270,7 @@ lua_pushvalue(L, 13); // 14 lua_rawseti(L, 8, col+1); lua_rawset(L, 9); - lua_settop(L, 9); + lua_settop(L, 10); } lua_settop(L, 7); } @@ -1299,7 +1299,7 @@ lua_pushvalue(L, 12); // 13 lua_rawseti(L, 6, col+1); lua_rawset(L, 8); - lua_settop(L, 8); + lua_settop(L, 9); } } }