Can't connect to local MySQL server through socket '/tmp/mysql.sock'
SET @@autocommit = 1
@@autocommitto on, or by issuing
COMMITis a standard SQL statement that commits a transaction. In dolt, it just flushes any pending changes in the current SQL session to disk, updating the working set. HEAD stays the same, but your working set changes. This means your edits will persist after this session ends.
COMMIT()creates a new dolt commit, but doesn't reference it anywhere. If you want to reference it, you have to take the value returned by the function and create a branch with it (by inserting into
DOLT_COMMIT()is the same as if you run
dolt commitfrom the command line. It updates HEAD.
masterwhen they're done making edits. How do I do that?