Update lib/driver/mysql.js

changed str -> spec.type as str doesn't exist in this function.