[MDEV-27191] MariaDB client - "system" command does not work on Windows Created: 2021-12-07  Updated: 2021-12-07  Resolved: 2021-12-07

Status: Closed
Project: MariaDB Server
Component/s: Platform Windows, Scripts & Clients
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7
Fix Version/s: 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

The reason for this is because USE_POPEN was disabled on Windows, a long long time ago, on whatever undocumented reasons -perhaps it did not work on Win95, when Monty tried it, or maybe it was fork+exec back then, we'll never know.

popen() works ok on Windows, apparently.

This "works on Unix only" forces users to do unnecessary workarounds, e.g when creating NTFS snapshot backups , see https://serverfault.com/a/360326/64221 . The only thing that is needed for easy backup'ing would be to insert a "vssadmin" command between FTWRL and UNLOCK TABLES.


Generated at Thu Feb 08 09:51:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.