Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix for the failure of testLTrimFunction, testTrimFunction and testRTrimFunction of VariableLengthPKTest in phoenix T4 tests.

When the statement type is TYPE_UNKNOWN, mxosrvr was executing the extra code

to load controls, GetHashInfo etc. GetHashInfo was corrupting the sqlString by

truncating spaces in between the literals.

Removed these code from mxosrvr because it is specific to QueryStatsServer as part of

NeoView and WMS.

    • -1038
    • +21
    ./src/odbc/nsksrvr/SrvrConnect.cpp
Fix to ensure infostats command from trafci works as expected.

    • -10
    • +10
    ./src/odbc/nsksrvrcore/sqlinterface.cpp
Optimizing and avoiding unnecessary function calls shown as hot spots in jprofile - part-II

java.lang.String.split and javal.lang.String.replaceAll

JDBC driver was parsing the sql string passed to it by the application to determine the type of

SQL statement and to check if the sql string has parameters. It doesn't parse the sql string anymore

and passes the sql string to SQL engine via mxosrvr. In case of PreparedStatement, the JDBC driver will

set the sqlStmtType based on the query type returned. In case of Statement, the JDBC driver will set the

sqlStmtType as SQL_TYPE_UNKNOWN.

Now, the PreparedStatement is always prepared for setting array values for parameter for all

statement types such as IUD and select. SQL engine will report an error if the array values are

not supported for any statement type.

    • -0
    • +2
    ./src/odbc/nsksrvrcore/sqlinterface.cpp
  1. … 6 more files in changeset.
1. JULIANTIMESTAMP now uses clock_gettime with CLOCK_REALTIME by default. It can be switched to earlier implementaion via setting env variable USE_LINUX_JULIANTIMESTAMP=0 2. Remove unwanted CQDs set by mxosrvr. GENERATE_EXPLAIN is not turned ON by mxosrvr.

  1. … 13 more files in changeset.
jira TRAFODION-3157 Add support for BINARY/VARBINARY datatype

Spec attached to jira.

new test regress/seabase/TEST004 added.

    • -4
    • +56
    ./src/odbc/nsksrvrcore/sqlinterface.cpp
  1. … 86 more files in changeset.
remove unused code in mxosrvr --first step

    • -308
    • +0
    ./src/odbc/nsksrvrcore/srvrcommon.cpp
    • -48
    • +0
    ./src/odbc/nsksrvrcore/srvrcommon.h
Call SQLGetTypeInfo to gets SQL_INTEGER type info and return value is incorrect

  1. … 1 more file in changeset.
[TRAFODION-3221]support using ipv6 with jdbct4 to connect trafodion

  1. … 1 more file in changeset.
[TRAFODION-3164] Restart mxosrvrs on-demand

This code adds a zookeeper value to signal to mxosrvr processes

when it is time to exit. This allows to phase out processes when

things in the environment change. The process will wait until it

is idle before exiting.

  1. … 1 more file in changeset.
Merge [TRAFODION-3143] Add SQLColumnPrivileges support to ODBC

    • -0
    • +74
    ./src/odbc/nsksrvrcore/srvrothers.cpp
SQLColumnPrivileges support

    • -0
    • +74
    ./src/odbc/nsksrvrcore/srvrothers.cpp
Merge [TRAFODION-3134] PR 1638 Add support for SQLTablePrivileges to ODBC

    • -1
    • +65
    ./src/odbc/nsksrvrcore/srvrothers.cpp
odbc support SQLTablePrivileges

    • -1
    • +65
    ./src/odbc/nsksrvrcore/srvrothers.cpp
Merge [TRAFODION-3105] PR-1606 DatabaseMetaData.getColumns should return 24 columns

    • -1
    • +134
    ./src/odbc/nsksrvrcore/srvrothers.cpp
[TRAFODION-3105] meta.getColumns should return 24 columns

    • -1
    • +134
    ./src/odbc/nsksrvrcore/srvrothers.cpp
  1. … 1 more file in changeset.
Fix jdbct4 code

  1. … 3 more files in changeset.
ClipVarchar

    • -4
    • +115
    ./src/odbc/nsksrvrcore/srvrothers.cpp
  1. … 7 more files in changeset.
fix JIRA bug 3039, SendEventMsg is used in a wrong way

[TRAFODION-3041] Addressed review comment

[Trafodion-3041] Support watchdog query cache to improvement performance when every query executed needs to be written into repository. The time when the queries cached will be published into repository is determined by cache time or number of queries. You can configure it in the file conf/dcs-site.xml.

    • -69
    • +260
    ./src/odbc/nsksrvr/SrvrConnect.cpp
  1. … 3 more files in changeset.
fix JIRA bug 3039, SendEventMsg is used in a wrong way

Change some variable. Make the description more detailed.

  1. … 3 more files in changeset.
Merge remote branch 'origin/release2.2' into TRAFODION-3014

Conflicts:

core/sql/cli/Cli.cpp

core/sql/clitest/blobtest.cpp

core/sql/executor/ExExeUtilLoad.cpp

core/sql/exp/ExpLOBaccess.cpp

core/sql/exp/ExpLOBaccess.h

core/sql/exp/ExpLOBenums.h

core/sql/exp/ExpLOBinterface.cpp

core/sql/exp/ExpLOBinterface.h

core/sql/generator/GenRelExeUtil.cpp

core/sql/regress/executor/EXPECTED130

core/sql/regress/hive/EXPECTED018

docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc

install/python-installer/scripts/traf_ldap.py

pom.xml

    • -63
    • +31
    ./src/odbc/nsksrvrcore/srvrothers.cpp
  1. … 8 more files in changeset.
[TRAFODION-3003]Trafodion keepalive support

Keepalive could be configured by modifying file src/main/java/org/trafodion/dcs/Constants.java

Modify variable DCS_SERVER_PROGRAM_TCP_KEEPALIVE_STATUS/IDLETIME/INTERVAL/RETRYCOUNT;

DCS_SERVER_PROGRAM_TCP_KEEPALIVE_STATUS has three value:enable,default,unenable;

Default value is enable,300,3,20(Only effective when value configured is set incorrectly)

The value will be read in when mxosrvr start. Mxosrvr will set the socket after getting a connection.

  1. … 3 more files in changeset.
Merge [TRAFODION-2899] PR 1386 Catalog API SQLColumns support for ODBC2.x

    • -0
    • +85
    ./src/odbc/nsksrvrcore/srvrothers.cpp
[TRAFODION-2903] correct Column_Size fetched from mxosrvr

Merge [TRAFODION-2886] PR-1380 fix the nullpointer error scanned by TScanCode

  1. … 4 more files in changeset.
Merge [TRAFODION-2891] PR-1394 fix the bufoverrun Critical error checked by TScanCode

  1. … 3 more files in changeset.
Merge [TRAFODION-2894] PR 1381 Add new types to Catalog Api GetTypeInfo

    • -7
    • +12
    ./src/odbc/nsksrvrcore/srvrothers.cpp
Merge [TRAFODION-2893] PR 1382 Fix critical logic errors found by TScanCode