Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23890

ezdbschema does not sort elements of indexes when dumping schema definition

    XMLWordPrintable

Details

    Description

      This is not a critical problem, as in the dump the array key is saved for each index element. This is in turn used to recreate the index with elements in the proper order.

      It is just a problem when you use DIFF to compare .dba files.

      To explain it better: here's (part of) the output of ezsqldumpschema:

      'indexes' =>
      array (
      'PRIMARY' =>
      array (
      'type' => 'primary',
      'fields' =>
      array (
      1 => 'version',
      0 => 'contentobject_attribute_id',
      ),
      ),
      ),

      as you can see element 1 is first, element 2 is second

      Attachments

        Activity

          People

            Unassigned Unassigned
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: