diff --git a/controller/hk_sql_utils.anubis b/controller/hk_sql_utils.anubis index 95c1198..d4795a5 100644 --- a/controller/hk_sql_utils.anubis +++ b/controller/hk_sql_utils.anubis @@ -74,7 +74,7 @@ public define Int if sql_query_timeout(db, clause+";", [], "get_count_by_clause") is { error(_) then 0, - ok(_, cursor, _) then db_get_integer(cursor) + ok(_, cursor, _) then db_get_Int(cursor) } . @@ -93,7 +93,7 @@ public define Int if sql_query_timeout(db, "SELECT COUNT(\""+table_name+".id\") FROM "+table_name+" "+clause+";", [], "get_count_by_clause") is { error(_) then 0, - ok(_, cursor, _) then db_get_integer(cursor) + ok(_, cursor, _) then db_get_Int(cursor) } . @@ -123,7 +123,7 @@ public define List(Int) if sql_query_timeout(db, "SELECT \"id\" FROM "+table_name+" "+final_clause+";", [], "get_ids_by_clause") is { error(_) then [], - ok(_, cursor, _) then db_get_integer_list(cursor) + ok(_, cursor, _) then db_get_List_Int(cursor) } . @@ -143,7 +143,7 @@ public define List(Int) if sql_query_timeout(db, "SELECT \""+id_col+"\" FROM "+table_name+" "+final_clause+";", [], "get_ids_by_clause") is { error(_) then [], - ok(_, cursor, _) then db_get_integer_list(cursor) + ok(_, cursor, _) then db_get_List_Int(cursor) } . @@ -163,7 +163,7 @@ public define Maybe(Int) if sql_query_timeout(db, "SELECT \""+id_col+"\" FROM "+table_name+" "+final_clause+";", [], "get_mb_id_by_clause") is { error(_) then failure, - ok(_, cursor, _) then db_get_mb_integer(cursor) + ok(_, cursor, _) then db_get_mb_Int(cursor) } . -- libgit2 0.21.4