tst038.stable.out

来自「一个内存数据库的源代码这是服务器端还有客户端」· OUT 代码 · 共 46 行

OUT
46
字号
stdout of test 'tst038` in directory 'src/mal` itself:# 07:58:43 >  # 07:58:43 >  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  tst038.mal </dev/null# 07:58:43 >  # 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.##test the capability to deal with unspecified bats.#function tst2(b:bat[:any_1,:any_2]);#	bat.insert(b,"hello",1);#end tst2;function user.tst2(b:bat[:any_1,:any_2]):void;	# 0  (tst2:void)<-(b:bat[:any_1,:any_2])    bat.insert(b,"hello",1);	# 1 BKCinsert_bun (_2:void)<-(b:bat[:any_1,:any_2])(_3:str)(_4:int)end tst2;	# 2  ##b:=new(:int,:str);###The call to tst2 fails at runtime#tst2(b);#!TypeException:user.tst2[1]:'bat.insert' undefined in: _2:void := bat.insert(b:bat[:int,:str], _3:str, _4:int)!MALException:user.tst2[0]:Error in cloned function!TypeException:user.main[4]:'user.tst2' undefined in: _6:void := user.tst2(b:bat[:int,:str])function user.main():void;	# 0  (main:void)#test the capability to deal with unspecified bats. 	# 1  (_1:str)    b := bat.new(:int,:str);	# 2 CMDBATnew (b:bat[:int,:str])<-(_3:int)(_4:str)#The call to tst2 fails at runtime 	# 3  (_5:str)    user.tst2(b);	# 4  unknown (_6:void)<-(b:bat[:int,:str])    io.print("shouldn't come here\n");	# 5 IOprint_val (_7:void)<-(_8:str)end main;	# 6  # 07:58:43 >  # 07:58:43 >  Done.# 07:58:43 >  

⌨️ 快捷键说明

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