Changeset: a2d6c9a4fb34 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a2d6c9a4fb34
Modified Files:
sql/test/BugTracker-2011/Tests/All
sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.SQL.bat
sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.SQL.sh
sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.pl
sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.stable.err
sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.stable.out
Branch: Aug2011
Log Message:
Added test for bug 2885.
diffs (154 lines):
diff --git a/sql/test/BugTracker-2011/Tests/All
b/sql/test/BugTracker-2011/Tests/All
--- a/sql/test/BugTracker-2011/Tests/All
+++ b/sql/test/BugTracker-2011/Tests/All
@@ -37,3 +37,4 @@ FK_self_reference.Bug-2862
time_precision.Bug-2873
multiple-joins.Bug-2879
delete-large-table.Bug-2882
+HAVE_PERL?perl-table_info.Bug-2885
diff --git a/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.SQL.bat
b/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.SQL.bat
new file mode 100755
--- /dev/null
+++ b/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.SQL.bat
@@ -0,0 +1,6 @@
+@echo off
+
+prompt # $t $g
+echo on
+
+perl "%TSTSRCDIR%\perl-table_info.Bug-2885.pl" %MAPIPORT% %TSTDB%
diff --git a/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.SQL.sh
b/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.SQL.sh
new file mode 100755
--- /dev/null
+++ b/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.SQL.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+Mlog -x "perl $TSTSRCDIR/perl-table_info.Bug-2885.pl $MAPIPORT $TSTDB"
diff --git a/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.pl
b/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.pl
new file mode 100755
--- /dev/null
+++ b/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.pl
@@ -0,0 +1,12 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+$|++;
+
+use DBI();
+
+my $dbh =
DBI->connect("dbi:monetdb:database=$ARGV[1];host=localhost;port=$ARGV[0];language=sql",
'monetdb', 'monetdb');
+
+my $sth = $dbh->table_info('', '%', '%');
diff --git a/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.stable.err
b/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.stable.err
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.stable.err
@@ -0,0 +1,43 @@
+stderr of test 'perl-table_info.Bug-2885` in directory 'test/BugTracker-2011`
itself:
+
+
+# 16:17:26 >
+# 16:17:26 > mserver5 --debug=10 --set gdk_nr_threads=0 --set
"gdk_dbfarm=/ufs/sjoerd/Monet-candidate/var/MonetDB" --set mapi_open=true --set
mapi_port=33630 --set monet_prompt= --trace --forcemito --set mal_listing=2
"--dbname=mTests_test_BugTracker-2011" --set mal_listing=0 ; echo ; echo Over..
+# 16:17:26 >
+
+# builtin opt gdk_dbname = demo
+# builtin opt gdk_dbfarm = /ufs/sjoerd/Monet-candidate/var/monetdb5/dbfarm
+# builtin opt gdk_debug = 0
+# builtin opt gdk_alloc_map = no
+# builtin opt gdk_vmtrim = yes
+# 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 gdk_dbfarm = /ufs/sjoerd/Monet-candidate/var/MonetDB
+# cmdline opt mapi_open = true
+# cmdline opt mapi_port = 33630
+# cmdline opt monet_prompt =
+# cmdline opt mal_listing = 2
+# cmdline opt gdk_dbname = mTests_test_BugTracker-2011
+# cmdline opt mal_listing = 0
+
+# 16:17:27 >
+# 16:17:27 > ./perl-table_info.Bug-2885.SQL.sh perl-table_info.Bug-2885
+# 16:17:27 >
+
+
+# 16:17:27 >
+# 16:17:27 > perl
/net/ottar/export/scratch1/sjoerd/src/MonetDB/candidate/sql/test/BugTracker-2011/Tests/perl-table_info.BUG-2885.pl
33630 mTests_test_BugTracker-2011
+# 16:17:27 >
+
+DBD::monetdb::db table_info warning: Catalog parameter '' ignored at
/net/ottar/export/scratch1/sjoerd/src/MonetDB/candidate/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.pl
line 12.
+
+# 16:17:27 >
+# 16:17:27 > Done.
+# 16:17:27 >
+
diff --git a/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.stable.out
b/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.stable.out
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2011/Tests/perl-table_info.Bug-2885.stable.out
@@ -0,0 +1,57 @@
+stdout of test 'perl-table_info.Bug-2885` in directory 'test/BugTracker-2011`
itself:
+
+
+# 16:17:26 >
+# 16:17:26 > mserver5 --debug=10 --set gdk_nr_threads=0 --set
"gdk_dbfarm=/ufs/sjoerd/Monet-candidate/var/MonetDB" --set mapi_open=true --set
mapi_port=33630 --set monet_prompt= --trace --forcemito --set mal_listing=2
"--dbname=mTests_test_BugTracker-2011" --set mal_listing=0 ; echo ; echo Over..
+# 16:17:26 >
+
+# MonetDB 5 server v11.5.2
+# This is an unreleased version
+# Serving database 'mTests_test_BugTracker-2011', using 4 threads
+# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically
linked
+# Found 7.749 GiB available main-memory.
+# Copyright (c) 1993-July 2008 CWI.
+# Copyright (c) August 2008-2011 MonetDB B.V., all rights reserved
+# Visit http://www.monetdb.org/ for further information
+# Listening for connection requests on mapi:monetdb://ottar.ins.cwi.nl:33630/
+# MonetDB/GIS module loaded
+# MonetDB/SQL module loaded
+
+Ready.
+# SQL catalog created, loading sql scripts once
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/10_math.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/11_times.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/12_url.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/13_date.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/14_inet.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/15_history.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/16_tracelog.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/17_compress.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/18_dictionary.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/19_cluster.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/20_vacuum.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/21_dependency_functions.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/22_clients.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/23_skyserver.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/24_zorder.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/25_debug.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/40_geom.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/80_udf.sql
+# SQL loading sql scripts
/net/ottar/export/scratch0/sjoerd/bin/candidate/.stowdir/MonetDB/lib64/monetdb5/createdb/99_system.sql
+
+Over..
+
+# 16:17:27 >
+# 16:17:27 > ./perl-table_info.Bug-2885.SQL.sh perl-table_info.Bug-2885
+# 16:17:27 >
+
+
+# 16:17:27 >
+# 16:17:27 > perl
/net/ottar/export/scratch1/sjoerd/src/MonetDB/candidate/sql/test/BugTracker-2011/Tests/perl-table_info.BUG-2885.pl
33630 mTests_test_BugTracker-2011
+# 16:17:27 >
+
+
+# 16:17:27 >
+# 16:17:27 > Done.
+# 16:17:27 >
+
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list