You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Fokko Driesprong (JIRA)" <ji...@apache.org> on 2018/06/15 11:28:00 UTC

[jira] [Resolved] (AIRFLOW-2605) MySqlHook().run() will not commit if autocommit is set to True.

     [ https://issues.apache.org/jira/browse/AIRFLOW-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fokko Driesprong resolved AIRFLOW-2605.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.10.0

Issue resolved by pull request #3493
[https://github.com/apache/incubator-airflow/pull/3493]

> MySqlHook().run() will not commit if autocommit is set to True.
> ---------------------------------------------------------------
>
>                 Key: AIRFLOW-2605
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2605
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Kevin Yang
>            Assignee: Kevin Yang
>            Priority: Major
>             Fix For: 1.10.0, 2.0.0
>
>
> MySql [set autocommit in a different way|https://github.com/PyMySQL/mysqlclient-python/blob/master/MySQLdb/connections.py#L249-L256]. Thus setting it by doing `conn.autocommit = True` as we currently do will not set autocommit correctly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)