8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 07:23:03 +01:00

Restored the legacy logic for blob sorting, thus rolling back changes for CORE-859 and CORE-1530.

This commit is contained in:
dimitr 2008-01-26 18:07:41 +00:00
parent da899e323c
commit b32234e27c
2 changed files with 2 additions and 2 deletions

View File

@ -5917,7 +5917,7 @@ static void process_map(thread_db* tdbb, CompilerScratch* csb, jrd_nod* map,
*desc = desc2;
}
else if (max == dtype_blob) {
desc->dsc_dtype = dtype_blob;
desc->dsc_dtype = dtype_quad;
desc->dsc_length = sizeof(ISC_QUAD);
desc->dsc_scale = 0;
desc->dsc_sub_type = 0;

View File

@ -245,7 +245,7 @@ static const UCHAR sort_dtypes[] =
SKD_sql_date, /* dtype_sql_date */
SKD_sql_time, /* dtype_sql_time */
SKD_timestamp2, /* dtype_timestamp */
0, /* dtype_blob */
SKD_quad, /* dtype_blob */
0, /* dtype_array */
SKD_int64 /* dtype_int64 */
};