This project is archived and is in readonly mode.

#1041 ✓duplicate
Steve Martocci

Mysql Adapter quoting bug when searching with BigDecimal

Reported by Steve Martocci | September 13th, 2008 @ 08:36 PM | in 2.x

BigDecimals must be converted to strings but without quotes when being used in mysql querys in order to match results. The current implementation in mysql_adapter does the proper formatting, but wraps it in single quotes. This is a simple one line fix with major implications for those using :decimal columns.

Here is a Gist of the change

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket