- if ($TYPE eq SQL_DECIMAL) {
- # these values are arbitrary; better (faster?) ones welcome
- $sth->bind_param($bind++, $value*1.00001, { TYPE => $TYPE } );
- $sth->bind_param($bind++, $value*.99999, { TYPE => $TYPE } );
- }else{
+ #if this needs to be re-enabled, it needs to use a custom op like
+ #"APPROX=" or something (better name?, not '=', to avoid affecting other
+ # searches
+ #if ($TYPE eq SQL_DECIMAL && $op eq 'APPROX=' ) {
+ # # these values are arbitrary; better (faster?) ones welcome
+ # $sth->bind_param($bind++, $value*1.00001, { TYPE => $TYPE } );
+ # $sth->bind_param($bind++, $value*.99999, { TYPE => $TYPE } );
+ #} else {