File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -233,11 +233,13 @@ class CliRepl implements MongoshIOProvider {
233
233
234
234
if ( driverOptions . autoEncryption ) {
235
235
const origExtraOptions = driverOptions . autoEncryption . extraOptions ?? { } ;
236
- if ( origExtraOptions . csflePath ) {
236
+ // @ts -expect-error next driver release updates library name
237
+ if ( origExtraOptions . cryptSharedLibPath ) {
237
238
// If a CSFLE path has been specified through 'driverOptions', save it
238
239
// for later use.
239
240
this . cachedCryptLibraryPath = Promise . resolve ( {
240
- csflePath : origExtraOptions . csflePath
241
+ // @ts -expect-error next driver release updates library name
242
+ cryptSharedLibPath : origExtraOptions . cryptSharedLibPath
241
243
} ) ;
242
244
}
243
245
Original file line number Diff line number Diff line change @@ -160,6 +160,9 @@ export class KeyVault extends ShellApiWithMongoClass {
160
160
}
161
161
162
162
async _init ( ) : Promise < void > {
163
+ if ( this . _mongo . _fleOptions ?. bypassQueryAnalysis ) {
164
+ return ; // TODO: Re-enable after libmongocrypt createIndex bug is fixed
165
+ }
163
166
try {
164
167
const existingIndexKeys = await this . _keyColl . getIndexKeys ( ) ;
165
168
if ( existingIndexKeys . some ( key => key . keyAltNames ) ) {
You can’t perform that action at this time.
0 commit comments