Trafodion

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
new COMMENT-ON SQL statement: review change

1. handle return value of function getSeabaseObjectComment

2. add a new error code : 1033 - CAT_UNABLE_TO_RETRIEVE_COMMENTS

3. add showddl support for sequence comment

4. moved function getSeabaseObjectComment to file

CmpSeabaseDDLcommentOn.cpp

5. changed str_sprintf to sprintf

    • -1
    • +1
    /core/sql/sqlcomp/CmpDDLCatErrorCodes.h
    • -20
    • +60
    /core/sql/sqlcomp/CmpDescribe.cpp
    • -2
    • +118
    /core/sql/sqlcomp/CmpSeabaseDDLcommentOn.cpp
    • -1
    • +5
    /core/sql/sqlcomp/CmpSeabaseDDLschema.cpp
    • -116
    • +0
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
new COMMENT-ON SQL statement: review change - delete allocated spaces for function CmpSeabaseDDL::getSeabaseObjectComment

1. delete allocated COMMENT spaces after used.

    • -46
    • +65
    /core/sql/sqlcomp/CmpDescribe.cpp
    • -8
    • +6
    /core/sql/sqlcomp/CmpSeabaseDDLschema.cpp
    • -52
    • +30
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
new COMMENT-ON SQL statement: review change - add support for sequence and columns of view

1. add comment support for sequence generator

2. add comment support for columns of view

3. wrong comments and spellings

    • -22
    • +25
    /core/sql/sqlcomp/CmpSeabaseDDLcommentOn.cpp
    • -1
    • +1
    /core/sql/sqlcomp/CmpSeabaseDDLschema.cpp
    • -5
    • +5
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
new COMMENT-ON SQL statement: add COMMENT syntax support for sqlci

1. add COMMENT syntax support for sqlci

[TRAFODION-2792] Single character change to stop leaking temp files

Merge [TRAFODION-2787] PR 1284 Add JDBC Wrapper API

new COMMENT-ON SQL statement: fix showddl schema error

1. fix error while showddl schema with comment

    • -8
    • +9
    /core/sql/sqlcomp/CmpSeabaseDDLschema.cpp
new COMMENT-ON SQL statement: init

1. new SQL syntax: COMMENT ON

2. new component privilege: SQL_OPERATIONS::COMMENT

3. MD table changes: add new column for tables "_MD_".OBJECTS and

"_MD_".COLUMNS

4. SHOWDDL changes: add COMMENT-ON output for each object

5. new build-in views: "_MD_".OBJECT_COMMENT_VIEW and

"_MD_".COLUMN_COMMENT_VIEW

    • -0
    • +148
    /core/sql/parser/StmtDDLCommentOn.h
    • binary
    /core/sql/regress/privs1/EXPECTED133
    • -0
    • +14
    /core/sql/regress/privs1/EXPECTED137
    • -7
    • +152
    /core/sql/sqlcomp/CmpDescribe.cpp
  1. … 11 more files in changeset.
Merge PR 1287 [TRAFODION-2785] mxosrvr dumps core generated when loading data

Merge [TRAFODION-2784] PR 1278 Add trafci description of jline parameter

Merge PR 1281 [TRAFODION-2786]Statement for metadata should be closed with connection

[TRAFODION-2785] mxosrvr dumps core generated when loading data

Need to cast it as a unsigned char to output the correct byte

Otherwise sprintf was printing it as oxff

    • -2
    • +2
    /core/sql/regress/charsets/EXPECTED314
    • -1
    • +1
    /core/sql/regress/charsets/EXPECTED315
[TRAFODION-2785] mxosrvr dumps core generated when loading data

Expected file change for the failures observed in daily build due

to fix for the above problem

    • -2
    • +2
    /core/sql/regress/charsets/EXPECTED314
    • -1
    • +1
    /core/sql/regress/charsets/EXPECTED315
Merge [TRAFODION-2705] pr 1282 User with SHOW privilege cannot do showddl user

add copyright

add copyright

TRAFODION-2790 jdbc does not implement abort related api

TRAFODION-2789 jdbc does not implement NetworkTimeout related api

Author: selvaganesang <selva.govindarajan@esgyn.com> Date: Sat Oct 28 04:27:49 2017 +0000

[TRAFODION-2785] mxosrvr dumps core generated when loading data from Oracle to Trafodion at times

When there is an error while loading the data, the hexadecimal representation

of character column upto 254 bytes is shown as part of the error message.

The function stringToHex had a subtle bug that can cause buffer overrun resulting in stack corruption.

This closes #1280

Merge PR 1279 [TRAFODION-2420] RMS Enhancements

TRAFODION-2787 jdbc does not implement wrapper related api

TRAFODION-2788 - jdbc does not implement ClinetInfo related api

Trafodion-2705 user has "SHOW" privilege can't do 'showddl user'

Showddl code now checks to see if current user matches the user name specified

in the showddl command. It also verifies that the user has SHOW component

privilege.

Simplified privs1/TEST141 as part of goal to make privilege tests run faster.

    • binary
    /core/sql/regress/privs1/EXPECTED141
    • -50
    • +108
    /core/sql/regress/privs1/TEST141
    • -151
    • +129
    /core/sql/sqlcomp/CmpSeabaseDDLauth.cpp
Statement for metadata should be closed with connection

Statement for metadata should be closed with connection

Merge PR 1277 [TRAFODION-2783] jdbc_test_cdh fails at times with type 2 JDBC driver

[TRAFODION-2420] RMS Enhancements

Refactored the ESP memory management so that all the SQL memory both

heap and space objects are accounted correctly in RMS

With this change, the total SQL memory used by all processes involved

in the query is represented in the counter "SQL Heap WM"

    • -3
    • +3
    /core/sql/executor/ExExeUtilGetStats.cpp
    • -23
    • +18
    /core/sql/executor/ex_esp_frag_dir.cpp
TRAFODION-2784 trafci help has no description for jline

[TRAFODION-2783] jdbc_test_cdh fails at times with type 2 JDBC driver

Reworked the code as per the comment in the git

Merge [TRAFODION-2782] PR 1275 Reverse UDR classloader sequence

Merge [TRAFODION-2714] PR 1270 odb does not load data correctly