1
by brian
clean slate |
1 |
########################################################
|
2 |
# Author: Jeb |
|
3 |
# Date: 2007/04 |
|
4 |
# Purpose: To select out 1 row from offset 1 |
|
5 |
# from the start position in the binlog whose |
|
6 |
# name is = log_name |
|
7 |
########################################################
|
|
8 |
||
9 |
--replace_result $start_pos <start_pos> $end_pos <end_pos> |
|
10 |
--replace_column 2 # |
|
11 |
--replace_regex /\/\* xid=.* \*\//\/* XID *\// /table_id: [0-9]+/table_id: #/ |
|
12 |
--eval show binlog events in '$log_name' from $start_pos limit $off_set,1 |
|
13 |