ewaters / altsql-shell

An easily extensible DBI shell, perfect for a drop-in replacement to mysql-client
http://ewaters.github.com/altsql-shell
123 stars 19 forks source link

warning issued by custom mysql prompt #28

Closed plicease closed 12 years ago

plicease commented 12 years ago

I have this prompt in my .my.cnf file:

[mysql] prompt=(\u@\h) [\d]>_

This issues a warning message if the database is not specified when I start altsql

Ctrl-C to reset the line; Ctrl-D to exit Starting App::AltSQL Use of uninitialized value in substitution iterator at /web/opt/perl/5.14/site/share/App/AltSQL/Model/MySQL.pm line 354. (root@localhost) []>

ewaters commented 12 years ago

The fix for this is now live on CPAN with v0.05