~drizzle-trunk/drizzle/development

Viewing all changes in revision 1890.2.5.

  • Committer: Stewart Smith
  • Date: 2010-12-29 02:06:26 UTC
  • mto: (2099.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2100.
  • Revision ID: stewart@flamingspork.com-20101229020626-r44r6wa51ycygcaa
SET AUTOCOMMIT=1 was not completely performing a COMMIT
  
at least some status variables (session->server_status) weren't being reset correctly, leaving the next statement to incorrectly get a inTransaction()==true

Also update documentation about SET AUTOCOMMIT behaviour (i.e. it commits active txn... which is relatively hinted at in the MySQL manual as the correct behaviour). Of course any mention of what happens when a commit fails is omitted. My guess is there are bugs.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: