bfs: Handle type 'TIME' as int32 in queries.

* This fixes ticket #6734.
This commit is contained in:
Axel Dörfler 2017-01-27 20:00:52 +01:00
parent 19c15fec85
commit 0ed0f5cb35
1 changed files with 3 additions and 0 deletions

View File

@ -805,6 +805,9 @@ Equation::_ConvertValue(type_code type)
fValue.String[INODE_FILE_NAME_LENGTH - 1] = '\0';
fSize = strlen(fValue.String);
break;
case B_TIME_TYPE:
type = B_INT32_TYPE;
// supposed to fall through
case B_INT32_TYPE:
fValue.Int32 = strtol(string, &string, 0);
fSize = sizeof(int32);