Browse files

Merge pull request #67 from swang/patch-1

Update error message for invalid data type.
  • Loading branch information...
2 parents 6bb1efb + 12a9872 commit 7ab84c87d93e728db0ed1c253845bd36b05a110e @kunklejr kunklejr committed Feb 4, 2013
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);
}
},

0 comments on commit 7ab84c8

Please sign in to comment.