@@ -171,64 +171,64 @@ var ScriptTests = []ScriptTest{
171171 Dialect : "mysql" ,
172172 Assertions : []ScriptTestAssertion {
173173 {
174- Query : "SELECT ('A') = (0)" ,
175- Expected : []sql.Row {{true }},
174+ Query : "SELECT ('A') = (0)" ,
175+ Expected : []sql.Row {{true }},
176176 //ExpectedWarningsCount: 1,
177177 //ExpectedWarning: mysql.ERTruncatedWrongValue,
178178 //ExpectedWarningMessageSubstring: "Truncated incorrect double value: A",
179179 },
180180 {
181- Query : "SELECT ('A') IN (0)" ,
182- Expected : []sql.Row {{true }},
181+ Query : "SELECT ('A') IN (0)" ,
182+ Expected : []sql.Row {{true }},
183183 //ExpectedWarningsCount: 1,
184184 //ExpectedWarning: mysql.ERTruncatedWrongValue,
185185 //ExpectedWarningMessageSubstring: "Truncated incorrect double value: A",
186186 },
187187 {
188- Query : "SELECT ('A') != (0)" ,
189- Expected : []sql.Row {{false }},
188+ Query : "SELECT ('A') != (0)" ,
189+ Expected : []sql.Row {{false }},
190190 //ExpectedWarningsCount: 1,
191191 //ExpectedWarning: mysql.ERTruncatedWrongValue,
192192 //ExpectedWarningMessageSubstring: "Truncated incorrect double value: A",
193193 },
194194 {
195- Query : "SELECT ('A') <> (0)" ,
196- Expected : []sql.Row {{false }},
195+ Query : "SELECT ('A') <> (0)" ,
196+ Expected : []sql.Row {{false }},
197197 //ExpectedWarningsCount: 1,
198198 //ExpectedWarning: mysql.ERTruncatedWrongValue,
199199 //ExpectedWarningMessageSubstring: "Truncated incorrect double value: A",
200200 },
201201 {
202- Query : "SELECT ('A') < (0)" ,
203- Expected : []sql.Row {{false }},
202+ Query : "SELECT ('A') < (0)" ,
203+ Expected : []sql.Row {{false }},
204204 //ExpectedWarningsCount: 1,
205205 //ExpectedWarning: mysql.ERTruncatedWrongValue,
206206 //ExpectedWarningMessageSubstring: "Truncated incorrect double value: A",
207207 },
208208 {
209- Query : "SELECT ('A') <= (0)" ,
210- Expected : []sql.Row {{true }},
209+ Query : "SELECT ('A') <= (0)" ,
210+ Expected : []sql.Row {{true }},
211211 //ExpectedWarningsCount: 1,
212212 //ExpectedWarning: mysql.ERTruncatedWrongValue,
213213 //ExpectedWarningMessageSubstring: "Truncated incorrect double value: A",
214214 },
215215 {
216- Query : "SELECT ('A') > (0)" ,
217- Expected : []sql.Row {{false }},
216+ Query : "SELECT ('A') > (0)" ,
217+ Expected : []sql.Row {{false }},
218218 //ExpectedWarningsCount: 1,
219219 //ExpectedWarning: mysql.ERTruncatedWrongValue,
220220 //ExpectedWarningMessageSubstring: "Truncated incorrect double value: A",
221221 },
222222 {
223- Query : "SELECT ('A') >= (0)" ,
224- Expected : []sql.Row {{true }},
223+ Query : "SELECT ('A') >= (0)" ,
224+ Expected : []sql.Row {{true }},
225225 //ExpectedWarningsCount: 1,
226226 //ExpectedWarning: mysql.ERTruncatedWrongValue,
227227 //ExpectedWarningMessageSubstring: "Truncated incorrect double value: A",
228228 },
229229 {
230- Query : "SELECT ('A') NOT IN (0)" ,
231- Expected : []sql.Row {{false }},
230+ Query : "SELECT ('A') NOT IN (0)" ,
231+ Expected : []sql.Row {{false }},
232232 //ExpectedWarningsCount: 1,
233233 //ExpectedWarning: mysql.ERTruncatedWrongValue,
234234 //ExpectedWarningMessageSubstring: "Truncated incorrect double value: A",
0 commit comments