Skip to content

Commit ce7f580

Browse files
committed
fix test
1 parent 8f3660c commit ce7f580

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/sqlite3/tests/sqlite3_fetch_all.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $stmt = $conn->query('insert into users (id, num) values (2, 2)');
1313
$stmt = $conn->query('SELECT * FROM users');
1414
$rowall = $stmt->fetchAll();
1515
var_dump($rowall);
16+
$stmt->reset();
1617
$rowfetch = [];
1718
while (($row = $stmt->fetchArray())) $rowfetch[] = $row;
1819
var_dump($rowfetch);

0 commit comments

Comments
 (0)