liquid_feedback_frontend
diff config/init.lua @ 1149:911253ad0898
Removed sql tracer initialization
author | bsw |
---|---|
date | Sun Mar 22 18:54:08 2015 +0100 (2015-03-22) |
parents | 24787d0d9317 |
children | e9f6ae14bc72 |
line diff
1.1 --- a/config/init.lua Sun Mar 22 18:50:36 2015 +0100 1.2 +++ b/config/init.lua Sun Mar 22 18:54:08 2015 +0100 1.3 @@ -77,14 +77,6 @@ 1.4 1.5 function mondelefant.class_prototype:get_db_conn() return db end 1.6 1.7 - -- enable output of SQL commands in trace system 1.8 - function db:sql_tracer(command) 1.9 - return function(error_info) 1.10 - local error_info = error_info or {} 1.11 - trace.sql{ command = command, error_position = error_info.position } 1.12 - end 1.13 - end 1.14 - 1.15 -- close the database at exit 1.16 at_exit(function() 1.17 db:close()