📄 no.149.stable.out
字号:
stdout of test 'no.149` in directory 'tests/BugReports` itself:#> Mtest: milS no.149 milS#> Mtest: Mtimeout -timeout 210 Mserver -modulesilent -yaccsilent -d8 -db tests_BugReports -single no.149.milS# Monet Database Server V4.1# Copyright (c) 1993-1999, CWI & SION. All rights reserved.# compiled for IRIX646.5/32bit on Fri Jan 14 01:04:33 MET 2000.#script:no.149.milS# Monet Database Server V4.3.5# Copyright (c) 1993-2002, CWI. All rights reserved.# compiled for i686-pc-linux-gnu/32bit; dynamically linked.# >Number: 149# >Category: Mserver# >Synopsis: string manipulation in while loops has problems# >Confidential: no# >Severity: critical# >Priority: high# >Responsible: boncz (Peter Boncz)# >State: open# >Class: sw-bug# >Submitter-Id: unknown# >Arrival-Date: Tue Mar 24 10:59:26 1998# >Originator: niels@cwi.nl# >Organization:# UvA# >Release: 980101# >Environment:# SunOS# >Description:# Following script# crashes and returns wrong output# # var b := new (int, str );# # proc test1 := {# var i := 1;# " test1".print;# s := sprintf("Hallo dit is een string %d", i);# s.print;# b.insert(i,s);# # b.insert(i,sprintf("Hallo %d", i));# " end test1".print;# }# # var j := 0;# while(j < 5 ){# test1;# j := j + 1;# }# # b.print;# quit;# # setoid(oid(20000000));var b := new (int, str );proc test1() : void { var i := 1; " test1".print(); var s := sprintf("Hallo dit is een string %d", i); s.print(); b.insert(i,s); b.insert(i,sprintf("Hallo %d", i)); " end test1".print();}var j := 0;while(j < 5 ){ test1(); j := j + 1;}[ " test1" ][ "Hallo dit is een string 1" ][ " end test1" ][ " test1" ][ "Hallo dit is een string 1" ][ " end test1" ][ " test1" ][ "Hallo dit is een string 1" ][ " end test1" ][ " test1" ][ "Hallo dit is een string 1" ][ " end test1" ][ " test1" ][ "Hallo dit is een string 1" ][ " end test1" ]b.print();#-----------------------------------------## BAT: tmp_30 ## (int) (str) ##-----------------------------------------#[ 1, "Hallo dit is een string 1" ][ 1, "Hallo 1" ][ 1, "Hallo dit is een string 1" ][ 1, "Hallo 1" ][ 1, "Hallo dit is een string 1" ][ 1, "Hallo 1" ][ 1, "Hallo dit is een string 1" ][ 1, "Hallo 1" ][ 1, "Hallo dit is een string 1" ][ 1, "Hallo 1" ]quit();# 17:07:22 > # 17:07:22 > Done.# 17:07:22 >
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -