"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mysql/utilities/command/indexcheck.py" between
mysql-utilities-1.6.4.tar.gz and mysql-utilities-1.6.5.tar.gz

About: MySQL Utilities is a package of utilities that are used for maintenance and administration of MySQL servers (written in Python).

indexcheck.py  (mysql-utilities-1.6.4):indexcheck.py  (mysql-utilities-1.6.5)
skipping to change at line 130 skipping to change at line 130
quote_with_backticks(table[0], quote_with_backticks(table[0],
sql_mode))) sql_mode)))
# Fail if no tables to check # Fail if no tables to check
if not table_list: if not table_list:
raise UtilError("No tables to check.") raise UtilError("No tables to check.")
if verbosity > 1: if verbosity > 1:
print "# Checking indexes..." print "# Checking indexes..."
# Check indexes for each table in the list # Check indexes for each table in the list
# pylint: disable=R0101
for table_name in table_list: for table_name in table_list:
tbl_options = { tbl_options = {
'verbose': verbosity >= 1, 'verbose': verbosity >= 1,
'get_cols': False, 'get_cols': False,
'quiet': verbosity is None or verbosity < 1 'quiet': verbosity is None or verbosity < 1
} }
tbl = Table(source, table_name, tbl_options) tbl = Table(source, table_name, tbl_options)
exists = tbl.exists() exists = tbl.exists()
if not exists and not skip: if not exists and not skip:
raise UtilError("Table %s does not exist. Use --skip " raise UtilError("Table %s does not exist. Use --skip "
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS