-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
The getFeatureCompatibilityVersion() test function introduced for PHPLIB-276 should only be called if the server version is 3.4+, as earlier versions of the database will raise an error a "no option found to get" error if we query the server for its FCV.
Alternatively, we may want to rewrite the getFeatureCompatibilityVersion() so that is not simply a direct comparison of the FCV parameter. We can first do a server version check, and if the server is 3.2 or older, we can use the server version as the FCV for comparison and stop there. Otherwise, we query for the FCV parameter on 3.4+ servers and use that version for the comparison.
- is related to
-
PHPLIB-276 Change stream support
- Closed
-
PHPLIB-295 Array Update Improvements
- Closed
-
PHPLIB-299 Ensure Travis CI jobs run with expected server versions
- Closed