Changeset: 6e6b3637b011 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6e6b3637b011
Modified Files:
sql/test/BugTracker-2012/Tests/All
sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.sql
sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.stable.err
sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.stable.out
Branch: Dec2011
Log Message:
Added test for bug 2963.
diffs (270 lines):
diff --git a/sql/test/BugTracker-2012/Tests/All
b/sql/test/BugTracker-2012/Tests/All
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2012/Tests/All
@@ -0,0 +1,1 @@
+time-export-bug.Bug-2963
diff --git a/sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.sql
b/sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.sql
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.sql
@@ -0,0 +1,60 @@
+start transaction;
+
+create table kv17 (
+ "messagetype" string,
+ "dataownercode" string,
+ "lineplanningnumber" string,
+ "operatingday" date,
+ "journeynumber" decimal(10),
+ "reinforcementnumber" decimal(10),
+ "timestamp" timestamp,
+ "reasontype" decimal(10),
+ "subreasontype" string,
+ "reasoncontent" string,
+ "advicetype" decimal(10),
+ "subadvicetype" string,
+ "advicecontent" string,
+ "userstopcode" string,
+ "passagesequencenumber" decimal(10),
+ "lagtime" decimal(10),
+ "targetarrivaltime" time,
+ "targetdeparturetime" time,
+ "journeystoptype" string,
+ "destinationcode" string,
+ "destinationname50" string,
+ "destinationname16" string,
+ "destinationdetail16" string,
+ "destinationdisplay16" string
+);
+
+
+INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, messagetype, reasontype, operatingday, subreasontype,
dataownercode, advicetype, advicecontent, reinforcementnumber) VALUES
(timestamp '2007-10-31T11:44:09.000+01:00', null, 2, 1021, 'N198', 'CANCEL', 1,
date '2007-10-31', '19_1', 'ARR', 1, null, 0);
+INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, operatingday, messagetype,
reinforcementnumber) VALUES (1021, 'N198', 1, 'ARR', timestamp
'2007-10-31T11:44:09.000+01:00', 57330090, date '2007-10-31', 'SHORTEN', 0);
+INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, operatingday, messagetype,
reinforcementnumber) VALUES (1021, 'N198', 1, 'ARR', timestamp
'2007-10-31T11:44:09.000+01:00', 57330090, date '2007-10-31', 'SHORTEN', 0);
+INSERT INTO kv17 (timestamp, journeynumber, lineplanningnumber,
passagesequencenumber, userstopcode, journeystoptype, targetarrivaltime,
targetdeparturetime, reinforcementnumber, dataownercode, messagetype,
operatingday) VALUES (timestamp '2007-10-31T11:44:09.000+01:00', 1021, 'N198',
1, 57330090, 'INTERMEDIATE', time '19:28:00', time '19:30:00', 0, 'ARR',
'CHANGEPASSTIMES', date '2007-10-31');
+INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES ('Utrecht
CS Westzijde', timestamp '2007-10-31T11:44:09.000+01:00', 1021, 'N198', 1,
57330090, date '2007-10-31', 0, 'ARR', 'UtrCS02', 'CHANGEDESTINATION', 'Utrecht
CS', null, null);
+INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, lagtime, operatingday, messagetype,
reinforcementnumber) VALUES (1021, 'N198', 1, 'ARR', timestamp
'2007-10-31T11:44:09.000+01:00', 57330090, 300, date '2007-10-31', 'LAG', 0);
+INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, passagesequencenumber, reasontype, userstopcode,
operatingday, subreasontype, advicetype, dataownercode, messagetype,
advicecontent, reinforcementnumber) VALUES (timestamp
'2007-10-31T11:44:09.000+01:00', null, 2, 1021, 'N198', 1, 1, 57330090, date
'2007-10-31', '19_1', 1, 'ARR', 'MUTATIONMESSAGE', null, 0);
+INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, messagetype, reasontype, operatingday, subreasontype,
dataownercode, advicetype, advicecontent, reinforcementnumber) VALUES
(timestamp '2007-10-31T11:44:09.000+01:00', null, null, 842, 'N199', 'CANCEL',
null, date '2007-11-01', null, 'ARR', null, null, 0);
+INSERT INTO kv17 (journeynumber, lineplanningnumber, dataownercode, timestamp,
operatingday, messagetype, reinforcementnumber) VALUES (842, 'N199', 'ARR',
timestamp '2007-10-31T11:44:09.000+01:00', date '2007-11-01', 'RECOVER', 0);
+INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, passagesequencenumber, reasontype, userstopcode,
operatingday, subreasontype, advicetype, dataownercode, messagetype,
advicecontent, reinforcementnumber) VALUES (timestamp '2009-10-08T07:54:00',
'Voertuig niet toegankelijk voor rolstoelgebruikers (niet lagevloers)', null,
10, 1, 0, null, 3000, date '2009-10-08', null, null, 'CXX', 'MUTATIONMESSAGE',
'Wacht op volgende bus van 10:00', 0);
+INSERT INTO kv17 (journeynumber, lineplanningnumber, dataownercode, timestamp,
operatingday, messagetype, reinforcementnumber) VALUES (90, 100, 'z', timestamp
'2009-10-08T08:04:00', date '2009-09-23', 'ADD', 1);
+INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, operatingday, messagetype,
reinforcementnumber) VALUES (90, 100, 0, 'z', timestamp '2009-10-08T08:04:00',
1, date '2009-09-23', 'SHORTEN', 1);
+INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, operatingday, messagetype,
reinforcementnumber) VALUES (90, 100, 0, 'z', timestamp '2009-10-08T08:04:00',
1, date '2009-09-23', 'SHORTEN', 1);
+INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, passagesequencenumber, reasontype, userstopcode,
operatingday, subreasontype, advicetype, dataownercode, messagetype,
advicecontent, reinforcementnumber) VALUES (timestamp '2009-10-08T08:04:00',
'Wacht op aansluiting lijn 99', null, 90, 100, 0, null, 1, date '2009-09-23',
null, null, 'z', 'MUTATIONMESSAGE', 'Op halte twee wordt een extra bus
ingezet', 1);
+INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, lagtime, operatingday, messagetype,
reinforcementnumber) VALUES (90, 100, 0, 'z', timestamp '2009-10-08T08:04:00',
1, 300, date '2009-09-23', 'LAG', 1);
+INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, passagesequencenumber, reasontype, userstopcode,
operatingday, subreasontype, advicetype, dataownercode, messagetype,
advicecontent, reinforcementnumber) VALUES (timestamp '2009-10-08T08:04:00',
'Wacht op aansluiting lijn 99', null, 90, 100, 0, null, 1, date '2009-09-23',
null, null, 'z', 'MUTATIONMESSAGE', 'Op halte twee wordt een extra bus
ingezet', 1);
+INSERT INTO kv17 (timestamp, journeynumber, lineplanningnumber,
passagesequencenumber, userstopcode, journeystoptype, targetarrivaltime,
targetdeparturetime, reinforcementnumber, dataownercode, messagetype,
operatingday) VALUES (timestamp '2009-10-08T08:04:00', 90, 100, 0, 1,
'INTERMEDIATE', time '08:17:00', time '08:20:00', 1, 'z', 'CHANGEPASSTIMES',
date '2009-09-23');
+INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES
('ROTTERDAM CS', timestamp '2009-10-08T08:04:00', 90, 100, 0, 1, date
'2009-09-23', 1, 'z', null, 'CHANGEDESTINATION', 'ROTTERDAM CS', null, 'via
ALEXANDER');
+INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES
('ROTTERDAM CS', timestamp '2009-10-08T08:04:00', 90, 100, 0, 1, date
'2009-09-23', 1, 'z', null, 'CHANGEDESTINATION', 'ROTTERDAM CS', null, 'via
ALEXANDER');
+INSERT INTO kv17 (journeynumber, lineplanningnumber, dataownercode, timestamp,
operatingday, messagetype, reinforcementnumber) VALUES (0, '1rst', 'BISON',
timestamp '2009-10-08T09:20:00', date '2009-10-08', 'ADD', 0);
+INSERT INTO kv17 (timestamp, journeynumber, lineplanningnumber,
passagesequencenumber, userstopcode, journeystoptype, targetarrivaltime,
targetdeparturetime, reinforcementnumber, dataownercode, messagetype,
operatingday) VALUES (timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90,
'FIRST', time '10:00:00', time '10:00:00', 0, 'BISON', 'CHANGEPASSTIMES', date
'2009-10-08');
+INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES
('Rotterdam CS', timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90, date
'2009-10-08', 0, 'BISON', null, 'CHANGEDESTINATION', 'Rotterdam CS',
'R\'damViaP\'buren', 'via pieterburen');
+INSERT INTO kv17 (timestamp, journeynumber, lineplanningnumber,
passagesequencenumber, userstopcode, journeystoptype, targetarrivaltime,
targetdeparturetime, reinforcementnumber, dataownercode, messagetype,
operatingday) VALUES (timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90,
'FIRST', time '10:00:00', time '10:00:00', 0, 'BISON', 'CHANGEPASSTIMES', date
'2009-10-08');
+INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES
('Rotterdam CS', timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90, date
'2009-10-08', 0, 'BISON', null, 'CHANGEDESTINATION', 'Rotterdam CS',
'R\'damViaP\'buren', 'via pieterburen');
+INSERT INTO kv17 (timestamp, journeynumber, lineplanningnumber,
passagesequencenumber, userstopcode, journeystoptype, targetarrivaltime,
targetdeparturetime, reinforcementnumber, dataownercode, messagetype,
operatingday) VALUES (timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90,
'FIRST', time '10:00:00', time '10:00:00', 0, 'BISON', 'CHANGEPASSTIMES', date
'2009-10-08');
+INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES
('Rotterdam CS', timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90, date
'2009-10-08', 0, 'BISON', null, 'CHANGEDESTINATION', 'Rotterdam CS',
'R\'damViaP\'buren', 'via pieterburen');
+
+select * from kv17;
+
+rollback;
diff --git a/sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.stable.err
b/sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.stable.err
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.stable.err
@@ -0,0 +1,37 @@
+stderr of test 'time-export-bug.Bug-2963` in directory 'test/BugTracker-2012`
itself:
+
+
+# 16:28:22 >
+# 16:28:22 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set"
"gdk_dbfarm=/ufs/sjoerd/Monet-candidate/var/MonetDB" "--set" "mapi_open=true"
"--set" "mapi_port=37521" "--set" "monet_prompt=" "--trace" "--forcemito"
"--set" "mal_listing=2" "--dbname=mTests_test_BugTracker-2012" "--set"
"mal_listing=0"
+# 16:28:22 >
+
+# 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 = 37521
+# cmdline opt monet_prompt =
+# cmdline opt mal_listing = 2
+# cmdline opt gdk_dbname = mTests_test_BugTracker-2012
+# cmdline opt mal_listing = 0
+
+# 16:28:22 >
+# 16:28:22 > "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" "--host=madrid"
"--port=37521"
+# 16:28:22 >
+
+
+# 16:28:22 >
+# 16:28:22 > "Done."
+# 16:28:22 >
+
diff --git a/sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.stable.out
b/sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.stable.out
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2012/Tests/time-export-bug.Bug-2963.stable.out
@@ -0,0 +1,152 @@
+stdout of test 'time-export-bug.Bug-2963` in directory 'test/BugTracker-2012`
itself:
+
+
+# 16:28:22 >
+# 16:28:22 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set"
"gdk_dbfarm=/ufs/sjoerd/Monet-candidate/var/MonetDB" "--set" "mapi_open=true"
"--set" "mapi_port=37521" "--set" "monet_prompt=" "--trace" "--forcemito"
"--set" "mal_listing=2" "--dbname=mTests_test_BugTracker-2012" "--set"
"mal_listing=0"
+# 16:28:22 >
+
+# MonetDB 5 server v11.7.0 (hg id: 29e91cf9f4f1+)
+# This is an unreleased version
+# Serving database 'mTests_test_BugTracker-2012', using 8 threads
+# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically
linked
+# Found 15.662 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://madrid.ins.cwi.nl:37521/
+# MonetDB/GIS module loaded
+# MonetDB/SQL module loaded
+
+Ready.
+# SQL catalog created, loading sql scripts once
+# loading sql script: 09_like.sql
+# loading sql script: 10_math.sql
+# loading sql script: 11_times.sql
+# loading sql script: 12_url.sql
+# loading sql script: 13_date.sql
+# loading sql script: 14_inet.sql
+# loading sql script: 15_history.sql
+# loading sql script: 16_tracelog.sql
+# loading sql script: 17_compress.sql
+# loading sql script: 18_dictionary.sql
+# loading sql script: 19_cluster.sql
+# loading sql script: 20_vacuum.sql
+# loading sql script: 21_dependency_functions.sql
+# loading sql script: 22_clients.sql
+# loading sql script: 23_skyserver.sql
+# loading sql script: 24_zorder.sql
+# loading sql script: 25_debug.sql
+# loading sql script: 40_geom.sql
+# loading sql script: 80_udf.sql
+# loading sql script: 99_system.sql
+
+# 16:28:22 >
+# 16:28:22 > "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" "--host=madrid"
"--port=37521"
+# 16:28:22 >
+
+#start transaction;
+#create table kv17 (
+# "messagetype" string,
+# "dataownercode" string,
+# "lineplanningnumber" string,
+# "operatingday" date,
+# "journeynumber" decimal(10),
+# "reinforcementnumber" decimal(10),
+# "timestamp" timestamp,
+# "reasontype" decimal(10),
+# "subreasontype" string,
+# "reasoncontent" string,
+# "advicetype" decimal(10),
+# "subadvicetype" string,
+# "advicecontent" string,
+# "userstopcode" string,
+# "passagesequencenumber" decimal(10),
+#INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, messagetype, reasontype, operatingday, subreasontype,
dataownercode, advicetype, advicecontent, reinforcementnumber) VALUES
(timestamp '2007-10-31T11:44:09.000+01:00', null, 2, 1021, 'N198', 'CANCEL', 1,
date '2007-10-31', '19_1', 'ARR', 1, null, 0);
+[ 1 ]
+#INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, operatingday, messagetype,
reinforcementnumber) VALUES (1021, 'N198', 1, 'ARR', timestamp
'2007-10-31T11:44:09.000+01:00', 57330090, date '2007-10-31', 'SHORTEN', 0);
+[ 1 ]
+#INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, operatingday, messagetype,
reinforcementnumber) VALUES (1021, 'N198', 1, 'ARR', timestamp
'2007-10-31T11:44:09.000+01:00', 57330090, date '2007-10-31', 'SHORTEN', 0);
+[ 1 ]
+#INSERT INTO kv17 (timestamp, journeynumber, lineplanningnumber,
passagesequencenumber, userstopcode, journeystoptype, targetarrivaltime,
targetdeparturetime, reinforcementnumber, dataownercode, messagetype,
operatingday) VALUES (timestamp '2007-10-31T11:44:09.000+01:00', 1021, 'N198',
1, 57330090, 'INTERMEDIATE', time '19:28:00', time '19:30:00', 0, 'ARR',
'CHANGEPASSTIMES', date '2007-10-31');
+[ 1 ]
+#INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES ('Utrecht
CS Westzijde', timestamp '2007-10-31T11:44:09.000+01:00', 1021, 'N198', 1,
57330090, date '2007-10-31', 0, 'ARR', 'UtrCS02', 'CHANGEDESTINATION', 'Utrecht
CS', null, null);
+[ 1 ]
+#INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, lagtime, operatingday, messagetype,
reinforcementnumber) VALUES (1021, 'N198', 1, 'ARR', timestamp
'2007-10-31T11:44:09.000+01:00', 57330090, 300, date '2007-10-31', 'LAG', 0);
+[ 1 ]
+#INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, passagesequencenumber, reasontype, userstopcode,
operatingday, subreasontype, advicetype, dataownercode, messagetype,
advicecontent, reinforcementnumber) VALUES (timestamp
'2007-10-31T11:44:09.000+01:00', null, 2, 1021, 'N198', 1, 1, 57330090, date
'2007-10-31', '19_1', 1, 'ARR', 'MUTATIONMESSAGE', null, 0);
+[ 1 ]
+#INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, messagetype, reasontype, operatingday, subreasontype,
dataownercode, advicetype, advicecontent, reinforcementnumber) VALUES
(timestamp '2007-10-31T11:44:09.000+01:00', null, null, 842, 'N199', 'CANCEL',
null, date '2007-11-01', null, 'ARR', null, null, 0);
+[ 1 ]
+#INSERT INTO kv17 (journeynumber, lineplanningnumber, dataownercode,
timestamp, operatingday, messagetype, reinforcementnumber) VALUES (842, 'N199',
'ARR', timestamp '2007-10-31T11:44:09.000+01:00', date '2007-11-01', 'RECOVER',
0);
+[ 1 ]
+#INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, passagesequencenumber, reasontype, userstopcode,
operatingday, subreasontype, advicetype, dataownercode, messagetype,
advicecontent, reinforcementnumber) VALUES (timestamp '2009-10-08T07:54:00',
'Voertuig niet toegankelijk voor rolstoelgebruikers (niet lagevloers)', null,
10, 1, 0, null, 3000, date '2009-10-08', null, null, 'CXX', 'MUTATIONMESSAGE',
'Wacht op volgende bus van 10:00', 0);
+[ 1 ]
+#INSERT INTO kv17 (journeynumber, lineplanningnumber, dataownercode,
timestamp, operatingday, messagetype, reinforcementnumber) VALUES (90, 100,
'z', timestamp '2009-10-08T08:04:00', date '2009-09-23', 'ADD', 1);
+[ 1 ]
+#INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, operatingday, messagetype,
reinforcementnumber) VALUES (90, 100, 0, 'z', timestamp '2009-10-08T08:04:00',
1, date '2009-09-23', 'SHORTEN', 1);
+[ 1 ]
+#INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, operatingday, messagetype,
reinforcementnumber) VALUES (90, 100, 0, 'z', timestamp '2009-10-08T08:04:00',
1, date '2009-09-23', 'SHORTEN', 1);
+[ 1 ]
+#INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, passagesequencenumber, reasontype, userstopcode,
operatingday, subreasontype, advicetype, dataownercode, messagetype,
advicecontent, reinforcementnumber) VALUES (timestamp '2009-10-08T08:04:00',
'Wacht op aansluiting lijn 99', null, 90, 100, 0, null, 1, date '2009-09-23',
null, null, 'z', 'MUTATIONMESSAGE', 'Op halte twee wordt een extra bus
ingezet', 1);
+[ 1 ]
+#INSERT INTO kv17 (journeynumber, lineplanningnumber, passagesequencenumber,
dataownercode, timestamp, userstopcode, lagtime, operatingday, messagetype,
reinforcementnumber) VALUES (90, 100, 0, 'z', timestamp '2009-10-08T08:04:00',
1, 300, date '2009-09-23', 'LAG', 1);
+[ 1 ]
+#INSERT INTO kv17 (timestamp, reasoncontent, subadvicetype, journeynumber,
lineplanningnumber, passagesequencenumber, reasontype, userstopcode,
operatingday, subreasontype, advicetype, dataownercode, messagetype,
advicecontent, reinforcementnumber) VALUES (timestamp '2009-10-08T08:04:00',
'Wacht op aansluiting lijn 99', null, 90, 100, 0, null, 1, date '2009-09-23',
null, null, 'z', 'MUTATIONMESSAGE', 'Op halte twee wordt een extra bus
ingezet', 1);
+[ 1 ]
+#INSERT INTO kv17 (timestamp, journeynumber, lineplanningnumber,
passagesequencenumber, userstopcode, journeystoptype, targetarrivaltime,
targetdeparturetime, reinforcementnumber, dataownercode, messagetype,
operatingday) VALUES (timestamp '2009-10-08T08:04:00', 90, 100, 0, 1,
'INTERMEDIATE', time '08:17:00', time '08:20:00', 1, 'z', 'CHANGEPASSTIMES',
date '2009-09-23');
+[ 1 ]
+#INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES
('ROTTERDAM CS', timestamp '2009-10-08T08:04:00', 90, 100, 0, 1, date
'2009-09-23', 1, 'z', null, 'CHANGEDESTINATION', 'ROTTERDAM CS', null, 'via
ALEXANDER');
+[ 1 ]
+#INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES
('ROTTERDAM CS', timestamp '2009-10-08T08:04:00', 90, 100, 0, 1, date
'2009-09-23', 1, 'z', null, 'CHANGEDESTINATION', 'ROTTERDAM CS', null, 'via
ALEXANDER');
+[ 1 ]
+#INSERT INTO kv17 (journeynumber, lineplanningnumber, dataownercode,
timestamp, operatingday, messagetype, reinforcementnumber) VALUES (0, '1rst',
'BISON', timestamp '2009-10-08T09:20:00', date '2009-10-08', 'ADD', 0);
+[ 1 ]
+#INSERT INTO kv17 (timestamp, journeynumber, lineplanningnumber,
passagesequencenumber, userstopcode, journeystoptype, targetarrivaltime,
targetdeparturetime, reinforcementnumber, dataownercode, messagetype,
operatingday) VALUES (timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90,
'FIRST', time '10:00:00', time '10:00:00', 0, 'BISON', 'CHANGEPASSTIMES', date
'2009-10-08');
+[ 1 ]
+#INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES
('Rotterdam CS', timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90, date
'2009-10-08', 0, 'BISON', null, 'CHANGEDESTINATION', 'Rotterdam CS',
'R\'damViaP\'buren', 'via pieterburen');
+[ 1 ]
+#INSERT INTO kv17 (timestamp, journeynumber, lineplanningnumber,
passagesequencenumber, userstopcode, journeystoptype, targetarrivaltime,
targetdeparturetime, reinforcementnumber, dataownercode, messagetype,
operatingday) VALUES (timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90,
'FIRST', time '10:00:00', time '10:00:00', 0, 'BISON', 'CHANGEPASSTIMES', date
'2009-10-08');
+[ 1 ]
+#INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES
('Rotterdam CS', timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90, date
'2009-10-08', 0, 'BISON', null, 'CHANGEDESTINATION', 'Rotterdam CS',
'R\'damViaP\'buren', 'via pieterburen');
+[ 1 ]
+#INSERT INTO kv17 (timestamp, journeynumber, lineplanningnumber,
passagesequencenumber, userstopcode, journeystoptype, targetarrivaltime,
targetdeparturetime, reinforcementnumber, dataownercode, messagetype,
operatingday) VALUES (timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90,
'FIRST', time '10:00:00', time '10:00:00', 0, 'BISON', 'CHANGEPASSTIMES', date
'2009-10-08');
+[ 1 ]
+#INSERT INTO kv17 (destinationname50, timestamp, journeynumber,
lineplanningnumber, passagesequencenumber, userstopcode, operatingday,
reinforcementnumber, dataownercode, destinationcode, messagetype,
destinationname16, destinationdisplay16, destinationdetail16) VALUES
('Rotterdam CS', timestamp '2009-10-08T09:20:00', 0, '1rst', 0, 90, date
'2009-10-08', 0, 'BISON', null, 'CHANGEDESTINATION', 'Rotterdam CS',
'R\'damViaP\'buren', 'via pieterburen');
+[ 1 ]
+#select * from kv17;
+% sys.kv17, sys.kv17, sys.kv17, sys.kv17, sys.kv17,
sys.kv17, sys.kv17, sys.kv17, sys.kv17, sys.kv17,
sys.kv17, sys.kv17, sys.kv17, sys.kv17, sys.kv17,
sys.kv17, sys.kv17, sys.kv17, sys.kv17, sys.kv17,
sys.kv17, sys.kv17, sys.kv17, sys.kv17 # table_name
+% messagetype, dataownercode, lineplanningnumber, operatingday,
journeynumber, reinforcementnumber, timestamp, reasontype,
subreasontype, reasoncontent, advicetype, subadvicetype, advicecontent,
userstopcode, passagesequencenumber, lagtime, targetarrivaltime,
targetdeparturetime, journeystoptype, destinationcode,
destinationname50, destinationname16, destinationdetail16,
destinationdisplay16 # name
+% clob, clob, clob, date, decimal, decimal,
timestamp, decimal, clob, clob, decimal, clob, clob,
clob, decimal, decimal, time, time, clob, clob, clob,
clob, clob, clob # type
+% 17, 5, 4, 10, 11, 11, 26, 11, 4, 68,
11, 1, 41, 8, 11, 11, 8, 8, 12, 7,
20, 12, 15, 15 # length
+[ "CANCEL", "ARR", "N198", 2007-10-31, 1021, 0, 2007-10-31
10:44:09.000000, 1, "19_1", NULL, 1, "2", NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
]
+[ "SHORTEN", "ARR", "N198", 2007-10-31, 1021, 0, 2007-10-31
10:44:09.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"57330090", 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL ]
+[ "SHORTEN", "ARR", "N198", 2007-10-31, 1021, 0, 2007-10-31
10:44:09.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"57330090", 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL ]
+[ "CHANGEPASSTIMES", "ARR", "N198", 2007-10-31, 1021, 0,
2007-10-31 10:44:09.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"57330090", 1, NULL, 19:28:00, 19:30:00, "INTERMEDIATE",
NULL, NULL, NULL, NULL, NULL ]
+[ "CHANGEDESTINATION", "ARR", "N198", 2007-10-31, 1021, 0,
2007-10-31 10:44:09.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"57330090", 1, NULL, NULL, NULL, NULL, "UtrCS02",
"Utrecht CS Westzijde", "Utrecht CS", NULL, NULL ]
+[ "LAG", "ARR", "N198", 2007-10-31, 1021, 0, 2007-10-31
10:44:09.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"57330090", 1, 300, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL ]
+[ "MUTATIONMESSAGE", "ARR", "N198", 2007-10-31, 1021, 0,
2007-10-31 10:44:09.000000, 1, "19_1", NULL, 1, "2", NULL,
"57330090", 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL ]
+[ "CANCEL", "ARR", "N199", 2007-11-01, 842, 0, 2007-10-31
10:44:09.000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
]
+[ "RECOVER", "ARR", "N199", 2007-11-01, 842, 0, 2007-10-31
10:44:09.000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
]
+[ "MUTATIONMESSAGE", "CXX", "1", 2009-10-08, 10, 0,
2009-10-08 07:54:00.000000, NULL, NULL, "Voertuig niet toegankelijk
voor rolstoelgebruikers (niet lagevloers)", NULL, NULL, "Wacht op volgende
bus van 10:00", "3000", 0, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL ]
+[ "ADD", "z", "100", 2009-09-23, 90, 1, 2009-10-08
08:04:00.000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
]
+[ "SHORTEN", "z", "100", 2009-09-23, 90, 1, 2009-10-08
08:04:00.000000, NULL, NULL, NULL, NULL, NULL, NULL, "1", 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL ]
+[ "SHORTEN", "z", "100", 2009-09-23, 90, 1, 2009-10-08
08:04:00.000000, NULL, NULL, NULL, NULL, NULL, NULL, "1", 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL ]
+[ "MUTATIONMESSAGE", "z", "100", 2009-09-23, 90, 1,
2009-10-08 08:04:00.000000, NULL, NULL, "Wacht op aansluiting lijn 99",
NULL, NULL, "Op halte twee wordt een extra bus ingezet", "1", 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL ]
+[ "LAG", "z", "100", 2009-09-23, 90, 1, 2009-10-08
08:04:00.000000, NULL, NULL, NULL, NULL, NULL, NULL, "1", 0,
300, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL ]
+[ "MUTATIONMESSAGE", "z", "100", 2009-09-23, 90, 1,
2009-10-08 08:04:00.000000, NULL, NULL, "Wacht op aansluiting lijn 99",
NULL, NULL, "Op halte twee wordt een extra bus ingezet", "1", 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL ]
+[ "CHANGEPASSTIMES", "z", "100", 2009-09-23, 90, 1,
2009-10-08 08:04:00.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"1", 0, NULL, 08:17:00, 08:20:00, "INTERMEDIATE", NULL,
NULL, NULL, NULL, NULL ]
+[ "CHANGEDESTINATION", "z", "100", 2009-09-23, 90, 1,
2009-10-08 08:04:00.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"1", 0, NULL, NULL, NULL, NULL, NULL, "ROTTERDAM CS",
"ROTTERDAM CS", "via ALEXANDER", NULL ]
+[ "CHANGEDESTINATION", "z", "100", 2009-09-23, 90, 1,
2009-10-08 08:04:00.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"1", 0, NULL, NULL, NULL, NULL, NULL, "ROTTERDAM CS",
"ROTTERDAM CS", "via ALEXANDER", NULL ]
+[ "ADD", "BISON", "1rst", 2009-10-08, 0, 0,
2009-10-08 09:20:00.000000, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL ]
+[ "CHANGEPASSTIMES", "BISON", "1rst", 2009-10-08, 0, 0,
2009-10-08 09:20:00.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"90", 0, NULL, 10:00:00, 10:00:00, "FIRST", NULL,
NULL, NULL, NULL, NULL ]
+[ "CHANGEDESTINATION", "BISON", "1rst", 2009-10-08, 0, 0,
2009-10-08 09:20:00.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"90", 0, NULL, NULL, NULL, NULL, NULL, "Rotterdam CS",
"Rotterdam CS", "via pieterburen", "R'damViaP'buren" ]
+[ "CHANGEPASSTIMES", "BISON", "1rst", 2009-10-08, 0, 0,
2009-10-08 09:20:00.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"90", 0, NULL, 10:00:00, 10:00:00, "FIRST", NULL,
NULL, NULL, NULL, NULL ]
+[ "CHANGEDESTINATION", "BISON", "1rst", 2009-10-08, 0, 0,
2009-10-08 09:20:00.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"90", 0, NULL, NULL, NULL, NULL, NULL, "Rotterdam CS",
"Rotterdam CS", "via pieterburen", "R'damViaP'buren" ]
+[ "CHANGEPASSTIMES", "BISON", "1rst", 2009-10-08, 0, 0,
2009-10-08 09:20:00.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"90", 0, NULL, 10:00:00, 10:00:00, "FIRST", NULL,
NULL, NULL, NULL, NULL ]
+[ "CHANGEDESTINATION", "BISON", "1rst", 2009-10-08, 0, 0,
2009-10-08 09:20:00.000000, NULL, NULL, NULL, NULL, NULL, NULL,
"90", 0, NULL, NULL, NULL, NULL, NULL, "Rotterdam CS",
"Rotterdam CS", "via pieterburen", "R'damViaP'buren" ]
+#rollback;
+
+# 16:28:22 >
+# 16:28:22 > "Done."
+# 16:28:22 >
+
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list