Skip to content

Commit

Permalink
Merge pull request #5 from Automattic/close-conn-in-example
Browse files Browse the repository at this point in the history
Update example in readme too
  • Loading branch information
xyu committed Feb 17, 2015
2 parents 4eec96f + 3d3f277 commit 9ba37b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ $impalaTables = $impala
->connect()
->queryAndFetchAll( 'SHOW TABLES' );
print_r( $impalaTables );

// Don't forget to clear the client and close socket.
$hive->disconnect();
$impala->disconnect();
```

0 comments on commit 9ba37b0

Please sign in to comment.