Changeset: 7868f3b4b78d for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7868f3b4b78d Added Files: sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.SQL.bat sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.SQL.sh sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.stable.err sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.stable.out Modified Files: sql/jdbc/tests/Tests/All Branch: Jul2017 Log Message:
Activate new java JDBC test program for bug 6349 diffs (111 lines): diff --git a/sql/jdbc/tests/Tests/All b/sql/jdbc/tests/Tests/All --- a/sql/jdbc/tests/Tests/All +++ b/sql/jdbc/tests/Tests/All @@ -37,3 +37,4 @@ HAVE_JDBCTESTS?BugDatabaseMetaData_Bug_3 HAVE_JDBCTESTS?BugSetQueryTimeout_Bug_3357 HAVE_JDBCTESTS?BugDecimalRound_Bug_3561 HAVE_JDBCTESTS?BugResultSetMetaData_Bug_6183 +HAVE_JDBCTESTS?Bug_PrepStmtSetObject_CLOB_6349 diff --git a/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.SQL.bat b/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.SQL.bat new file mode 100755 --- /dev/null +++ b/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.SQL.bat @@ -0,0 +1,1 @@ +@call "%TSTSRCDIR%\Test.SQL.bat" %* diff --git a/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.SQL.sh b/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.SQL.sh new file mode 100755 --- /dev/null +++ b/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.SQL.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +$TSTSRCDIR/Test.SQL.sh $* diff --git a/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.stable.err b/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.stable.err new file mode 100644 --- /dev/null +++ b/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.stable.err @@ -0,0 +1,39 @@ +stderr of test 'Bug_PrepStmtSetObject_CLOB_6349` in directory 'sql/jdbc/tests` itself: + + +# 14:46:39 > +# 14:46:39 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=35788" "--set" "mapi_usock=/var/tmp/mtest-8623/.s.monetdb.35788" "--set" "monet_prompt=" "--forcemito" "--dbpath=/export/scratch2/dinther/INSTALL/var/MonetDB/mTests_sql_jdbc_tests" +# 14:46:39 > + +# builtin opt gdk_dbpath = /export/scratch2/dinther/INSTALL/var/monetdb5/dbfarm/demo +# builtin opt gdk_debug = 0 +# builtin opt gdk_vmtrim = no +# builtin opt monet_prompt = > +# builtin opt monet_daemon = no +# builtin opt mapi_port = 50000 +# builtin opt mapi_open = false +# builtin opt mapi_autosense = false +# builtin opt sql_optimizer = default_pipe +# builtin opt sql_debug = 0 +# cmdline opt gdk_nr_threads = 0 +# cmdline opt mapi_open = true +# cmdline opt mapi_port = 35788 +# cmdline opt mapi_usock = /var/tmp/mtest-8623/.s.monetdb.35788 +# cmdline opt monet_prompt = +# cmdline opt gdk_dbpath = /export/scratch2/dinther/INSTALL/var/MonetDB/mTests_sql_jdbc_tests +# cmdline opt gdk_debug = 536870922 + +# 14:46:39 > +# 14:46:39 > "./Bug_PrepStmtSetObject_CLOB_6349.SQL.sh" "Bug_PrepStmtSetObject_CLOB_6349" +# 14:46:39 > + + +# 14:46:39 > +# 14:46:39 > java Bug_PrepStmtSetObject_CLOB_6349 "jdbc:monetdb://toulouse:35788/mTests_sql_jdbc_tests?user=monetdb&password=monetdb" +# 14:46:39 > + + +# 14:46:40 > +# 14:46:40 > "Done." +# 14:46:40 > + diff --git a/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.stable.out b/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.stable.out new file mode 100644 --- /dev/null +++ b/sql/jdbc/tests/Tests/Bug_PrepStmtSetObject_CLOB_6349.stable.out @@ -0,0 +1,40 @@ +stdout of test 'Bug_PrepStmtSetObject_CLOB_6349` in directory 'sql/jdbc/tests` itself: + + +# 14:46:39 > +# 14:46:39 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=35788" "--set" "mapi_usock=/var/tmp/mtest-8623/.s.monetdb.35788" "--set" "monet_prompt=" "--forcemito" "--dbpath=/export/scratch2/dinther/INSTALL/var/MonetDB/mTests_sql_jdbc_tests" +# 14:46:39 > + +# MonetDB 5 server v11.27.2 +# This is an unreleased version +# Serving database 'mTests_sql_jdbc_tests', using 8 threads +# Compiled for x86_64-unknown-linux-gnu/64bit with 128bit integers +# Found 15.588 GiB available main-memory. +# Copyright (c) 1993-July 2008 CWI. +# Copyright (c) August 2008-2017 MonetDB B.V., all rights reserved +# Visit https://www.monetdb.org/ for further information +# Listening for connection requests on mapi:monetdb://toulouse.da.cwi.nl:35788/ +# Listening for UNIX domain connection requests on mapi:monetdb:///var/tmp/mtest-8623/.s.monetdb.35788 +# MonetDB/GIS module loaded +# MonetDB/SQL module loaded + +Ready. + +# 14:46:39 > +# 14:46:39 > "./Bug_PrepStmtSetObject_CLOB_6349.SQL.sh" "Bug_PrepStmtSetObject_CLOB_6349" +# 14:46:39 > + + +# 14:46:39 > +# 14:46:39 > java Bug_PrepStmtSetObject_CLOB_6349 "jdbc:monetdb://toulouse:35788/mTests_sql_jdbc_tests?user=monetdb&password=monetdb" +# 14:46:39 > + +0. true true +Prepared Query has 1 parameters. Type of first is: clob +Prepared Query has 3 columns. Type of first is: clob +Query ResultSet has 3 columns. Type of first is: clob + +# 14:46:40 > +# 14:46:40 > "Done." +# 14:46:40 > + _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
