Skip to content

Commit f24a06d

Browse files
committed
Fix typo
Reported in #204
1 parent 80f36e3 commit f24a06d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ The best way to be notified about a connection termination is to listen for the
152152
connection.on('close', function(err) {
153153
if (err) {
154154
// We did not expect this connection to terminate
155-
connection = mysql.createConnnection(connection.config);
155+
connection = mysql.createConnection(connection.config);
156156
} else {
157157
// We expected this to happen, end() was called.
158158
}

0 commit comments

Comments
 (0)