| 446 | } |
| 447 | |
| 448 | int Arg_comparator::compare_decimal() |
| 449 | { |
| 450 | my_decimal decimal1; |
| 451 | my_decimal *val1= (*a)->val_decimal(&decimal1); |
| 452 | if (!(*a)->null_value) |
| 453 | { |
| 454 | my_decimal decimal2; |
| 455 | my_decimal *val2= (*b)->val_decimal(&decimal2); |
| 456 | if (!(*b)->null_value) |
| 457 | { |
| 458 | if (set_null) |
| 459 | owner->null_value= 0; |
| 460 | return my_decimal_cmp(val1, val2); |
| 461 | } |
| 462 | } |
| 463 | if (set_null) |
| 464 | owner->null_value= 1; |
| 465 | return -1; |
| 466 | } |
| 467 | |
| 468 | int Arg_comparator::compare_e_real() |
| 469 | { |
nothing calls this directly
no test coverage detected