trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sand...@apache.org
Subject [1/2] incubator-trafodion git commit: [TRAFODION-2510] pyinstaller - remove DB__ADMIN from installer
Date Thu, 02 Mar 2017 00:19:13 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/release2.1 ff8a1214a -> 6cc89578a


[TRAFODION-2510] pyinstaller - remove DB__ADMIN from installer


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/476519d2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/476519d2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/476519d2

Branch: refs/heads/release2.1
Commit: 476519d2b983c22a8d0d56998e5fd14ddf83a8c8
Parents: 3e0d531
Author: Eason <hfutmkby@gmail.com>
Authored: Mon Feb 27 10:14:59 2017 +0800
Committer: Eason <hfutmkby@gmail.com>
Committed: Mon Feb 27 10:14:59 2017 +0800

----------------------------------------------------------------------
 install/python-installer/scripts/traf_start.py | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/476519d2/install/python-installer/scripts/traf_start.py
----------------------------------------------------------------------
diff --git a/install/python-installer/scripts/traf_start.py b/install/python-installer/scripts/traf_start.py
index 86c940c..c92f611 100755
--- a/install/python-installer/scripts/traf_start.py
+++ b/install/python-installer/scripts/traf_start.py
@@ -59,8 +59,6 @@ def run():
     run_cmd('rm -rf %s' % tmp_file)
     if dbcfgs['ldap_security'] == 'Y':
         run_cmd('echo "initialize authorization; alter user DB__ROOT set external name \\\"%s\\\";"
| sqlci > %s' % (dbcfgs['db_root_user'], tmp_file))
-        if dbcfgs.has_key('db_admin_user'):
-            run_cmd('echo "alter user DB__ADMIN set external name \\\"%s\\\";" | sqlci >>
%s' % (dbcfgs['db_admin_user'], tmp_file))
 
         secure_output = cmd_output('cat %s' % tmp_file)
         if 'ERROR' in secure_output:


Mime
View raw message