Trafodion

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
iChanges based on review comments

    • -2
    • +8
    /core/sql/optimizer/UdfDllInteraction.cpp
    • -2
    • +1
    /core/sql/sqlcomp/CmpDDLCatErrorCodes.h
    • -5
    • +0
    /core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp
update windows odbc and odb version to 2.3

    • -4
    • +4
    /win-odbc64/odbcclient/drvr35/TCPIPV4/TCPIPV4.RC
    • -4
    • +4
    /win-odbc64/odbcclient/drvr35/TCPIPV6/TCPIPV6.RC
    • -4
    • +4
    /win-odbc64/odbcclient/drvr35/drvr35.rc
[TRAFODION-2626] Make logs directory location configurable

Makes path to log directory independent of TRAF_HOME. The default location

is still $TRAF_HOME/logs. The DCS and REST log directories are now

sub-directories of the main TRAF_LOG directory.

    • -1
    • +1
    /core/dbsecurity/auth/src/authEvents.cpp
    • -1
    • +1
    /core/sqf/conf/log4cxx.monitor.mon.config
    • -1
    • +1
    /core/sqf/conf/log4cxx.monitor.psd.config
    • -1
    • +1
    /core/sqf/conf/log4cxx.monitor.trafns.config
    • -1
    • +1
    /core/sqf/conf/log4cxx.monitor.wdg.config
    • -1
    • +1
    /core/sqf/conf/log4cxx.trafodion.auth.config
    • -1
    • +1
    /core/sqf/conf/log4cxx.trafodion.sql.config
    • -1
    • +1
    /core/sqf/conf/log4cxx.trafodion.sscp.config
    • -1
    • +1
    /core/sqf/conf/log4cxx.trafodion.ssmp.config
  1. … 58 more files in changeset.
Merge [TRAFODION-3221] PR 1725 Support ipv6 in JDBC Type 4

Merge [TRAFODION-3220] Executor GUI PR-1724

Windows odbc build fail with missing header file and vs lower version

    • -3
    • +3
    /win-odbc64/odbcclient/drvr35/drvr35_os.vcxproj
    • -3
    • +3
    /win-odbc64/odbcclient/odbcclient_os.sln
[TRAFODION-3221]support using ipv6 with jdbct4 to connect trafodion

[TRAFODION-3220] Executor GUI

Adding the ability to display query execution with the "display"

command in Trafodion (sqlci only, requires an X Windows display,

just as the compiler GUI does).

    • -1
    • +1
    /core/sql/SqlCompilerDebugger/AboutBox.ui
    • -0
    • +94
    /core/sql/SqlCompilerDebugger/ExeSchedWindow.h
  1. … 30 more files in changeset.
TRAFODION - 3218 User still has privilege after user's role has been revoked ...

Partial support for column level privileges with QI support for:

column select

column insert

column references

column update

Also, as part of this, updated privilege code in a couple of areas:

Changed object caching code in NATable and NARoutine to store all privileges

assigned to the object when the object is cached (privDescs_). During the load

operation, the code creates bitmaps (privInfo_) for the current user. Privilege

checks are performed against the user bitmaps (privInfo_). This is in

anticipation for some performance updates when connecting to Trafodion (mxosrvr)

with different users.

Change getRoleList to include the roleID and the granteeID that granted the

privilege. The grantee can be a user or a role.

When a privilege is revoked from a role, send QI keys for every user that has

been granted to role.

    • -40
    • +85
    /core/sql/common/ComSecurityKey.cpp
  1. … 26 more files in changeset.
Merge [TRAFODION-3215] PR 1719 Length of 0 returned when in/out charsets same

Merge TRAFODION-3194 pr 1720 fix update

Fix issue with init sql ordering

    • -11
    • +6
    /core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp
Fixees to support stroring Udr libraries s Blobs.

    • -0
    • +5
    /core/sqf/sql/scripts/install_local_hadoop
    • -0
    • +39
    /core/sql/executor/ExExeUtilLoad.cpp
  1. … 31 more files in changeset.
TRAFODION-3194 update

Fixed issue where revoke all on object did not actually revoke the privilege.

Also fixed an issue where setting up default privileges did not set the

correct default bits for object type.

    • -12
    • +17
    /core/sql/sqlcomp/PrivMgrPrivileges.cpp
length return 0 when the source and target charset is same

Merge [TRAFODION-3210] PR 1716 Support ! in jline in trafci

Merge [TRAFODION-3209] PR 1715 Initialize a variable in Windows driver

Merge [TRAFODION-3200] PR 1709 Correct label and version in Docker container

Merge [TRAFODION-3194] [TRAFODION-3195] pr 1717 privilege fixes

update the words

Fixes for TRAFODION-3194 && TRAFODION-3195

TRAFODION-3194 Revoke grant option on objects revokes more that grant option

changed Privilege Manager to set bitmaps correctly

removed unused methods from PrivMgrDesc

TRAFODION-3195: Fixes for get commands:

get schemas for user <user>:

returns schemas owned by the specified user

if current user does not have elevated privilege,

returns error if current user does not match <user>.

get schemas for role <role>:

returns schemas owned by the role,

if current user does not have elevated privilege,

returns error if current user has not been granted <role>

get [tables | views | indexes | libraries ] for user <user>:

get [functions | table_mapping_functions | procedures] for user <user>:

get [privileges | roles] for user <user>:

returns objects where <user> has at least one privilege

if current user does not have eleveted privilege

returns error if current user does not match <user>.

get [tables | views | indexes | libraries ] for role <role>:

get [functions | table_mapping_functions | procedures] for role <role>:

get [privileges | users] for <role>:

returns objects where <role> has at least one privilege

if current user does not have eleveted privilege

returns error if current user has not been granted <role>

    • -348
    • +678
    /core/sql/executor/ExExeUtilGet.cpp
    • -396
    • +419
    /core/sql/regress/privs1/EXPECTED123
    • -30
    • +221
    /core/sql/regress/privs1/EXPECTED125
    • -2
    • +141
    /core/sql/regress/privs1/EXPECTED141
    • -39
    • +819
    /core/sql/regress/privs2/EXPECTED144
    • -6
    • +10
    /core/sql/regress/privs2/EXPECTED146
    • -13
    • +107
    /core/sql/regress/privs2/TEST144
    • -111
    • +11
    /core/sql/sqlcomp/PrivMgrDesc.cpp
  1. … 3 more files in changeset.
Merge [TRAFODION-3202] PR 1713 Fix bug with CASE in paging function

[TRAFODION-3210] support exclamation mark when open jline in trafci

The variable of won't be initialized before a new statement

    • -0
    • +1
    /win-odbc64/odbcclient/drvr35/cstmt.cpp
[TRAFODION-3038] fix HDP download link in install_local_hadoop script

    • -1
    • +3
    /core/sqf/sql/scripts/install_local_hadoop
Merge remote branch 'origin/pr/1712/head' into merge_1712