List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:September 17 2009 11:09am
Subject:Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687
View as plain text  
Alfranio, hello.

> Hi Andrei and Jasonh,
>
> I've implemented what follows as we have discussed yesterday:
>
> 1 -  The decision on what type of cache to use is delegated to
> the log.cc file, specifically to MYSQL_BIN_LOG::write.
>
> 2 - In order to temporary identify a DDL, I've used
> CF_AUTO_COMMIT_TRANS as suggested by Jasonh.
>

I still think it would be better if DDL callers marked THD instance
specifically. However, my objection is not critical.

> 3 - I am not calling thd->binlog_start_trans_and_stmt() when
> writing directly to the binary log, e.g. DDL.
>
> 4 - To further influencing what type of cache to use, I've introduced
> a flag (NO_CACHE) which is stored along with the flag is_transactional
> in a bit map.
>
> 5 - I also addressed some other minor details requested by Andrei.
>

More important is to provide comments as in the code - e.g the
heading synopsis lines for new functions - as well as per file
comments in the cset.

> I am running mtr to check if everything is ok.
> I will commit a patch at the end of the day and ping you both.
>
>

I am ready to look at it today.

good luck,

Andrei

> Cheers.
Thread
bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Alfranio Correia11 Sep
  • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687He Zhenxing13 Sep
    • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Alfranio Correia13 Sep
      • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Alfranio Correia13 Sep
        • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687He Zhenxing14 Sep
          • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Alfranio Correia14 Sep
            • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Alfranio Correia14 Sep
              • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687He Zhenxing14 Sep
              • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Andrei Elkin14 Sep
                • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687He Zhenxing14 Sep
                  • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Alfranio Correia14 Sep
                  • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Andrei Elkin14 Sep
                    • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687He Zhenxing15 Sep
                      • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Andrei Elkin15 Sep
                        • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Alfranio Correia17 Sep
                          • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Andrei Elkin17 Sep
                            • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Alfranio Correia20 Sep
                              • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Andrei Elkin22 Sep
                                • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Alfranio Correia22 Sep
                                • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Alfranio Correia28 Sep
                                  • Re: bzr commit into mysql-pe branch (alfranio.correia:3512) WL#2687Andrei Elkin28 Sep