List:Commits« Previous MessageNext Message »
From:Mats Kindahl Date:July 13 2008 8:03am
Subject:Re: bzr commit into mysql-5.1 branch (ingo.struewing:2624) Bug#35807
View as plain text  
Very good. Yes, it would not be future-proof.

/Matz

Ingo Strüwing wrote:
> Hi Mats,
> 
> Mats Kindahl, 10.07.2008 21:15:
> ...
>> let $before_pos = query_get_value("SHOW MASTER STATUS", Position, 1);
>> INSTALL PLUGIN example SONAME 'ha_example.so';
>> let $after_pos = query_get_value("SHOW MASTER STATUS", Position, 1);
>> eval SELECT $after_pos - $before_pos AS Delta;
> 
> The latter showed up in the result as SELECT 106 - 106 AS Delta. I guess
> this might also not be future proof. I did the following:
> 
> ...
> --disable_query_log
> eval SELECT $after_pos - $before_pos AS Delta;
> --enable_query_log
> 
> Regards
> Ingo


-- 
Mats Kindahl
Lead Software Developer
Replication Team
MySQL AB, www.mysql.com

Thread
bzr commit into mysql-5.1 branch (ingo.struewing:2624) Bug#35807Ingo Struewing9 Jul
  • Re: bzr commit into mysql-5.1 branch (ingo.struewing:2624) Bug#35807Mats Kindahl10 Jul
    • Re: bzr commit into mysql-5.1 branch (ingo.struewing:2624) Bug#35807Ingo Strüwing11 Jul
      • Re: bzr commit into mysql-5.1 branch (ingo.struewing:2624) Bug#35807Mats Kindahl11 Jul
    • Re: bzr commit into mysql-5.1 branch (ingo.struewing:2624) Bug#35807Ingo Strüwing11 Jul
      • Re: bzr commit into mysql-5.1 branch (ingo.struewing:2624) Bug#35807Mats Kindahl13 Jul