⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tst1012.stable.out

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 OUT
字号:
stdout of test 'tst1012` in directory 'src/mal` itself:# 07:58:54 >  # 07:58:54 >  Mtimeout -timeout 60 Mserver "--config=/ufs/mk/monet5/Linux/etc/MonetDB5.conf" --debug=10 --set "monet_mod_path=/ufs/mk/monet5/Linux/lib/MonetDB5:/ufs/mk/opensource/MonetDB/Linux/lib/MonetDB" --set "gdk_dbfarm=/ufs/mk/monet5/Linux/var/MonetDB5/dbfarm" --set "sql_logdir=/ufs/mk/monet5/Linux/var/MonetDB5/log" --set mapi_port=42158 --set sql_port=55708 --set monet_prompt= --trace "--config=/ufs/mk/monet5/src/mal/Tests/All.conf" --dbname=mTests_src_mal  tst1012.mal </dev/null# 07:58:54 >  # Monet Database Server V4.99.19# Copyright (c) 1993-2004, CWI. All rights reserved.# Compiled for i686-redhat-linux-gnu/32bit; dynamically linked.# config:/ufs/mk/monet5/Linux/etc/MonetDB5.conf# dbfarm:/ufs/mk/monet5/Linux/var/MonetDB5/dbfarm# dbname:mTests_src_mal# Visit http://monetdb.cwi.nl/ for further information.## the first of a series of BBP test cases##bbp.open();#b:= new(:int,:int);#insert(b,1,2);#bbp.deposit("mysecondbat",b);#c:= bbp.take("mysecondbat");#print(c);#bat.setPersistent(b);#x:= bat.isPersistent(b);#z:= bat.isTransient(b);#print(x); print(z); print("");#bat.setTransient(b);#x:= bat.isPersistent(b);#z:= bat.isTransient(b);#print(x); print(z); print("");#bbp.close();## at the end of the session, the BBP should have discarded## the temporary bats of the user## aug 02 this does not work, because the transaction is## not properly closed. This means that a temporary bat##remains in store.#bbp.open();#v:= bbp.take("mysecondbat");#print(v);#bbp.close();#function user.main():void;	# 0  (main:void)# the first of a series of BBP test cases 	# 1  (_1:str)    bbp.open();	# 2 CMDbbpopen (_2:void)    b := bat.new(:int,:int);	# 3 CMDBATnew (b:bat[:int,:int])<-(_4:int)(_4:int)    bat.insert(b,1,2);	# 4 BKCinsert_bun (_5:void)<-(b:bat[:int,:int])(_6:int)(_7:int)    bbp.deposit("mysecondbat",b);	# 5 CMDbbpdeposit (_8:void)<-(_9:str)(b:bat[:int,:int])    c := bbp.take("mysecondbat");	# 6 CMDbbptake (c:bat[:any,:any])<-(_9:str)    io.print(c);	# 7 IOprint_val (_11:void)<-(c:bat[:any,:any])    bat.setPersistent(b);	# 8 BKCsetPersistent (_12:void)<-(b:bat[:int,:int])    x := bat.isPersistent(b);	# 9 BKCisPersistent (x:bit)<-(b:bat[:int,:int])    z := bat.isTransient(b);	# 10 BKCisTransient (z:bit)<-(b:bat[:int,:int])    io.print(x);	# 11 IOprint_val (_15:void)<-(x:bit)    io.print(z);	# 12 IOprint_val (_16:void)<-(z:bit)    io.print("");	# 13 IOprint_val (_17:void)<-(_18:str)    bat.setTransient(b);	# 14 BKCsetTransient (_19:void)<-(b:bat[:int,:int])    x := bat.isPersistent(b);	# 15 BKCisPersistent (x:bit)<-(b:bat[:int,:int])    z := bat.isTransient(b);	# 16 BKCisTransient (z:bit)<-(b:bat[:int,:int])    io.print(x);	# 17 IOprint_val (_20:void)<-(x:bit)    io.print(z);	# 18 IOprint_val (_21:void)<-(z:bit)    io.print("");	# 19 IOprint_val (_22:void)<-(_18:str)    bbp.close();	# 20 CMDbbpclose (_23:void)# at the end of the session, the BBP should have discarded 	# 21  (_24:str)# the temporary bats of the user 	# 22  (_25:str)# aug 02 this does not work, because the transaction is 	# 23  (_26:str)# not properly closed. This means that a temporary bat 	# 24  (_27:str)#remains in store. 	# 25  (_28:str)    bbp.open();	# 26 CMDbbpopen (_29:void)    v := bbp.take("mysecondbat");	# 27 CMDbbptake (v:bat[:any,:any])<-(_9:str)    io.print(v);	# 28 IOprint_val (_31:void)<-(v:bat[:any,:any])    bbp.close();	# 29 CMDbbpclose (_32:void)end main;	# 30  #-----------------## h	tmp_4	  # name# int	int	  # type#-----------------#[ 1,	  2	  ][ true ][ false ][ "" ][ false ][ true ][ "" ]#-----------------## h	tmp_4	  # name# int	int	  # type#-----------------#[ 1,	  2	  ]# 07:58:54 >  # 07:58:54 >  Done.# 07:58:54 >  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -