Ticket #18256: 18256.diff

File 18256.diff, 906 bytes (added by timo, 2 years ago)
  • docs/ref/databases.txt

    diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
    index 3e256e9..6cf03e9 100644
    a b Since MySQL 5.5.5, the default storage engine is InnoDB_. This engine is fully 
    158158transactional and supports foreign key references. It's probably the best
    159159choice at this point.
    160160
     161If you upgrade an existing project to MySQL 5.5.5 and subsequently add some
     162tables, ensure that your tables are using the same storage engine (i.e. MyISM
     163v. InnoDB). Specially, if tables that have a ``ForeignKey`` between them use
     164different storage engines, you may see an error like the following when
     165running ``syncdb``::
     166
     167    _mysql_exceptions.OperationalError: (
     168        1005, "Can't create table '\\db_name\\.#sql-4a8_ab' (errno: 150)"
     169    )
     170
    161171.. versionchanged:: 1.4
    162172
    163173In previous versions of Django, fixtures with forward references (i.e.
Back to Top