From f10dd1c6d068a0279295047562bd578f47fdb008 Mon Sep 17 00:00:00 2001 From: prabatuty Date: Sat, 7 May 2011 18:20:13 +0000 Subject: [PATCH] *** empty log message *** --- src/storage/DatabaseManagerImpl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storage/DatabaseManagerImpl.cxx b/src/storage/DatabaseManagerImpl.cxx index 5bb5751a..b9e402ba 100644 --- a/src/storage/DatabaseManagerImpl.cxx +++ b/src/storage/DatabaseManagerImpl.cxx @@ -1485,8 +1485,8 @@ DbRetVal DatabaseManagerImpl::validateIndex(const char *tblName, } } CFIELD* fInfo = (CFIELD*)fptr[0]; - if (!(fInfo->type_ == typeInt || fInfo->type_ == typeLong || fInfo->type_ == typeLongLong || fInfo->type == typeString -|| fInfo->type == typeVarchar)) + if (!(fInfo->type_ == typeInt || fInfo->type_ == typeLong || fInfo->type_ == typeLongLong || fInfo->type_ == typeString +|| fInfo->type_ == typeVarchar)) { printError(ErrBadArg, "Trie Index cannot be created for float or double or timestamp type"); return ErrBadArg; -- 2.11.4.GIT