'Set whether or not to commit after every execute()'

def _send_autocommit_mode(self):

    self._execute_command(COMMAND.COM_QUERY, ('SET    AUTOCOMMIT    =    %s' % self.escape(self.autocommit_mode)))
    self._read_ok_packet()
