You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by pr...@apache.org on 2021/08/25 10:11:25 UTC

[ranger] branch ranger-2.2 updated: RANGER-3285: Addendum patch to fix procedure name in mysql patch

This is an automated email from the ASF dual-hosted git repository.

pradeep pushed a commit to branch ranger-2.2
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/ranger-2.2 by this push:
     new 7dfff59  RANGER-3285: Addendum patch to fix procedure name in mysql patch
7dfff59 is described below

commit 7dfff5935f2ec98881a6441eda756bc4723e4400
Author: pradeep <pr...@apache.org>
AuthorDate: Wed Aug 25 15:37:42 2021 +0530

    RANGER-3285: Addendum patch to fix procedure name in mysql patch
---
 .../055-add-syncSource-col-in-x_user-x_portal_user-x_group.sql        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/security-admin/db/mysql/patches/055-add-syncSource-col-in-x_user-x_portal_user-x_group.sql b/security-admin/db/mysql/patches/055-add-syncSource-col-in-x_user-x_portal_user-x_group.sql
index 4ca8a82..5a40a89 100644
--- a/security-admin/db/mysql/patches/055-add-syncSource-col-in-x_user-x_portal_user-x_group.sql
+++ b/security-admin/db/mysql/patches/055-add-syncSource-col-in-x_user-x_portal_user-x_group.sql
@@ -16,7 +16,7 @@
 drop procedure if exists add_column_in_x_user_and_x_portal_user_and_x_group;
 
 delimiter ;;
-create procedure add_column_in-x_user-x_portal_user-x_group() begin
+create procedure add_column_in_x_user_and_x_portal_user_and_x_group() begin
 
 if not exists (select * from information_schema.columns where table_schema=database() and table_name = 'x_user' and column_name='sync_source') then
         ALTER TABLE x_user ADD sync_source varchar(4000) DEFAULT NULL;
@@ -35,4 +35,4 @@ end;;
 delimiter ;
 call add_column_in_x_user_and_x_portal_user_and_x_group();
 
-drop procedure if exists add_column_in_x_user_and_x_portal_user_and_x_group;
\ No newline at end of file
+drop procedure if exists add_column_in_x_user_and_x_portal_user_and_x_group;