1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-265 Add support for TIMESTAMP data type

This commit is contained in:
Gagan Goel
2019-03-17 14:14:03 -04:00
parent 8a7ccd7d93
commit e89d1ac3cf
167 changed files with 4346 additions and 250 deletions

View File

@ -139,6 +139,7 @@ private:
// for db cols (omits default cols)
bool fbTruncationAsError; // Treat string truncation as error
ImportDataMode fImportDataMode; // Import data in text or binary mode
std::string fTimeZone; // Timezone used by TIMESTAMP datatype
unsigned int fFixedBinaryRecLen; // Fixed rec len used in binary mode
//--------------------------------------------------------------------------
@ -381,6 +382,13 @@ public:
fImportDataMode = importMode;
fFixedBinaryRecLen = fixedBinaryRecLen;
}
/** @brief set timezone.
*/
void setTimeZone(const std::string& timeZone)
{
fTimeZone = timeZone;
}
};
inline bool isTrueWord(const char *field, int fieldLength)