lua-decision: handle correctly the number or result rows in selection_update()
authorJanos Kovacs <jankovac503@gmail.com>
Sun, 17 Feb 2013 21:24:54 +0000 (23:24 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Mon, 18 Feb 2013 19:21:33 +0000 (21:21 +0200)
src/core/lua-decision/mdb.c

index 4928f71..aada8d5 100644 (file)
@@ -1145,7 +1145,7 @@ static int select_update(lua_State *L, int tbl, mrp_lua_mdb_select_t *sel)
         }
         else {
             sel->result = result;
-            nrow = mql_result_rows_get_row_column_count(result);
+            nrow = mql_result_rows_get_row_count(result);
         }
     }