Unrevert 4b222edf45 and
Fix random base64 generation in test helper
The good news is that the changes to base64::decode()
did exactly what they were intended to do.
The bad news is that data_generators.js was producing
invalid base64 sequences when (length % 4) == 1.
- Defines version 1 and 2; both are supported.
- Indexes without this option are assumed to be version 1.
- New builds get version 2 (if version unspecified).
- Version 1 throws in getKeys if the geometry is one of the types
introduced since 2.4.0 (MultiPoint, MultiLineString, MultiPolygon,
GeometryCollection).