mysql / mysql-utilities

MySQL Utilities is a set of easy-to-use scripts intended to make working with MySQL servers easier.
GNU General Public License v2.0
267 stars 161 forks source link

Use rsplit instead of split to get mysql session user and host #43

Closed OswinNathanial closed 5 years ago

OswinNathanial commented 5 years ago

Using split fails if the user name contains @, so use rsplit instead and consider the last bit as host name.

mysql-oca-bot commented 5 years ago

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at http://www.oracle.com/technetwork/community/oca-486395.html Please make sure to include your MySQL bug system user (email) in the returned form. Thanks

mysql-oca-bot commented 5 years ago

Hi, there was no response to our request to sign an OCA or confirm the code is submitted under the terms of the OCA. As such this request will be closed. Thanks