comparison tests/JDBC_API_Tester.java @ 970:f90d811e97eb

Adjust getTableTypes() test for new table type: LOCAL TEMPORARY VIEW, added in 11.53.4 (Mar2025-SP1)
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 03 Apr 2025 15:01:33 +0200 (4 weeks ago)
parents 5cc071c5c170
children
comparison
equal deleted inserted replaced
969:0fce9f209457 970:f90d811e97eb
5575 sb.append("List TableTypes:\n"); 5575 sb.append("List TableTypes:\n");
5576 while (rs2.next()) { 5576 while (rs2.next()) {
5577 String tt = rs2.getString(1); 5577 String tt = rs2.getString(1);
5578 // the STREAM TABLE type is REMOVED in post Oct2020 releases, so filter it out for a stable output on all releases 5578 // the STREAM TABLE type is REMOVED in post Oct2020 releases, so filter it out for a stable output on all releases
5579 // the UNLOGGED TABLE type is ADDED in post Jan2022 releases, so filter it out for a stable output on all releases 5579 // the UNLOGGED TABLE type is ADDED in post Jan2022 releases, so filter it out for a stable output on all releases
5580 if (! ("STREAM TABLE".equals(tt) || "UNLOGGED TABLE".equals(tt)) ) 5580 // the LOCAL TEMPORARY VIEW type is ADDED in 11.53.4 (Mar2025-SP1) releases, filter it out for a stable output on all releases
5581 if (! ("STREAM TABLE".equals(tt) || "UNLOGGED TABLE".equals(tt) || "LOCAL TEMPORARY VIEW".equals(tt)) )
5581 sb.append(tt).append("\n"); 5582 sb.append(tt).append("\n");
5582 } 5583 }
5583 rs2.close(); 5584 rs2.close();
5584 } 5585 }
5585 sb.append("completed listing TableTypes\n"); 5586 sb.append("completed listing TableTypes\n");