diff --git a/examples/pool-test.js b/examples/pool-test.js
index <HASH>..<HASH> 100644
--- a/examples/pool-test.js
+++ b/examples/pool-test.js
@@ -10,7 +10,7 @@ setInterval(function() {
     pool.getConnection(function(err, db) {
       db.query('select sleep(0.5) as qqq', function(err, rows, fields) {
         console.log(rows, fields);
-        db.end();
+        db.release();
       });
     });
   }
Update pool-test.js

`.end()` is now deprecated, converted to `.release()`