Hi holyfoot, I've adopted your suggestion and removed the init values. I also reworked these changes a bit based on what I learned while working on MENT-796. ptal thanks (in the branch 11.4-enterprise-ment-796):
53724aa9c07 MDEV-32627 Spider: use CONNECTION string in SQLDriverConnect
|
10d82255caa MDEV-32627 Distinguish between absence of a keyword and empty value for the keyword
|
2f23e084670 MDEV-32627 Spider: add tests for connection param overriding
|
The main differences, compared to the previous patch, is that I added two commits that fix bugs relating to empty strings and merging of connection info from several sources.
Am also sending you an updated patch for MENT-2070.
Also applied to CS (in the branch bb-11.4-mdev-32627) as
d0517a0c9a1 bb-11.4-mdev-32627 MDEV-32627 Spider: use CONNECTION string in SQLDriverConnect
|
3b774099b66 MDEV-32627 Distinguish between absence of a keyword and empty value for the keyword
|
31107625b2f MDEV-32627 Spider: add tests for connection param overriding
|
Since MDEV-31146 is blocked until 2028, we need to consider alternatives. Perhaps we could add a spider system variable that toggles the parsing of CONNECTION between the old format and the SQLDriverConnect format. Perhaps we could default to the SQLDriverConnect format when table options are specified using engine specific options, just like we do not parse COMMENT strings when this happens.