Commit f8d108d
authored
Give
* Give `RowsEvent` methods to inspect the underlying event type.
It's currently impossible to figure out what kind of operation led to a
`RowsEvent`; multiple results indicate an `UPDATE`, but there's no way to
differentiate an `INSERT` from a `DELETE`.
* Rework individual methods for `INSERT`/`UPDATE`/`DELETE` into a single public RowsEvent type.
* Nit: clarify difference between private an public `RowsEvent` types.
* List event type information on dumps for `RowsEvent`.
* Verify `RowsEvent` type handling within `TransactionPayloadEvent` decoded event tests.RowsEvent a method to inspect the underlying event type. (#1016)1 parent 0cb1e12 commit f8d108d
File tree
3 files changed
+84
-0
lines changed- replication
3 files changed
+84
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
| 908 | + | |
908 | 909 | | |
909 | 910 | | |
910 | 911 | | |
| |||
950 | 951 | | |
951 | 952 | | |
952 | 953 | | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
953 | 977 | | |
954 | 978 | | |
955 | 979 | | |
| |||
1120 | 1144 | | |
1121 | 1145 | | |
1122 | 1146 | | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1123 | 1160 | | |
1124 | 1161 | | |
1125 | 1162 | | |
| |||
1817 | 1854 | | |
1818 | 1855 | | |
1819 | 1856 | | |
| 1857 | + | |
1820 | 1858 | | |
1821 | 1859 | | |
1822 | 1860 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
1179 | 1210 | | |
1180 | 1211 | | |
1181 | 1212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
81 | 96 | | |
0 commit comments