[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 |