bfs: Handle type 'TIME' as int32 in queries.
* This fixes ticket #6734.
This commit is contained in:
parent
19c15fec85
commit
0ed0f5cb35
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user