@@ -73,9 +73,9 @@ var BinlogScripts = []ScriptTest{
7373 "CREATE TABLE users (id INT PRIMARY KEY, name VARCHAR(50), email VARCHAR(100))" ,
7474 },
7575 Assertions : []ScriptTestAssertion {
76- {Query : binlogInsertStmts [0 ], Expected : []sql.Row {}},
77- {Query : binlogInsertStmts [1 ], Expected : []sql.Row {}},
78- {Query : binlogInsertStmts [2 ], Expected : []sql.Row {}},
76+ {Query : binlogInsertStmts [0 ], Expected : []sql.Row {{types. OkResult {}} }},
77+ {Query : binlogInsertStmts [1 ], Expected : []sql.Row {{types. OkResult {}} }},
78+ {Query : binlogInsertStmts [2 ], Expected : []sql.Row {{types. OkResult {}} }},
7979 {
8080 Query : "SELECT * FROM users ORDER BY id" ,
8181 Expected : []sql.Row {
@@ -93,8 +93,8 @@ var BinlogScripts = []ScriptTest{
9393 "INSERT INTO users VALUES (2, 'Bob', '[email protected] ')" ,
9494 },
9595 Assertions : []ScriptTestAssertion {
96- {Query : binlogUpdateStmts [0 ], Expected : []sql.Row {}},
97- {Query : binlogUpdateStmts [1 ], Expected : []sql.Row {}},
96+ {Query : binlogUpdateStmts [0 ], Expected : []sql.Row {{types. OkResult {}} }},
97+ {Query : binlogUpdateStmts [1 ], Expected : []sql.Row {{types. OkResult {}} }},
9898 {
9999 Query : "SELECT name FROM users WHERE id = 1" ,
100100 Expected : []sql.Row {
@@ -111,8 +111,8 @@ var BinlogScripts = []ScriptTest{
111111 "INSERT INTO users VALUES (2, 'Bob', '[email protected] ')" ,
112112 },
113113 Assertions : []ScriptTestAssertion {
114- {Query : binlogDeleteStmts [0 ], Expected : []sql.Row {}},
115- {Query : binlogDeleteStmts [1 ], Expected : []sql.Row {}},
114+ {Query : binlogDeleteStmts [0 ], Expected : []sql.Row {{types. OkResult {}} }},
115+ {Query : binlogDeleteStmts [1 ], Expected : []sql.Row {{types. OkResult {}} }},
116116 {
117117 Query : "SELECT COUNT(*) FROM users" ,
118118 Expected : []sql.Row {
@@ -130,7 +130,7 @@ var BinlogScripts = []ScriptTest{
130130 {
131131 Name : "BINLOG with FORMAT_DESCRIPTION only" ,
132132 Assertions : []ScriptTestAssertion {
133- {Query : binlogFormatDescStmts [0 ], Expected : []sql.Row {}},
133+ {Query : binlogFormatDescStmts [0 ], Expected : []sql.Row {{types. OkResult {}} }},
134134 },
135135 },
136136 {
@@ -139,12 +139,12 @@ var BinlogScripts = []ScriptTest{
139139 "CREATE TABLE multi_op_test (id INT PRIMARY KEY AUTO_INCREMENT, name VARCHAR(100), value DECIMAL(10,2), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP)" ,
140140 },
141141 Assertions : []ScriptTestAssertion {
142- {Query : binlogTransactionMultiOps [0 ], Expected : []sql.Row {}},
143- {Query : binlogTransactionMultiOps [1 ], Expected : []sql.Row {}},
144- {Query : binlogTransactionMultiOps [2 ], Expected : []sql.Row {}},
145- {Query : binlogTransactionMultiOps [3 ], Expected : []sql.Row {}},
146- {Query : binlogTransactionMultiOps [4 ], Expected : []sql.Row {}},
147- {Query : binlogTransactionMultiOps [5 ], Expected : []sql.Row {}},
142+ {Query : binlogTransactionMultiOps [0 ], Expected : []sql.Row {{types. OkResult {}} }},
143+ {Query : binlogTransactionMultiOps [1 ], Expected : []sql.Row {{types. OkResult {}} }},
144+ {Query : binlogTransactionMultiOps [2 ], Expected : []sql.Row {{types. OkResult {}} }},
145+ {Query : binlogTransactionMultiOps [3 ], Expected : []sql.Row {{types. OkResult {}} }},
146+ {Query : binlogTransactionMultiOps [4 ], Expected : []sql.Row {{types. OkResult {}} }},
147+ {Query : binlogTransactionMultiOps [5 ], Expected : []sql.Row {{types. OkResult {}} }},
148148 {
149149 Query : "SELECT COUNT(*) FROM multi_op_test" ,
150150 Expected : []sql.Row {
0 commit comments