Permalink
Browse files

Several ClickHouse enhancement

* graceful handle of missing backend (before was just crashing)
* code cleanup
* adding an embedded SQLite3 connections inside ClickHouse Server to execute internally dummy queries
* filter of several SET commands
* support for SHOW [SESSION ](VARIABLES|STATUS) LIKE
* support for SHOW [GLOBAL|ALL] VARIABLES
* support for SHOW GLOBAL STATUS
* support for SHOW COLLATION #1136
* support for SHOW CHARSET #1136
* support for SHOW ENGINES #1139
* support for SELECT current_user() #1135
* support for SELECT CONNECTION_ID() #1133
* support for SHOW FULL TABLES FROM `default`
* working semi-support for SHOW COLUMNS FROM
  • Loading branch information...
renecannao committed Aug 15, 2017
1 parent 5731ee6 commit 474dd78dc22977846dd582f40595d4faa9a8b0ae
Showing with 332 additions and 961 deletions.
  1. +4 −3 include/ClickHouse_Server.h
  2. +328 −958 lib/ClickHouse_Server.cpp
@@ -14,6 +14,8 @@ class ClickHouse_Session {
bool transfer_started;
uint8_t sid;
ClickHouse_Session();
bool init();
bool connected;
~ClickHouse_Session();
clickhouse::ClientOptions co;
clickhouse::Client *client;
@@ -53,10 +55,9 @@ class ClickHouse_Server {
bool debug;
#endif // DEBUG
} variables;
/*
void dump_mysql_collations();
void dump_mysql_collations();
/*
void insert_into_tables_defs(std::vector<table_def_t *> *, const char
*table_name, const char *table_def);
void drop_tables_defs(std::vector<table_def_t *> *tables_defs);
Oops, something went wrong.

0 comments on commit 474dd78

Please sign in to comment.