CodeFoodPixels / node-promise-mysql

A wrapper for mysqljs/mysql that wraps function calls with Bluebird promises.
MIT License
338 stars 64 forks source link

conn.end() #62

Closed cscan closed 6 years ago

cscan commented 6 years ago

When I use conn.end(), it shows the warning:

Calling conn.end() to release a pooled connection is deprecated. In next version calling conn.end() will be restored to default conn.end() behavior. Use conn.release() instead.

But when I use conn.release(), it shows:

TypeError: conn.release is not a function

CodeFoodPixels commented 6 years ago

That's a message from the underlying mysql library, I'll need to update it.

On Sat, 23 Sep 2017, 14:34 cscan notifications@github.com wrote:

When I use conn.end(), it shows the warning:

Calling conn.end() to release a pooled connection is deprecated. In next version calling conn.end() will be restored to default conn.end() behavior. Use conn.release() instead. But when I use conn.release(), it shows:

TypeError: conn.release is not a function

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lukeb-uk/node-promise-mysql/issues/62, or mute the thread https://github.com/notifications/unsubscribe-auth/AEjy1L2aCqu47is1GYUS4y5pe5lZHNeCks5slQjegaJpZM4PhjhC .

CodeFoodPixels commented 6 years ago

Just pushed 3.1.0 which should sort this.

cscan commented 6 years ago

thanks