• Jérome Perrin's avatar
    ZMySQLDA: set time_zone session variable to UTC · e88cf4ad
    Jérome Perrin authored
    Our patched MySQLDA assumes that DATE and DATETIME columns are in UTC,
    but the TIMESTAMP columns are using mysql's time_zone variable, which
    defaults to mysql server system timezone.
    
    Set time_zone session variable at the beginning of each connection so
    that TIMESTAMP columns are also UTC.
    e88cf4ad
db.py 24.3 KB