This repository was archived by the owner on Feb 20, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
src/NexusMods.MnemonicDB/QueryFunctions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,8 +215,7 @@ protected override void Bind(BindInfo info)
215215 }
216216 else if ( ! dbNameParam . IsNull )
217217 {
218- var namedConn = _queryEngine . GetConnectionByName ( dbNameParam . GetVarChar ( ) ) ;
219- connection = namedConn ?? throw new Exception ( $ "No database named { dbNameParam . GetVarChar ( ) } ") ;
218+ connection = _queryEngine . GetConnectionByName ( dbNameParam . GetVarChar ( ) ) ;
220219 asOf = TxId . MinValue ;
221220 }
222221 else
Original file line number Diff line number Diff line change @@ -468,8 +468,7 @@ protected override void Bind(BindInfo info)
468468 }
469469 else if ( ! dbNameParam . IsNull )
470470 {
471- var namedConn = _engine . GetConnectionByName ( dbNameParam . GetVarChar ( ) ) ;
472- conn = namedConn ?? throw new Exception ( $ "No database named { dbNameParam . GetVarChar ( ) } ") ;
471+ conn = _engine . GetConnectionByName ( dbNameParam . GetVarChar ( ) ) ;
473472 }
474473 else
475474 {
You can’t perform that action at this time.
0 commit comments