Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

-- MEASURE

-- older sqlcat ReadTableDef

-- DP2_MEMORY, DP2_SPACE, HGB_DP2_MEMORY_LIMIT

-- 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_PHANDLE_VERIFIER

-- removed SQ_NEW_PHANDLE

-- removed __EID

-- removed ARKFS_OPEN

-- removed STAND_ALONE

-- removed __TANDEM

-- removed NA_C89

-- removed NA_NSK

-- removed SQLEXPORT_LIB_FUNC

-- 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 NA_TMFNOTYETSUPPORTED

-- removed ERROR

-- removed ERROR_STATE

-- removed SQLERRORS_LIB_FUNC

Contents of these files have been removed.

Next checkin fill remove the files itself from git:

executor/dmeasql.h

executor/ExMeas.h, ExMeas.cpp

executor/tempfile.h, .cpp

executor/rcb.h

executor/stubs.cpp, stubs2.cpp

exp/srlversion.cpp

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

cli/VicKeyValuePair.h

cli/CliDll.cpp

cli/CliStubsStaticBuild.cpp

cli/globalsrlversion.cpp

cli/globalstubs.cpp

cli/sqlciSRLStubs.cpp

cli/test.cpp

cli/privsrlversion.cpp

common/SqlExpDllDefines.h

common/SqlExportDllDefines.h

sqlcat/enum.h

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

Conflicts:

core/sqf/monitor/linux/config.cxx

core/sqf/monitor/linux/pnodeconfig.cxx

core/sqf/monitor/linux/pnodeconfig.h

core/sqf/monitor/linux/reqqueue.cxx

core/sqf/monitor/linux/shell.cxx

core/sqf/sql/scripts/gensq.pl

core/sqf/sql/scripts/sqconfig

core/sqf/sql/scripts/sqconfig.sample

core/sqf/sql/scripts/sqgen

core/sqf/sql/scripts/sqnodestatus

  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.