Clone Tools
Constraints: committers
Constraints: files
Constraints: dates
[TRAFODION-2626] Change path of sqconf, ms.env, sqcert, udr and related files

This changeset covers the remaining instances of hard-coded paths based

on TRAF_HOME for dynamic files that should be in specific paths such as


All files referenced via TRAF_HOME should be read-only software, not written

during run-time.

  1. … 59 more files in changeset.
[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. … 44 more files in changeset.
Merge branch 'master' of git:// into rh7_build_issues



  1. … 5 more files in changeset.
TRAFODION-2731 CodeCleanup: Phase 5. Cleanup of Platform.h

Removal of unneeded/unused entries from Platform.h and

their usage from other files.

Removal of some other defines that are no longer used. There

might be a compilation error if an obsolete define is being used.

If that happens, those defines need to be removed.

  1. … 26 more files in changeset.
[TRAFODION-2768] Make Trafodion code base to compile in RH7

  1. … 126 more files in changeset.
TRAFODION-2731 CodeCleanup: Phase 4. Remove legacy/obsolete pragmas

  1. … 392 more files in changeset.
lcov: commit #1

  1. … 333 more files in changeset.
TRAFODION-2731 CodeCleanup: Remove obsolete, legacy and unused code

This phase handles the following:

-- removal of code that dealt with:

-- mpalias, NSK, MP, mploc, resource fork, rfork

-- ARLIB, DISK, VOLUME, PFS, compiler version info

-- interpretasrow/IAR, AuditImage, ExtractColumns functions

-- ARKCMP_SINGLE_PROCESS and oneProcess()

-- recompControl, remoteDefaults, rtdu, module

-- latebind thru nsk defines, guardian names, nametype nsk

-- SHADOW implementation


-- older sqlcat ReadTableDef


-- internal cli methods no longer used by any caller

Code within the following defines is removed if it is obsolete

or the define itself is removed if that feature is always on:

-- removed NA_EIDPROC

-- removed SQLEXP_LIB_FUNC

-- removed NA_CMPDLL


-- removed SQ_NEW_PHANDLE

-- removed __EID

-- removed ARKFS_OPEN

-- removed STAND_ALONE

-- removed __TANDEM

-- removed NA_C89

-- removed NA_NSK


-- removed SQLCLI_LIB_FUNC

-- removed CLI_PRIV_SRL

-- removed PRIV_SRL

-- removed NA_LINUX

-- removed NA_HSC_LINUX

-- removed NA_UNIX

-- removed NA_WINNT

-- removed HAVE_MMAP

-- removed NA_NO_C_RUNTIME

-- removed NA_DEBUG_C_RUNTIME(replaced with _DEBUG)

-- removed NA_64BIT usage except in sqlcli.h

-- removed dg64

-- removed SQLEXPORT_LIB

-- removed NA_ARKFS

-- removed NA_IEEE_FLOAT

-- removed NA_GUARDIAN_MSG

-- removed NA_HSC


-- removed ERROR

-- removed ERROR_STATE


Contents of these files have been removed.

Next checkin fill remove the files itself from git:


executor/ExMeas.h, ExMeas.cpp

executor/tempfile.h, .cpp


executor/stubs.cpp, stubs2.cpp


cli/rtdu.h, rtdu2.h, rtdu.cpp, rtdu.cpp












sqlcat/ReadTableDef.h, cpp

sqlcat/readRealArk.h, cpp

  1. … 460 more files in changeset.
[TRAFODION-2695] SSMP process ($ZSMxxx) sees too many opens from the master process

To avoid hanging deadlocks in the IPC layer a SQL Error warning 2026

is now returned when the application attempts to have more than 14

statements opened at the same time from a JDBC/ODBC connection

Maximum Nowait depth is 16. We need to spare 2 slots - One to send query

finished message and the other to get the response for the pending

nowaited query started message.

  1. … 4 more files in changeset.
[TRAFODION-2695] SSMP process ($ZSMxxx) sees too many opens from the master process

Mxosrvr/Any master process opens a connection to mxssmp for the following:

1) For get statistics command

Managed via ssmpManager_ in the context. This can have connections to all the

ssmps in the cluster

2) To cancel a query

Was managed via cbServer_ in ExCancelTcb. This connection was expected to go away

when the cancel is passed on the mxssmp.

3) To Send query started /Query finished message

Was managed via cbServer_ in ContextCli. If this cbServer_ was taken up already by

the query with query started message pending, every statement being executed would have

created a connection to ssmp and managed via cbServer_ in ex_root_tcb of the query

In an ssmp core there were many opens from a mxosrvr. To avoid many open connections,

all the ssmp connections are now managed via ssmpManager_ in the default context.

This connection is shared by multiple message streams by increasing the no-wait depth.

  1. … 9 more files in changeset.
Merge remote branch 'origin/master' into TRAFODION-2001












  1. … 28 more files in changeset.
convert all MY_SQROOT to TRAF_HOME

  1. … 294 more files in changeset.
Merge remote branch 'origin/master' into TRAFODION-2001

  1. … 3 more files in changeset.
[TRAFODION-2261] Mxosrvr or java core with starting from Java_org_trafodion_jdbc_t2_SQLMXConnection_close [TRAFODION-2262] Mxosrvr or Java core with the stack trace pointing to log4Cxx functions

IpcServerClass was not getting destructed correctly. When the CLI context is deleted, the ESP

server class object an IpcServerClass instance that manages the ESP server started

in the CLI context are also destroyed. Fixed the IpcServerClass and IpcServer destructors

so that there is no memory corruption.

Log4Cxx infrastructure in SQL was recursively attempting to log the messages when there is an

issue with it. This was causing stack corruption.

Also added a code to initialize the log4cxx infrastructure if it is not done already upon

the first CLI call.

  1. … 9 more files in changeset.
Elasticity merge fixes.

  1. … 2 more files in changeset.
Misc cleanup items

Added a debugging method to print information for the list of all

Trafodion IPC connections in a process - that method can be called

from the debugger.

Removed unneeded code in preCodeGen - ValueIdSets for predicates imply

an AND, so no AND operators must be found in them.

Removed unnecessary flags in a makefile.

  1. … 3 more files in changeset.
Part 2 of changes to update license text in Trafodion source

This check-in updates license text in all source files in the

core/sql directory. Remaining directories will be done in

later check-ins.

  1. … 3147 more files in changeset.
Move core into subdir to combine repos

  1. … 10768 more files in changeset.
Move core into subdir to combine repos

  1. … 10622 more files in changeset.
Move core into subdir to combine repos

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

to view file history thru renames.

  1. … 10837 more files in changeset.