~ubuntuone-pqm-team/django-south/stable

« back to all changes in this revision

Viewing changes to south/db/mysql.py

  • Committer: Ricardo Kirkner
  • Date: 2013-06-10 00:19:31 UTC
  • Revision ID: ricardo.kirkner@canonical.com-20130610001931-azfj57kme0qd4uca
Tags: 0.8
added South-0.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
 
100
100
    allows_combined_alters = False
101
101
    has_check_constraints = False
 
102
    raises_default_errors = False
102
103
 
103
104
    geom_types = ['geometry', 'point', 'linestring', 'polygon']
104
105
    text_types = ['text', 'blob']
107
108
        self._constraint_references = {}
108
109
        self._reverse_cache = {}
109
110
        super(DatabaseOperations, self).__init__(db_alias)
 
111
        if self._has_setting('STORAGE_ENGINE') and self._get_setting('STORAGE_ENGINE'):
 
112
            self.create_table_sql = self.create_table_sql + ' ENGINE=%s' % self._get_setting('STORAGE_ENGINE')
110
113
 
111
114
    def _is_valid_cache(self, db_name, table_name):
112
115
        cache = self._constraint_cache