[MDEV-26704] protocol-version sysvar missing help in --help --verbose Created: 2021-09-27  Updated: 2021-09-27

Status: Open
Project: MariaDB Server
Component/s: Server
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Anel Husakovic Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

System variable protocol version not visible from print_help()

D:\server\bld_10.7\sql\Debug>mariadbd.exe --help --verbose|findstr protocol
  --proxy-protocol-networks=name
                      Enable proxy protocol for these source networks. The
  --slave-compressed-protocol
                      Use compression on master/slave protocol
 
protocol-version                                             10
proxy-protocol-networks
slave-compressed-protocol                                    FALSE

However, maybe it shouldn't since there are some version like variables that are not visible

$ ./sql/mysqld --help --verbose|grep version
  --in-predicate-conversion-threshold=# 
                      of IN predicate that triggers its conversion to IN
                      subquery. Set to 0 to disable the conversion.
                      MariaDB versions older than 10.0.4; new files created
                      were encrypted with a key that many (or more) versions
  --old               Use compatible behavior from previous MariaDB version.
                      MySQL versions. Any combination of: 
  --slave-type-conversions=name 
                      Set of slave type conversions that are enabled. If the
                      variable is empty, no conversions are allowed and it is
  --system-versioning-alter-history=name 
  --tls-version=name  TLS protocol version for secure connections.. Any
  -V, --version[=name] 
                      Output version information and exit.
in-predicate-conversion-threshold        1000
protocol-version                         10
slave-type-conversions                   
system-versioning-alter-history          ERROR
tls-version                              TLSv1.1,TLSv1.2,TLSv1.3
version                                  10.7.0-MariaDB-debug-log
version-comment                          Source distribution
version-compile-machine                  x86_64
version-compile-os                       Linux
version-malloc-library                   system
version-source-revision                  deac988668644b0415b4a4724eb577a34f76044b
version-ssl-library                      WolfSSL 4.8.0
wsrep-patch-version                      wsrep_26.22

KB article is not saying too much about the nature of numbers, so maybe help should be updated too.


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