Changeset: 223d6ea1bc3f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=223d6ea1bc3f
Modified Files:
sql/test/Dependencies/Tests/Dependencies.stable.err
sql/test/mapi/Tests/perl_dbi.stable.out
sql/test/mapi/Tests/python_dbapi.stable.out
sql/test/snodgrass/Tests/cast_select.stable.out
Branch: Dec2011
Log Message:
Approve output.
diffs (66 lines):
diff --git a/sql/test/Dependencies/Tests/Dependencies.stable.err
b/sql/test/Dependencies/Tests/Dependencies.stable.err
--- a/sql/test/Dependencies/Tests/Dependencies.stable.err
+++ b/sql/test/Dependencies/Tests/Dependencies.stable.err
@@ -39,7 +39,7 @@ QUERY = DROP TABLE t1;
ERROR = !DROP TABLE: FOREIGN KEY t2.t2_id_t1_fkey depends on t1
MAPI = monetdb@alf:38889
QUERY = DROP VIEW v1;
-ERROR = !DROP VIEW: cannot drop view 'v1' (there are database objects which
depend on it)
+ERROR = !DROP VIEW: cannot drop view 'v1', there are database objects which
depend on it
MAPI = monetdb@alf:38889
QUERY = DROP TABLE t2;
ERROR = !DROP TABLE: unable to drop table t2 (there are database objects which
depend on it)
@@ -51,7 +51,7 @@ QUERY = DROP INDEX id_age_index;
ERROR = !DROP INDEX: no such index 'id_age_index'
MAPI = monetdb@alf:38889
QUERY = DROP VIEW v1;
-ERROR = !DROP VIEW: cannot drop view 'v1' (there are database objects which
depend on it)
+ERROR = !DROP VIEW: cannot drop view 'v1', there are database objects which
depend on it
MAPI = monetdb@alf:38889
QUERY = DROP TABLE t1;
ERROR = !DROP TABLE: unable to drop table t1 (there are database objects which
depend on it)
diff --git a/sql/test/mapi/Tests/perl_dbi.stable.out
b/sql/test/mapi/Tests/perl_dbi.stable.out
--- a/sql/test/mapi/Tests/perl_dbi.stable.out
+++ b/sql/test/mapi/Tests/perl_dbi.stable.out
@@ -34,7 +34,7 @@ Start a simple Monet SQL interaction
data sources: dbi:monetdb:
field[0]: 2, last index: 0
field[0]: 3, last index: 0
-ERROR REPORTED: DBD::monetdb::st execute failed: syntax error, unexpected
IDENT, expecting SELECT or '(' in: "( xyz" at
/home/niels/scratch/monetdb/Linux-x86_64/lib64/perl5/vendor_perl/MonetDB/CLI/MapiPP.pm
line 125.
+ERROR REPORTED: DBD::monetdb::st execute failed: 42000!syntax error,
unexpected IDENT, expecting SELECT or '(' in: "( xyz" at
/home/niels/scratch/monetdb/Linux-x86_64/lib64/perl5/vendor_perl/MonetDB/CLI/MapiPP.pm
line 125.
bun: 3, three
bun: 7, seven
rows: 2, fields: 2
diff --git a/sql/test/mapi/Tests/python_dbapi.stable.out
b/sql/test/mapi/Tests/python_dbapi.stable.out
--- a/sql/test/mapi/Tests/python_dbapi.stable.out
+++ b/sql/test/mapi/Tests/python_dbapi.stable.out
@@ -31,7 +31,7 @@ Ready.
[(1,)]
(2,)
-syntax error, unexpected IDENT, expecting SELECT or '(' in: "( xyz"
+42000!syntax error, unexpected IDENT, expecting SELECT or '(' in: "( xyz"
[(3, 'three'), (7, 'seven')]
2
diff --git a/sql/test/snodgrass/Tests/cast_select.stable.out
b/sql/test/snodgrass/Tests/cast_select.stable.out
--- a/sql/test/snodgrass/Tests/cast_select.stable.out
+++ b/sql/test/snodgrass/Tests/cast_select.stable.out
@@ -133,7 +133,7 @@ SELECT CAST('2 12:34' AS INTERVAL DAY TO
1 row
SELECT CAST('12:34' AS INTERVAL DAY TO MINUTE ); -- err: works not
-Error on line 21: SQLException:calc.second_interval:wrong format (12:34)
+Error on line 21: [22000] wrong format (12:34)
SELECT CAST( INTERVAL'86 00:00:00' DAY TO SECOND AS INTERVAL HOUR TO SECOND )
= INTERVAL '2064:00:00' HOUR TO SECOND;
+----------------+
| =_single_value |
@@ -143,7 +143,7 @@ SELECT CAST( INTERVAL'86 00:00:00' DAY T
1 row
SELECT CAST('86 00:00:00' AS INTERVAL HOUR(3) TO SECOND ); -- err: overflow
exception
-Error on line 23: SQLException:calc.second_interval:wrong format (86 00:00:00)
+Error on line 23: [22000] wrong format (86 00:00:00)
SELECT CAST( CAST( 7430400 AS INTERVAL SECOND ) AS INTERVAL DAY TO SECOND ) =
INTERVAL '86 00:00:00' DAY TO SECOND;
+----------------+
| =_single_value |
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list