Update lib/driver/mysql.js #67

Merged
merged 1 commit into from Feb 4, 2013
Jump to file
+1 −1
Split
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);
}
},