Skip to content

Commit a236406

Browse files
committed
Cover remaining code for getFlags
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
1 parent fc312a3 commit a236406

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Utils/QueryTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ public function testGetFlagsProvider()
8484
'querytype' => 'EXPLAIN',
8585
),
8686
),
87+
array(
88+
'LOAD DATA INFILE \'/tmp/test.txt\' INTO TABLE test',
89+
array(
90+
'is_affected' => true,
91+
'is_insert' => true,
92+
'querytype' => 'LOAD',
93+
),
94+
),
8795
array(
8896
'INSERT INTO tbl VALUES (1)',
8997
array(

0 commit comments

Comments
 (0)