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

Simplest possible fix for regression CORE-4673: Computed index based on a computed column stores NULL for all its keys.

This commit is contained in:
dimitr 2015-01-29 15:15:13 +00:00
parent c449131460
commit 1cb23c7b92

View File

@ -590,6 +590,8 @@ DSC* BTR_eval_expression(thread_db* tdbb, index_desc* idx, Record* record, bool&
fb_assert(expr_request->req_transaction); fb_assert(expr_request->req_transaction);
expr_request->req_rpb[0].rpb_record = record; expr_request->req_rpb[0].rpb_record = record;
expr_request->req_rpb[0].rpb_number.setValue(BOF_NUMBER);
expr_request->req_rpb[0].rpb_number.setValid(true);
expr_request->req_flags &= ~req_null; expr_request->req_flags &= ~req_null;
DSC* result = NULL; DSC* result = NULL;