Commit 65fb857035bda2176afbae253232d138107269c6

Authored by David RENÉ
1 parent 229008fe

comment unneeded function. Maybe completely remove in the future

Showing 1 changed file with 4 additions and 3 deletions   Show diff stats
controller/hk_utils.anubis
@@ -10,8 +10,8 @@ read xlib/web/web_arg_utils.anubis @@ -10,8 +10,8 @@ read xlib/web/web_arg_utils.anubis
10 10
11 read hayamiki_lib/view/view_table_manager_types.anubis 11 read hayamiki_lib/view/view_table_manager_types.anubis
12 read hayamiki_lib/types/hayamiki.anubis 12 read hayamiki_lib/types/hayamiki.anubis
13 -  
14 -public define Maybe(Int) 13 +/*
  14 + public define Maybe(Int)
15 update_row 15 update_row
16 ( 16 (
17 SQLite3DataBase db, 17 SQLite3DataBase db,
@@ -32,11 +32,12 @@ public define Maybe(Int) @@ -32,11 +32,12 @@ public define Maybe(Int)
32 failure then failure, 32 failure then failure,
33 success(inserted_idx) then 33 success(inserted_idx) then
34 //replace_Int(_session.fields, "hk_last_insert_idx", inserted_idx); 34 //replace_Int(_session.fields, "hk_last_insert_idx", inserted_idx);
35 - //forget(map((HK_Trigger trigger) |-> println("call trigger after update "+trigger.trigger_name+" ON table "+table_name); trigger.trigger_call_back(db, _session), *controller.triggers.after_update)); 35 + forget(map((HK_Trigger trigger) |-> println("[update row] call trigger after update "+trigger.trigger_name+" ON table "+table_name); trigger.trigger_call_back(db, _session), *controller.triggers.after_update));
36 success(inserted_idx) 36 success(inserted_idx)
37 } 37 }
38 } 38 }
39 . 39 .
  40 +*/
40 41
41 public define String 42 public define String
42 row_show_string 43 row_show_string