Show
Ignore:
Timestamp:
04/04/08 06:08:04 (20 months ago)
Author:
fumiakiy
Message:

Stopped saving something in the database while database driver is being initialized. Let us see if this fixes the occasional "Time to Upgrade!" bug. BugId:58199

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-33/lib/MT/ObjectDriver/Driver/DBD/Pg.pm

    r1174 r1769  
    107107        local $@; 
    108108        if (!$dbh->do("SET NAMES '" . $c . "'")) { 
    109             # 'set names' command isn't working for this verison of mysql, 
     109            # 'set names' command isn't working for this verison of PostgreSQL, 
    110110            # assign SQLSetNames to 0 to prevent further errors. 
    111111            $cfg->SQLSetNames(0, 1); 
    112             $cfg->save_config; 
    113112            return 0; 
    114113        } else { 
     
    117116                # 'SET NAMES' command, so it's safe to SET NAMES in the future. 
    118117                $cfg->SQLSetNames(1, 1); 
    119                 $cfg->save_config; 
    120118            } 
    121119        }