Ignore:
Timestamp:
Apr 27, 2017 4:43:35 PM (7 years ago)
Author:
anonymous
Message:

Updated every instance of 'zero' date 0000-00-00 to use 1000-01-01 if mysql version >= 5.7.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/init_codebase_tables.cli.php

    r573 r601  
    146146            // Lock!
    147147            require_once CODEBASE_PATH . '/lib/Lock.inc.php';
     148            require_once CODEBASE_PATH . '/lib/Auth_SQL.inc.php';
    148149            $lock =& Lock::getInstance(new Auth_SQL('codebase'));
    149150            $lock->setParam(array('create_table' => true));
     
    162163            // Version!
    163164            require_once CODEBASE_PATH . '/lib/Version.inc.php';
     165            require_once CODEBASE_PATH . '/lib/Auth_SQL.inc.php';
    164166            $version = Version::getInstance(new Auth_SQL('codebase'));
    165167            $version->setParam(array('create_table' => true));
Note: See TracChangeset for help on using the changeset viewer.