Trafodion

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
new COMMENT-ON SQL statement: review change - fix a error in new build-in view

1. fix a error in new build-in view

[TRAFODION-2801] select count(*) with cqd hbase_coprocessors 'off' and cqd traf_table_snapshot_scan 'latest' fail

Changed to pass two more arrays references - familyArray and QualifierArray

from Java to JNI to extract the family and the qualifier names correctly

on the native side

    • -57
    • +119
    /core/sql/executor/HBaseClient_JNI.cpp
    • -1
    • +12
    /core/sql/executor/HBaseClient_JNI.h
new COMMENT-ON SQL statement: review change - undo all MD changes

1. undo all MD changes since we have changed to use TEXT table to store

comments

    • -6
    • +5
    /core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp
    • -1
    • +1
    /core/sql/sqlcomp/CmpSeabaseDDLschema.cpp
    • -4
    • +4
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
    • -15
    • +8
    /core/sql/sqlcomp/CmpSeabaseDDLupgrade.h
new COMMENT-ON SQL statement: review change - TEXT table modification

1. mv storage of COMMENTs in TEXT table

    • -31
    • +59
    /core/sql/sqlcomp/CmpSeabaseDDLcommentOn.cpp
    • -0
    • +13
    /core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp
    • -6
    • +10
    /core/sql/sqlcomp/CmpSeabaseDDLmd.h
    • -1
    • +12
    /core/sql/sqlcomp/CmpSeabaseDDLschema.cpp
    • -2
    • +16
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
    • -0
    • +8
    /core/sql/sqlcomp/CmpSeabaseDDLview.cpp
[TRAFODION-2800] Fix modifications to set TRAF_ENABLE_AUTHENTICATION

Merge [TRAFODION-2792] Stop leaking tmp files in build

limit currentFiledPos to be in for scope

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