Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The server has compiled named pipe as builtin for ages now.
But current default compilation still puts it into pvio_npipe.
It is a bit frustrating to take the libmariadb from package manager (I'm using vcpkg), compile it, and not being able to connect to server via named pipe.
The context is using for sysbench (on Windows), and sysbench does not give you options to specify mariadb plugin directories. There are no option files, and there are no environment variables, or predefined paths (relative to executable location), where it can be put in.
While libmysql (from Oracle) does accomplish connecting via named pipe, I prefer libmariadb, as it does have optimizations that libmysql does not have, e.g not resending result metadata for prepared statements.
named pipe turns out much faster than TCP on Windows, so for sysbench it is important to have it.
Granted, I can use ExternalProject_Add or submodules, but I prefer not touse them. Named pipe as "transport layer" is solid and is used in different scenarios (with the server, mysql_upgrade_service would use it), so would it be possible to have it compiled in?