Mercurial > hg > monetdb-java
view src/main/java/org/monetdb/jdbc/MonetVersion.java.in @ 966:39b74cc688d2
Fix a bug in DatabaseMetaData.getTables() where a provided string in the
array of table types argument would contain a single quote or back slash.
It was not escaped properly, resulting in an SQL syntax error.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Wed, 12 Feb 2025 22:31:08 +0100 (2 months ago) |
parents | 203c4cc8d94d |
children |
line wrap: on
line source
/* * SPDX-License-Identifier: MPL-2.0 * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright 2024, 2025 MonetDB Foundation; * Copyright August 2008 - 2023 MonetDB B.V.; * Copyright 1997 - July 2008 CWI. */ package org.monetdb.jdbc; final class MonetVersion { /** * Major version of MonetDB JDBC driver. */ public static int majorVersion = @JDBC_MAJOR@; /** * Minor version of MonetDB JDBC driver. */ public static int minorVersion = @JDBC_MINOR@; /** * Full version string of MonetDB JDBC driver. */ public static String driverVersion = "@JDBC_MAJOR@.@JDBC_MINOR@"; }