ns_cache proc unknown (protected)
ns_cache unknown subcmd cache_name args [ args... ]
Defined in packages/xotcl-core/tcl/01-debug-procs.tcl
- Parameters:
- subcmd (required)
- cache_name (required)
- args (required)
- Testcases:
- No testcase defined.
Source code: ns_log notice "ns_cache unknown, subcmd=$subcmd, args=$args" set ts0 [clock clicks -milliseconds] #ns_log notice "ns_cache $subcmd $cache_name" set rc [catch {uplevel ns_cache_$subcmd $cache_name $args} result] set span [expr {[clock clicks -milliseconds] - $ts0}] if {$span > 100} { ad_log notice "!!!! long ns_cache $subcmd $span ms, ns_cache $subcmd $cache_name $args" } #if {$rc != 0} {ns_log notice "EVAL returned code=$rc result='$result'"} return -code $rc $resultXQL Not present: Generic, PostgreSQL, Oracle