Comment 4 for bug 1258016

Revision history for this message
carlos campos (carlos-7) wrote :

[[ Relay_Master_Log_File: mysql-bin.001260
          Exec_Master_Log_Pos: 658931054

I'd say that we need to know the content of the master's binary log
starting for the position listed above. Also don't forget to add options
to show row-based events to the mysqlbinlog command line.
]]

>>>> from the master db binlogs

[root@admin237 mysql]# mysqlbinlog -v --start-position=658931054 --stop-position=658931055 mysql-bin.001260
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
# at 4
#131120 15:00:20 server id 2373306 end_log_pos 106 Start: binlog v 4, server v 5.1.61-log created 131120 15:00:20
BINLOG '
BD+NUg+6NiQAZgAAAGoAAAAAAAQANS4xLjYxLWxvZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC
'/*!*/;
# at 658931054
#131120 18:08:01 server id 2373306 end_log_pos 658931432 Query thread_id=1010612 exec_time=8 error_code=0
use revolveclothing_com_-_db/*!*/;
SET TIMESTAMP=1384999681/*!*/;
SET @@session.pseudo_thread_id=1010612/*!*/;
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.unique_checks=1, @@session.autocommit=1/*!*/;
SET @@session.sql_mode=0/*!*/;
SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
/*!\C utf8 *//*!*/;
SET @@session.character_set_client=33,@@session.collation_connection=33,@@session.collation_server=8/*!*/;
SET @@session.time_zone='SYSTEM'/*!*/;
SET @@session.lc_time_names=0/*!*/;
SET @@session.collation_database=DEFAULT/*!*/;
replace into id_shipcost select mid(productcode, locate('-',productcode)+1,2) as GCat, round(sum(shippingcost)/count(*),2) as ShipCost from shipment where boxtime between date_sub(current_date, interval 180 day) and date_sub(current_date, interval 1 day) and shippingcost>0 group by GCat
/*!*/;
DELIMITER ;
# End of log file
ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;