db_state_array_name_is (private)

 db_state_array_name_is [ -dbn dbn ]

Defined in packages/acs-tcl/tcl/01-database-procs.tcl

Switches:
-dbn (optional)
The database name to use. If empty_string, uses the default database.
Returns:
the name of the global db_state array for the given database name.
Author:
Andrew Piskorski <atp@piskorski.com>
Created:
2003/03/16

Partial Call Graph (max 5 caller/called nodes):
%3 db_abort_transaction db_abort_transaction (public) db_state_array_name_is db_state_array_name_is db_abort_transaction->db_state_array_name_is db_abort_transaction_p db_abort_transaction_p (private) db_abort_transaction_p->db_state_array_name_is db_release_unused_handles db_release_unused_handles (public) db_release_unused_handles->db_state_array_name_is db_transaction db_transaction (public) db_transaction->db_state_array_name_is

Testcases:
No testcase defined.
Source code:
    if { $dbn eq "" } {
        set dbn $::acs::default_database
    }
    #if {[llength [trace info variable ::db_state_${dbn}]] == 0} {
    #    trace add variable ::db_state_${dbn} {array read write unset} [list ::db_tracer ::db_state_${dbn}]
    #}
    return "::db_state_${dbn}"
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: