You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Writing data into files does not update SQL database records #3
I guess this has to to with the fact that mysqlfuse seems to use transactions. The network protocol dump shows that we're in a transaction, and autocommit is not enabled:
Starting with 1.2.0, MySQLdb disables autocommit by default, as required by the DB-API standard (PEP-249). If you are using InnoDB tables or some other type of transactional table type, you'll need to do connection.commit() before closing the connection, or else none of your changes will be written to the database.
Activity
cweiske commentedon Jan 13, 2015
I guess this has to to with the fact that
mysqlfuseseems to use transactions. The network protocol dump shows that we're in a transaction, andautocommitis not enabled:cweiske commentedon Jan 13, 2015
The first SQL query after the login is

set autocommit=0, but that is not in the mysqlfuse codebase:cweiske commentedon Jan 13, 2015
This was a change in the MySQLdb package:
Fix bug clsn#3: enable autocommit so writes actually work
Fix bug clsn#3: enable autocommit so writes actually work