Clone Tools
Constraints: committers
Constraints: files
Constraints: dates
Change in T2 Driver to MT Server

To T2 Driver added public method to pass SQL data to MT Server.

It is used to get INOUT or OUT SPJ Parameters.

Changed copyright year to 2015

Converted TABs to BLANKs

Change-Id: I5991361a5b061d85b83dedba098abe4a2642e240

    • -2135
    • +2137
Move core into subdir to combine repos

    • -2176
    • +0
  1. … 10754 more files in changeset.
Move core into subdir to combine repos

    • -2176
    • +0
  1. … 10608 more files in changeset.
Move core into subdir to combine repos

Use: git log --follow -- <file>

to view file history thru renames.

    • -2176
    • +0
  1. … 10823 more files in changeset.
Publishing properties added to T2 Driver

followingpublishing properties have been added:

statisticsIntervalTime default value 60 seconds

statisticsLimitTime default value 60 seconds

statisticsType default value aggregated

programStatisticsEnabled default value true

statisticsSqlPlanEnabled default value true

this change (1685) and the corresponding DCS change (1686) are



Fixed reported issues

Change-Id: I7fc5380742a6d8a8a21b3f58b79288fb5ec2653a

    • -3345
    • +3352
  1. … 1 more file in changeset.
fix for 1452993

[bug 1452993] T2 don't read the property file from System Properties but

T4 do it.

After this check-in, user can use System.setProperty("properties", file)

to give the driver a default perperty file as T4.

Change-Id: If5f669af86612a99b2eb53093d9fa8492249a000

fix for bug 1447326

[bug 1447326] T2 Catalog methods don't assume default catalog/schema when these are

set to null.

Change-Id: Idfae7b7febea343037d40a66d3ed050de076f809

Changes to reduce the memory leak in T2 Driver.

1. add MEMORY_DELETE_ARRAY which use "delete []" to free the resource

which resulted from a previous array new-expression (new []).

2. fix some point values which not be freed before.

3. fix a double free in getSQLCatalogInfo.

4. bug 1450349: NullPointerException when close a ResultSet of


Change-Id: I064648bf577a0d41f457d39836a5248f4e1a9f51

  1. … 9 more files in changeset.
Fixes in T2 driver to enable OE performance run

Following errors are ignored at the T2 jdbc driver to conform

to JDBC/ODBC Standard.

ERROR[8605] Committing a transaction which has not started.

ERROR[8609] Waited rollback performed without starting a transaction.

Memory corruption causing java core in T2 OE run.

Row count is treated as 32 bit integer while SQL expects 64 bit

numeric value to be passed to SQL_EXEC_GetDiagnosticsStmtInfo2.

This was causing the corruption.

There was a possibility that the row count buffer was used

after de-allocation. Fixed this code in Type2 JDBC driver

Change-Id: If0ae5475ed9986c8996cb324e679a615e62cd9b1

  1. … 2 more files in changeset.
Merge "B#1419922 Statement/PreparedStatement fetchsize100"

B#1419922 Statement/PreparedStatement fetchsize100

Change-Id: I53e2d81c6e12df17da9428e763f7750760105b91

  1. … 1 more file in changeset.
T2 Driver fix

Fixed null pointer exception when run Phoenix Test on multithreaded


Change-Id: I1667ba1def81760b7361f4c1dc54ce620dcc798e

Changes for Bug #1403380

This is a re-commit.

Including cleanups for unused java references in native,

and made the native driver global objects(gJNICache, gSrvrGlobal)

be global for the process, gDescItems will be thread local.

Change-Id: I6ec2334e06c1bd346757fcf1e2816add99d9503f

  1. … 5 more files in changeset.
T2Driver - more minor fixes

Change-Id: I6f9ea31172e428a18be77ee87df6da8212847b56

  1. … 1 more file in changeset.
fix #1395212 With multiple statements,statement seems to be closed.

Change-Id: I8ec5bc1e87865240e6aa26a7afde44fa92da4305

  1. … 2 more files in changeset.
Changes in T2 driver to support new NA server.

1. T2 Driver: added method necessary for NA Server

- Changes are in java and native parts

- used to pass back to NA Server: Descriptors and SQL Data

2. T4 Driver: added property TCP_NoDelay

- disable/enable TCP Nagle's algorithm

- defined in property file

- snytax: TCP_NoDelay <yes/no>

- default is <yes>

3. T4 Driver: added functions LTrim and RTrim.

- Used in INTERVAL data type to suppress right zeros.



Changes in T2 driver:

1. Changed year in copyright info to 2015

2. Changed charset from UTF-16BE to UTF-16LE

3. Changed allocLength for dataType VARCHAR_WITH_LENGTH(-601) and

charset not ISO8859 to (allocLength - 1).

Changes in T4 driver

1. Changed year in copyright info to 2015



Fixed reported issues

Change-Id: I276da01a0cd3c8ac704ebde8ebed071e58d928d3

  1. … 10 more files in changeset.
Fix Bug #1366987 T2 Version no. and T4 name

Change-Id: Ifd9dbb272afa238da80abc0d88199b461d251db8

  1. … 3 more files in changeset.
Changes to first review comments from Ruo-Yu

Fix merge issues.

Initialized new data members of connection handle class and return error

when dialogueID is null.

Merging multi thread T2 driver changes to mainline

1) Fix global variables for multi thread env

2) Fix static variables for milti thread env

3) Fix non thread safe standard C function calls with thread safe calls.

commit 7780a77f0cf3e5c2d3991b07f026b2a1f223bc7e

Merge: b7aa077 1bfe9c6

Author: Pavani Puppala <>

Date: Thu Dec 4 19:42:42 2014 +0000

Merge remote branch 'opensrc/master'

commit b7aa077886c9ada2bf13b6b8a0982e1c95d64ade

Author: Pavani Puppala <>

Date: Tue Nov 25 20:28:38 2014 +0000

Fix for bug #1355559

commit 439323d4d44cc45a01fbdb0febbfbb69b81b5dc1

Merge: 7dec9da d63d6ce

Author: Pavani Puppala <>

Date: Fri Nov 21 20:30:46 2014 +0000

Merge remote branch 'opensrc/master'

commit 7dec9da566aaaefd1fe84cd32060c91141511493

Author: RuoYu Zuo <>

Date: Wed Nov 19 06:42:02 2014 +0000

T2 global variables changes

commit e827950309bcc9a430e98d1d846b2bb74f86f4bd

Merge: 832f2e2 37053c0

Author: Pavani Puppala <>

Date: Fri Nov 14 01:01:04 2014 +0000

Merge remote branch 'opensrc/master'

commit 832f2e25f48768262f713b63727b7e0b91808d35

Author: xuk <>

Date: Fri Nov 7 09:01:11 2014 +0000

Make Spjrs_ and Spjrsval_ local variables

commit 5f3c1102643e929d20ffb77e638d52cc7509bdb2

Author: xuk <>

Date: Wed Nov 5 00:59:28 2014 +0000

T2 thread safe java part changes

commit db923630ccb406eff4ccff65562b35b4d92e488b

Author: Daniel Lu <>

Date: Fri Oct 17 07:46:33 2014 +0000

replace c std call with thread safety version.

Change-Id: Ibab8f9b40b61c5ddc4c285ecb34e4c984881b128

  1. … 18 more files in changeset.
Delivery of the Migration to HBase 0.98 branch

Change-Id: I410b90e0730f5d16f2e86a63cbffe4abaf9daa5d

  1. … 290 more files in changeset.
bug1274266 and 1353058 fix commit/rollback issues

Change-Id: I4a976b4c112462206d10b85bb41d45b6dc062044

Fixes for bug 1342425 - T2 driver cleanup

Change-Id: I92acdba47b8a17b9aeb0d9151ba726eda57e6618

  1. … 6 more files in changeset.
CREATE PROCEDURE generates core (bug 1335186 - attempt 2)

Fixes bug 1335186 introduced after Directory structure change.

Previous fix handled unversioned files Vproc.cpp and Vproc.h

along with DriverInfo template file.

This fix removes generated file DriverInfo.cpp from source control.

Since the file was existing in the directory, ANT copy didn't generate

the file from template leading to the version error.

Change-Id: I4c8bd220f489805723aa6725c3884b5a923ace39

  1. … 1 more file in changeset.
Fix for bug 1335186

Core seen during CREATE PROCEDURE.

Happended due to version mismatch between Type 2 JDBC and JNI files.

Template file had an old package name.

Change-Id: I51323059f0dc1091f841c847bf6be4bbf7a69868

  1. … 2 more files in changeset.
Change in directory structure for jdbc_t2 driver. Also includes change for trafci installer

Change-Id: I75ad9343d657aa15e3f5affb65aec518cf6f154f

    • -0
    • +181
    • -0
    • +2349
    • -0
    • +12
    • -0
    • +566
    • -0
    • +48
    • -0
    • +2176
    • -0
    • +1014
  1. … 139 more files in changeset.