ClickHouse/programs/client
Azat Khuzhin 8782873e4f Fix overrides via connections_credentials in case of root directives exists
Before the following did not work, it always uses user `dev`, even with
`clickhouse-client --connection prod`:

  ```yaml
  user: dev

  connections_credentials:
    prod:
      name: prod
      user: prod
  ```

The problem was that before it was not possible to distinguish options
that had been set via command line options and via configuration file.

I've splitted this two actions, and embedded a call to
parseConnectionsCredentials() in between.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-27 20:03:50 +02:00
..
clickhouse-client.cpp Remove dlopen 2022-09-17 03:02:34 +02:00
clickhouse-client.xml Add ability to override connection settings based on connection names 2023-01-28 17:01:12 +01:00
Client.cpp Fix overrides via connections_credentials in case of root directives exists 2023-10-27 20:03:50 +02:00
Client.h Fix overrides via connections_credentials in case of root directives exists 2023-10-27 20:03:50 +02:00
CMakeLists.txt Move LineReader/ReplxxLineReader out from base 2022-12-27 14:23:51 +01:00