From 4e0afa0b53ea45fe28ed40e28e59f9dd349571b5 Mon Sep 17 00:00:00 2001 From: asfernandes Date: Fri, 25 Feb 2011 01:03:29 +0000 Subject: [PATCH] Misc --- src/jrd/btr.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/jrd/btr.cpp b/src/jrd/btr.cpp index 529b3d4935..44cc29013c 100644 --- a/src/jrd/btr.cpp +++ b/src/jrd/btr.cpp @@ -2123,31 +2123,31 @@ bool BTR_types_comparable(const dsc& target, const dsc& source) if (DTYPE_IS_NUMERIC(target.dsc_dtype)) { - return (DTYPE_IS_TEXT(source.dsc_dtype) || DTYPE_IS_NUMERIC(source.dsc_dtype)); + return DTYPE_IS_TEXT(source.dsc_dtype) || DTYPE_IS_NUMERIC(source.dsc_dtype); } if (target.dsc_dtype == dtype_sql_date) { - return (DTYPE_IS_TEXT(source.dsc_dtype) || + return DTYPE_IS_TEXT(source.dsc_dtype) || source.dsc_dtype == dtype_sql_date || - source.dsc_dtype == dtype_timestamp); + source.dsc_dtype == dtype_timestamp; } if (target.dsc_dtype == dtype_sql_time) { - return (DTYPE_IS_TEXT(source.dsc_dtype) || + return DTYPE_IS_TEXT(source.dsc_dtype) || source.dsc_dtype == dtype_sql_time || - source.dsc_dtype == dtype_timestamp); + source.dsc_dtype == dtype_timestamp; } if (target.dsc_dtype == dtype_timestamp) { - return (DTYPE_IS_TEXT(source.dsc_dtype) || DTYPE_IS_DATE(source.dsc_dtype)); + return DTYPE_IS_TEXT(source.dsc_dtype) || DTYPE_IS_DATE(source.dsc_dtype); } if (target.dsc_dtype == dtype_boolean) { - return (source.dsc_dtype == dtype_boolean); + return source.dsc_dtype == dtype_boolean; } fb_assert(DTYPE_IS_BLOB(target.dsc_dtype));