You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-11-03 17:13:17 +03:00 
			
		
		
		
	* feature: Special dictionary, we can pass with session veriable to modify codepaths and behaviour for testing and debugging
		
			
				
	
	
		
			34 lines
		
	
	
		
			431 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			431 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include <stdexcept>
 | 
						|
#include <string>
 | 
						|
#include <unordered_map>
 | 
						|
 | 
						|
namespace utils
 | 
						|
{
 | 
						|
 | 
						|
class Pron
 | 
						|
{
 | 
						|
 private:
 | 
						|
  Pron() = default;
 | 
						|
 | 
						|
 public:
 | 
						|
  using StringMap = std::unordered_map<std::string, std::string>;
 | 
						|
 | 
						|
  static Pron& instance()
 | 
						|
  {
 | 
						|
    static Pron pron;
 | 
						|
    return pron;
 | 
						|
  }
 | 
						|
  const StringMap& pron()
 | 
						|
  {
 | 
						|
    return pron_;
 | 
						|
  }
 | 
						|
 | 
						|
  void pron(std::string& pron);
 | 
						|
 | 
						|
 private:
 | 
						|
  StringMap pron_;
 | 
						|
};
 | 
						|
 | 
						|
}  // namespace utils
 |