Skip to content

Conversation

@spaze
Copy link
Contributor

@spaze spaze commented Apr 15, 2019

Because with native prepared statements in MySQL, floats are returned as floats, not strings like with emulated prepares

Fixes #227

Because with native prepared statements in MySQL, floats are returned as floats, not strings like with emulated prepares

Fixes #227
@spaze spaze changed the title ResultSet: cast floats to string ResultSet: only format strings as floats Apr 15, 2019
@dg
Copy link
Member

dg commented Apr 15, 2019

Thanks!

@dg dg merged commit a418e3f into nette:master Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ResultSet::normalizeRow() calls strpos() on float with native prepares

2 participants