Skip to content

TideSQL 3 PATCH (v3.4.1)#86

Merged
guycipher merged 2 commits intomasterfrom
341patch
Mar 11, 2026
Merged

TideSQL 3 PATCH (v3.4.1)#86
guycipher merged 2 commits intomasterfrom
341patch

Conversation

@guycipher
Copy link
Member

corrections(install) - harden installer for cross-platform correctness and UX

  • remove query_cache_type/query_cache_size from generated my.cnf
    (removed in MariaDB 12.x, causes startup failure on default target)
  • use platform-correct plugin extension (.so/.dll) in plugin_load_add
  • move VCPKG_ROOT detection to top-level init so --skip-deps on Windows
    no longer crashes with unbound variable under set -u
  • fix PGO on macOS - use Clang-compatible -fprofile-instr-generate/use
    instead of GCC-only -fprofile-generate/use; merge .profraw via
    llvm-profdata in the training phase
  • add missing Windows case blocks in PGO instrument/optimize phases
  • replace hardcoded sudo with _needs_sudo() helper that checks prefix
    writability — avoids root-owned files in user-writable prefixes
  • remove dead -DTIDESDB_ROOT cmake cache variable (only the exported
    ENV is read by FIND_LIBRARY HINTS); set CMAKE_PREFIX_PATH once per OS
    in dedicated case blocks to prevent double-set on Windows
  • add --force to git submodule update for robustness on dirty checkouts
  • pass -DTIDESDB_BUILD_TESTS=OFF -DBUILD_SHARED_LIBS=ON when building
    the TidesDB library to skip unnecessary test/benchmark compilation
  • replace hardcoded-width box drawing (_cfg_row, row) with reusable
    draw_box() that auto-sizes borders to the widest visible content line,
    fixing misaligned boxes when paths exceed the old 66-char inner width

…s and UX

* remove query_cache_type/query_cache_size from generated my.cnf
  (removed in MariaDB 12.x, causes startup failure on default target)
* use platform-correct plugin extension (.so/.dll) in plugin_load_add
* move VCPKG_ROOT detection to top-level init so --skip-deps on Windows
  no longer crashes with unbound variable under set -u
* fix PGO on macOS - use Clang-compatible -fprofile-instr-generate/use
  instead of GCC-only -fprofile-generate/use; merge .profraw via
  llvm-profdata in the training phase
* add missing Windows case blocks in PGO instrument/optimize phases
* replace hardcoded sudo with _needs_sudo() helper that checks prefix
  writability — avoids root-owned files in user-writable prefixes
* remove dead -DTIDESDB_ROOT cmake cache variable (only the exported
  ENV is read by FIND_LIBRARY HINTS); set CMAKE_PREFIX_PATH once per OS
  in dedicated case blocks to prevent double-set on Windows
* add --force to git submodule update for robustness on dirty checkouts
* pass -DTIDESDB_BUILD_TESTS=OFF -DBUILD_SHARED_LIBS=ON when building
  the TidesDB library to skip unnecessary test/benchmark compilation
* replace hardcoded-width box drawing (_cfg_row, row) with reusable
  draw_box() that auto-sizes borders to the widest visible content line,
  fixing misaligned boxes when paths exceed the old 66-char inner width
@guycipher guycipher self-assigned this Mar 11, 2026
…ix connect user

* pass --defaults-file pointing to the generated my.cnf in all
  mariadb-install-db invocations so it does not pick up system or
  default configs that reference missing plugins (e.g. provider_lzo
  on MariaDB 12.x), which caused data directory initialization to
  fail silently
* write user= directive in my.cnf matching the actual runtime user
  (mysql for system installs, current user for user-local installs)
* fix print_summary to show the correct connect user for user-local
  installs (system username instead of root)
@guycipher guycipher merged commit eb1d5fa into master Mar 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant