# | Line 1050 | Line 1050 | static int dbd_mysql_end_transaction(apr_dbd_transacti | |
---|---|---|
1050 | else { | |
1051 | ret = mysql_commit(trans->handle->conn); | |
1052 | } | |
1053 | + | ret |= mysql_autocommit(trans->handle->conn, 1); |
1054 | + | trans->handle->trans = NULL; |
1055 | } | |
1054 | – | ret |= mysql_autocommit(trans->handle->conn, 1); |
1055 | – | trans->handle->trans = NULL; |
1056 | return ret; | |
1057 | } | |
1058 | /* Whether or not transactions work depends on whether the |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |