def show_indexes():
output_line("\n\n")
output_line("--- %s ---" % "indexes")
for tbl in TABLES:
show_qry_ex(INDEXES_INFO_SQL, tbl)
//show_qry("indexes columns", INDEXES_COLUMNS_INFO_SQL)
After Change
def show_indexes():
title = "indexes"print_start_info(title)
for tbl in TABLES:
show_qry_ex(INDEXES_INFO_SQL, tbl)
//show_qry("indexes columns", INDEXES_COLUMNS_INFO_SQL)
print_stop_info(title)
title = "indexes columns"
print_start_info(title)
cur = db_conn().cursor()