Skip to content

Commit 4125dca

Browse files
committed
added values to prepare
1 parent d590c37 commit 4125dca

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/commands/prepare.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ class Prepare extends Command {
5555
}
5656
const cmdPacket = new Packets.PrepareStatement(
5757
this.query,
58-
connection.config.charsetNumber
58+
connection.config.charsetNumber,
59+
this.options.values
5960
);
6061
connection.writePacket(cmdPacket.toPacket(1));
6162
return Prepare.prototype.prepareHeader;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"precommit": "lint-staged",
2020
"eslint-check": "eslint --print-config .eslintrc | eslint-config-prettier-check",
2121
"wait-port": "wait-on",
22-
"type-test": "node ./node_modules/typescript/bin/tsc -p tests.json && mocha typings/test"
22+
"type-test": "node ./node_modules/typescript/bin/tsc -p tests.json && mocha typings/test --timeout 10000"
2323
},
2424
"lint-staged": {
2525
"*.js": [

0 commit comments

Comments
 (0)