Test capi07.sql (id 0177627dc2e1) (err)
capi07.stable.out.FILTERED 2019-09-20 20:34:44.000000000 +0200capi07.test.out.FILTERED 2019-09-20 20:34:44.000000000 +0200
1 Statistics about stdout of test 'capi07` in directory 'sql/backends/monet5/UDF/capi`: 1 1 Statistics about stdout of test 'capi07` in directory 'sql/backends/monet5/UDF/capi`: 1
2 7 lines, 30 words, 142 chars in lines not matching '^$|^(\| |)#|^=` 2 ! 2 2 lines, 17 words, 128 chars in lines not matching '^$|^(\| |)#|^=` 2
3 = 7 lines, 30 words, 142 chars in lines not matching '^$|^(\| |)#` 3 ! 3 = 2 lines, 17 words, 128 chars in lines not matching '^$|^(\| |)#` 3
4 # 50 lines, 220 words, 1609 chars in all lines 4 ! 4 # 27 lines, 129 words, 1164 chars in all lines 4
5 5 5 5
..................
# MonetDB/SQL module loaded
25 25 25 25
26 # 14:50:08 > 26 ! 26 ! Server not ready; skipping attempt to start client! 26
27 # 14:50:08 > "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-15870" "--port=31154" 27 -
28 # 14:50:08 > 28 -
29 29 27 27
30 #START TRANSACTION; 30 -
31 #CREATE AGGREGATE capi06(inp INTEGER) RETURNS BIGINT LANGUAGE C { 31 -
32 # lng sum = 0; 32 -
33 # for(size_t i = 0; i < inp.count; i++) { 33 -
34 # sum += inp.data[i]; 34 -
35 # } 35 -
36 # result->initialize(result, 1); 36 -
37 # result->data[0] = sum; 37 -
38 #}; 38 -
39 #CREATE TABLE integers(i INTEGER); 39 -
40 #INSERT INTO integers VALUES (3), (4), (1), (2), (5), (6); 40 -
41 [ 6 ] 41 -
42 #SELECT capi06(i) FROM integers; 42 -
43 % sys. # table_name 43 -
44 # sys.L4 # table_name 44 -
45 % L # name 45 -
46 # L3 # name 46 -
47 % bigint # type 47 -
48 % 2 # length 48 -
49 [ 21 ] 49 -
50 #ROLLBACK; 50 -
51 51 28 28