webmcp

changeset 399:ef3201ed67f5

Bug in <db_handle>:try_query(...) fixed, which caused errors when result contains more than two columns (bug introduced by changeset fb98b17056e5)
author jbe
date Sun Jan 03 21:15:57 2016 +0100 (2016-01-03)
parents ac9a4e1885da
children 7b183a70a37d
files libraries/mondelefant/mondelefant_native.c
line diff
     1.1 --- a/libraries/mondelefant/mondelefant_native.c	Thu Dec 10 17:27:53 2015 +0100
     1.2 +++ b/libraries/mondelefant/mondelefant_native.c	Sun Jan 03 21:15:57 2016 +0100
     1.3 @@ -1270,7 +1270,7 @@
     1.4              lua_pushvalue(L, 13);  // 14
     1.5              lua_rawseti(L, 8, col+1);
     1.6              lua_rawset(L, 9);
     1.7 -            lua_settop(L, 9);
     1.8 +            lua_settop(L, 10);
     1.9            }
    1.10            lua_settop(L, 7);
    1.11          }
    1.12 @@ -1299,7 +1299,7 @@
    1.13            lua_pushvalue(L, 12);  // 13
    1.14            lua_rawseti(L, 6, col+1);
    1.15            lua_rawset(L, 8);
    1.16 -          lua_settop(L, 8);
    1.17 +          lua_settop(L, 9);
    1.18          }
    1.19        }
    1.20      }

Impressum / About Us