ClickHouse/dbms/programs
Nicolae Vartolomei 59d66bb1d5 clickhouse-copier: Allow empty database name
This is needed to make clickhouse-copier work with cross-replication
setups (also known as [circular replication][1]).

When database name is not specified we rely on `<default_database>`
element from replica stanza.

Example:

```xml
<source_cluster>
    <shard>
        <replica>
            <host>localhost</host>
            <port>9000</port>
            <default_database>r0</default_database>
        </replica>
        <replica>
            <host>localhost</host>
            <port>666</port>
            <default_database>r1</default_database>
        </replica>
    </shard>
    <shard>
        <replica>
            <host>localhost</host>
            <port>666</port>
            <default_database>r0</default_database>
        </replica>
        <replica>
            <host>localhost</host>
            <port>9000</port>
            <default_database>r1</default_database>
        </replica>
    </shard>
</source_cluster>
```

[1]: https://www.altinity.com/blog/2018/5/10/circular-replication-cluster-topology-in-clickhouse
2019-06-25 22:09:11 +00:00
..
benchmark set timeouts in benchmark 2019-06-02 12:43:20 +03:00
clang Build fixes (#5368) 2019-05-22 13:16:16 +03:00
client Merge pull request #4558 from podshumok/distributred-timeout 2019-06-17 13:58:17 +03:00
compressor Fix readme 2019-04-01 19:36:46 +03:00
copier clickhouse-copier: Allow empty database name 2019-06-25 22:09:11 +00:00
extract-from-config Fix link in split mode (#4574) 2019-03-04 20:47:31 +03:00
format Fix link in split mode (#4574) 2019-03-04 20:47:31 +03:00
local Allow run query with remote() in clickhouse-local; Aloow redefine config from command line for clickhouse-local 2019-06-14 18:35:45 +03:00
obfuscator Obfuscator: derive seed for individual columns by their name, not position 2019-05-03 01:09:38 +03:00
odbc-bridge Use logging in clickhouse-local. Use config options in command line in clickhouse-client (#5540) 2019-06-14 17:00:37 +03:00
performance-test Remove <name> and <metrics> from performance tests fixed-5634 2019-06-18 19:55:13 +03:00
server Split Common/config.h by libs (dbms) (#5715) 2019-06-24 14:17:15 +03:00
clickhouse-split-helper Fix install in shared mode 2019-03-27 20:37:38 +03:00
CMakeLists.txt Build fixes (#5261) 2019-05-14 12:58:33 +03:00
config_tools.h.in Fix link in split mode (#4574) 2019-03-04 20:47:31 +03:00
main.cpp Split Common/config.h by libs (dbms) (#5715) 2019-06-24 14:17:15 +03:00