Update lib/driver/mysql.js

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