Skip to content

Commit

Permalink
trying to insert debug data log records (not working)
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Nov 22, 2024
1 parent 88689dc commit d39c9b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion public/go.html
Original file line number Diff line number Diff line change
Expand Up @@ -14128,7 +14128,8 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
"ui_table_debug_sql_log",
"ui_table_debug_code_sections",
"ui_table_command_source_files",
"ui_table_command_source_file_lines"
"ui_table_command_source_file_lines",
"table_debug_data_log"
].indexOf(tableName) == -1)
{
if (yz.uiDb.currentDebugStack.debugTracerId != null) {
Expand Down Expand Up @@ -14200,6 +14201,9 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
dbEventType: "INSERT",
value: r
}
yz.uiDb.sqlui( "insert into ui_table_debug_data_log ( table_name , new_value ) values (?,?)",
[tableName, JSON.stringify(r)])

}
alasql("CREATE TRIGGER process" + insertEventTriggerName + " AFTER INSERT ON " + tableName + " " + insertEventTriggerName);

Expand Down

0 comments on commit d39c9b8

Please sign in to comment.