Wrapped SQL functions with timers for debugging; fixed equalities for unimplemented functions