[CONC-317] Whitespace around assignment token not handled properly Created: 2018-03-19  Updated: 2018-05-12  Resolved: 2018-04-18

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.4

Type: Bug Priority: Major
Reporter: Olaf van der Spek Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-12961 Client conf files Stalled

 Description   

.conf:
[client]
host = debian
user = root

ma_default.c: 275: set_option(mysql, "host ", "ebian");

The trailing space and the missing first char are NOT typos..

Previous report: https://jira.mariadb.org/browse/MDEV-12961



 Comments   
Comment by Georg Richter [ 2018-03-19 ]

The parser is buggy, keys and values containing trailing or leading white spaces are not handled correctly.

Comment by Georg Richter [ 2018-04-18 ]

Fixed in C/C 3.0.4

Generated at Thu Feb 08 03:04:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.