[CONJS-146] Using callback API, batch, avoid return error if connection not established Created: 2020-10-05  Updated: 2020-10-15  Resolved: 2020-10-05

Status: Closed
Project: MariaDB Connector/node.js
Component/s: other
Affects Version/s: None
Fix Version/s: 2.5.0

Type: Bug Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

When using callback API, a connection object is directly returned, but the connection is still not established.

Until connection is established, batch execution will result in "Error: cannot know if server is MariaDB until connection is established". Query might not be executed at all


Generated at Thu Feb 08 03:23:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.