Test insert_self_ref_FK.Bug-6131.sql (id fe8055a86502) (err)
insert_self_ref_FK.Bug-6131.stable.out.FILTERED 2019-09-12 11:25:30.374404900 +0200insert_self_ref_FK.Bug-6131.test.out.FILTERED 2019-09-12 11:25:30.374404900 +0200
1 Statistics about stdout of test 'insert_self_ref_FK.Bug-6131` in directory 'sql/test/BugTracker-2017`: 1 1 Statistics about stdout of test 'insert_self_ref_FK.Bug-6131` in directory 'sql/test/BugTracker-2017`: 1
2 16 lines, 71 words, 304 chars in lines not matching '^$|^(\| |)#|^=` 2 ! 2 9 lines, 44 words, 233 chars in lines not matching '^$|^(\| |)#|^=` 2
3 = 16 lines, 71 words, 304 chars in lines not matching '^$|^(\| |)#` 3 ! 3 = 9 lines, 44 words, 233 chars in lines not matching '^$|^(\| |)#` 3
4 # 103 lines, 509 words, 3515 chars in all lines 4 ! 4 # 49 lines, 232 words, 1545 chars in all lines 4
5 5 5 5
..................
# CONSTRAINT "fC" FOREIGN KEY (C) REFER
79 #); 79 36 #); 36
80 #INSERT INTO test101 VALUES (101, 101, 101); 80 -
81 [ 1 ] 81 -
82 #ALTER TABLE test101 ALTER C SET NULL; 82 37 #ALTER TABLE test101 ALTER C SET NULL; 37
..................
#INSERT INTO test101 VALUES (100, 100, N
84 [ 1 ] 84 39 [ 1 ] 39
85 #INSERT INTO test101 VALUES (102, 102, 102); 85 -
86 [ 1 ] 86 -
87 #INSERT INTO test101 VALUES (103, 103, 101); 87 -
88 [ 1 ] 88 -
89 #UPDATE test101 SET C = 100 WHERE C IS NULL; 89 40 #UPDATE test101 SET C = 100 WHERE C IS NULL; 40
..................
#select * from test101;
95 % 3, 3, 3 # length 95 46 % 3, 3, 3 # length 46
96 [ 101, 101, 101 ] 96 -
97 [ 100, 100, 100 ] 97 47 [ 100, 100, 100 ] 47
98 [ 102, 102, 102 ] 98 -
99 [ 103, 103, 103 ] 99 -
100 #ALTER TABLE test101 ALTER C SET NOT NULL; 100 48 #ALTER TABLE test101 ALTER C SET NOT NULL; 48
101 #INSERT INTO test101 VALUES (104, 104, 104); 101 -
102 [ 1 ] 102 -
103 #DROP TABLE test101; 103 49 #DROP TABLE test101; 49