Permalink
Browse files

Update lib/driver/mysql.js

changed str -> spec.type as str doesn't exist in this function.
  • Loading branch information...
1 parent 6bb1efb commit 12a9872e2abe83f73ae260e9f8b92fdfc89857d3 @swang committed Jan 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/driver/mysql.js
View
@@ -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 12a9872

Please sign in to comment.