"WHERE a.RDB$CHARACTER_SET_ID = ? OR a.RDB$BYTES_PER_CHARACTER = ?");
assertEquals("Unexpected StatementType", StatementType.SELECT, statement.getType());
final RowDescriptor fields = statement.getFieldDescriptor();
assertNotNull("Fields", fields);
final FirebirdSupportInfo supportInfo = supportInfoFor(db);
<BUG>final boolean unicodeFssLengthReported = supportInfo.reportsByteLengthInDescriptor();
final boolean supportsTableAlias = supportInfo.supportsTableAlias();
List<FieldDescriptor> expectedFields =</BUG>
Collections.singletonList(
<BUG>new FieldDescriptor(0, db.getDatatypeCoder(), ISCConstants.SQL_TEXT | 1, 3, 0,

unicodeFssLengthReported ? 93 : 31, "RDB$CHARACTER_SET_NAME",
supportsTableAlias ? "A" : null, "RDB$CHARACTER_SET_NAME", "RDB$CHARACTER_SETS",</BUG>
"SYSDBA")

"WHERE a.RDB$CHARACTER_SET_ID = ? OR a.RDB$BYTES_PER_CHARACTER = ?");
assertEquals("Unexpected StatementType", StatementType.SELECT, statement.getType());
final RowDescriptor fields = statement.getFieldDescriptor();
assertNotNull("Fields", fields);
final FirebirdSupportInfo supportInfo = supportInfoFor(db);
final boolean supportsTableAlias = supportInfo.supportsTableAlias();
final int metadataCharSetId = supportInfo.reportedMetadataCharacterSetId();
List<FieldDescriptor> expectedFields =
Collections.singletonList(
new FieldDescriptor(0, db.getDatatypeCoder(), ISCConstants.SQL_TEXT | 1, metadataCharSetId, 0,
supportInfo.maxReportedIdentifierLengthBytes(), "RDB$CHARACTER_SET_NAME",
supportsTableAlias ? "A" : null, "RDB$CHARACTER_SET_NAME", "RDB$CHARACTER_SETS",
"SYSDBA")
