We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7bd1c0 commit ee9b88dCopy full SHA for ee9b88d
src/Database/Adapter/MariaDB.php
@@ -1940,7 +1940,6 @@ public function getSupportForOptionalSpatialAttributeWithExistingRows(): bool
1940
*/
1941
public function getMaxVarcharLength(): int
1942
{
1943
- return $this->getMaxIndexLength();
1944
- return 16381; // Floor value for Postgres:16383 | MySQL:16381 | MariaDB:16382
+ return min(16381, $this->getMaxIndexLength());
1945
}
1946
src/Database/Adapter/Postgres.php
@@ -2327,6 +2327,6 @@ public function decodePolygon(string $wkb): array
2327
2328
2329
2330
+ return 16383;
2331
2332
0 commit comments