Skip to content

Commit

Permalink
feat: 修改数据库 CLI 连接方式 prompt1 为 schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron3S authored and LeeEirc committed Oct 16, 2024
1 parent 1e5b3a5 commit 27561ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/srvconn/conn_usql.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (o *sqlOption) USQLCommandArgs() ([]string, error) {
}

dsn := dsnURL.String()
prompt1 := "--variable=PROMPT1=" + o.AssetName + "%R%#"
prompt1 := "--variable=PROMPT1=" + o.Schema + "%R%#"

return []string{dsn, prompt1}, nil
}

0 comments on commit 27561ef

Please sign in to comment.