Skip to content

Commit

Permalink
Bump deno to v0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
manyuanrong committed Sep 28, 2019
1 parent 074a5da commit 8acc7c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Build Status](https://www.travis-ci.org/manyuanrong/deno_mysql.svg?branch=master)](https://www.travis-ci.org/manyuanrong/deno_mysql)
![GitHub](https://img.shields.io/github/license/manyuanrong/deno_mysql.svg)
![GitHub release](https://img.shields.io/github/release/manyuanrong/deno_mysql.svg)
![(Deno)](https://img.shields.io/badge/deno-0.17.0-green.svg)
![(Deno)](https://img.shields.io/badge/deno-0.19.0-green.svg)

MySQL database driver for Deno.

Expand Down
6 changes: 5 additions & 1 deletion src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ export class Connection {
private async _connect() {
const { hostname, port } = this.client.config;
log.info(`connecting ${hostname}:${port}`);
this.conn = await Deno.dial("tcp", `${hostname}:${port}`);
this.conn = await Deno.dial({
hostname,
port,
transport: "tcp"
});

let receive = await this.nextPacket();
const handshakePacket = parseHandshake(receive.body);
Expand Down

0 comments on commit 8acc7c9

Please sign in to comment.