OmniSciDB
a5dc49c757
|
Functions for System Catalog. More...
#include "SysCatalog.h"
#include <algorithm>
#include <cassert>
#include <exception>
#include <filesystem>
#include <list>
#include <memory>
#include <random>
#include <sstream>
#include <string_view>
#include "Catalog.h"
#include "Catalog/AuthMetadata.h"
#include "QueryEngine/ExternalCacheInvalidators.h"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem.hpp>
#include <boost/range/adaptor/map.hpp>
#include <boost/version.hpp>
#include "MapDRelease.h"
#include "Parser/ParserNode.h"
#include "RWLocks.h"
#include "Shared/File.h"
#include "Shared/StringTransform.h"
#include "Shared/SysDefinitions.h"
#include "Shared/measure.h"
#include "Shared/misc.h"
#include "include/bcrypt.h"
Go to the source code of this file.
Namespaces | |
anonymous_namespace{SysCatalog.cpp} | |
Catalog_Namespace | |
Catalog_Namespace::anonymous_namespace{SysCatalog.cpp} | |
Typedefs | |
using | Catalog_Namespace::sys_write_lock = write_lock< SysCatalog > |
using | Catalog_Namespace::sys_sqlite_lock = sqlite_lock< SysCatalog > |
Variables | |
std::string | g_base_path |
bool | g_enable_idp_temporary_users {true} |
bool | g_enable_system_tables {true} |
bool | g_enable_fsi |
bool | g_read_only |
bool | Catalog_Namespace::g_log_user_id {false} |
auto | Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::append_with_commas |
Functions for System Catalog.
Definition in file SysCatalog.cpp.
std::string g_base_path |
Definition at line 62 of file SysCatalog.cpp.
Referenced by Catalog_Namespace::Catalog::buildDictionaryMapUnlocked(), Catalog_Namespace::Catalog::delDictionaryNontransactional(), Parser::ExportQueryStmt::execute(), lockmgr::TableLockMgrImpl< T >::getClusterTableMutex(), DBHandler::initialize(), main(), QueryRunner::QueryRunner::QueryRunner(), Catalog_Namespace::Catalog::reloadDictionariesFromDiskUnlocked(), Catalog_Namespace::Catalog::setColumnDictionary(), and Catalog_Namespace::Catalog::updateDictionaryNames().
bool g_enable_fsi |
Definition at line 96 of file Catalog.cpp.
bool g_enable_idp_temporary_users {true} |
Definition at line 63 of file SysCatalog.cpp.
Referenced by CommandLineOptions::fillDeveloperOptions(), and Catalog_Namespace::SysCatalog::syncUserWithRemoteProvider().
bool g_enable_system_tables {true} |
Definition at line 64 of file SysCatalog.cpp.
Referenced by anonymous_namespace{DBHandler.cpp}::check_and_reset_in_memory_system_table(), Catalog_Namespace::Catalog::conditionallyInitializeSystemObjects(), CommandLineOptions::fillOptions(), Catalog_Namespace::SysCatalog::initializeInformationSchemaDb(), anonymous_namespace{RelAlgExecutor.cpp}::prepare_for_system_table_execution(), Catalog_Namespace::thread_holding_write_lock(), and CommandLineOptions::validate().
|
inline |
Definition at line 21 of file heavyai_locks.h.
Referenced by anonymous_namespace{SysCatalog.cpp}::copy_catalog_if_read_only(), Catalog_Namespace::SysCatalog::createUser(), Catalog_Namespace::SysCatalog::initDB(), File_Namespace::FileInfo::openExistingFile(), QueryRunner::QueryRunner::QueryRunner(), File_Namespace::FileMgr::readOnlyCheck(), Catalog_Namespace::SysCatalog::syncUserWithRemoteProvider(), File_Namespace::FileMgr::updatePageIfDeleted(), and CommandLineOptions::validate().