_xotcl-core__test_db_out_of_pools (private)
_xotcl-core__test_db_out_of_pools
Defined in packages/xotcl-core/tcl/test/xotcl-test-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set _aa_export {} set body_count 1 foreach testcase_body {{ set one_too_many_pools [expr {[llength [db_available_pools ""]] + 1}] aa_false "Nesting $one_too_many_pools '::xo::dc foreach' does not return an error" [catch { set code {} for {set i 0} {$i < $one_too_many_pools} {incr i} { set code "::xo::dc foreach q {select 1 from dual} {$code}" } eval $code }] aa_false "Nesting $one_too_many_pools '::xo::dc multirow' does not return an error" [catch { set code {} for {set i 0} {$i < $one_too_many_pools} {incr i} { set code "::xo::dc multirow test_$i q {select 1 from dual} {$code}" } eval $code }] }} { aa_log "Running testcase body $body_count" set ::__aa_test_indent [info level] set catch_val [catch $testcase_body msg] if {$catch_val != 0 && $catch_val != 2} { aa_log_result "fail" "test_db_out_of_pools (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle