~mysql/mysql-utilities/1.3.2

« back to all changes in this revision

Viewing changes to mysql/utilities/common/database.py

  • Committer: Paulo Jesus
  • Date: 2013-04-19 18:31:54 UTC
  • mfrom: (289.1.47 mysql-utilities-1.2.2)
  • Revision ID: paulo.jesus@oracle.com-20130419183154-g8rkvs2oezbdvrud
Release-1.3.1 Merge

This patch merges version 1.2.2 to 1.3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
607
607
        definition = []
608
608
        from_name = None
609
609
        condition = None
610
 
        
 
610
 
 
611
        # Remove objects backticks if needed
 
612
        db = remove_backtick_quoting(db) \
 
613
                    if is_quoted_with_backticks(db) else db
 
614
        name = remove_backtick_quoting(name) \
 
615
                    if is_quoted_with_backticks(name) else name
 
616
 
611
617
        if obj_type == _DATABASE:
612
618
            columns = 'SCHEMA_NAME, DEFAULT_CHARACTER_SET_NAME, ' + \
613
619
                      'DEFAULT_COLLATION_NAME, SQL_PATH'