Skip to content

Commit

Permalink
Extracting version from database V5
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddharthBITS committed Jan 22, 2025
1 parent 8be8d3e commit fe37671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/JDBC/src/test/java/com/sqlsamples/TestQueryFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public void TestQueryBatch(String inputFileName) throws SQLException, ClassNotFo
String queryOutput = queryOutputBuilder.toString();

Pattern pattern = Pattern.compile("PostgreSQL (\\d+\\.\\d+)");
Matcher matcher = pattern.matcher(queryOutput);
Matcher matcher = pattern.matcher(queryOutputBuilder);

if (matcher.find())
{
Expand Down

0 comments on commit fe37671

Please sign in to comment.