Skip to content

Commit 9ba37b0

Browse files
committed
Merge pull request #5 from Automattic/close-conn-in-example
Update example in readme too
2 parents 4eec96f + 3d3f277 commit 9ba37b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,8 @@ $impalaTables = $impala
2828
->connect()
2929
->queryAndFetchAll( 'SHOW TABLES' );
3030
print_r( $impalaTables );
31+
32+
// Don't forget to clear the client and close socket.
33+
$hive->disconnect();
34+
$impala->disconnect();
3135
```

0 commit comments

Comments
 (0)