Skip to content

Commit

Permalink
update to 0.9.21-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
bersler committed Aug 13, 2021
1 parent 5efbe62 commit d77c5b9
Show file tree
Hide file tree
Showing 38 changed files with 227 additions and 162 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.9.21-beta
- added length checks for string types
- minor code cleanup & optimization to reduce memory allocations

0.9.20-beta
- changed Oracle client to 19.12
- build scripts compiled with newer autotools
Expand Down
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for OpenLogReplicator 0.9.20-beta.
# Generated by GNU Autoconf 2.69 for OpenLogReplicator 0.9.21-beta.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='OpenLogReplicator'
PACKAGE_TARNAME='openlogreplicator'
PACKAGE_VERSION='0.9.20-beta'
PACKAGE_STRING='OpenLogReplicator 0.9.20-beta'
PACKAGE_VERSION='0.9.21-beta'
PACKAGE_STRING='OpenLogReplicator 0.9.21-beta'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL=''

Expand Down Expand Up @@ -1338,7 +1338,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures OpenLogReplicator 0.9.20-beta to adapt to many kinds of systems.
\`configure' configures OpenLogReplicator 0.9.21-beta to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1409,7 +1409,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of OpenLogReplicator 0.9.20-beta:";;
short | recursive ) echo "Configuration of OpenLogReplicator 0.9.21-beta:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1528,7 +1528,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
OpenLogReplicator configure 0.9.20-beta
OpenLogReplicator configure 0.9.21-beta
generated by GNU Autoconf 2.69

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2433,7 +2433,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by OpenLogReplicator $as_me 0.9.20-beta, which was
It was created by OpenLogReplicator $as_me 0.9.21-beta, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -4701,7 +4701,7 @@ fi

# Define the identity of the package.
PACKAGE='openlogreplicator'
VERSION='0.9.20-beta'
VERSION='0.9.21-beta'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -17608,7 +17608,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by OpenLogReplicator $as_me 0.9.20-beta, which was
This file was extended by OpenLogReplicator $as_me 0.9.21-beta, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -17674,7 +17674,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
OpenLogReplicator config.status 0.9.20-beta
OpenLogReplicator config.status 0.9.21-beta
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#<http://www.gnu.org/licenses/>.

AC_PREREQ(2.68)
AC_INIT([OpenLogReplicator],[0.9.20-beta],[[email protected]])
AC_INIT([OpenLogReplicator],[0.9.21-beta],[[email protected]])
AC_USE_SYSTEM_EXTENSIONS
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR(config)
Expand Down
4 changes: 2 additions & 2 deletions libtool
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /bin/sh
# Generated automatically by config.status (openlogreplicator) 0.9.20-beta
# Generated automatically by config.status (openlogreplicator) 0.9.21-beta
# Libtool was configured on host tos:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.

Expand Down Expand Up @@ -165,7 +165,7 @@ lock_old_archive_extraction=no
LTCC="gcc"

# LTCC compiler flags.
LTCFLAGS="-fsanitize=address"
LTCFLAGS="-g -O2"

# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
Expand Down
23 changes: 13 additions & 10 deletions src/OpCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -696,8 +696,8 @@ namespace OpenLogReplicator {
oracleAnalyzer->dumpStream << "DEBUG op: " << dec << (uint64_t)(redoLogRecord->op & 0x1F) << endl;
}

string xtype("0");
string rtype("");
const char* xtype("0");
const char* rtype("");
switch (redoLogRecord->flags & 0x03) {
case FLAGS_XA:
xtype = "XA"; //redo
Expand All @@ -714,7 +714,7 @@ namespace OpenLogReplicator {
if ((redoLogRecord->flags & FLAGS_KDO_KDOM2) != 0)
rtype = "xtype KDO_KDOM2";

string rowDependencies("Disabled");
const char* rowDependencies("Disabled");
if ((redoLogRecord->op & OP_ROWDEPENDENCIES) != 0)
rowDependencies = "Enabled";

Expand Down Expand Up @@ -764,8 +764,11 @@ namespace OpenLogReplicator {
redoLogRecord->rci = redoLogRecord->data[fieldPos + 19];
redoLogRecord->flg = oracleAnalyzer->read16(redoLogRecord->data + fieldPos + 20);

string ktuType("ktubu"), prevObj(""), postObj("");
const char* ktuType("ktubu");
const char* prevObj("");
const char* postObj("");
bool ktubl = false;

if ((redoLogRecord->flg & FLG_KTUBL) != 0) {
ktubl = true;
ktuType = "ktubl";
Expand Down Expand Up @@ -801,7 +804,7 @@ namespace OpenLogReplicator {
" tsn: " << dec << redoLogRecord->tsn << "]" << endl;
}

string lastBufferSplit;
const char* lastBufferSplit;
if ((redoLogRecord->flg & FLG_LASTBUFFERSPLIT) != 0)
lastBufferSplit = "Yes";
else {
Expand All @@ -811,7 +814,7 @@ namespace OpenLogReplicator {
lastBufferSplit = " No";
}

string userUndoDone;
const char* userUndoDone;
if ((redoLogRecord->flg & FLG_USERUNDODDONE) != 0)
userUndoDone = "Yes";
else {
Expand All @@ -821,7 +824,7 @@ namespace OpenLogReplicator {
userUndoDone = " No";
}

string undoType;
const char* undoType;
if (oracleAnalyzer->version < REDO_VERSION_12_2) {
if ((redoLogRecord->flg & FLG_MULTIBLOCKUNDOHEAD) != 0)
undoType = "Multi-block undo - HEAD";
Expand Down Expand Up @@ -851,7 +854,7 @@ namespace OpenLogReplicator {
undoType = "Regular undo";
}

string tempObject;
const char* tempObject;
if ((redoLogRecord->flg & FLG_ISTEMPOBJECT) != 0)
tempObject = "Yes";
else {
Expand All @@ -861,7 +864,7 @@ namespace OpenLogReplicator {
tempObject = " No";
}

string tablespaceUndo;
const char* tablespaceUndo;
if ((redoLogRecord->flg & FLG_TABLESPACEUNDO) != 0)
tablespaceUndo = "Yes";
else {
Expand All @@ -871,7 +874,7 @@ namespace OpenLogReplicator {
tablespaceUndo = " No";
}

string userOnly(" No");
const char* userOnly(" No");
if ((redoLogRecord->flg & FLG_USERONLY) != 0)
userOnly = "Yes";
else {
Expand Down
Loading

0 comments on commit d77c5b9

Please sign in to comment.