mirror of
https://github.com/mariadb-corporation/mariadb-connector-nodejs.git
synced 2025-08-15 21:22:32 +00:00
[misc] various small corrections
* code simplification * correct missing parameters * coherence * removing deprecated use
This commit is contained in:
@ -352,7 +352,7 @@ async function testPool(): Promise<void> {
|
||||
|
||||
await connection.execute('SELECT 1 + 1 AS solution');
|
||||
await connection.execute('SELECT 1 + ? AS solution', [1]);
|
||||
connection.release();
|
||||
await connection.release();
|
||||
}
|
||||
|
||||
async function testPoolCluster(): Promise<void> {
|
||||
|
Reference in New Issue
Block a user