Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #67 from swang/patch-1

Update error message for invalid data type.
  • Loading branch information...
commit 7ab84c87d93e728db0ed1c253845bd36b05a110e 2 parents 6bb1efb + 12a9872
@kunklejr kunklejr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/driver/mysql.js
View
2  lib/driver/mysql.js
@@ -53,7 +53,7 @@ var MysqlDriver = Base.extend({
case type.BOOLEAN:
return 'TINYINT(1)';
default:
- throw new Error('Invalid data type ' + str);
+ throw new Error('Invalid data type ' + spec.type);
}
},
Please sign in to comment.
Something went wrong with that request. Please try again.