File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ class Connection extends EventEmitter {
194194 }
195195
196196 // no parameters
197- if ( ( Array . isArray ( cmdParam . values ) && cmdParam . values . length === 0 ) ) {
197+ if ( Array . isArray ( cmdParam . values ) && cmdParam . values . length === 0 ) {
198198 resolve ( ) ;
199199 }
200200
Original file line number Diff line number Diff line change @@ -1575,7 +1575,9 @@ describe.sequential(
15751575 if ( ! shareConn . info . isMariaDB ( ) && ! shareConn . info . hasMinVersion ( 5 , 6 , 0 ) ) return skip ( ) ;
15761576
15771577 const conn = await createConnection ( { bulk : true } ) ;
1578- await conn . query ( 'CREATE TEMPORARY TABLE empty_array_value(id int not null primary key auto_increment, id2 int)' ) ;
1578+ await conn . query (
1579+ 'CREATE TEMPORARY TABLE empty_array_value(id int not null primary key auto_increment, id2 int)'
1580+ ) ;
15791581 await conn . batch ( 'INSERT INTO `empty_array_value`(id2) values (?)' , [ ] ) ;
15801582 const res = await conn . query ( 'select * from `empty_array_value`' ) ;
15811583 assert . deepEqual ( res , [ ] ) ;
You can’t perform that action at this time.
0 commit comments