Skip to content

Commit

Permalink
Reenable type casting for node-mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
Sannis committed Sep 8, 2012
1 parent 850706d commit 10776d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mysql.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ if (!module.parent) {
user: cfg.user,
password: cfg.password,
database: cfg.database,
typeCast: false
typeCast: true
});
conn.query("DROP TABLE IF EXISTS " + cfg.test_table)
.on('error', function(err) {
Expand Down

0 comments on commit 10776d8

Please sign in to comment.