[Maria-developers] We Are Allowed To Add No More Than Two New Log Events :)

2010-02-13 Thread Alexi1952
Hi Monty, I found out why MySQL/Sun generously allowed to add new log events starting only from number 196. How many log events with numbers >= 196 can be added? Only TWO !!! Indeed, each event must have post header length <= 254 because this length must be saved in the uchar post_header_len[]

Re: [Maria-developers] Updated (by Alexi): Store in binlog text of statements that caused RBR events (47)

2009-12-21 Thread Alexi1952
> The issue is much harder than this, as we have to support replication between > master and slave of different versions. Agree. Thank you! I missed this version mismatch :( 21.12.09, 11:10, "Kristian Nielsen" : > worklog-nore...@askmonty.org writes: > > > +Also we should notice the introdu

[Maria-developers] WL47: Second suggestion.

2009-11-25 Thread Alexi1952
Having to start with WL47 which already contains the 'First suggestion', I'd like to discuss: Second suggestion ~ Add query text to the RBR events data part (together with adding query_len field to their header). Reason (compared with the First suggestion): - this makes binary log

[Maria-developers] WL40: Current status & issues to discuss

2009-11-20 Thread Alexi1952
Bo suggested me to publish my last WL#40 status report on the dev list. Meaning to get a feedback (critical notes, tips, suggestions, etc) I rewrote the report to make it more readable and included some thoughts for discussion. ~~ WL4

Re: [Maria-developers] MWL#36: feedback for post-review fixes

2009-10-28 Thread Alexi1952
mp to avoid varying results. > SET timestamp=10; > in the *.test file. This SETing is used in all > mysql_test/t/mysqlbinlog_*.test files > (to relieve regex'es of additional replacement) and I followed this pattern. Didn't change. Alex 28.10.09, 00:42, "Al

Re: [Maria-developers] MWL#36: feedback for post-review fixes

2009-10-27 Thread Alexi1952
Hi Sergey, > Please change to use multiple-strings; >"Updates to a database with a different name than the original." > "Example: rewrite-db='from->to'.", > as that is what is done around the codebase. Just few lines above there is a sample which I followed: {"to-last-log", 't', "Requ

Re: [Maria-developers] A mess with sql_alloc() ?

2009-10-09 Thread Alexi1952
hand, I am confused a bit with "mysql_priv.h" name intended to mean that content of this file belongs to mysql internals (though this file is included in mysqlbinlog.cc) - Alex 09.10.09, 15:15, "Kristian Nielsen" : > Alexi1952 writes: > > mysql_priv.h: > > (1)

[Maria-developers] A mess with sql_alloc() ?

2009-10-08 Thread Alexi1952
I need to use sql_string.* and sql_list.* in MYSQL_CLIENT context (mysqlbinlog.cc). sql_list.h refers to sql_alloc() function which originally has "THD dependent" implementation: mysql_priv.h: #ifndef MYSQL_CLIENT ... (1)void *sql_alloc(size_t); ... #endif th

[Maria-developers] WL40: Notes/questions

2009-09-24 Thread Alexi1952
With WL36 and WL40 we have: mysqlbinlog options: --database=db --rewrite-db=db_from->db_to --do-table=db.tbl --ignore-table=db.tbl --wild-do-table=pattern.pattern --wild-ignore-table=pattern.pattern replication options: --replicate-rewrite-db=db_from->db_to --replic

Re: [Maria-developers] Updated (by Guest): Add a mysqlbinlog option to change the used database (36)

2009-09-24 Thread Alexi1952
24.09.09, 12:04, "Kristian Nielsen" : > Alexi1952 writes: > > Agree. BTW tables_ok() is just the only member I had already #ifdef'ed out > > from Rpl_filter for client context. > Ah, I see. > > As for your suggestion to have a separate class,

Re: [Maria-developers] Updated (by Guest): Add a mysqlbinlog option to change the used database (36)

2009-09-23 Thread Alexi1952
Hi Kristian, 21.09.09, 15:07, "Kristian Nielsen" : > Alexi1952 writes: > > PS. I don't know company rules, so being currently a "pre-member" of Maria > > (ha! I even don't know how the company is called) > > I didn't send this reply to &q