bfs: Handle type 'TIME' as int32 in queries.
* This fixes ticket #6734.
This commit is contained in:
@@ -805,6 +805,9 @@ Equation::_ConvertValue(type_code type)
|
|||||||
fValue.String[INODE_FILE_NAME_LENGTH - 1] = '\0';
|
fValue.String[INODE_FILE_NAME_LENGTH - 1] = '\0';
|
||||||
fSize = strlen(fValue.String);
|
fSize = strlen(fValue.String);
|
||||||
break;
|
break;
|
||||||
|
case B_TIME_TYPE:
|
||||||
|
type = B_INT32_TYPE;
|
||||||
|
// supposed to fall through
|
||||||
case B_INT32_TYPE:
|
case B_INT32_TYPE:
|
||||||
fValue.Int32 = strtol(string, &string, 0);
|
fValue.Int32 = strtol(string, &string, 0);
|
||||||
fSize = sizeof(int32);
|
fSize = sizeof(int32);
|
||||||
|
|||||||
Reference in New Issue
Block a user