[MCOL-113] install_calpont_mysql.sh returns function not found errors on a new installation Created: 2016-06-09 Updated: 2016-07-13 Resolved: 2016-07-13 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Daniel Lee (Inactive) | Assignee: | David Hill (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Build tested: mscadmin> getsoft Name : mariadb-columnstore-platform Relocations: (not relocatable) After a new installation, the /tmp/mysql_install.log on the UM1 contains the following errors: [root@columnStore ~]# cat /tmp/mysql_install.log in the ../mysql/install_calpont_mysql.sh script, there are commands to drop some Columnstore specific functions, which does not exist on a new installations: DROP FUNCTION caldisablepartitions; These statements caused the errors messages in the mysql_install.log file. We should add the "if exists" keywords to the statements so that a warning, instead of an error, would be returned. MariaDB [(none)]> use mysql MariaDB [mysql]> show warnings;
------
------ I also noticed that are 11 DELETEs, 8 DROP FUNCTIONs, and 29 CREATE FUNCTIONs. Should they all be 29? I think we just did not keep up the list as time goes by. |
| Comments |
| Comment by David Hill (Inactive) [ 2016-06-09 ] |
|
change needs to be made to install_calpont_mysql.sh |
| Comment by David Hill (Inactive) [ 2016-07-13 ] |
|
resolved in changes made for the rpm build process.. |