[CONJS-277] using connection.importFile when connection is not connected to database result in error Created: 2023-12-20 Updated: 2023-12-20 Resolved: 2023-12-20 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | other |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
see https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/266 When using connection.importFile connector ends reconnecting to initial database when changed after file import. This result in an error "TypeError: Cannot read properties of null (reading 'replace')" if no database was set initially. |