Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-846

[GH-551] Foreign key checks on MySQL >= 5.5.7 for TRUNCATE

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of tPl0ch:

      Url: https://github.com/doctrine/dbal/pull/551

      Message:

      • Added `ConfigurablePlatform` interface to set the connection
        parameters to the Platform
      • Connection is now setting the parameters to the Platform if it
        implements `ConfigurablePlatform`
      • `MySQLPlatform::getTruncateSql()` now checks for a new param
        `disable_fk_checks`, if it is true and the version is affected, it
        automatically adds the required SQL.

      Additional solution to https://github.com/doctrine/dbal/pull/549

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: