| 44 | using namespace Firebird; |
| 45 | |
| 46 | int MOV_compare(Jrd::thread_db* tdbb, const dsc* arg1, const dsc* arg2) |
| 47 | { |
| 48 | /************************************** |
| 49 | * |
| 50 | * M O V _ c o m p a r e |
| 51 | * |
| 52 | ************************************** |
| 53 | * |
| 54 | * Functional description |
| 55 | * Compare two descriptors. Return (-1, 0, 1) if a<b, a=b, or a>b. |
| 56 | * |
| 57 | **************************************/ |
| 58 | fb_assert(!(arg1->dsc_flags & DSC_null)); |
| 59 | fb_assert(!(arg2->dsc_flags & DSC_null)); |
| 60 | |
| 61 | return CVT2_compare(arg1, arg2, tdbb->getAttachment()->att_dec_status); |
| 62 | } |
| 63 | |
| 64 | |
| 65 | double MOV_date_to_double(const dsc* desc) |
no test coverage detected