Update of /cvsroot/monetdb/MonetDB4/tests/by_Peter/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17727

Added Files:
        tst_append_readonly_commit.stable.out.Windows.64bit 
Log Message:

approved 64-bit Windows specific stable output


--- NEW FILE: tst_append_readonly_commit.stable.out.Windows.64bit ---
stdout of test 'tst_append_readonly_commit` in directory 'tests/by_Peter` 
itself:


# 08:58:35 >  
# 08:58:35 >  Mtimeout -timeout 60 Mserver 
"--config=/ufs/niels/data/rc/Linux-i686/etc/MonetDB.conf" --debug=10 --set 
"monet_mod_path=/ufs/niels/data/rc/Linux-i686/lib/MonetDB:/ufs/niels/data/rc/Linux-i686/lib/bin"
 --set "gdk_dbfarm=/ufs/niels/data/rc/Linux-i686/var/MonetDB/dbfarm" --set 
"sql_logdir=/ufs/niels/data/rc/Linux-i686/var/MonetDB/log" --set 
mapi_port=30462 --set sql_port=44800 --set xquery_port=54809 --set 
monet_prompt= --trace --dbname=mTests_tests_by_Peter  < 
tst_append_readonly_commit.milM
# 08:58:35 >  

# Monet Database Server V4.8.0_rc0
# Copyright (c) 1993-2005, CWI. All rights reserved.
# Compiled for i686-redhat-linux-gnu/32bit; dynamically linked.
# Visit http://monetdb.cwi.nl/ for further information.
# reduce mem_bigsize to trigger memory mapping
#
vm_minsize(lng(128*1024)); 

# test memory map of string heap under append
var i := 0;
var b := 20000;
#BIG := new(void,int,50000000); # claim 200MB
var d := new(void,int,b).seqbase([EMAIL PROTECTED]);

# temporarily disable propmask in order to make this bearable
var m := debugmask();
debugmask(2);
while(i < b) d.append(i :+= 1);
debugmask(m);

{
 new(void,str,200000).seqbase([EMAIL 
PROTECTED]).access(BAT_READ).rename("aa").persists(true);
 commit();
}

i := 1;
while(i < 4) { 
 bat("aa").info().reverse().select("theap.storage").reverse().print();
 var e := [str]([+](d,b));
 #e := [str]([/](d,10000));
 print(b :+= 20000); 
 # second insert will trigger a BATmaterialize 'aa' which changes the storage
 # from STORE_MMAP to STORE_MEM (which is a bug) 
 bat("aa").access(BAT_APPEND).insert(e).access(BAT_READ);
 commit();
 i :+= 1;
}
#-------------------------------------------------#
# t                     h                         # name
# str                   str                       # type
#-------------------------------------------------#
[ "theap.storage",        "memory mapped"         ]
[ 40000 ]
#-------------------------------------------------#
# t                     h                         # name
# str                   str                       # type
#-----------------------------------------#
[ "theap.storage",        "private map"   ]
[ 60000 ]
#-----------------------------------------#
# t                     h                 # name
# str                   str               # type
#-----------------------------------------#
[ "theap.storage",        "private map"   ]
[ 80000 ]

bat("aa").info().reverse().select("theap.storage").reverse().print();
#-----------------------------------------#
# t                     h                 # name
# str                   str               # type
#-----------------------------------------#
[ "theap.storage",        "private map"   ]
bat("aa").persists(false);
commit();

quit();

# 08:58:36 >  
# 08:58:36 >  Done.
# 08:58:36 >  



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to