Uploaded image for project: 'Support'
  1. Support
  2. SUPPORT-244

ods-migrate segfaults when mysql host is not configured.

    XMLWordPrintable

    Details

    • Type: Support
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.4
    • Fix Version/s: 2.1.5
    • Component/s: Configuration
    • Labels:
      None
    • Environment:

      configure is run with "--with-enforcer-database=mysql"

      Description

      When migrating from 1.4 to 2.1.4 the ods-migrate tool gives a segmentation fault when the conf.xml contains the following:

      <Enforcer>
          <Datastore>
              <MySQL> 
                  <Database>kaspdb2</Database>
                  <Username>kaspuser</Username>
                  <Password>*************</Password>
              </MySQL>
          </Datastore>
      </Enforcer>

      It does not fail when the Host is added:

      <Enforcer>
          <Datastore>
              <MySQL> 
                  <Host>localhost</Host>
                  <Database>kaspdb2</Database>
                  <Username>kaspuser</Username>
                  <Password>*************</Password>
              </MySQL>
          </Datastore>
      </Enforcer>

        Attachments

          Activity

            People

            Assignee:
            berry Berry van Halderen
            Reporter:
            unixbeheer unixbeheer@sidn.nl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: