Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-682

Generating mysql 4.0 file on PHP 5.1 takes a long time

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      shot@desaxe:~/work/civicrm/svn/v1.3/xml$ time /usr/bin/php5 GenCode.php
      [?]
      real 0m45.937s
      user 0m39.877s
      sys 0m0.875s

      shot@desaxe:~/work/civicrm/svn/v1.3/xml$ time /usr/bin/php5.1 GenCode.php
      [?]
      Generating mysql 4.0 file
      [a long wait here]
      [?]
      real 3m37.550s
      user 3m17.890s
      sys 0m3.264s

      Feel free to change the fix version if we don?t strive for full PHP 5.1 compatibility of GenCode.php (we need it to be ran only on the machine that generates the tarballs), but I believe this issue should be solved sooner or later anyway.

      The PHP 5.0.5 packages are the official Ubuntu Breezy ones, the PHP 5.1.1 packages are from Dexter (http://people.debian.org/~dexter/).

      shot@desaxe:~/work/civicrm/svn/v1.3/xml$ /usr/bin/php5 -v
      PHP 5.0.5-2ubuntu1.1 (cli) (built: Dec 23 2005 10:33:54)
      Copyright (c) 1997-2004 The PHP Group
      Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies

      shot@desaxe:~/work/civicrm/svn/v1.3/xml$ /usr/bin/php5.1 -v
      PHP 5.1.1-Debian-0.1~breezy1 (cli) (built: Dec 7 2005 09:43:14) (Debian GNU/Linux)
      Copyright (c) 1997-2005 The PHP Group
      Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              shot Piotr Szotkowski
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: