Files
poco/Data/MySQL/testsuite/Makefile
Aleksandar Fabijanic 0e1ba0b780 fix(Data): Refactor ODBC tests and fix testReconnect TypeInfo caching… (#5140)
* fix(Data): Refactor ODBC tests and fix testReconnect TypeInfo caching #5136

- Add TypeInfo::reset() to clear cached type info, called on session close
  to fix testReconnect failing when connection is reestablished
- Move common test methods from ODBC SQLExecutor to shared DataTest
  SQLExecutor for better code reuse across database backends
- Improve error message in hasTransactionIsolation() to be more descriptive
- Refactor ODBC MySQL and PostgreSQL test executors to delegate to
  shared base implementation
- Update MySQL, PostgreSQL, and SQLite test suites to use refactored
  executor methods
- Add Nix shell environments for MySQL and PostgreSQL test databases
  with auto-start/stop and ODBC driver configuration

* chore: pass executor name

* chore: nix-shell documentation

* chore: nix-shell documentation

* feat: add optional/tuple tests to ODBC Oracle and SQLServer #5136

* fix(ODBC): add missing functions implementations #5136
2025-12-24 14:42:24 +01:00

25 lines
573 B
Makefile

#
# Makefile
#
# Makefile for Poco MySQL testsuite
#
include $(POCO_BASE)/build/rules/global
include $(POCO_BASE)/Data/MySQL/MySQL.make
# Note: linking order is important, do not change it.
SYSLIBS += -lmysqlclient -lz -lpthread -ldl
objects = MySQLTestSuite Driver MySQLTest SQLExecutor
ifndef POCO_DATA_NO_SQL_PARSER
target_includes += $(POCO_BASE)/Data/SQLParser $(POCO_BASE)/Data/SQLParser/src
endif
target = testrunner
target_version = 1
target_libs = PocoDataMySQL PocoDataTest PocoData PocoFoundation CppUnit
include $(POCO_BASE)/build/rules/exec