Skip to content

Commit 544cc96

Browse files
committed
fix(rs): execute db readiness check in default db
1 parent 1b87e46 commit 544cc96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rs/src/modules/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ pub fn switch(config: &MWUtilConfig, args: SwitchArgs) -> anyhow::Result<()> {
276276
let res = run_sql_query(
277277
&new_config,
278278
DbCommandUser::Mw,
279-
Some(DbCommandDatabase::Mw),
279+
Some(DbCommandDatabase::None),
280280
"SELECT 1;"
281281
);
282282
if res.is_ok_and(|s|s.success()) {

0 commit comments

Comments
 (0)