@514labs/moose-lib 0.6.271-ci-2-g0eebe1cc → 0.6.271-ci-1-g61aaafe0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browserCompatible.js +2 -4
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +2 -4
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.js +2 -4
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +2 -4
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
package/dist/dmv2/index.js
CHANGED
|
@@ -850,8 +850,7 @@ var OlapTable = class extends TypedBase {
|
|
|
850
850
|
* @private
|
|
851
851
|
*/
|
|
852
852
|
createConfigHash(clickhouseConfig) {
|
|
853
|
-
const
|
|
854
|
-
const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${effectiveDatabase}:${clickhouseConfig.useSSL}`;
|
|
853
|
+
const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${clickhouseConfig.database}:${clickhouseConfig.useSSL}`;
|
|
855
854
|
return (0, import_node_crypto2.createHash)("sha256").update(configString).digest("hex").substring(0, 16);
|
|
856
855
|
}
|
|
857
856
|
/**
|
|
@@ -876,11 +875,10 @@ var OlapTable = class extends TypedBase {
|
|
|
876
875
|
} catch (error) {
|
|
877
876
|
}
|
|
878
877
|
}
|
|
879
|
-
const effectiveDatabase = this.config.database ?? clickhouseConfig.database;
|
|
880
878
|
const client = getClickhouseClient2({
|
|
881
879
|
username: clickhouseConfig.username,
|
|
882
880
|
password: clickhouseConfig.password,
|
|
883
|
-
database:
|
|
881
|
+
database: clickhouseConfig.database,
|
|
884
882
|
useSSL: clickhouseConfig.useSSL ? "true" : "false",
|
|
885
883
|
host: clickhouseConfig.host,
|
|
886
884
|
port: clickhouseConfig.port
|