Christian Ferrari
Christian Ferrari
These are the commands to compile and link the switch_postgresql_stareg.so module: /bin/bash ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/client -I../../../../src/xta -I/usr/include/postgresql -I../../../common -DLIXA_DEBUG -D_CRASH -D_TRACE -I/usr/lib/jvm/java-11-openjdk-amd64/include -I/usr/lib/jvm/java-11-openjdk-amd64/include/linux -I/usr/include/libxml2 -I/usr/include/glib-2.0...
Even LT_INIT([dlopen]) in configure,ac instead of LT_INIT does not solve the issue.
Oracle module: file oracle_stareg.o oracle_stareg.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), with debug_info, not stripped gcc -shared -fPIC -DPIC .libs/oracle_stareg.o -L/opt/oracle/instantclient_19_8/ -lclntsh -lnnz19 -lm -g -Wl,--no-as-needed -Wl,-rpath -Wl,/opt/oracle/instantclient_19_8/...
In file liblixapq.h, and the same applies for liblixamy.h, there was a missing "extern": extern struct xa_switch_t xapqls; for some reasons, it worked for 16 years, but on latest Ubuntu...
This requires: - complete review of the XA RECOVER statement usage for MySQL/MariaDB - review of the test cases that should have been caught, and they didn't, the issue
Additional info: the syntax XA RECOVER CONVERT XID; is supported by MySQL 5.7.33 installed with Ubuntu 16.04, but it's not supported by MySQL 5.5.62 installed with Ubuntu 14.04 As a...
Due to the old historical XA RECOVER bug in MySQL documented here https://bugs.mysql.com/bug.php?id=12161 and here https://bugs.mysql.com/bug.php?id=12161, it's time to drop support for versions older than 5.7.7 In practice I will...