Bug #82876 MySQL Shell 1.0.5 coredumps on exist
Submitted: 6 Sep 2016 20:29 Modified: 7 Sep 2016 6:42
Reporter: Oli Sennhauser Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Document Store: MySQL Shell Severity:S3 (Non-critical)
Version:1.0.5 OS:Ubuntu
Assigned to: CPU Architecture:Any
Tags: mysql shell

[6 Sep 2016 20:29] Oli Sennhauser
Description:
MySQL Shell 1.0.5 coredumps on exist

How to repeat:
shell> ./mysqlsh --user=root
Creating an X Session to root@localhost:33060
Enter password:
No default schema selected.

Welcome to MySQL Shell 1.0.5 Development Preview

Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type '\help', '\h' or '\?' for help, type '\quit' or '\q' to exit.

Currently in JavaScript mode. Use \sql to switch to SQL mode and execute queries.
mysql-js> \sql
Switching to SQL mode... Commands end with ;
mysql-sql> statu
       ... \q
       ... terminate called after throwing an instance of 'shcore::Exception'
  what():  Invalid typecast
Aborted (core dumped)

Suggested fix:
catch problem correctly
[7 Sep 2016 6:42] MySQL Verification Team
Hello Oli,

Thank you for the report.

Thanks,
Umesh