Commit 284fba03acdf6e8da4d2fea88ddc0c096577c966
1 parent
65fb8570
Revert the previous commit. This function was in use.
Add a comment to replace it, because the trigger are not managed here.
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
controller/hk_utils.anubis
| ... | ... | @@ -10,8 +10,9 @@ read xlib/web/web_arg_utils.anubis |
| 10 | 10 | |
| 11 | 11 | read hayamiki_lib/view/view_table_manager_types.anubis |
| 12 | 12 | read hayamiki_lib/types/hayamiki.anubis |
| 13 | -/* | |
| 14 | - public define Maybe(Int) | |
| 13 | + | |
| 14 | +//TODO replace that function which not call the triggers | |
| 15 | +public define Maybe(Int) | |
| 15 | 16 | update_row |
| 16 | 17 | ( |
| 17 | 18 | SQLite3DataBase db, |
| ... | ... | @@ -32,12 +33,12 @@ read hayamiki_lib/types/hayamiki.anubis |
| 32 | 33 | failure then failure, |
| 33 | 34 | success(inserted_idx) then |
| 34 | 35 | //replace_Int(_session.fields, "hk_last_insert_idx", inserted_idx); |
| 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 | + //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 | 37 | success(inserted_idx) |
| 37 | 38 | } |
| 38 | 39 | } |
| 39 | 40 | . |
| 40 | -*/ | |
| 41 | + | |
| 41 | 42 | |
| 42 | 43 | public define String |
| 43 | 44 | row_show_string | ... | ... |