MySQLDatabaseMetaData.getColumns returns column size values 3 times their size

Description

MySQLDatabaseMetaData.getColumns is returning values 3 times as big as they should be for column sizes. This is due to LEAST(CHARACTER_OCTET_LENGTH,"Integer.MAX_VALUE") being used instead of LEAST(CHARACTER_MAXIMUM_LENGTH,"Integer.MAX_VALUE") for the column 'COLUMN_SIZE'.

Environment

None

Status

Assignee

Vladislav Vaintroub

Reporter

George El Boustani

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Priority

Major
Configure