Update of /cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests
In directory 
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv11323/src/test/BugTracker-2009/Tests

Modified Files:
      Tag: Aug2009
        All decimal_needs_truncation.SF-2605686.sql 
        subtraction_between_two_columns.SF-2582389.sql 
Added Files:
      Tag: Aug2009
        prepare_commit_execute.SF-2606020.sql 
        prepare_commit_execute.SF-2606020.stable.err 
        prepare_commit_execute.SF-2606020.stable.out 
Log Message:
bug fixing

prepare/execute statements now go to seperate query cache
check for ambiguous order by columns



U All
Index: All
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests/All,v
retrieving revision 1.37.2.8
retrieving revision 1.37.2.9
diff -u -d -r1.37.2.8 -r1.37.2.9
--- All 7 Aug 2009 08:39:16 -0000       1.37.2.8
+++ All 7 Aug 2009 14:26:21 -0000       1.37.2.9
@@ -79,3 +79,5 @@
 pow_operator.SF-2812721
 count_distinct_bug.SF-2826015
 assert_in_update.SF-2807336
+prepare_commit_execute.SF-2606020
+ambiguous_order_by.SF-2827916

--- NEW FILE: prepare_commit_execute.SF-2606020.stable.out ---
stdout of test 'prepare_commit_execute.SF-2606020` in directory 
'src/test/BugTracker-2009` itself:


# 15:00:13 >  
# 15:00:13 >   mserver5 
"--config=/ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf" --debug=10 
--set gdk_nr_threads=0 --set 
"monet_mod_path=/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/dbfarm"    
--set mapi_open=true --set xrpc_open=true --set mapi_port=30796 --set 
xrpc_port=41543 --set monet_prompt= --trace  
"--dbname=mTests_src_test_BugTracker-2009" --set mal_listing=0 "--dbinit= 
include sql;" ; echo ; echo Over..
# 15:00:13 >  

# MonetDB server v5.14.0, based on kernel v1.32.0
# Serving database 'mTests_src_test_BugTracker-2009', using 4 threads
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked
# Copyright (c) 1993-July 2008 CWI.
# Copyright (c) August 2008-2009 MonetDB B.V., all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
# Listening for connection requests on mapi:monetdb://alf.ins.cwi.nl:30796/
# MonetDB/SQL module v2.32.0 loaded

Ready.
#function user.main():void;
#    clients.quit();
#end main;

Over..

# 15:00:14 >  
# 15:00:14 >  mclient -lsql -umonetdb -Pmonetdb --host=alf --port=30796 
# 15:00:14 >  

% .prepare,     .prepare,       .prepare # table_name
% type, digits, scale # name
% varchar,      int,    int # type
% 0,    0,      0 # length
[ "int",        32,     0       ]
[ "clob",       0,      0       ]
[ 1     ]
% sys.pce,      sys.pce # table_name
% i,    s # name
% int,  clob # type
% 1,    6 # length
[ 1,    "test 1"        ]
[ 1     ]
% sys.pce,      sys.pce # table_name
% i,    s # name
% int,  clob # type
% 1,    6 # length
[ 1,    "test 1"        ]
[ 2,    "test 2"        ]

# 15:00:14 >  
# 15:00:14 >  Done.
# 15:00:14 >  


U decimal_needs_truncation.SF-2605686.sql
Index: decimal_needs_truncation.SF-2605686.sql
===================================================================
RCS file: 
/cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests/decimal_needs_truncation.SF-2605686.sql,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -u -d -r1.2 -r1.2.4.1
--- decimal_needs_truncation.SF-2605686.sql     17 Feb 2009 00:55:41 -0000      
1.2
+++ decimal_needs_truncation.SF-2605686.sql     7 Aug 2009 14:26:22 -0000       
1.2.4.1
@@ -7,7 +7,7 @@
 select * from testdec;
 
 PREPARE INSERT INTO testdec (testdec) values (?);
-exec 2(0.12345);
+exec 0(0.12345);
 
 select * from testdec;
 

--- NEW FILE: prepare_commit_execute.SF-2606020.sql ---
start transaction;
create table pce (i int, s string);
commit;
start transaction;
prepare insert into pce (i,s) values (?,?); 
exec 0(1,'test 1');
select * from pce;
commit;
start transaction;
exec 0(2,'test 2');
select * from pce;
commit;
drop table pce;

--- NEW FILE: prepare_commit_execute.SF-2606020.stable.err ---
stderr of test 'prepare_commit_execute.SF-2606020` in directory 
'src/test/BugTracker-2009` itself:


# 15:00:13 >  
# 15:00:13 >   mserver5 
"--config=/ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf" --debug=10 
--set gdk_nr_threads=0 --set 
"monet_mod_path=/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/dbfarm"    
--set mapi_open=true --set xrpc_open=true --set mapi_port=30796 --set 
xrpc_port=41543 --set monet_prompt= --trace  
"--dbname=mTests_src_test_BugTracker-2009" --set mal_listing=0 "--dbinit= 
include sql;" ; echo ; echo Over..
# 15:00:13 >  

# builtin opt   gdk_arch = 64bitx86_64-unknown-linux-gnu
# builtin opt   gdk_version = 1.32.0
# builtin opt   prefix = /ufs/niels/scratch/rc/Linux-x86_64
# builtin opt   exec_prefix = ${prefix}
# builtin opt   gdk_dbname = tst
# builtin opt   gdk_dbfarm = ${prefix}/var/MonetDB
# builtin opt   gdk_debug = 8
# builtin opt   gdk_alloc_map = yes
# builtin opt   gdk_vmtrim = yes
# builtin opt   monet_admin = adm
# builtin opt   monet_prompt = >
# builtin opt   monet_welcome = yes
# builtin opt   monet_mod_path = ${exec_prefix}/lib/MonetDB
# builtin opt   monet_daemon = yes
# builtin opt   host = localhost
# builtin opt   mapi_port = 50000
# builtin opt   mapi_noheaders = no
# builtin opt   mapi_debug = 0
# builtin opt   mapi_clients = 2
# builtin opt   sql_debug = 0
# builtin opt   sql_logdir = sql_logs
# builtin opt   xquery_logdir = xquery_logs
# builtin opt   standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt   standoff_start = start
# builtin opt   standoff_end = end
# config opt    prefix = /ufs/niels/scratch/rc/Linux-x86_64
# config opt    config = ${prefix}/etc/monetdb5.conf
# config opt    prefix = /ufs/niels/scratch/rc/Linux-x86_64
# config opt    exec_prefix = ${prefix}
# config opt    gdk_dbfarm = ${prefix}/var/MonetDB5/dbfarm
# config opt    gdk_dbname = demo
# config opt    gdk_alloc_map = no
# config opt    gdk_embedded = no
# config opt    gdk_debug = 0
# config opt    monet_mod_path = 
${exec_prefix}/lib/MonetDB5:${exec_prefix}/lib/MonetDB5/lib:${exec_prefix}/lib/MonetDB5/bin
# config opt    monet_daemon = no
# config opt    monet_welcome = yes
# config opt    mero_msglog = ${prefix}/var/log/MonetDB/merovingian.log
# config opt    mero_errlog = ${prefix}/var/log/MonetDB/merovingian.log
# config opt    mero_pidfile = ${prefix}/var/run/MonetDB/merovingian.pid
# config opt    mal_init = ${exec_prefix}/lib/MonetDB5/mal_init.mal
# config opt    mal_listing = 2
# config opt    mapi_port = 50000
# config opt    mapi_autosense = false
# config opt    mapi_open = false
# config opt    sql_optimizer = 
inline,remap,evaluate,costModel,coercions,emptySet,cluster,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,garbageCollector,dataflow,history,multiplex
# cmdline opt   config = /ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf
# cmdline opt   gdk_nr_threads = 0
# cmdline opt   monet_mod_path = 
/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/bin
# cmdline opt   gdk_dbfarm = 
/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/dbfarm
# cmdline opt   mapi_open = true
# cmdline opt   xrpc_open = true
# cmdline opt   mapi_port = 30796
# cmdline opt   xrpc_port = 41543
# cmdline opt   monet_prompt = 
# cmdline opt   gdk_dbname = mTests_src_test_BugTracker-2009
# cmdline opt   mal_listing = 0
#warning: please don't forget to set your vault key!
#(see /ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf)

# 15:00:14 >  
# 15:00:14 >  mclient -lsql -umonetdb -Pmonetdb --host=alf --port=30796 
# 15:00:14 >  


# 15:00:14 >  
# 15:00:14 >  Done.
# 15:00:14 >  


U subtraction_between_two_columns.SF-2582389.sql
Index: subtraction_between_two_columns.SF-2582389.sql
===================================================================
RCS file: 
/cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests/subtraction_between_two_columns.SF-2582389.sql,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -u -d -r1.4 -r1.4.4.1
--- subtraction_between_two_columns.SF-2582389.sql      12 Feb 2009 15:50:53 
-0000      1.4
+++ subtraction_between_two_columns.SF-2582389.sql      7 Aug 2009 14:26:23 
-0000       1.4.4.1
@@ -3,6 +3,6 @@
 insert into t2_2582389 values(1, 0.2);
 insert into t2_2582389 values(1, 0.4);
 
-select l.id, r.inst, l.inst, (r.inst - l.inst) as diff from t2_2582389 l,  
t2_2582389 r where r.id = l.id order by inst limit 2;
+select l.id, r.inst, l.inst, (r.inst - l.inst) as diff from t2_2582389 l,  
t2_2582389 r where r.id = l.id order by r.inst limit 2;
 
 drop table t2_2582389;


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to