SqlBuilder.class.php #2
-
Kris Jordan
- Milestone set to 0.11.1
- State changed from new to open
Good catch. I will add a specific test case to the suite for MySQL and find a work around. First thought is we could use PHP's type checking to determine if it is a float. Thanks for the bug submission!
-
Kris Jordan
- Milestone changed from 0.11.1 to 0.12
Need to double check this ticket. Rolling into next maintenance release.
-
Kris Jordan
- Milestone changed from 0.12 to 0.30
Using LIKE in MySql appears to convert the double/float to a string and do string comparison as per http://viralpatel.net/blogs/2008...
The recommendation is to use between() and specify an upper and lower bounds separated by a very small delta.
Moving this ticket to 0.30 which focuses on Model functionality.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.