1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2026-01-06 08:21:10 +03:00

MCOL-3626 Remove mcsmysql alias

This commit is contained in:
Andrew Hutchings
2019-11-25 11:27:34 +00:00
parent 9f89ab0559
commit b3c22c8f9a
4 changed files with 6 additions and 7 deletions

View File

@@ -1,6 +1,5 @@
# MariaDB Columnstore Alias Commands
#
alias mcsmysql='mysql -u root'
alias ma=mcsadmin
alias core='cd /var/log/mariadb/columnstore/corefiles'
alias tdebug='tail -f /var/log/mariadb/columnstore/debug.log'

View File

@@ -785,7 +785,7 @@ int main(int argc, char* argv[])
cout << ". " << ProfileFile << endl << endl;
cout << "Enter 'mcsmysql' to access the MariaDB ColumnStore SQL console" << endl;
cout << "Enter 'mariadb' to access the MariaDB ColumnStore SQL console" << endl;
cout << "Enter 'mcsadmin' to access the MariaDB ColumnStore Admin console" << endl << endl;
cout << "NOTE: The MariaDB ColumnStore Alias Commands are in /etc/profile.d/columnstoreAlias.sh" << endl << endl;
@@ -801,7 +801,7 @@ int main(int argc, char* argv[])
cout << ". " << ProfileFile << endl << endl;
cout << "Enter 'mcsmysql' to access the MariaDB ColumnStore SQL console" << endl;
cout << "Enter 'mariadb' to access the MariaDB ColumnStore SQL console" << endl;
cout << "Enter 'mcsadmin' to access the MariaDB ColumnStore Admin console" << endl << endl;
cout << "NOTE: The MariaDB ColumnStore Alias Commands are in /etc/profile.d/columnstoreAlias" << endl << endl;

View File

@@ -3875,7 +3875,7 @@ int main(int argc, char* argv[])
cout << ". " << ProfileFile << endl << endl;
cout << "Enter 'mcsmysql' to access the MariaDB ColumnStore SQL console" << endl;
cout << "Enter 'mariadb' to access the MariaDB ColumnStore SQL console" << endl;
cout << "Enter 'mcsadmin' to access the MariaDB ColumnStore Admin console" << endl << endl;
cout << "NOTE: The MariaDB ColumnStore Alias Commands are in /etc/profile.d/columnstoreAlias.sh" << endl << endl;
@@ -3892,7 +3892,7 @@ int main(int argc, char* argv[])
cout << ". " << ProfileFile << endl << endl;
cout << "Enter 'mcsmysql' to access the MariaDB ColumnStore SQL console" << endl;
cout << "Enter 'mariadb' to access the MariaDB ColumnStore SQL console" << endl;
cout << "Enter 'mcsadmin' to access the MariaDB ColumnStore Admin console" << endl << endl;
cout << "NOTE: The MariaDB ColumnStore Alias Commands are in /etc/profile.d/columnstoreAlias" << endl << endl;

View File

@@ -14,8 +14,8 @@ files to create your own function or just try that function as is.
$ cp libudf_mysql.so.1.0.0 libudfsdk.so.1.0.0 /usr/local/mariadb/columnstore/lib/
- Restart ColumnStore
$ mcsadmin restartsystem y
- Using the mcsmysql client add the user defined function, e.g,
$ mcsmysql
- Using the mariadb client add the user defined function, e.g,
$ mariadb
> create function mcs_add returns integer soname 'libudf_mysql.so';
> create function mcs_isnull returns string soname 'libudf_mysql.so';