mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 18:50:49 +00:00
dbms: adding support for nulls in the Log engine [#METR-19266]
This commit is contained in:
parent
a15cce69aa
commit
0bf5406662
@ -605,6 +605,7 @@ StorageLog::StorageLog(
|
|||||||
addFile(column.name, *column.type);
|
addFile(column.name, *column.type);
|
||||||
|
|
||||||
marks_file = Poco::File(path + escapeForFileName(name) + '/' + DBMS_STORAGE_LOG_MARKS_FILE_NAME);
|
marks_file = Poco::File(path + escapeForFileName(name) + '/' + DBMS_STORAGE_LOG_MARKS_FILE_NAME);
|
||||||
|
null_marks_file = Poco::File(path + escapeForFileName(name) + '/' + DBMS_STORAGE_LOG_NULL_MARKS_FILE_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
StoragePtr StorageLog::create(
|
StoragePtr StorageLog::create(
|
||||||
@ -773,7 +774,7 @@ void StorageLog::rename(const String & new_path_to_db, const String & new_databa
|
|||||||
it->second.data_file = Poco::File(path + escapeForFileName(name) + '/' + Poco::Path(it->second.data_file.path()).getFileName());
|
it->second.data_file = Poco::File(path + escapeForFileName(name) + '/' + Poco::Path(it->second.data_file.path()).getFileName());
|
||||||
}
|
}
|
||||||
|
|
||||||
null_marks_file = Poco::File(path + escapeForFileName(name) + '/' + DBMS_STORAGE_LOG_MARKS_FILE_NAME);
|
null_marks_file = Poco::File(path + escapeForFileName(name) + '/' + DBMS_STORAGE_LOG_NULL_MARKS_FILE_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user