List:Commits« Previous MessageNext Message »
From:Ingo Strüwing Date:July 20 2007 9:44am
Subject:Re: bk commit into 5.1 tree (acurtis:1.2555) BUG#29875
View as plain text  
Hi Antony,

OK to push from me. But please consider the below suggestions.

antony@stripped wrote:
...
> ChangeSet@stripped, 2007-07-18 12:22:05-07:00, acurtis@stripped +3 -0
>   Bug#29875
>     "Disable transaction support in Federated storage engine"
>     Minimal patch to disable Federated's transactions until they can be fixed.
...
> +  /*
> +    Support for transactions disabled until WL#2952 fixes it.
> +  */
> +  federated_hton->commit= 0;
> +  federated_hton->rollback= 0;
> +

I was a bit confused that you did not remove the former assignments to
these function pointers. I suggest to do similar as in ::external_lock:

  /*
    Support for transactions disabled until WL#2952 fixes it.
  */
#ifdef XXX_SUPERCEDED_BY_WL2952
  federated_hton->commit= federated_commit;
  federated_hton->rollback= federated_rollback;
#else
  federated_hton->commit= 0;
  federated_hton->rollback= 0;
#endif

...

It would also be great to see one or two small tests that show how
attempts to use transactions with FEDERATED are rejected.

Regards
Ingo
-- 
Ingo Strüwing, Senior Software Developer
MySQL GmbH, Radlkoferstr. 2, D-81373 München
Geschäftsführer: Kaj Arnö - HRB München 162140
Thread
bk commit into 5.1 tree (acurtis:1.2555) BUG#29875antony18 Jul
  • Re: bk commit into 5.1 tree (acurtis:1.2555) BUG#29875Ingo Strüwing20 Jul
    • Re: bk commit into 5.1 tree (acurtis:1.2555) BUG#29875Antony T Curtis20 Jul
      • Re: bk commit into 5.1 tree (acurtis:1.2555) BUG#29875Ingo Strüwing20 Jul