You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-265 Add support for TIMESTAMP data type
This commit is contained in:
@ -128,6 +128,7 @@ private:
|
||||
// data file
|
||||
bool fbTruncationAsError; // Treat string truncation as error
|
||||
ImportDataMode fImportDataMode; // Import data in text or binary mode
|
||||
std::string fTimeZone; // Timezone used by TIMESTAMP data type
|
||||
|
||||
volatile bool fTableLocked; // Do we have db table lock
|
||||
|
||||
@ -253,6 +254,10 @@ public:
|
||||
*/
|
||||
ImportDataMode getImportDataMode( ) const;
|
||||
|
||||
/** @brief Get timezone.
|
||||
*/
|
||||
const std::string& getTimeZone( ) const;
|
||||
|
||||
/** @brief Get number of buffers
|
||||
*/
|
||||
int getNumberOfBuffers() const;
|
||||
@ -310,6 +315,10 @@ public:
|
||||
*/
|
||||
void setImportDataMode( ImportDataMode importMode );
|
||||
|
||||
/** @brief Set timezone.
|
||||
*/
|
||||
void setTimeZone( const std::string& timeZone );
|
||||
|
||||
/** @brief Enable distributed mode, saving BRM updates in rptFileName
|
||||
*/
|
||||
void setBulkLoadMode(BulkModeType bulkMode, const std::string& rptFileName);
|
||||
@ -481,6 +490,11 @@ inline ImportDataMode TableInfo::getImportDataMode() const
|
||||
return fImportDataMode;
|
||||
}
|
||||
|
||||
inline const std::string& TableInfo::getTimeZone() const
|
||||
{
|
||||
return fTimeZone;
|
||||
}
|
||||
|
||||
inline int TableInfo::getNumberOfBuffers() const
|
||||
{
|
||||
return fReadBufCount;
|
||||
@ -580,6 +594,11 @@ inline void TableInfo::setImportDataMode( ImportDataMode importMode )
|
||||
fImportDataMode = importMode;
|
||||
}
|
||||
|
||||
inline void TableInfo::setTimeZone( const std::string& timeZone )
|
||||
{
|
||||
fTimeZone = timeZone;
|
||||
}
|
||||
|
||||
inline void TableInfo::setJobFileName(const std::string& jobFileName)
|
||||
{
|
||||
fjobFileName = jobFileName;
|
||||
|
Reference in New Issue
Block a user