Bug #96839 db.getSchema() returns no value after shell.setCurrentSchema() used
Submitted: 11 Sep 14:07 Modified: 12 Sep 7:58
Reporter: Ryusuke Kajiyama Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Shell General / Core Client Severity:S3 (Non-critical)
Version:8.0.17 OS:Any
Assigned to: CPU Architecture:Any

[11 Sep 14:07] Ryusuke Kajiyama
Description:
Even if changing current schema with shell.setCurrentSchema(), db.getSchema() returns no value

How to repeat:
shell.setCurrentSchema("world_x");
db.schema() -- returns no value
db.getTables() -- returns list of tables in world_x schema

Also, Shell prompt does not properly show current schema in this case
[12 Sep 7:58] Umesh Shastry
Hello Kajiyama-San,

Thank you for the report and feedback.

regards,
Umesh