changeset 256:37b537a7ad60

Use column names that are actually standard SQL. In SQL, \ is nothing special, so it certainly does not escape " in "-quoted string. Therefore use the standard doubled ". MonetDB currently doesn't handle this doubled " correctly, but that is a different issue.
author Sjoerd Mullender <sjoerd@acm.org>
date Mon, 19 Nov 2018 15:30:01 +0100 (2018-11-19)
parents 27b7166860c8
children 529b92d09fc6
files tests/BugResultSetMetaData_Bug_6183.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/BugResultSetMetaData_Bug_6183.java
+++ b/tests/BugResultSetMetaData_Bug_6183.java
@@ -11,7 +11,7 @@ import java.sql.*;
 public class BugResultSetMetaData_Bug_6183 {
 	static final String dqTblName = "\"my dq_table\"";
 	static final String[] dqColNames = { "\"my space\"", "\"my, comma_space\"", "\"my$dollar\"", "\"my#hash\"", "\"my	tab\""
-			, "\"my	,tab_comma\"", "\"my,	comma_tab\"", "\"my\\\"backslash_doublequote\"", "\"Abc\"", "\" \"", "\"123\"" };
+			, "\"my	,tab_comma\"", "\"my,	comma_tab\"", "\"my\"\"double_doublequote\"", "\"Abc\"", "\" \"", "\"123\"" };
 
 	public static void main(String[] args) throws Exception {
 		// Class.forName("nl.cwi.monetdb.jdbc.MonetDriver");	// not needed anymore for self registering JDBC drivers