This repository has been archived by the owner on Jun 7, 2021. It is now read-only.
TRAFODION-2731 CodeCleanup: Remove obsolete, legacy and unused code #1226
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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