OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SysCatalog.cpp File Reference

Functions for System Catalog. More...

#include "SysCatalog.h"
#include <algorithm>
#include <cassert>
#include <exception>
#include <list>
#include <memory>
#include <random>
#include <sstream>
#include "Catalog.h"
#include "Catalog/AuthMetadata.h"
#include "LockMgr/LockMgr.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 "../Parser/ParserNode.h"
#include "../Shared/File.h"
#include "../Shared/StringTransform.h"
#include "../Shared/measure.h"
#include "MapDRelease.h"
#include "RWLocks.h"
#include "bcrypt.h"
+ Include dependency graph for SysCatalog.cpp:

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_read_lock = read_lock< SysCatalog >
 
using Catalog_Namespace::sys_write_lock = write_lock< SysCatalog >
 
using Catalog_Namespace::sys_sqlite_lock = sqlite_lock< SysCatalog >
 

Functions

std::string anonymous_namespace{SysCatalog.cpp}::hash_with_bcrypt (const std::string &pwd)
 
void Catalog_Namespace::deleteObjectPrivileges (std::unique_ptr< SqliteConnector > &sqliteConnector, std::string roleName, bool userRole, DBObject &object)
 
void Catalog_Namespace::insertOrUpdateObjectPrivileges (std::unique_ptr< SqliteConnector > &sqliteConnector, std::string roleName, bool userRole, DBObject &object)
 
auto Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::get_users (std::unique_ptr< SqliteConnector > &sqliteConnector, const int32_t dbId=-1)
 

Variables

auto Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::append_with_commas
 

Detailed Description

Functions for System Catalog.

Author
Todd Mostak todd@.nosp@m.map-.nosp@m.d.com, Wei Hong wei@m.nosp@m.ap-d.nosp@m..com Copyright (c) 2014 MapD Technologies, Inc. All rights reserved.

Definition in file SysCatalog.cpp.