Test upgrade.SQL.py (id af258210d10d) (err)
upgrade.stable.out.32bit.FILTERED 2020-09-17 22:53:51.574614400 +0200upgrade.test.out.FILTERED 2020-09-17 22:53:51.652726500 +0200
1 Statistics about stdout of test 'upgrade` in directory 'sql/test/testdb-upgrade-chain`: 1 1 Statistics about stdout of test 'upgrade` in directory 'sql/test/testdb-upgrade-chain`: 1
2 3538 lines, 45490 words, 289475 chars in lines not matching '^$|^(\| |)#|^=` 2 ! 2 3769 lines, 48215 words, 307744 chars in lines not matching '^$|^(\| |)#|^=` 2
3 = 3538 lines, 45490 words, 289475 chars in lines not matching '^$|^(\| |)#` 3 ! 3 = 3769 lines, 48215 words, 307744 chars in lines not matching '^$|^(\| |)#` 3
4 # 3571 lines, 45625 words, 290570 chars in all lines 4 ! 4 # 3804 lines, 48357 words, 308842 chars in all lines 4
5 5 5 5
..................
# MonetDB/GIS module loaded
44 insert into sys.types values (17, 'dbl', 'double', 53, 2, 2, 11, 2000); 44 44 insert into sys.types values (17, 'dbl', 'double', 53, 2, 2, 11, 2000); 44
45 insert into sys.types values (18, 'int', 'month_interval', 32, 0, 2, 8, 2000); 45 ! 45 insert into sys.types values (18, 'int', 'month_interval', 3, 0, 10, 8, 2000); 45
46 insert into sys.types values (19, 'lng', 'sec_interval', 13, 1, 10, 9, 2000); 46 ! 46 insert into sys.types values (19, 'lng', 'day_interval', 4, 0, 10, 9, 2000); 46
47 insert into sys.types values (20, 'daytime', 'time', 7, 0, 0, 12, 2000); 47 ! 47 insert into sys.types values (20, 'lng', 'sec_interval', 13, 1, 10, 9, 2000); 47
48 insert into sys.types values (21, 'daytime', 'timetz', 7, 1, 0, 13, 2000); 48 ! 48 insert into sys.types values (21, 'daytime', 'time', 7, 0, 0, 12, 2000); 48
49 insert into sys.types values (22, 'date', 'date', 0, 0, 0, 14, 2000); 49 ! 49 insert into sys.types values (22, 'daytime', 'timetz', 7, 1, 0, 13, 2000); 49
50 insert into sys.types values (23, 'timestamp', 'timestamp', 7, 0, 0, 15, 2000); 50 ! 50 insert into sys.types values (23, 'date', 'date', 0, 0, 0, 14, 2000); 50
51 insert into sys.types values (24, 'timestamp', 'timestamptz', 7, 1, 0, 16, 2000); 51 ! 51 insert into sys.types values (24, 'timestamp', 'timestamp', 7, 0, 0, 15, 2000); 51
52 insert into sys.types values (25, 'blob', 'blob', 0, 0, 0, 5, 2000); 52 ! 52 insert into sys.types values (25, 'timestamp', 'timestamptz', 7, 1, 0, 16, 2000); 52
53 insert into sys.types values (28, 'wkb', 'geometry', 0, 0, 0, 17, 2000); 53 ! 53 insert into sys.types values (26, 'blob', 'blob', 0, 0, 0, 5, 2000); 53
54 insert into sys.types values (29, 'wkba', 'geometrya', 0, 0, 0, 18, 2000); 54 ! 54 insert into sys.types values (29, 'wkb', 'geometry', 0, 0, 0, 17, 2000); 54
55 insert into sys.types values (30, 'mbr', 'mbr', 0, 0, 0, 18, 2000); 55 ! 55 insert into sys.types values (30, 'wkba', 'geometrya', 0, 0, 0, 18, 2000); 55
+ 56 insert into sys.types values (31, 'mbr', 'mbr', 0, 0, 0, 18, 2000); 56
56 delete from sys.functions where id < 2000; 56 57 delete from sys.functions where id < 2000; 57
57 delete from sys.args where func_id not in (select id from sys.functions); 57 58 delete from sys.args where func_id not in (select id from sys.functions); 58
58 insert into sys.functions values (26, 'length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 58 ! 59 insert into sys.functions values (27, 'length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 59
59 insert into sys.args values (31616, 26, 'res_0', 'int', 32, 0, 0, 0); 59 ! 60 insert into sys.args values (31616, 27, 'res_0', 'int', 32, 0, 0, 0); 60
60 insert into sys.args values (31617, 26, 'arg_1', 'blob', 0, 0, 1, 1); 60 ! 61 insert into sys.args values (31617, 27, 'arg_1', 'blob', 0, 0, 1, 1); 61
61 insert into sys.functions values (27, 'octet_length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 61 ! 62 insert into sys.functions values (28, 'octet_length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 62
62 insert into sys.args values (31618, 27, 'res_0', 'int', 32, 0, 0, 0); 62 ! 63 insert into sys.args values (31618, 28, 'res_0', 'int', 32, 0, 0, 0); 63
63 insert into sys.args values (31619, 27, 'arg_1', 'blob', 0, 0, 1, 1); 63 ! 64 insert into sys.args values (31619, 28, 'arg_1', 'blob', 0, 0, 1, 1); 64
64 insert into sys.functions values (31, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 64 -
65 insert into sys.args values (31620, 31, 'res_0', 'boolean', 1, 0, 0, 0); 65 -
66 insert into sys.args values (31621, 31, 'arg_1', 'geometry', 0, 0, 1, 1); 66 -
67 insert into sys.args values (31622, 31, 'arg_2', 'geometry', 0, 0, 1, 2); 67 -
68 insert into sys.functions values (32, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 68 65 insert into sys.functions values (32, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 65
69 insert into sys.args values (31623, 32, 'res_0', 'boolean', 1, 0, 0, 0); 69 ! 66 insert into sys.args values (31620, 32, 'res_0', 'boolean', 1, 0, 0, 0); 66
70 insert into sys.args values (31624, 32, 'arg_1', 'mbr', 0, 0, 1, 1); 70 ! 67 insert into sys.args values (31621, 32, 'arg_1', 'geometry', 0, 0, 1, 1); 67
71 insert into sys.args values (31625, 32, 'arg_2', 'mbr', 0, 0, 1, 2); 71 ! 68 insert into sys.args values (31622, 32, 'arg_2', 'geometry', 0, 0, 1, 2); 68
72 insert into sys.functions values (33, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 72 ! 69 insert into sys.functions values (33, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 69
73 insert into sys.args values (31626, 33, 'res_0', 'boolean', 1, 0, 0, 0); 73 ! 70 insert into sys.args values (31623, 33, 'res_0', 'boolean', 1, 0, 0, 0); 70
74 insert into sys.args values (31627, 33, 'arg_1', 'geometry', 0, 0, 1, 1); 74 ! 71 insert into sys.args values (31624, 33, 'arg_1', 'mbr', 0, 0, 1, 1); 71
75 insert into sys.args values (31628, 33, 'arg_2', 'geometry', 0, 0, 1, 2); 75 ! 72 insert into sys.args values (31625, 33, 'arg_2', 'mbr', 0, 0, 1, 2); 72
76 insert into sys.functions values (34, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 76 73 insert into sys.functions values (34, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 73
77 insert into sys.args values (31629, 34, 'res_0', 'boolean', 1, 0, 0, 0); 77 ! 74 insert into sys.args values (31626, 34, 'res_0', 'boolean', 1, 0, 0, 0); 74
78 insert into sys.args values (31630, 34, 'arg_1', 'mbr', 0, 0, 1, 1); 78 ! 75 insert into sys.args values (31627, 34, 'arg_1', 'geometry', 0, 0, 1, 1); 75
79 insert into sys.args values (31631, 34, 'arg_2', 'mbr', 0, 0, 1, 2); 79 ! 76 insert into sys.args values (31628, 34, 'arg_2', 'geometry', 0, 0, 1, 2); 76
80 insert into sys.functions values (35, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 80 ! 77 insert into sys.functions values (35, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 77
81 insert into sys.args values (31632, 35, 'res_0', 'boolean', 1, 0, 0, 0); 81 ! 78 insert into sys.args values (31629, 35, 'res_0', 'boolean', 1, 0, 0, 0); 78
82 insert into sys.args values (31633, 35, 'arg_1', 'geometry', 0, 0, 1, 1); 82 ! 79 insert into sys.args values (31630, 35, 'arg_1', 'mbr', 0, 0, 1, 1); 79
83 insert into sys.args values (31634, 35, 'arg_2', 'geometry', 0, 0, 1, 2); 83 ! 80 insert into sys.args values (31631, 35, 'arg_2', 'mbr', 0, 0, 1, 2); 80
84 insert into sys.functions values (36, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 84 81 insert into sys.functions values (36, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 81
85 insert into sys.args values (31635, 36, 'res_0', 'boolean', 1, 0, 0, 0); 85 ! 82 insert into sys.args values (31632, 36, 'res_0', 'boolean', 1, 0, 0, 0); 82
86 insert into sys.args values (31636, 36, 'arg_1', 'mbr', 0, 0, 1, 1); 86 ! 83 insert into sys.args values (31633, 36, 'arg_1', 'geometry', 0, 0, 1, 1); 83
87 insert into sys.args values (31637, 36, 'arg_2', 'mbr', 0, 0, 1, 2); 87 ! 84 insert into sys.args values (31634, 36, 'arg_2', 'geometry', 0, 0, 1, 2); 84
88 insert into sys.functions values (37, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 88 ! 85 insert into sys.functions values (37, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 85
89 insert into sys.args values (31638, 37, 'res_0', 'boolean', 1, 0, 0, 0); 89 ! 86 insert into sys.args values (31635, 37, 'res_0', 'boolean', 1, 0, 0, 0); 86
90 insert into sys.args values (31639, 37, 'arg_1', 'geometry', 0, 0, 1, 1); 90 ! 87 insert into sys.args values (31636, 37, 'arg_1', 'mbr', 0, 0, 1, 1); 87
91 insert into sys.args values (31640, 37, 'arg_2', 'geometry', 0, 0, 1, 2); 91 ! 88 insert into sys.args values (31637, 37, 'arg_2', 'mbr', 0, 0, 1, 2); 88
92 insert into sys.functions values (38, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 92 89 insert into sys.functions values (38, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 89
93 insert into sys.args values (31641, 38, 'res_0', 'boolean', 1, 0, 0, 0); 93 ! 90 insert into sys.args values (31638, 38, 'res_0', 'boolean', 1, 0, 0, 0); 90
94 insert into sys.args values (31642, 38, 'arg_1', 'mbr', 0, 0, 1, 1); 94 ! 91 insert into sys.args values (31639, 38, 'arg_1', 'geometry', 0, 0, 1, 1); 91
95 insert into sys.args values (31643, 38, 'arg_2', 'mbr', 0, 0, 1, 2); 95 ! 92 insert into sys.args values (31640, 38, 'arg_2', 'geometry', 0, 0, 1, 2); 92
96 insert into sys.functions values (39, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 96 ! 93 insert into sys.functions values (39, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 93
97 insert into sys.args values (31644, 39, 'res_0', 'boolean', 1, 0, 0, 0); 97 ! 94 insert into sys.args values (31641, 39, 'res_0', 'boolean', 1, 0, 0, 0); 94
98 insert into sys.args values (31645, 39, 'arg_1', 'geometry', 0, 0, 1, 1); 98 ! 95 insert into sys.args values (31642, 39, 'arg_1', 'mbr', 0, 0, 1, 1); 95
99 insert into sys.args values (31646, 39, 'arg_2', 'geometry', 0, 0, 1, 2); 99 ! 96 insert into sys.args values (31643, 39, 'arg_2', 'mbr', 0, 0, 1, 2); 96
100 insert into sys.functions values (40, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 100 97 insert into sys.functions values (40, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 97
101 insert into sys.args values (31647, 40, 'res_0', 'boolean', 1, 0, 0, 0); 101 ! 98 insert into sys.args values (31644, 40, 'res_0', 'boolean', 1, 0, 0, 0); 98
102 insert into sys.args values (31648, 40, 'arg_1', 'mbr', 0, 0, 1, 1); 102 ! 99 insert into sys.args values (31645, 40, 'arg_1', 'geometry', 0, 0, 1, 1); 99
103 insert into sys.args values (31649, 40, 'arg_2', 'mbr', 0, 0, 1, 2); 103 ! 100 insert into sys.args values (31646, 40, 'arg_2', 'geometry', 0, 0, 1, 2); 100
104 insert into sys.functions values (41, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 104 ! 101 insert into sys.functions values (41, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 101
105 insert into sys.args values (31650, 41, 'res_0', 'boolean', 1, 0, 0, 0); 105 ! 102 insert into sys.args values (31647, 41, 'res_0', 'boolean', 1, 0, 0, 0); 102
106 insert into sys.args values (31651, 41, 'arg_1', 'geometry', 0, 0, 1, 1); 106 ! 103 insert into sys.args values (31648, 41, 'arg_1', 'mbr', 0, 0, 1, 1); 103
107 insert into sys.args values (31652, 41, 'arg_2', 'geometry', 0, 0, 1, 2); 107 ! 104 insert into sys.args values (31649, 41, 'arg_2', 'mbr', 0, 0, 1, 2); 104
108 insert into sys.functions values (42, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 108 105 insert into sys.functions values (42, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 105
109 insert into sys.args values (31653, 42, 'res_0', 'boolean', 1, 0, 0, 0); 109 ! 106 insert into sys.args values (31650, 42, 'res_0', 'boolean', 1, 0, 0, 0); 106
110 insert into sys.args values (31654, 42, 'arg_1', 'mbr', 0, 0, 1, 1); 110 ! 107 insert into sys.args values (31651, 42, 'arg_1', 'geometry', 0, 0, 1, 1); 107
111 insert into sys.args values (31655, 42, 'arg_2', 'mbr', 0, 0, 1, 2); 111 ! 108 insert into sys.args values (31652, 42, 'arg_2', 'geometry', 0, 0, 1, 2); 108
112 insert into sys.functions values (43, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 112 ! 109 insert into sys.functions values (43, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 109
113 insert into sys.args values (31656, 43, 'res_0', 'boolean', 1, 0, 0, 0); 113 ! 110 insert into sys.args values (31653, 43, 'res_0', 'boolean', 1, 0, 0, 0); 110
114 insert into sys.args values (31657, 43, 'arg_1', 'geometry', 0, 0, 1, 1); 114 ! 111 insert into sys.args values (31654, 43, 'arg_1', 'mbr', 0, 0, 1, 1); 111
115 insert into sys.args values (31658, 43, 'arg_2', 'geometry', 0, 0, 1, 2); 115 ! 112 insert into sys.args values (31655, 43, 'arg_2', 'mbr', 0, 0, 1, 2); 112
116 insert into sys.functions values (44, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 116 113 insert into sys.functions values (44, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 113
117 insert into sys.args values (31659, 44, 'res_0', 'boolean', 1, 0, 0, 0); 117 ! 114 insert into sys.args values (31656, 44, 'res_0', 'boolean', 1, 0, 0, 0); 114
118 insert into sys.args values (31660, 44, 'arg_1', 'mbr', 0, 0, 1, 1); 118 ! 115 insert into sys.args values (31657, 44, 'arg_1', 'geometry', 0, 0, 1, 1); 115
119 insert into sys.args values (31661, 44, 'arg_2', 'mbr', 0, 0, 1, 2); 119 ! 116 insert into sys.args values (31658, 44, 'arg_2', 'geometry', 0, 0, 1, 2); 116
120 insert into sys.functions values (45, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 120 ! 117 insert into sys.functions values (45, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 117
121 insert into sys.args values (31662, 45, 'res_0', 'boolean', 1, 0, 0, 0); 121 ! 118 insert into sys.args values (31659, 45, 'res_0', 'boolean', 1, 0, 0, 0); 118
122 insert into sys.args values (31663, 45, 'arg_1', 'geometry', 0, 0, 1, 1); 122 ! 119 insert into sys.args values (31660, 45, 'arg_1', 'mbr', 0, 0, 1, 1); 119
123 insert into sys.args values (31664, 45, 'arg_2', 'geometry', 0, 0, 1, 2); 123 ! 120 insert into sys.args values (31661, 45, 'arg_2', 'mbr', 0, 0, 1, 2); 120
124 insert into sys.functions values (46, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 124 121 insert into sys.functions values (46, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 121
125 insert into sys.args values (31665, 46, 'res_0', 'boolean', 1, 0, 0, 0); 125 ! 122 insert into sys.args values (31662, 46, 'res_0', 'boolean', 1, 0, 0, 0); 122
126 insert into sys.args values (31666, 46, 'arg_1', 'mbr', 0, 0, 1, 1); 126 ! 123 insert into sys.args values (31663, 46, 'arg_1', 'geometry', 0, 0, 1, 1); 123
127 insert into sys.args values (31667, 46, 'arg_2', 'mbr', 0, 0, 1, 2); 127 ! 124 insert into sys.args values (31664, 46, 'arg_2', 'geometry', 0, 0, 1, 2); 124
128 insert into sys.functions values (47, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 128 ! 125 insert into sys.functions values (47, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 125
129 insert into sys.args values (31668, 47, 'res_0', 'boolean', 1, 0, 0, 0); 129 ! 126 insert into sys.args values (31665, 47, 'res_0', 'boolean', 1, 0, 0, 0); 126
130 insert into sys.args values (31669, 47, 'arg_1', 'geometry', 0, 0, 1, 1); 130 ! 127 insert into sys.args values (31666, 47, 'arg_1', 'mbr', 0, 0, 1, 1); 127
131 insert into sys.args values (31670, 47, 'arg_2', 'geometry', 0, 0, 1, 2); 131 ! 128 insert into sys.args values (31667, 47, 'arg_2', 'mbr', 0, 0, 1, 2); 128
132 insert into sys.functions values (48, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 132 129 insert into sys.functions values (48, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 129
133 insert into sys.args values (31671, 48, 'res_0', 'boolean', 1, 0, 0, 0); 133 ! 130 insert into sys.args values (31668, 48, 'res_0', 'boolean', 1, 0, 0, 0); 130
134 insert into sys.args values (31672, 48, 'arg_1', 'mbr', 0, 0, 1, 1); 134 ! 131 insert into sys.args values (31669, 48, 'arg_1', 'geometry', 0, 0, 1, 1); 131
135 insert into sys.args values (31673, 48, 'arg_2', 'mbr', 0, 0, 1, 2); 135 ! 132 insert into sys.args values (31670, 48, 'arg_2', 'geometry', 0, 0, 1, 2); 132
136 insert into sys.functions values (49, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 136 ! 133 insert into sys.functions values (49, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 133
137 insert into sys.args values (31674, 49, 'res_0', 'boolean', 1, 0, 0, 0); 137 ! 134 insert into sys.args values (31671, 49, 'res_0', 'boolean', 1, 0, 0, 0); 134
138 insert into sys.args values (31675, 49, 'arg_1', 'geometry', 0, 0, 1, 1); 138 ! 135 insert into sys.args values (31672, 49, 'arg_1', 'mbr', 0, 0, 1, 1); 135
139 insert into sys.args values (31676, 49, 'arg_2', 'geometry', 0, 0, 1, 2); 139 ! 136 insert into sys.args values (31673, 49, 'arg_2', 'mbr', 0, 0, 1, 2); 136
140 insert into sys.functions values (50, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 140 137 insert into sys.functions values (50, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 137
141 insert into sys.args values (31677, 50, 'res_0', 'boolean', 1, 0, 0, 0); 141 ! 138 insert into sys.args values (31674, 50, 'res_0', 'boolean', 1, 0, 0, 0); 138
142 insert into sys.args values (31678, 50, 'arg_1', 'mbr', 0, 0, 1, 1); 142 ! 139 insert into sys.args values (31675, 50, 'arg_1', 'geometry', 0, 0, 1, 1); 139
143 insert into sys.args values (31679, 50, 'arg_2', 'mbr', 0, 0, 1, 2); 143 ! 140 insert into sys.args values (31676, 50, 'arg_2', 'geometry', 0, 0, 1, 2); 140
144 insert into sys.functions values (51, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 144 ! 141 insert into sys.functions values (51, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 141
145 insert into sys.args values (31680, 51, 'res_0', 'boolean', 1, 0, 0, 0); 145 ! 142 insert into sys.args values (31677, 51, 'res_0', 'boolean', 1, 0, 0, 0); 142
146 insert into sys.args values (31681, 51, 'arg_1', 'geometry', 0, 0, 1, 1); 146 ! 143 insert into sys.args values (31678, 51, 'arg_1', 'mbr', 0, 0, 1, 1); 143
147 insert into sys.args values (31682, 51, 'arg_2', 'geometry', 0, 0, 1, 2); 147 ! 144 insert into sys.args values (31679, 51, 'arg_2', 'mbr', 0, 0, 1, 2); 144
148 insert into sys.functions values (52, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 148 145 insert into sys.functions values (52, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 145
149 insert into sys.args values (31683, 52, 'res_0', 'boolean', 1, 0, 0, 0); 149 ! 146 insert into sys.args values (31680, 52, 'res_0', 'boolean', 1, 0, 0, 0); 146
150 insert into sys.args values (31684, 52, 'arg_1', 'mbr', 0, 0, 1, 1); 150 ! 147 insert into sys.args values (31681, 52, 'arg_1', 'geometry', 0, 0, 1, 1); 147
151 insert into sys.args values (31685, 52, 'arg_2', 'mbr', 0, 0, 1, 2); 151 ! 148 insert into sys.args values (31682, 52, 'arg_2', 'geometry', 0, 0, 1, 2); 148
152 insert into sys.functions values (53, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 152 ! 149 insert into sys.functions values (53, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 149
153 insert into sys.args values (31686, 53, 'res_0', 'boolean', 1, 0, 0, 0); 153 ! 150 insert into sys.args values (31683, 53, 'res_0', 'boolean', 1, 0, 0, 0); 150
154 insert into sys.args values (31687, 53, 'arg_1', 'geometry', 0, 0, 1, 1); 154 ! 151 insert into sys.args values (31684, 53, 'arg_1', 'mbr', 0, 0, 1, 1); 151
155 insert into sys.args values (31688, 53, 'arg_2', 'geometry', 0, 0, 1, 2); 155 ! 152 insert into sys.args values (31685, 53, 'arg_2', 'mbr', 0, 0, 1, 2); 152
156 insert into sys.functions values (54, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 156 153 insert into sys.functions values (54, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 153
157 insert into sys.args values (31689, 54, 'res_0', 'boolean', 1, 0, 0, 0); 157 ! 154 insert into sys.args values (31686, 54, 'res_0', 'boolean', 1, 0, 0, 0); 154
158 insert into sys.args values (31690, 54, 'arg_1', 'mbr', 0, 0, 1, 1); 158 ! 155 insert into sys.args values (31687, 54, 'arg_1', 'geometry', 0, 0, 1, 1); 155
159 insert into sys.args values (31691, 54, 'arg_2', 'mbr', 0, 0, 1, 2); 159 ! 156 insert into sys.args values (31688, 54, 'arg_2', 'geometry', 0, 0, 1, 2); 156
160 insert into sys.functions values (55, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 160 ! 157 insert into sys.functions values (55, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 157
161 insert into sys.args values (31692, 55, 'res_0', 'double', 53, 0, 0, 0); 161 ! 158 insert into sys.args values (31689, 55, 'res_0', 'boolean', 1, 0, 0, 0); 158
162 insert into sys.args values (31693, 55, 'arg_1', 'geometry', 0, 0, 1, 1); 162 ! 159 insert into sys.args values (31690, 55, 'arg_1', 'mbr', 0, 0, 1, 1); 159
163 insert into sys.args values (31694, 55, 'arg_2', 'geometry', 0, 0, 1, 2); 163 ! 160 insert into sys.args values (31691, 55, 'arg_2', 'mbr', 0, 0, 1, 2); 160
164 insert into sys.functions values (56, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 164 161 insert into sys.functions values (56, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 161
165 insert into sys.args values (31695, 56, 'res_0', 'double', 53, 0, 0, 0); 165 ! 162 insert into sys.args values (31692, 56, 'res_0', 'double', 53, 0, 0, 0); 162
166 insert into sys.args values (31696, 56, 'arg_1', 'mbr', 0, 0, 1, 1); 166 ! 163 insert into sys.args values (31693, 56, 'arg_1', 'geometry', 0, 0, 1, 1); 163
167 insert into sys.args values (31697, 56, 'arg_2', 'mbr', 0, 0, 1, 2); 167 ! 164 insert into sys.args values (31694, 56, 'arg_2', 'geometry', 0, 0, 1, 2); 164
168 insert into sys.functions values (57, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 168 ! 165 insert into sys.functions values (57, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 165
169 insert into sys.args values (31698, 57, 'res_0', 'boolean', 1, 0, 0, 0); 169 ! 166 insert into sys.args values (31695, 57, 'res_0', 'double', 53, 0, 0, 0); 166
170 insert into sys.args values (31699, 57, 'arg_1', 'geometry', 0, 0, 1, 1); 170 ! 167 insert into sys.args values (31696, 57, 'arg_1', 'mbr', 0, 0, 1, 1); 167
171 insert into sys.args values (31700, 57, 'arg_2', 'geometry', 0, 0, 1, 2); 171 ! 168 insert into sys.args values (31697, 57, 'arg_2', 'mbr', 0, 0, 1, 2); 168
172 insert into sys.functions values (58, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 172 169 insert into sys.functions values (58, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 169
173 insert into sys.args values (31701, 58, 'res_0', 'boolean', 1, 0, 0, 0); 173 ! 170 insert into sys.args values (31698, 58, 'res_0', 'boolean', 1, 0, 0, 0); 170
174 insert into sys.args values (31702, 58, 'arg_1', 'mbr', 0, 0, 1, 1); 174 ! 171 insert into sys.args values (31699, 58, 'arg_1', 'geometry', 0, 0, 1, 1); 171
175 insert into sys.args values (31703, 58, 'arg_2', 'mbr', 0, 0, 1, 2); 175 ! 172 insert into sys.args values (31700, 58, 'arg_2', 'geometry', 0, 0, 1, 2); 172
176 insert into sys.functions values (59, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 176 ! 173 insert into sys.functions values (59, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 173
177 insert into sys.args values (31704, 59, 'res_0', 'boolean', 1, 0, 0, 0); 177 ! 174 insert into sys.args values (31701, 59, 'res_0', 'boolean', 1, 0, 0, 0); 174
178 insert into sys.args values (31705, 59, 'arg_1', 'geometry', 0, 0, 1, 1); 178 ! 175 insert into sys.args values (31702, 59, 'arg_1', 'mbr', 0, 0, 1, 1); 175
179 insert into sys.args values (31706, 59, 'arg_2', 'geometry', 0, 0, 1, 2); 179 ! 176 insert into sys.args values (31703, 59, 'arg_2', 'mbr', 0, 0, 1, 2); 176
180 insert into sys.functions values (60, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 180 177 insert into sys.functions values (60, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 177
181 insert into sys.args values (31707, 60, 'res_0', 'boolean', 1, 0, 0, 0); 181 ! 178 insert into sys.args values (31704, 60, 'res_0', 'boolean', 1, 0, 0, 0); 178
182 insert into sys.args values (31708, 60, 'arg_1', 'mbr', 0, 0, 1, 1); 182 ! 179 insert into sys.args values (31705, 60, 'arg_1', 'geometry', 0, 0, 1, 1); 179
183 insert into sys.args values (31709, 60, 'arg_2', 'mbr', 0, 0, 1, 2); 183 ! 180 insert into sys.args values (31706, 60, 'arg_2', 'geometry', 0, 0, 1, 2); 180
184 insert into sys.functions values (61, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 184 ! 181 insert into sys.functions values (61, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 181
185 insert into sys.args values (31710, 61, 'res_0', 'tinyint', 8, 0, 0, 0); 185 ! 182 insert into sys.args values (31707, 61, 'res_0', 'boolean', 1, 0, 0, 0); 182
186 insert into sys.args values (31711, 61, 'arg_1', 'any', 0, 0, 1, 1); 186 ! 183 insert into sys.args values (31708, 61, 'arg_1', 'mbr', 0, 0, 1, 1); 183
+ 184 insert into sys.args values (31709, 61, 'arg_2', 'mbr', 0, 0, 1, 2); 184
187 insert into sys.functions values (62, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 187 185 insert into sys.functions values (62, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 185
188 insert into sys.args values (31712, 62, 'res_0', 'smallint', 16, 0, 0, 0); 188 ! 186 insert into sys.args values (31710, 62, 'res_0', 'tinyint', 8, 0, 0, 0); 186
189 insert into sys.args values (31713, 62, 'arg_1', 'any', 0, 0, 1, 1); 189 ! 187 insert into sys.args values (31711, 62, 'arg_1', 'any', 0, 0, 1, 1); 187
190 insert into sys.functions values (63, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 190 188 insert into sys.functions values (63, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 188
191 insert into sys.args values (31714, 63, 'res_0', 'int', 32, 0, 0, 0); 191 ! 189 insert into sys.args values (31712, 63, 'res_0', 'smallint', 16, 0, 0, 0); 189
192 insert into sys.args values (31715, 63, 'arg_1', 'any', 0, 0, 1, 1); 192 ! 190 insert into sys.args values (31713, 63, 'arg_1', 'any', 0, 0, 1, 1); 190
193 insert into sys.functions values (64, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 193 191 insert into sys.functions values (64, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 191
194 insert into sys.args values (31716, 64, 'res_0', 'bigint', 64, 0, 0, 0); 194 ! 192 insert into sys.args values (31714, 64, 'res_0', 'int', 32, 0, 0, 0); 192
195 insert into sys.args values (31717, 64, 'arg_1', 'any', 0, 0, 1, 1); 195 ! 193 insert into sys.args values (31715, 64, 'arg_1', 'any', 0, 0, 1, 1); 193
196 insert into sys.functions values (65, 'not_unique', 'not_unique', 'aggr', 0, 3, false, false, false, 2000, true, true); 196 ! 194 insert into sys.functions values (65, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 194
197 insert into sys.args values (31718, 65, 'res_0', 'boolean', 1, 0, 0, 0); 197 ! 195 insert into sys.args values (31716, 65, 'res_0', 'bigint', 64, 0, 0, 0); 195
198 insert into sys.args values (31719, 65, 'arg_1', 'oid', 31, 0, 1, 1); 198 ! 196 insert into sys.args values (31717, 65, 'arg_1', 'any', 0, 0, 1, 1); 196
199 insert into sys.functions values (66, 'hash', 'hash', 'mkey', 0, 1, false, false, false, 2000, true, true); 199 ! 197 insert into sys.functions values (66, 'not_unique', 'not_unique', 'aggr', 0, 3, false, false, false, 2000, true, true); 197
200 insert into sys.args values (31720, 66, 'res_0', 'bigint', 64, 0, 0, 0); 200 ! 198 insert into sys.args values (31718, 66, 'res_0', 'boolean', 1, 0, 0, 0); 198
201 insert into sys.args values (31721, 66, 'arg_1', 'any', 0, 0, 1, 1); 201 ! 199 insert into sys.args values (31719, 66, 'arg_1', 'oid', 31, 0, 1, 1); 199
202 insert into sys.functions values (67, 'rotate_xor_hash', 'rotate_xor_hash', 'calc', 0, 1, false, false, false, 2000, true, true); 202 ! 200 insert into sys.functions values (67, 'hash', 'hash', 'mkey', 0, 1, false, false, false, 2000, true, true); 200
203 insert into sys.args values (31722, 67, 'res_0', 'bigint', 64, 0, 0, 0); 203 ! 201 insert into sys.args values (31720, 67, 'res_0', 'bigint', 64, 0, 0, 0); 201
204 insert into sys.args values (31723, 67, 'arg_1', 'bigint', 64, 0, 1, 1); 204 ! 202 insert into sys.args values (31721, 67, 'arg_1', 'any', 0, 0, 1, 1); 202
205 insert into sys.args values (31724, 67, 'arg_2', 'int', 32, 0, 1, 2); 205 ! 203 insert into sys.functions values (68, 'rotate_xor_hash', 'rotate_xor_hash', 'calc', 0, 1, false, false, false, 2000, true, true); 203
206 insert into sys.args values (31725, 67, 'arg_3', 'any', 0, 0, 1, 3); 206 ! 204 insert into sys.args values (31722, 68, 'res_0', 'bigint', 64, 0, 0, 0); 204
207 insert into sys.functions values (68, '=', '=', 'calc', 0, 1, false, false, false, 2000, true, false); 207 ! 205 insert into sys.args values (31723, 68, 'arg_1', 'bigint', 64, 0, 1, 1); 205
208 insert into sys.args values (31726, 68, 'res_0', 'boolean', 1, 0, 0, 0); 208 ! 206 insert into sys.args values (31724, 68, 'arg_2', 'int', 32, 0, 1, 2); 206
209 insert into sys.args values (31727, 68, 'arg_1', 'any', 0, 0, 1, 1); 209 ! 207 insert into sys.args values (31725, 68, 'arg_3', 'any', 0, 0, 1, 3); 207
210 insert into sys.args values (31728, 68, 'arg_2', 'any', 0, 0, 1, 2); 210 ! 208 insert into sys.functions values (69, '=', '=', 'calc', 0, 1, false, false, false, 2000, true, false); 208
211 insert into sys.functions values (69, '<>', '!=', 'calc', 0, 1, false, false, false, 2000, true, false); 211 ! 209 insert into sys.args values (31726, 69, 'res_0', 'boolean', 1, 0, 0, 0); 209
212 insert into sys.args values (31729, 69, 'res_0', 'boolean', 1, 0, 0, 0); 212 ! 210 insert into sys.args values (31727, 69, 'arg_1', 'any', 0, 0, 1, 1); 210
213 insert into sys.args values (31730, 69, 'arg_1', 'any', 0, 0, 1, 1); 213 ! 211 insert into sys.args values (31728, 69, 'arg_2', 'any', 0, 0, 1, 2); 211
214 insert into sys.args values (31731, 69, 'arg_2', 'any', 0, 0, 1, 2); 214 ! 212 insert into sys.functions values (70, '<>', '!=', 'calc', 0, 1, false, false, false, 2000, true, false); 212
215 insert into sys.functions values (70, 'isnull', 'isnil', 'calc', 0, 1, false, false, false, 2000, true, true); 215 ! 213 insert into sys.args values (31729, 70, 'res_0', 'boolean', 1, 0, 0, 0); 213
216 insert into sys.args values (31732, 70, 'res_0', 'boolean', 1, 0, 0, 0); 216 ! 214 insert into sys.args values (31730, 70, 'arg_1', 'any', 0, 0, 1, 1); 214
217 insert into sys.args values (31733, 70, 'arg_1', 'any', 0, 0, 1, 1); 217 ! 215 insert into sys.args values (31731, 70, 'arg_2', 'any', 0, 0, 1, 2); 215
218 insert into sys.functions values (71, 'isnotnull', 'isnotnil', 'calc', 0, 1, false, false, false, 2000, true, true); 218 ! 216 insert into sys.functions values (71, 'isnull', 'isnil', 'calc', 0, 1, false, false, false, 2000, true, true); 216
219 insert into sys.args values (31734, 71, 'res_0', 'boolean', 1, 0, 0, 0); 219 ! 217 insert into sys.args values (31732, 71, 'res_0', 'boolean', 1, 0, 0, 0); 217
220 insert into sys.args values (31735, 71, 'arg_1', 'any', 0, 0, 1, 1); 220 ! 218 insert into sys.args values (31733, 71, 'arg_1', 'any', 0, 0, 1, 1); 218
221 insert into sys.functions values (72, '>', '>', 'calc', 0, 1, false, false, false, 2000, true, false); 221 ! 219 insert into sys.functions values (72, 'isnotnull', 'isnotnil', 'calc', 0, 1, false, false, false, 2000, true, true); 219
222 insert into sys.args values (31736, 72, 'res_0', 'boolean', 1, 0, 0, 0); 222 ! 220 insert into sys.args values (31734, 72, 'res_0', 'boolean', 1, 0, 0, 0); 220
223 insert into sys.args values (31737, 72, 'arg_1', 'any', 0, 0, 1, 1); 223 ! 221 insert into sys.args values (31735, 72, 'arg_1', 'any', 0, 0, 1, 1); 221
224 insert into sys.args values (31738, 72, 'arg_2', 'any', 0, 0, 1, 2); 224 - 222 insert into sys.functions values (73, '>', '>', 'calc', 0, 1, false, false, false, 2000, true, false); 222
225 insert into sys.functions values (73, '>=', '>=', 'calc', 0, 1, false, false, false, 2000, true, false); 225 -
226 insert into sys.args values (31739, 73, 'res_0', 'boolean', 1, 0, 0, 0); 226 ! 223 insert into sys.args values (31736, 73, 'res_0', 'boolean', 1, 0, 0, 0); 223
227 insert into sys.args values (31740, 73, 'arg_1', 'any', 0, 0, 1, 1); 227 ! 224 insert into sys.args values (31737, 73, 'arg_1', 'any', 0, 0, 1, 1); 224
228 insert into sys.args values (31741, 73, 'arg_2', 'any', 0, 0, 1, 2); 228 ! 225 insert into sys.args values (31738, 73, 'arg_2', 'any', 0, 0, 1, 2); 225
229 insert into sys.functions values (74, '<', '<', 'calc', 0, 1, false, false, false, 2000, true, false); 229 ! 226 insert into sys.functions values (74, '>=', '>=', 'calc', 0, 1, false, false, false, 2000, true, false); 226
230 insert into sys.args values (31742, 74, 'res_0', 'boolean', 1, 0, 0, 0); 230 ! 227 insert into sys.args values (31739, 74, 'res_0', 'boolean', 1, 0, 0, 0); 227
231 insert into sys.args values (31743, 74, 'arg_1', 'any', 0, 0, 1, 1); 231 ! 228 insert into sys.args values (31740, 74, 'arg_1', 'any', 0, 0, 1, 1); 228
232 insert into sys.args values (31744, 74, 'arg_2', 'any', 0, 0, 1, 2); 232 ! 229 insert into sys.args values (31741, 74, 'arg_2', 'any', 0, 0, 1, 2); 229
233 insert into sys.functions values (75, '<=', '<=', 'calc', 0, 1, false, false, false, 2000, true, false); 233 - 230 insert into sys.functions values (75, '<', '<', 'calc', 0, 1, false, false, false, 2000, true, false); 230
234 insert into sys.args values (31745, 75, 'res_0', 'boolean', 1, 0, 0, 0); 234 ! 231 insert into sys.args values (31742, 75, 'res_0', 'boolean', 1, 0, 0, 0); 231
235 insert into sys.args values (31746, 75, 'arg_1', 'any', 0, 0, 1, 1); 235 ! 232 insert into sys.args values (31743, 75, 'arg_1', 'any', 0, 0, 1, 1); 232
236 insert into sys.args values (31747, 75, 'arg_2', 'any', 0, 0, 1, 2); 236 ! 233 insert into sys.args values (31744, 75, 'arg_2', 'any', 0, 0, 1, 2); 233
237 insert into sys.functions values (76, 'between', 'between', 'calc', 0, 1, false, false, false, 2000, true, false); 237 ! 234 insert into sys.functions values (76, '<=', '<=', 'calc', 0, 1, false, false, false, 2000, true, false); 234
238 insert into sys.args values (31748, 76, 'res_0', 'boolean', 1, 0, 0, 0); 238 ! 235 insert into sys.args values (31745, 76, 'res_0', 'boolean', 1, 0, 0, 0); 235
+ 236 insert into sys.args values (31746, 76, 'arg_1', 'any', 0, 0, 1, 1); 236
239 insert into sys.args values (31749, 76, 'arg_1', 'any', 0, 0, 1, 1); 239 ! 237 insert into sys.args values (31747, 76, 'arg_2', 'any', 0, 0, 1, 2); 237
240 insert into sys.args values (31750, 76, 'arg_2', 'any', 0, 0, 1, 2); 240 ! 238 insert into sys.functions values (77, 'between', 'between', 'calc', 0, 1, false, false, false, 2000, true, false); 238
241 insert into sys.args values (31751, 76, 'arg_3', 'any', 0, 0, 1, 3); 241 ! 239 insert into sys.args values (31748, 77, 'res_0', 'boolean', 1, 0, 0, 0); 239
242 insert into sys.args values (31752, 76, 'arg_4', 'boolean', 1, 0, 1, 4); 242 ! 240 insert into sys.args values (31749, 77, 'arg_1', 'any', 0, 0, 1, 1); 240
243 insert into sys.args values (31753, 76, 'arg_5', 'boolean', 1, 0, 1, 5); 243 ! 241 insert into sys.args values (31750, 77, 'arg_2', 'any', 0, 0, 1, 2); 241
244 insert into sys.args values (31754, 76, 'arg_6', 'boolean', 1, 0, 1, 6); 244 ! 242 insert into sys.args values (31751, 77, 'arg_3', 'any', 0, 0, 1, 3); 242
245 insert into sys.args values (31755, 76, 'arg_7', 'boolean', 1, 0, 1, 7); 245 ! 243 insert into sys.args values (31752, 77, 'arg_4', 'boolean', 1, 0, 1, 4); 243
246 insert into sys.args values (31756, 76, 'arg_8', 'boolean', 1, 0, 1, 8); 246 ! 244 insert into sys.args values (31753, 77, 'arg_5', 'boolean', 1, 0, 1, 5); 244
247 insert into sys.functions values (77, 'zero_or_one', 'zero_or_one', 'aggr', 0, 3, false, false, false, 2000, true, true); 247 ! 245 insert into sys.args values (31754, 77, 'arg_6', 'boolean', 1, 0, 1, 6); 245
248 insert into sys.args values (31757, 77, 'res_0', 'any', 0, 0, 0, 0); 248 ! 246 insert into sys.args values (31755, 77, 'arg_7', 'boolean', 1, 0, 1, 7); 246
249 insert into sys.args values (31758, 77, 'arg_1', 'any', 0, 0, 1, 1); 249 ! 247 insert into sys.args values (31756, 77, 'arg_8', 'boolean', 1, 0, 1, 8); 247
250 insert into sys.functions values (78, 'all', 'all', 'aggr', 0, 3, false, false, false, 2000, true, true); 250 ! 248 insert into sys.functions values (78, 'zero_or_one', 'zero_or_one', 'aggr', 0, 3, false, false, false, 2000, true, true); 248
251 insert into sys.args values (31759, 78, 'res_0', 'any', 0, 0, 0, 0); 251 ! 249 insert into sys.args values (31757, 78, 'res_0', 'any', 0, 0, 0, 0); 249
252 insert into sys.args values (31760, 78, 'arg_1', 'any', 0, 0, 1, 1); 252 ! 250 insert into sys.args values (31758, 78, 'arg_1', 'any', 0, 0, 1, 1); 250
253 insert into sys.functions values (79, 'null', 'null', 'aggr', 0, 3, false, false, false, 2000, true, true); 253 ! 251 insert into sys.functions values (79, 'all', 'all', 'aggr', 0, 3, false, false, false, 2000, true, true); 251
254 insert into sys.args values (31761, 79, 'res_0', 'boolean', 1, 0, 0, 0); 254 ! 252 insert into sys.args values (31759, 79, 'res_0', 'any', 0, 0, 0, 0); 252
255 insert into sys.args values (31762, 79, 'arg_1', 'any', 0, 0, 1, 1); 255 ! 253 insert into sys.args values (31760, 79, 'arg_1', 'any', 0, 0, 1, 1); 253
256 insert into sys.functions values (80, 'any', 'any', 'sql', 0, 1, false, false, false, 2000, true, true); 256 ! 254 insert into sys.functions values (80, 'null', 'null', 'aggr', 0, 3, false, false, false, 2000, true, true); 254
257 insert into sys.args values (31763, 80, 'res_0', 'boolean', 1, 0, 0, 0); 257 ! 255 insert into sys.args values (31761, 80, 'res_0', 'boolean', 1, 0, 0, 0); 255
258 insert into sys.args values (31764, 80, 'arg_1', 'boolean', 1, 0, 1, 1); 258 ! 256 insert into sys.args values (31762, 80, 'arg_1', 'any', 0, 0, 1, 1); 256
259 insert into sys.args values (31765, 80, 'arg_2', 'boolean', 1, 0, 1, 2); 259 ! 257 insert into sys.functions values (81, 'any', 'any', 'sql', 0, 1, false, false, false, 2000, true, true); 257
260 insert into sys.args values (31766, 80, 'arg_3', 'boolean', 1, 0, 1, 3); 260 ! 258 insert into sys.args values (31763, 81, 'res_0', 'boolean', 1, 0, 0, 0); 258
261 insert into sys.functions values (81, 'all', 'all', 'sql', 0, 1, false, false, false, 2000, true, true); 261 ! 259 insert into sys.args values (31764, 81, 'arg_1', 'boolean', 1, 0, 1, 1); 259
262 insert into sys.args values (31767, 81, 'res_0', 'boolean', 1, 0, 0, 0); 262 ! 260 insert into sys.args values (31765, 81, 'arg_2', 'boolean', 1, 0, 1, 2); 260
263 insert into sys.args values (31768, 81, 'arg_1', 'boolean', 1, 0, 1, 1); 263 ! 261 insert into sys.args values (31766, 81, 'arg_3', 'boolean', 1, 0, 1, 3); 261
264 insert into sys.args values (31769, 81, 'arg_2', 'boolean', 1, 0, 1, 2); 264 ! 262 insert into sys.functions values (82, 'all', 'all', 'sql', 0, 1, false, false, false, 2000, true, true); 262
265 insert into sys.args values (31770, 81, 'arg_3', 'boolean', 1, 0, 1, 3); 265 ! 263 insert into sys.args values (31767, 82, 'res_0', 'boolean', 1, 0, 0, 0); 263
266 insert into sys.functions values (82, 'anyequal', 'anyequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 266 ! 264 insert into sys.args values (31768, 82, 'arg_1', 'boolean', 1, 0, 1, 1); 264
267 insert into sys.args values (31771, 82, 'res_0', 'boolean', 1, 0, 0, 0); 267 ! 265 insert into sys.args values (31769, 82, 'arg_2', 'boolean', 1, 0, 1, 2); 265
268 insert into sys.args values (31772, 82, 'arg_1', 'any', 0, 0, 1, 1); 268 ! 266 insert into sys.args values (31770, 82, 'arg_3', 'boolean', 1, 0, 1, 3); 266
269 insert into sys.functions values (83, 'allnotequal', 'allnotequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 269 ! 267 insert into sys.functions values (83, 'anyequal', 'anyequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 267
270 insert into sys.args values (31773, 83, 'res_0', 'boolean', 1, 0, 0, 0); 270 ! 268 insert into sys.args values (31771, 83, 'res_0', 'boolean', 1, 0, 0, 0); 268
271 insert into sys.args values (31774, 83, 'arg_1', 'any', 0, 0, 1, 1); 271 ! 269 insert into sys.args values (31772, 83, 'arg_1', 'any', 0, 0, 1, 1); 269
272 insert into sys.functions values (84, 'sql_anyequal', 'anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 272 ! 270 insert into sys.functions values (84, 'allnotequal', 'allnotequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 270
273 insert into sys.args values (31775, 84, 'res_0', 'boolean', 1, 0, 0, 0); 273 ! 271 insert into sys.args values (31773, 84, 'res_0', 'boolean', 1, 0, 0, 0); 271
274 insert into sys.args values (31776, 84, 'arg_1', 'any', 0, 0, 1, 1); 274 ! 272 insert into sys.args values (31774, 84, 'arg_1', 'any', 0, 0, 1, 1); 272
275 insert into sys.args values (31777, 84, 'arg_2', 'any', 0, 0, 1, 2); 275 ! 273 insert into sys.functions values (85, 'sql_anyequal', 'anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 273
276 insert into sys.functions values (85, 'sql_not_anyequal', 'not_anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 276 ! 274 insert into sys.args values (31775, 85, 'res_0', 'boolean', 1, 0, 0, 0); 274
277 insert into sys.args values (31778, 85, 'res_0', 'boolean', 1, 0, 0, 0); 277 ! 275 insert into sys.args values (31776, 85, 'arg_1', 'any', 0, 0, 1, 1); 275
278 insert into sys.args values (31779, 85, 'arg_1', 'any', 0, 0, 1, 1); 278 ! 276 insert into sys.args values (31777, 85, 'arg_2', 'any', 0, 0, 1, 2); 276
279 insert into sys.args values (31780, 85, 'arg_2', 'any', 0, 0, 1, 2); 279 ! 277 insert into sys.functions values (86, 'sql_not_anyequal', 'not_anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 277
280 insert into sys.functions values (86, 'exist', 'exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 280 ! 278 insert into sys.args values (31778, 86, 'res_0', 'boolean', 1, 0, 0, 0); 278
281 insert into sys.args values (31781, 86, 'res_0', 'boolean', 1, 0, 0, 0); 281 ! 279 insert into sys.args values (31779, 86, 'arg_1', 'any', 0, 0, 1, 1); 279
282 insert into sys.args values (31782, 86, 'arg_1', 'any', 0, 0, 1, 1); 282 ! 280 insert into sys.args values (31780, 86, 'arg_2', 'any', 0, 0, 1, 2); 280
283 insert into sys.functions values (87, 'not_exist', 'not_exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 283 - 281 insert into sys.functions values (87, 'exist', 'exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 281
284 insert into sys.args values (31783, 87, 'res_0', 'boolean', 1, 0, 0, 0); 284 ! 282 insert into sys.args values (31781, 87, 'res_0', 'boolean', 1, 0, 0, 0); 282
285 insert into sys.args values (31784, 87, 'arg_1', 'any', 0, 0, 1, 1); 285 ! 283 insert into sys.args values (31782, 87, 'arg_1', 'any', 0, 0, 1, 1); 283
286 insert into sys.functions values (88, 'sql_exists', 'exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 286 ! 284 insert into sys.functions values (88, 'not_exist', 'not_exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 284
287 insert into sys.args values (31785, 88, 'res_0', 'boolean', 1, 0, 0, 0); 287 ! 285 insert into sys.args values (31783, 88, 'res_0', 'boolean', 1, 0, 0, 0); 285
288 insert into sys.args values (31786, 88, 'arg_1', 'any', 0, 0, 1, 1); 288 ! 286 insert into sys.args values (31784, 88, 'arg_1', 'any', 0, 0, 1, 1); 286
289 insert into sys.functions values (89, 'sql_not_exists', 'not_exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 289 - 287 insert into sys.functions values (89, 'sql_exists', 'exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 287
290 insert into sys.args values (31787, 89, 'res_0', 'boolean', 1, 0, 0, 0); 290 ! 288 insert into sys.args values (31785, 89, 'res_0', 'boolean', 1, 0, 0, 0); 288
291 insert into sys.args values (31788, 89, 'arg_1', 'any', 0, 0, 1, 1); 291 ! 289 insert into sys.args values (31786, 89, 'arg_1', 'any', 0, 0, 1, 1); 289
292 insert into sys.functions values (90, 'identity', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 292 ! 290 insert into sys.functions values (90, 'sql_not_exists', 'not_exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 290
293 insert into sys.args values (31789, 90, 'res_0', 'oid', 31, 0, 0, 0); 293 ! 291 insert into sys.args values (31787, 90, 'res_0', 'boolean', 1, 0, 0, 0); 291
294 insert into sys.args values (31790, 90, 'arg_1', 'any', 0, 0, 1, 1); 294 ! 292 insert into sys.args values (31788, 90, 'arg_1', 'any', 0, 0, 1, 1); 292
295 insert into sys.functions values (91, 'rowid', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 295 ! 293 insert into sys.functions values (91, 'identity', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 293
296 insert into sys.args values (31791, 91, 'res_0', 'int', 32, 0, 0, 0); 296 ! 294 insert into sys.args values (31789, 91, 'res_0', 'oid', 31, 0, 0, 0); 294
297 insert into sys.args values (31792, 91, 'arg_1', 'any', 0, 0, 1, 1); 297 ! 295 insert into sys.args values (31790, 91, 'arg_1', 'any', 0, 0, 1, 1); 295
298 insert into sys.functions values (92, 'rowid', 'rowid', 'calc', 0, 1, false, false, false, 2000, true, true); 298 ! 296 insert into sys.functions values (92, 'rowid', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 296
299 insert into sys.args values (31793, 92, 'res_0', 'oid', 31, 0, 0, 0); 299 ! 297 insert into sys.args values (31791, 92, 'res_0', 'int', 32, 0, 0, 0); 297
300 insert into sys.args values (31794, 92, 'arg_1', 'any', 0, 0, 1, 1); 300 ! 298 insert into sys.args values (31792, 92, 'arg_1', 'any', 0, 0, 1, 1); 298
301 insert into sys.args values (31795, 92, 'arg_2', 'varchar', 0, 0, 1, 2); 301 ! 299 insert into sys.functions values (93, 'rowid', 'rowid', 'calc', 0, 1, false, false, false, 2000, true, true); 299
302 insert into sys.args values (31796, 92, 'arg_3', 'varchar', 0, 0, 1, 3); 302 ! 300 insert into sys.args values (31793, 93, 'res_0', 'oid', 31, 0, 0, 0); 300
303 insert into sys.functions values (93, 'min', 'min', 'aggr', 0, 3, false, false, false, 2000, true, false); 303 ! 301 insert into sys.args values (31794, 93, 'arg_1', 'any', 0, 0, 1, 1); 301
304 insert into sys.args values (31797, 93, 'res_0', 'any', 0, 0, 0, 0); 304 ! 302 insert into sys.args values (31795, 93, 'arg_2', 'varchar', 0, 0, 1, 2); 302
305 insert into sys.args values (31798, 93, 'arg_1', 'any', 0, 0, 1, 1); 305 ! 303 insert into sys.args values (31796, 93, 'arg_3', 'varchar', 0, 0, 1, 3); 303
306 insert into sys.functions values (94, 'max', 'max', 'aggr', 0, 3, false, false, false, 2000, true, false); 306 ! 304 insert into sys.functions values (94, 'min', 'min', 'aggr', 0, 3, false, false, false, 2000, true, false); 304
307 insert into sys.args values (31799, 94, 'res_0', 'any', 0, 0, 0, 0); 307 ! 305 insert into sys.args values (31797, 94, 'res_0', 'any', 0, 0, 0, 0); 305
308 insert into sys.args values (31800, 94, 'arg_1', 'any', 0, 0, 1, 1); 308 ! 306 insert into sys.args values (31798, 94, 'arg_1', 'any', 0, 0, 1, 1); 306
309 insert into sys.functions values (95, 'sql_min', 'min', 'calc', 0, 1, false, false, false, 2000, true, false); 309 ! 307 insert into sys.functions values (95, 'max', 'max', 'aggr', 0, 3, false, false, false, 2000, true, false); 307
310 insert into sys.args values (31801, 95, 'res_0', 'any', 0, 0, 0, 0); 310 ! 308 insert into sys.args values (31799, 95, 'res_0', 'any', 0, 0, 0, 0); 308
311 insert into sys.args values (31802, 95, 'arg_1', 'any', 0, 0, 1, 1); 311 ! 309 insert into sys.args values (31800, 95, 'arg_1', 'any', 0, 0, 1, 1); 309
312 insert into sys.args values (31803, 95, 'arg_2', 'any', 0, 0, 1, 2); 312 ! 310 insert into sys.functions values (96, 'sql_min', 'min', 'calc', 0, 1, false, false, false, 2000, true, false); 310
313 insert into sys.functions values (96, 'sql_max', 'max', 'calc', 0, 1, false, false, false, 2000, true, false); 313 -
314 insert into sys.args values (31804, 96, 'res_0', 'any', 0, 0, 0, 0); 314 ! 311 insert into sys.args values (31801, 96, 'res_0', 'any', 0, 0, 0, 0); 311
315 insert into sys.args values (31805, 96, 'arg_1', 'any', 0, 0, 1, 1); 315 ! 312 insert into sys.args values (31802, 96, 'arg_1', 'any', 0, 0, 1, 1); 312
316 insert into sys.args values (31806, 96, 'arg_2', 'any', 0, 0, 1, 2); 316 ! 313 insert into sys.args values (31803, 96, 'arg_2', 'any', 0, 0, 1, 2); 313
317 insert into sys.functions values (97, 'least', 'min_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 317 ! 314 insert into sys.functions values (97, 'sql_max', 'max', 'calc', 0, 1, false, false, false, 2000, true, false); 314
318 insert into sys.args values (31807, 97, 'res_0', 'any', 0, 0, 0, 0); 318 ! 315 insert into sys.args values (31804, 97, 'res_0', 'any', 0, 0, 0, 0); 315
319 insert into sys.args values (31808, 97, 'arg_1', 'any', 0, 0, 1, 1); 319 ! 316 insert into sys.args values (31805, 97, 'arg_1', 'any', 0, 0, 1, 1); 316
320 insert into sys.args values (31809, 97, 'arg_2', 'any', 0, 0, 1, 2); 320 ! 317 insert into sys.args values (31806, 97, 'arg_2', 'any', 0, 0, 1, 2); 317
321 insert into sys.functions values (98, 'greatest', 'max_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 321 ! 318 insert into sys.functions values (98, 'least', 'min_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 318
322 insert into sys.args values (31810, 98, 'res_0', 'any', 0, 0, 0, 0); 322 ! 319 insert into sys.args values (31807, 98, 'res_0', 'any', 0, 0, 0, 0); 319
323 insert into sys.args values (31811, 98, 'arg_1', 'any', 0, 0, 1, 1); 323 ! 320 insert into sys.args values (31808, 98, 'arg_1', 'any', 0, 0, 1, 1); 320
324 insert into sys.args values (31812, 98, 'arg_2', 'any', 0, 0, 1, 2); 324 ! 321 insert into sys.args values (31809, 98, 'arg_2', 'any', 0, 0, 1, 2); 321
325 insert into sys.functions values (99, 'ifthenelse', 'ifthenelse', 'calc', 0, 1, false, false, false, 2000, true, true); 325 ! 322 insert into sys.functions values (99, 'greatest', 'max_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 322
+ 323 insert into sys.args values (31810, 99, 'res_0', 'any', 0, 0, 0, 0); 323
326 insert into sys.args values (31813, 99, 'res_0', 'any', 0, 0, 0, 0); 326 ! 324 insert into sys.args values (31811, 99, 'arg_1', 'any', 0, 0, 1, 1); 324
327 insert into sys.args values (31814, 99, 'arg_1', 'boolean', 1, 0, 1, 1); 327 ! 325 insert into sys.args values (31812, 99, 'arg_2', 'any', 0, 0, 1, 2); 325
328 insert into sys.args values (31815, 99, 'arg_2', 'any', 0, 0, 1, 2); 328 ! 326 insert into sys.functions values (100, 'ifthenelse', 'ifthenelse', 'calc', 0, 1, false, false, false, 2000, true, true); 326
329 insert into sys.args values (31816, 99, 'arg_3', 'any', 0, 0, 1, 3); 329 ! 327 insert into sys.args values (31813, 100, 'res_0', 'any', 0, 0, 0, 0); 327
330 insert into sys.functions values (100, 'nullif', '', '', 0, 1, false, false, false, 2000, true, true); 330 ! 328 insert into sys.args values (31814, 100, 'arg_1', 'boolean', 1, 0, 1, 1); 328
331 insert into sys.args values (31817, 100, 'res_0', 'any', 0, 0, 0, 0); 331 ! 329 insert into sys.args values (31815, 100, 'arg_2', 'any', 0, 0, 1, 2); 329
332 insert into sys.args values (31818, 100, 'arg_1', 'any', 0, 0, 1, 1); 332 ! 330 insert into sys.args values (31816, 100, 'arg_3', 'any', 0, 0, 1, 3); 330
333 insert into sys.args values (31819, 100, 'arg_2', 'any', 0, 0, 1, 2); 333 ! 331 insert into sys.functions values (101, 'nullif', '', '', 0, 1, false, false, false, 2000, true, true); 331
334 insert into sys.functions values (101, 'coalesce', '', '', 0, 1, false, false, false, 2000, true, true); 334 ! 332 insert into sys.args values (31817, 101, 'res_0', 'any', 0, 0, 0, 0); 332
335 insert into sys.args values (31820, 101, 'res_0', 'any', 0, 0, 0, 0); 335 ! 333 insert into sys.args values (31818, 101, 'arg_1', 'any', 0, 0, 1, 1); 333
336 insert into sys.args values (31821, 101, 'arg_1', 'any', 0, 0, 1, 1); 336 ! 334 insert into sys.args values (31819, 101, 'arg_2', 'any', 0, 0, 1, 2); 334
337 insert into sys.args values (31822, 101, 'arg_2', 'any', 0, 0, 1, 2); 337 ! 335 insert into sys.functions values (102, 'coalesce', '', '', 0, 1, false, false, false, 2000, true, true); 335
338 insert into sys.functions values (102, 'star', '', '', 0, 1, false, false, false, 2000, true, true); 338 ! 336 insert into sys.args values (31820, 102, 'res_0', 'any', 0, 0, 0, 0); 336
339 insert into sys.args values (31823, 102, 'res_0', 'any', 0, 0, 0, 0); 339 ! 337 insert into sys.args values (31821, 102, 'arg_1', 'any', 0, 0, 1, 1); 337
340 insert into sys.functions values (103, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 340 ! 338 insert into sys.args values (31822, 102, 'arg_2', 'any', 0, 0, 1, 2); 338
341 insert into sys.args values (31824, 103, 'res_0', 'bigint', 64, 0, 0, 0); 341 ! 339 insert into sys.functions values (103, 'star', '', '', 0, 1, false, false, false, 2000, true, true); 339
342 insert into sys.args values (31825, 103, 'arg_1', 'tinyint', 8, 0, 1, 1); 342 ! 340 insert into sys.args values (31823, 103, 'res_0', 'any', 0, 0, 0, 0); 340
343 insert into sys.functions values (104, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 343 341 insert into sys.functions values (104, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 341
344 insert into sys.args values (31826, 104, 'res_0', 'bigint', 64, 0, 0, 0); 344 ! 342 insert into sys.args values (31824, 104, 'res_0', 'bigint', 64, 0, 0, 0); 342
345 insert into sys.args values (31827, 104, 'arg_1', 'smallint', 16, 0, 1, 1); 345 ! 343 insert into sys.args values (31825, 104, 'arg_1', 'tinyint', 8, 0, 1, 1); 343
346 insert into sys.functions values (105, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 346 344 insert into sys.functions values (105, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 344
347 insert into sys.args values (31828, 105, 'res_0', 'bigint', 64, 0, 0, 0); 347 ! 345 insert into sys.args values (31826, 105, 'res_0', 'bigint', 64, 0, 0, 0); 345
348 insert into sys.args values (31829, 105, 'arg_1', 'int', 32, 0, 1, 1); 348 ! 346 insert into sys.args values (31827, 105, 'arg_1', 'smallint', 16, 0, 1, 1); 346
349 insert into sys.functions values (106, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 349 347 insert into sys.functions values (106, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 347
350 insert into sys.args values (31830, 106, 'res_0', 'bigint', 64, 0, 0, 0); 350 ! 348 insert into sys.args values (31828, 106, 'res_0', 'bigint', 64, 0, 0, 0); 348
351 insert into sys.args values (31831, 106, 'arg_1', 'bigint', 64, 0, 1, 1); 351 ! 349 insert into sys.args values (31829, 106, 'arg_1', 'int', 32, 0, 1, 1); 349
352 insert into sys.functions values (107, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 352 350 insert into sys.functions values (107, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 350
353 insert into sys.args values (31832, 107, 'res_0', 'decimal', 18, 0, 0, 0); 353 ! 351 insert into sys.args values (31830, 107, 'res_0', 'bigint', 64, 0, 0, 0); 351
354 insert into sys.args values (31833, 107, 'arg_1', 'decimal', 2, 0, 1, 1); 354 ! 352 insert into sys.args values (31831, 107, 'arg_1', 'bigint', 64, 0, 1, 1); 352
355 insert into sys.functions values (108, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 355 353 insert into sys.functions values (108, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 353
356 insert into sys.args values (31834, 108, 'res_0', 'decimal', 18, 0, 0, 0); 356 ! 354 insert into sys.args values (31832, 108, 'res_0', 'decimal', 18, 0, 0, 0); 354
357 insert into sys.args values (31835, 108, 'arg_1', 'decimal', 4, 0, 1, 1); 357 ! 355 insert into sys.args values (31833, 108, 'arg_1', 'decimal', 2, 0, 1, 1); 355
358 insert into sys.functions values (109, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 358 356 insert into sys.functions values (109, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 356
359 insert into sys.args values (31836, 109, 'res_0', 'decimal', 18, 0, 0, 0); 359 ! 357 insert into sys.args values (31834, 109, 'res_0', 'decimal', 18, 0, 0, 0); 357
360 insert into sys.args values (31837, 109, 'arg_1', 'decimal', 9, 0, 1, 1); 360 ! 358 insert into sys.args values (31835, 109, 'arg_1', 'decimal', 4, 0, 1, 1); 358
361 insert into sys.functions values (110, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 361 359 insert into sys.functions values (110, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 359
362 insert into sys.args values (31838, 110, 'res_0', 'decimal', 18, 0, 0, 0); 362 ! 360 insert into sys.args values (31836, 110, 'res_0', 'decimal', 18, 0, 0, 0); 360
363 insert into sys.args values (31839, 110, 'arg_1', 'decimal', 18, 0, 1, 1); 363 ! 361 insert into sys.args values (31837, 110, 'arg_1', 'decimal', 9, 0, 1, 1); 361
364 insert into sys.functions values (111, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 364 ! 362 insert into sys.functions values (111, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 362
365 insert into sys.args values (31840, 111, 'res_0', 'bigint', 64, 0, 0, 0); 365 ! 363 insert into sys.args values (31838, 111, 'res_0', 'decimal', 18, 0, 0, 0); 363
366 insert into sys.args values (31841, 111, 'arg_1', 'tinyint', 8, 0, 1, 1); 366 ! 364 insert into sys.args values (31839, 111, 'arg_1', 'decimal', 18, 0, 1, 1); 364
367 insert into sys.functions values (112, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 367 365 insert into sys.functions values (112, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 365
368 insert into sys.args values (31842, 112, 'res_0', 'bigint', 64, 0, 0, 0); 368 ! 366 insert into sys.args values (31840, 112, 'res_0', 'bigint', 64, 0, 0, 0); 366
369 insert into sys.args values (31843, 112, 'arg_1', 'smallint', 16, 0, 1, 1); 369 ! 367 insert into sys.args values (31841, 112, 'arg_1', 'tinyint', 8, 0, 1, 1); 367
370 insert into sys.functions values (113, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 370 368 insert into sys.functions values (113, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 368
371 insert into sys.args values (31844, 113, 'res_0', 'bigint', 64, 0, 0, 0); 371 ! 369 insert into sys.args values (31842, 113, 'res_0', 'bigint', 64, 0, 0, 0); 369
372 insert into sys.args values (31845, 113, 'arg_1', 'int', 32, 0, 1, 1); 372 ! 370 insert into sys.args values (31843, 113, 'arg_1', 'smallint', 16, 0, 1, 1); 370
373 insert into sys.functions values (114, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 373 371 insert into sys.functions values (114, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 371
374 insert into sys.args values (31846, 114, 'res_0', 'bigint', 64, 0, 0, 0); 374 ! 372 insert into sys.args values (31844, 114, 'res_0', 'bigint', 64, 0, 0, 0); 372
375 insert into sys.args values (31847, 114, 'arg_1', 'bigint', 64, 0, 1, 1); 375 ! 373 insert into sys.args values (31845, 114, 'arg_1', 'int', 32, 0, 1, 1); 373
376 insert into sys.functions values (115, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 376 ! 374 insert into sys.functions values (115, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 374
377 insert into sys.args values (31848, 115, 'res_0', 'tinyint', 8, 0, 0, 0); 377 ! 375 insert into sys.args values (31846, 115, 'res_0', 'bigint', 64, 0, 0, 0); 375
378 insert into sys.args values (31849, 115, 'arg_1', 'tinyint', 8, 0, 1, 1); 378 ! 376 insert into sys.args values (31847, 115, 'arg_1', 'bigint', 64, 0, 1, 1); 376
379 insert into sys.args values (31850, 115, 'arg_2', 'tinyint', 8, 0, 1, 2); 379 -
380 insert into sys.functions values (116, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 380 377 insert into sys.functions values (116, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 377
381 insert into sys.args values (31851, 116, 'res_0', 'smallint', 16, 0, 0, 0); 381 ! 378 insert into sys.args values (31848, 116, 'res_0', 'tinyint', 8, 0, 0, 0); 378
382 insert into sys.args values (31852, 116, 'arg_1', 'smallint', 16, 0, 1, 1); 382 ! 379 insert into sys.args values (31849, 116, 'arg_1', 'tinyint', 8, 0, 1, 1); 379
383 insert into sys.args values (31853, 116, 'arg_2', 'smallint', 16, 0, 1, 2); 383 ! 380 insert into sys.args values (31850, 116, 'arg_2', 'tinyint', 8, 0, 1, 2); 380
384 insert into sys.functions values (117, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 384 381 insert into sys.functions values (117, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 381
385 insert into sys.args values (31854, 117, 'res_0', 'int', 32, 0, 0, 0); 385 ! 382 insert into sys.args values (31851, 117, 'res_0', 'smallint', 16, 0, 0, 0); 382
386 insert into sys.args values (31855, 117, 'arg_1', 'int', 32, 0, 1, 1); 386 ! 383 insert into sys.args values (31852, 117, 'arg_1', 'smallint', 16, 0, 1, 1); 383
387 insert into sys.args values (31856, 117, 'arg_2', 'int', 32, 0, 1, 2); 387 ! 384 insert into sys.args values (31853, 117, 'arg_2', 'smallint', 16, 0, 1, 2); 384
388 insert into sys.functions values (118, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 388 385 insert into sys.functions values (118, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 385
389 insert into sys.args values (31857, 118, 'res_0', 'bigint', 64, 0, 0, 0); 389 ! 386 insert into sys.args values (31854, 118, 'res_0', 'int', 32, 0, 0, 0); 386
390 insert into sys.args values (31858, 118, 'arg_1', 'bigint', 64, 0, 1, 1); 390 ! 387 insert into sys.args values (31855, 118, 'arg_1', 'int', 32, 0, 1, 1); 387
391 insert into sys.args values (31859, 118, 'arg_2', 'bigint', 64, 0, 1, 2); 391 ! 388 insert into sys.args values (31856, 118, 'arg_2', 'int', 32, 0, 1, 2); 388
392 insert into sys.functions values (119, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 392 389 insert into sys.functions values (119, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 389
393 insert into sys.args values (31860, 119, 'res_0', 'decimal', 2, 0, 0, 0); 393 ! 390 insert into sys.args values (31857, 119, 'res_0', 'bigint', 64, 0, 0, 0); 390
394 insert into sys.args values (31861, 119, 'arg_1', 'decimal', 2, 0, 1, 1); 394 ! 391 insert into sys.args values (31858, 119, 'arg_1', 'bigint', 64, 0, 1, 1); 391
395 insert into sys.args values (31862, 119, 'arg_2', 'decimal', 2, 0, 1, 2); 395 ! 392 insert into sys.args values (31859, 119, 'arg_2', 'bigint', 64, 0, 1, 2); 392
396 insert into sys.functions values (120, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 396 393 insert into sys.functions values (120, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 393
397 insert into sys.args values (31863, 120, 'res_0', 'decimal', 4, 0, 0, 0); 397 ! 394 insert into sys.args values (31860, 120, 'res_0', 'decimal', 2, 0, 0, 0); 394
398 insert into sys.args values (31864, 120, 'arg_1', 'decimal', 4, 0, 1, 1); 398 ! 395 insert into sys.args values (31861, 120, 'arg_1', 'decimal', 2, 0, 1, 1); 395
399 insert into sys.args values (31865, 120, 'arg_2', 'decimal', 4, 0, 1, 2); 399 ! 396 insert into sys.args values (31862, 120, 'arg_2', 'decimal', 2, 0, 1, 2); 396
400 insert into sys.functions values (121, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 400 397 insert into sys.functions values (121, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 397
401 insert into sys.args values (31866, 121, 'res_0', 'decimal', 9, 0, 0, 0); 401 ! 398 insert into sys.args values (31863, 121, 'res_0', 'decimal', 4, 0, 0, 0); 398
402 insert into sys.args values (31867, 121, 'arg_1', 'decimal', 9, 0, 1, 1); 402 ! 399 insert into sys.args values (31864, 121, 'arg_1', 'decimal', 4, 0, 1, 1); 399
403 insert into sys.args values (31868, 121, 'arg_2', 'decimal', 9, 0, 1, 2); 403 ! 400 insert into sys.args values (31865, 121, 'arg_2', 'decimal', 4, 0, 1, 2); 400
404 insert into sys.functions values (122, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 404 401 insert into sys.functions values (122, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 401
405 insert into sys.args values (31869, 122, 'res_0', 'decimal', 18, 0, 0, 0); 405 ! 402 insert into sys.args values (31866, 122, 'res_0', 'decimal', 9, 0, 0, 0); 402
406 insert into sys.args values (31870, 122, 'arg_1', 'decimal', 18, 0, 1, 1); 406 ! 403 insert into sys.args values (31867, 122, 'arg_1', 'decimal', 9, 0, 1, 1); 403
407 insert into sys.args values (31871, 122, 'arg_2', 'decimal', 18, 0, 1, 2); 407 ! 404 insert into sys.args values (31868, 122, 'arg_2', 'decimal', 9, 0, 1, 2); 404
408 insert into sys.functions values (123, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 408 405 insert into sys.functions values (123, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 405
409 insert into sys.args values (31872, 123, 'res_0', 'real', 24, 0, 0, 0); 409 ! 406 insert into sys.args values (31869, 123, 'res_0', 'decimal', 18, 0, 0, 0); 406
410 insert into sys.args values (31873, 123, 'arg_1', 'real', 24, 0, 1, 1); 410 ! 407 insert into sys.args values (31870, 123, 'arg_1', 'decimal', 18, 0, 1, 1); 407
411 insert into sys.args values (31874, 123, 'arg_2', 'real', 24, 0, 1, 2); 411 ! 408 insert into sys.args values (31871, 123, 'arg_2', 'decimal', 18, 0, 1, 2); 408
412 insert into sys.functions values (124, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 412 409 insert into sys.functions values (124, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 409
413 insert into sys.args values (31875, 124, 'res_0', 'double', 53, 0, 0, 0); 413 ! 410 insert into sys.args values (31872, 124, 'res_0', 'real', 24, 0, 0, 0); 410
414 insert into sys.args values (31876, 124, 'arg_1', 'double', 53, 0, 1, 1); 414 ! 411 insert into sys.args values (31873, 124, 'arg_1', 'real', 24, 0, 1, 1); 411
415 insert into sys.args values (31877, 124, 'arg_2', 'double', 53, 0, 1, 2); 415 ! 412 insert into sys.args values (31874, 124, 'arg_2', 'real', 24, 0, 1, 2); 412
416 insert into sys.functions values (125, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 416 ! 413 insert into sys.functions values (125, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 413
417 insert into sys.args values (31878, 125, 'res_0', 'real', 24, 0, 0, 0); 417 ! 414 insert into sys.args values (31875, 125, 'res_0', 'double', 53, 0, 0, 0); 414
418 insert into sys.args values (31879, 125, 'arg_1', 'real', 24, 0, 1, 1); 418 ! 415 insert into sys.args values (31876, 125, 'arg_1', 'double', 53, 0, 1, 1); 415
insert into sys. + 416 insert into sys.args values (31877, 125, 'arg_2', 'double', 53, 0, 1, 2); 416
419 functions values (126, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 419 ! 417 insert into sys.functions values (126, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 417
420 insert into sys.args values (31880, 126, 'res_0', 'real', 24, 0, 0, 0); 420 ! 418 insert into sys.args values (31878, 126, 'res_0', 'real', 24, 0, 0, 0); 418
421 insert into sys.args values (31881, 126, 'arg_1', 'real', 24, 0, 1, 1); 421 ! 419 insert into sys.args values (31879, 126, 'arg_1', 'real', 24, 0, 1, 1); 419
422 insert into sys.functions values (127, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 422 ! 420 insert into sys.functions values (127, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 420
423 insert into sys.args values (31882, 127, 'res_0', 'double', 53, 0, 0, 0); 423 ! 421 insert into sys.args values (31880, 127, 'res_0', 'real', 24, 0, 0, 0); 421
424 insert into sys.args values (31883, 127, 'arg_1', 'double', 53, 0, 1, 1); 424 ! 422 insert into sys.args values (31881, 127, 'arg_1', 'real', 24, 0, 1, 1); 422
425 insert into sys.functions values (128, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 425 ! 423 insert into sys.functions values (128, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 423
426 insert into sys.args values (31884, 128, 'res_0', 'double', 53, 0, 0, 0); 426 ! 424 insert into sys.args values (31882, 128, 'res_0', 'double', 53, 0, 0, 0); 424
427 insert into sys.args values (31885, 128, 'arg_1', 'double', 53, 0, 1, 1); 427 ! 425 insert into sys.args values (31883, 128, 'arg_1', 'double', 53, 0, 1, 1); 425
428 insert into sys.functions values (129, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 428 ! 426 insert into sys.functions values (129, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 426
429 insert into sys.args values (31886, 129, 'res_0', 'month_interval', 32, 0, 0, 0); 429 ! 427 insert into sys.args values (31884, 129, 'res_0', 'double', 53, 0, 0, 0); 427
430 insert into sys.args values (31887, 129, 'arg_1', 'month_interval', 32, 0, 1, 1); 430 ! 428 insert into sys.args values (31885, 129, 'arg_1', 'double', 53, 0, 1, 1); 428
431 insert into sys.functions values (130, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 431 429 insert into sys.functions values (130, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 429
432 insert into sys.args values (31888, 130, 'res_0', 'sec_interval', 13, 0, 0, 0); 432 ! 430 insert into sys.args values (31886, 130, 'res_0', 'month_interval', 3, 0, 0, 0); 430
433 insert into sys.args values (31889, 130, 'arg_1', 'sec_interval', 13, 0, 1, 1); 433 ! 431 insert into sys.args values (31887, 130, 'arg_1', 'month_interval', 3, 0, 1, 1); 431
434 insert into sys.functions values (131, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 434 ! 432 insert into sys.functions values (131, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 432
435 insert into sys.args values (31890, 131, 'res_0', 'double', 53, 0, 0, 0); 435 ! 433 insert into sys.args values (31888, 131, 'res_0', 'day_interval', 4, 0, 0, 0); 433
436 insert into sys.args values (31891, 131, 'arg_1', 'double', 53, 0, 1, 1); 436 ! 434 insert into sys.args values (31889, 131, 'arg_1', 'day_interval', 4, 0, 1, 1); 434
437 insert into sys.functions values (132, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 437 ! 435 insert into sys.functions values (132, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 435
438 insert into sys.args values (31892, 132, 'res_0', 'double', 53, 0, 0, 0); 438 ! 436 insert into sys.args values (31890, 132, 'res_0', 'sec_interval', 13, 0, 0, 0); 436
439 insert into sys.args values (31893, 132, 'arg_1', 'tinyint', 8, 0, 1, 1); 439 ! 437 insert into sys.args values (31891, 132, 'arg_1', 'sec_interval', 13, 0, 1, 1); 437
440 insert into sys.functions values (133, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 440 438 insert into sys.functions values (133, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 438
441 insert into sys.args values (31894, 133, 'res_0', 'double', 53, 0, 0, 0); 441 ! 439 insert into sys.args values (31892, 133, 'res_0', 'double', 53, 0, 0, 0); 439
442 insert into sys.args values (31895, 133, 'arg_1', 'smallint', 16, 0, 1, 1); 442 ! 440 insert into sys.args values (31893, 133, 'arg_1', 'double', 53, 0, 1, 1); 440
443 insert into sys.functions values (134, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 443 441 insert into sys.functions values (134, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 441
444 insert into sys.args values (31896, 134, 'res_0', 'double', 53, 0, 0, 0); 444 ! 442 insert into sys.args values (31894, 134, 'res_0', 'double', 53, 0, 0, 0); 442
445 insert into sys.args values (31897, 134, 'arg_1', 'int', 32, 0, 1, 1); 445 ! 443 insert into sys.args values (31895, 134, 'arg_1', 'tinyint', 8, 0, 1, 1); 443
446 insert into sys.functions values (135, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 446 444 insert into sys.functions values (135, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 444
447 insert into sys.args values (31898, 135, 'res_0', 'double', 53, 0, 0, 0); 447 ! 445 insert into sys.args values (31896, 135, 'res_0', 'double', 53, 0, 0, 0); 445
448 insert into sys.args values (31899, 135, 'arg_1', 'bigint', 64, 0, 1, 1); 448 ! 446 insert into sys.args values (31897, 135, 'arg_1', 'smallint', 16, 0, 1, 1); 446
449 insert into sys.functions values (136, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 449 447 insert into sys.functions values (136, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 447
450 insert into sys.args values (31900, 136, 'res_0', 'double', 53, 0, 0, 0); 450 ! 448 insert into sys.args values (31898, 136, 'res_0', 'double', 53, 0, 0, 0); 448
451 insert into sys.args values (31901, 136, 'arg_1', 'real', 24, 0, 1, 1); 451 ! 449 insert into sys.args values (31899, 136, 'arg_1', 'int', 32, 0, 1, 1); 449
452 insert into sys.functions values (137, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 452 450 insert into sys.functions values (137, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 450
453 insert into sys.args values (31902, 137, 'res_0', 'decimal', 2, 0, 0, 0); 453 ! 451 insert into sys.args values (31900, 137, 'res_0', 'double', 53, 0, 0, 0); 451
454 insert into sys.args values (31903, 137, 'arg_1', 'decimal', 2, 0, 1, 1); 454 ! 452 insert into sys.args values (31901, 137, 'arg_1', 'bigint', 64, 0, 1, 1); 452
455 insert into sys.functions values (138, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 455 453 insert into sys.functions values (138, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 453
456 insert into sys.args values (31904, 138, 'res_0', 'decimal', 4, 0, 0, 0); 456 ! 454 insert into sys.args values (31902, 138, 'res_0', 'double', 53, 0, 0, 0); 454
457 insert into sys.args values (31905, 138, 'arg_1', 'decimal', 4, 0, 1, 1); 457 ! 455 insert into sys.args values (31903, 138, 'arg_1', 'real', 24, 0, 1, 1); 455
458 insert into sys.functions values (139, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 458 456 insert into sys.functions values (139, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 456
459 insert into sys.args values (31906, 139, 'res_0', 'decimal', 9, 0, 0, 0); 459 ! 457 insert into sys.args values (31904, 139, 'res_0', 'decimal', 2, 0, 0, 0); 457
460 insert into sys.args values (31907, 139, 'arg_1', 'decimal', 9, 0, 1, 1); 460 ! 458 insert into sys.args values (31905, 139, 'arg_1', 'decimal', 2, 0, 1, 1); 458
461 insert into sys.functions values (140, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 461 459 insert into sys.functions values (140, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 459
462 insert into sys.args values (31908, 140, 'res_0', 'decimal', 18, 0, 0, 0); 462 ! 460 insert into sys.args values (31906, 140, 'res_0', 'decimal', 4, 0, 0, 0); 460
463 insert into sys.args values (31909, 140, 'arg_1', 'decimal', 18, 0, 1, 1); 463 ! 461 insert into sys.args values (31907, 140, 'arg_1', 'decimal', 4, 0, 1, 1); 461
464 insert into sys.functions values (141, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 464 462 insert into sys.functions values (141, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 462
465 insert into sys.args values (31910, 141, 'res_0', 'month_interval', 32, 0, 0, 0); 465 ! 463 insert into sys.args values (31908, 141, 'res_0', 'decimal', 9, 0, 0, 0); 463
466 insert into sys.args values (31911, 141, 'arg_1', 'month_interval', 32, 0, 1, 1); 466 ! 464 insert into sys.args values (31909, 141, 'arg_1', 'decimal', 9, 0, 1, 1); 464
467 insert into sys.functions values (142, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 467 465 insert into sys.functions values (142, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 465
468 insert into sys.args values (31912, 142, 'res_0', 'sec_interval', 13, 0, 0, 0); 468 ! 466 insert into sys.args values (31910, 142, 'res_0', 'decimal', 18, 0, 0, 0); 466
469 insert into sys.args values (31913, 142, 'arg_1', 'sec_interval', 13, 0, 1, 1); 469 ! 467 insert into sys.args values (31911, 142, 'arg_1', 'decimal', 18, 0, 1, 1); 467
470 insert into sys.functions values (143, 'count_no_nil', 'count_no_nil', 'aggr', 0, 3, false, false, false, 2000, true, true); 470 ! 468 insert into sys.functions values (143, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 468
471 insert into sys.args values (31914, 143, 'res_0', 'bigint', 64, 0, 0, 0); 471 ! 469 insert into sys.args values (31912, 143, 'res_0', 'month_interval', 3, 0, 0, 0); 469
insert into sys. + 470 insert into sys.args values (31913, 143, 'arg_1', 'month_interval', 3, 0, 1, 1); 470
472 functions values (144, 'count', 'count', 'aggr', 0, 3, false, false, false, 2000, true, true); 472 ! 471 insert into sys.functions values (144, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 471
473 insert into sys.args values (31915, 144, 'res_0', 'bigint', 64, 0, 0, 0); 473 ! 472 insert into sys.args values (31914, 144, 'res_0', 'day_interval', 4, 0, 0, 0); 472
474 insert into sys.args values (31916, 144, 'arg_1', 'any', 0, 0, 1, 1); 474 ! 473 insert into sys.args values (31915, 144, 'arg_1', 'day_interval', 4, 0, 1, 1); 473
475 insert into sys.functions values (145, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 475 ! 474 insert into sys.functions values (145, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 474
476 insert into sys.args values (31917, 145, 'res_0', 'char', 0, 0, 0, 0); 476 ! 475 insert into sys.args values (31916, 145, 'res_0', 'sec_interval', 13, 0, 0, 0); 475
477 insert into sys.args values (31918, 145, 'arg_1', 'char', 0, 0, 1, 1); 477 ! 476 insert into sys.args values (31917, 145, 'arg_1', 'sec_interval', 13, 0, 1, 1); 476
478 insert into sys.functions values (146, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 478 ! 477 insert into sys.functions values (146, 'count_no_nil', 'count_no_nil', 'aggr', 0, 3, false, false, false, 2000, true, true); 477
479 insert into sys.args values (31919, 146, 'res_0', 'char', 0, 0, 0, 0); 479 -
480 insert into sys.args values (31920, 146, 'arg_1', 'char', 0, 0, 1, 1); 480 ! 478 insert into sys.args values (31918, 146, 'res_0', 'bigint', 64, 0, 0, 0); 478
481 insert into sys.args values (31921, 146, 'arg_2', 'char', 0, 0, 1, 2); 481 ! 479 insert into sys.functions values (147, 'count', 'count', 'aggr', 0, 3, false, false, false, 2000, true, true); 479
482 insert into sys.functions values (147, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 482 -
483 insert into sys.args values (31922, 147, 'res_0', 'varchar', 0, 0, 0, 0); 483 ! 480 insert into sys.args values (31919, 147, 'res_0', 'bigint', 64, 0, 0, 0); 480
484 insert into sys.args values (31923, 147, 'arg_1', 'varchar', 0, 0, 1, 1); 484 ! 481 insert into sys.args values (31920, 147, 'arg_1', 'any', 0, 0, 1, 1); 481
485 insert into sys.functions values (148, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 485 482 insert into sys.functions values (148, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 482
486 insert into sys.args values (31924, 148, 'res_0', 'varchar', 0, 0, 0, 0); 486 ! 483 insert into sys.args values (31921, 148, 'res_0', 'char', 0, 0, 0, 0); 483
487 insert into sys.args values (31925, 148, 'arg_1', 'varchar', 0, 0, 1, 1); 487 ! 484 insert into sys.args values (31922, 148, 'arg_1', 'char', 0, 0, 1, 1); 484
+ 485 insert into sys.functions values (149, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 485
488 insert into sys.args values (31926, 148, 'arg_2', 'varchar', 0, 0, 1, 2); 488 ! 486 insert into sys.args values (31923, 149, 'res_0', 'char', 0, 0, 0, 0); 486
489 insert into sys.functions values (149, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 489 -
490 insert into sys.args values (31927, 149, 'res_0', 'clob', 0, 0, 0, 0); 490 ! 487 insert into sys.args values (31924, 149, 'arg_1', 'char', 0, 0, 1, 1); 487
491 insert into sys.args values (31928, 149, 'arg_1', 'clob', 0, 0, 1, 1); 491 ! 488 insert into sys.args values (31925, 149, 'arg_2', 'char', 0, 0, 1, 2); 488
492 insert into sys.functions values (150, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 492 489 insert into sys.functions values (150, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 489
493 insert into sys.args values (31929, 150, 'res_0', 'clob', 0, 0, 0, 0); 493 ! 490 insert into sys.args values (31926, 150, 'res_0', 'varchar', 0, 0, 0, 0); 490
494 insert into sys.args values (31930, 150, 'arg_1', 'clob', 0, 0, 1, 1); 494 ! 491 insert into sys.args values (31927, 150, 'arg_1', 'varchar', 0, 0, 1, 1); 491
495 insert into sys.args values (31931, 150, 'arg_2', 'clob', 0, 0, 1, 2); 495 ! 492 insert into sys.functions values (151, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 492
496 insert into sys.functions values (151, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 496 ! 493 insert into sys.args values (31928, 151, 'res_0', 'varchar', 0, 0, 0, 0); 493
497 insert into sys.args values (31932, 151, 'res_0', 'boolean', 1, 0, 0, 0); 497 ! 494 insert into sys.args values (31929, 151, 'arg_1', 'varchar', 0, 0, 1, 1); 494
498 insert into sys.args values (31933, 151, 'arg_1', 'any', 0, 0, 1, 1); 498 ! 495 insert into sys.args values (31930, 151, 'arg_2', 'varchar', 0, 0, 1, 2); 495
499 insert into sys.functions values (152, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 499 ! 496 insert into sys.functions values (152, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 496
500 insert into sys.args values (31934, 152, 'res_0', 'boolean', 1, 0, 0, 0); 500 ! 497 insert into sys.args values (31931, 152, 'res_0', 'clob', 0, 0, 0, 0); 497
501 insert into sys.args values (31935, 152, 'arg_1', 'boolean', 1, 0, 1, 1); 501 ! 498 insert into sys.args values (31932, 152, 'arg_1', 'clob', 0, 0, 1, 1); 498
502 insert into sys.args values (31936, 152, 'arg_2', 'any', 0, 0, 1, 2); 502 ! 499 insert into sys.functions values (153, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 499
503 insert into sys.functions values (153, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 503 ! 500 insert into sys.args values (31933, 153, 'res_0', 'clob', 0, 0, 0, 0); 500
504 insert into sys.args values (31937, 153, 'res_0', 'bigint', 64, 0, 0, 0); 504 ! 501 insert into sys.args values (31934, 153, 'arg_1', 'clob', 0, 0, 1, 1); 501
505 insert into sys.args values (31938, 153, 'arg_1', 'any', 0, 0, 1, 1); 505 ! 502 insert into sys.args values (31935, 153, 'arg_2', 'clob', 0, 0, 1, 2); 502
506 insert into sys.args values (31939, 153, 'arg_2', 'int', 32, 0, 1, 2); 506 ! 503 insert into sys.functions values (154, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 503
507 insert into sys.args values (31940, 153, 'arg_3', 'int', 32, 0, 1, 3); 507 ! 504 insert into sys.args values (31936, 154, 'res_0', 'boolean', 1, 0, 0, 0); 504
508 insert into sys.args values (31941, 153, 'arg_4', 'int', 32, 0, 1, 4); 508 ! 505 insert into sys.args values (31937, 154, 'arg_1', 'any', 0, 0, 1, 1); 505
509 insert into sys.args values (31942, 153, 'arg_5', 'tinyint', 8, 0, 1, 5); 509 ! 506 insert into sys.functions values (155, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 506
510 insert into sys.functions values (154, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 510 -
511 insert into sys.args values (31943, 154, 'res_0', 'bigint', 64, 0, 0, 0); 511 ! 507 insert into sys.args values (31938, 155, 'res_0', 'boolean', 1, 0, 0, 0); 507
512 insert into sys.args values (31944, 154, 'arg_1', 'boolean', 1, 0, 1, 1); 512 ! 508 insert into sys.args values (31939, 155, 'arg_1', 'boolean', 1, 0, 1, 1); 508
513 insert into sys.args values (31945, 154, 'arg_2', 'any', 0, 0, 1, 2); 513 ! 509 insert into sys.args values (31940, 155, 'arg_2', 'any', 0, 0, 1, 2); 509
514 insert into sys.args values (31946, 154, 'arg_3', 'int', 32, 0, 1, 3); 514 -
515 insert into sys.args values (31947, 154, 'arg_4', 'int', 32, 0, 1, 4); 515 -
516 insert into sys.args values (31948, 154, 'arg_5', 'int', 32, 0, 1, 5); 516 -
517 insert into sys.args values (31949, 154, 'arg_6', 'tinyint', 8, 0, 1, 6); 517 -
518 insert into sys.functions values (155, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 518 -
519 insert into sys.args values (31950, 155, 'res_0', 'bigint', 64, 0, 0, 0); 519 -
520 insert into sys.args values (31951, 155, 'arg_1', 'any', 0, 0, 1, 1); 520 -
521 insert into sys.args values (31952, 155, 'arg_2', 'int', 32, 0, 1, 2); 521 -
522 insert into sys.args values (31953, 155, 'arg_3', 'int', 32, 0, 1, 3); 522 -
523 insert into sys.args values (31954, 155, 'arg_4', 'int', 32, 0, 1, 4); 523 -
524 insert into sys.args values (31955, 155, 'arg_5', 'smallint', 16, 0, 1, 5); 524 -
525 insert into sys.functions values (156, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 525 510 insert into sys.functions values (156, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 510
526 insert into sys.args values (31956, 156, 'res_0', 'bigint', 64, 0, 0, 0); 526 ! 511 insert into sys.args values (31941, 156, 'res_0', 'bigint', 64, 0, 0, 0); 511
527 insert into sys.args values (31957, 156, 'arg_1', 'boolean', 1, 0, 1, 1); 527 ! 512 insert into sys.args values (31942, 156, 'arg_1', 'any', 0, 0, 1, 1); 512
528 insert into sys.args values (31958, 156, 'arg_2', 'any', 0, 0, 1, 2); 528 ! 513 insert into sys.args values (31943, 156, 'arg_2', 'int', 32, 0, 1, 2); 513
529 insert into sys.args values (31959, 156, 'arg_3', 'int', 32, 0, 1, 3); 529 ! 514 insert into sys.args values (31944, 156, 'arg_3', 'int', 32, 0, 1, 3); 514
530 insert into sys.args values (31960, 156, 'arg_4', 'int', 32, 0, 1, 4); 530 ! 515 insert into sys.args values (31945, 156, 'arg_4', 'int', 32, 0, 1, 4); 515
531 insert into sys.args values (31961, 156, 'arg_5', 'int', 32, 0, 1, 5); 531 ! 516 insert into sys.args values (31946, 156, 'arg_5', 'tinyint', 8, 0, 1, 5); 516
532 insert into sys.args values (31962, 156, 'arg_6', 'smallint', 16, 0, 1, 6); 532 -
533 insert into sys.functions values (157, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 533 517 insert into sys.functions values (157, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 517
534 insert into sys.args values (31963, 157, 'res_0', 'bigint', 64, 0, 0, 0); 534 ! 518 insert into sys.args values (31947, 157, 'res_0', 'bigint', 64, 0, 0, 0); 518
535 insert into sys.args values (31964, 157, 'arg_1', 'any', 0, 0, 1, 1); 535 ! 519 insert into sys.args values (31948, 157, 'arg_1', 'boolean', 1, 0, 1, 1); 519
536 insert into sys.args values (31965, 157, 'arg_2', 'int', 32, 0, 1, 2); 536 ! 520 insert into sys.args values (31949, 157, 'arg_2', 'any', 0, 0, 1, 2); 520
537 insert into sys.args values (31966, 157, 'arg_3', 'int', 32, 0, 1, 3); 537 ! 521 insert into sys.args values (31950, 157, 'arg_3', 'int', 32, 0, 1, 3); 521
538 insert into sys.args values (31967, 157, 'arg_4', 'int', 32, 0, 1, 4); 538 ! 522 insert into sys.args values (31951, 157, 'arg_4', 'int', 32, 0, 1, 4); 522
539 insert into sys.args values (31968, 157, 'arg_5', 'int', 32, 0, 1, 5); 539 ! 523 insert into sys.args values (31952, 157, 'arg_5', 'int', 32, 0, 1, 5); 523
+ 524 insert into sys.args values (31953, 157, 'arg_6', 'tinyint', 8, 0, 1, 6); 524
540 insert into sys.functions values (158, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 540 525 insert into sys.functions values (158, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 525
541 insert into sys.args values (31969, 158, 'res_0', 'bigint', 64, 0, 0, 0); 541 ! 526 insert into sys.args values (31954, 158, 'res_0', 'bigint', 64, 0, 0, 0); 526
542 insert into sys.args values (31970, 158, 'arg_1', 'boolean', 1, 0, 1, 1); 542 ! 527 insert into sys.args values (31955, 158, 'arg_1', 'any', 0, 0, 1, 1); 527
543 insert into sys.args values (31971, 158, 'arg_2', 'any', 0, 0, 1, 2); 543 ! 528 insert into sys.args values (31956, 158, 'arg_2', 'int', 32, 0, 1, 2); 528
544 insert into sys.args values (31972, 158, 'arg_3', 'int', 32, 0, 1, 3); 544 ! 529 insert into sys.args values (31957, 158, 'arg_3', 'int', 32, 0, 1, 3); 529
545 insert into sys.args values (31973, 158, 'arg_4', 'int', 32, 0, 1, 4); 545 ! 530 insert into sys.args values (31958, 158, 'arg_4', 'int', 32, 0, 1, 4); 530
546 insert into sys.args values (31974, 158, 'arg_5', 'int', 32, 0, 1, 5); 546 ! 531 insert into sys.args values (31959, 158, 'arg_5', 'smallint', 16, 0, 1, 5); 531
547 insert into sys.args values (31975, 158, 'arg_6', 'int', 32, 0, 1, 6); 547 -
548 insert into sys.functions values (159, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 548 532 insert into sys.functions values (159, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 532
549 insert into sys.args values (31976, 159, 'res_0', 'bigint', 64, 0, 0, 0); 549 ! 533 insert into sys.args values (31960, 159, 'res_0', 'bigint', 64, 0, 0, 0); 533
550 insert into sys.args values (31977, 159, 'arg_1', 'any', 0, 0, 1, 1); 550 ! 534 insert into sys.args values (31961, 159, 'arg_1', 'boolean', 1, 0, 1, 1); 534
551 insert into sys.args values (31978, 159, 'arg_2', 'int', 32, 0, 1, 2); 551 ! 535 insert into sys.args values (31962, 159, 'arg_2', 'any', 0, 0, 1, 2); 535
552 insert into sys.args values (31979, 159, 'arg_3', 'int', 32, 0, 1, 3); 552 ! 536 insert into sys.args values (31963, 159, 'arg_3', 'int', 32, 0, 1, 3); 536
553 insert into sys.args values (31980, 159, 'arg_4', 'int', 32, 0, 1, 4); 553 ! 537 insert into sys.args values (31964, 159, 'arg_4', 'int', 32, 0, 1, 4); 537
554 insert into sys.args values (31981, 159, 'arg_5', 'bigint', 64, 0, 1, 5); 554 ! 538 insert into sys.args values (31965, 159, 'arg_5', 'int', 32, 0, 1, 5); 538
+ 539 insert into sys.args values (31966, 159, 'arg_6', 'smallint', 16, 0, 1, 6); 539
555 insert into sys.functions values (160, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 555 540 insert into sys.functions values (160, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 540
556 insert into sys.args values (31982, 160, 'res_0', 'bigint', 64, 0, 0, 0); 556 ! 541 insert into sys.args values (31967, 160, 'res_0', 'bigint', 64, 0, 0, 0); 541
557 insert into sys.args values (31983, 160, 'arg_1', 'boolean', 1, 0, 1, 1); 557 ! 542 insert into sys.args values (31968, 160, 'arg_1', 'any', 0, 0, 1, 1); 542
558 insert into sys.args values (31984, 160, 'arg_2', 'any', 0, 0, 1, 2); 558 ! 543 insert into sys.args values (31969, 160, 'arg_2', 'int', 32, 0, 1, 2); 543
559 insert into sys.args values (31985, 160, 'arg_3', 'int', 32, 0, 1, 3); 559 ! 544 insert into sys.args values (31970, 160, 'arg_3', 'int', 32, 0, 1, 3); 544
560 insert into sys.args values (31986, 160, 'arg_4', 'int', 32, 0, 1, 4); 560 ! 545 insert into sys.args values (31971, 160, 'arg_4', 'int', 32, 0, 1, 4); 545
561 insert into sys.args values (31987, 160, 'arg_5', 'int', 32, 0, 1, 5); 561 ! 546 insert into sys.args values (31972, 160, 'arg_5', 'int', 32, 0, 1, 5); 546
562 insert into sys.args values (31988, 160, 'arg_6', 'bigint', 64, 0, 1, 6); 562 -
563 insert into sys.functions values (161, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 563 547 insert into sys.functions values (161, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 547
564 insert into sys.args values (31989, 161, 'res_0', 'bigint', 64, 0, 0, 0); 564 ! 548 insert into sys.args values (31973, 161, 'res_0', 'bigint', 64, 0, 0, 0); 548
565 insert into sys.args values (31990, 161, 'arg_1', 'any', 0, 0, 1, 1); 565 ! 549 insert into sys.args values (31974, 161, 'arg_1', 'boolean', 1, 0, 1, 1); 549
566 insert into sys.args values (31991, 161, 'arg_2', 'int', 32, 0, 1, 2); 566 ! 550 insert into sys.args values (31975, 161, 'arg_2', 'any', 0, 0, 1, 2); 550
567 insert into sys.args values (31992, 161, 'arg_3', 'int', 32, 0, 1, 3); 567 ! 551 insert into sys.args values (31976, 161, 'arg_3', 'int', 32, 0, 1, 3); 551
568 insert into sys.args values (31993, 161, 'arg_4', 'int', 32, 0, 1, 4); 568 ! 552 insert into sys.args values (31977, 161, 'arg_4', 'int', 32, 0, 1, 4); 552
569 insert into sys.args values (31994, 161, 'arg_5', 'real', 24, 0, 1, 5); 569 ! 553 insert into sys.args values (31978, 161, 'arg_5', 'int', 32, 0, 1, 5); 553
+ 554 insert into sys.args values (31979, 161, 'arg_6', 'int', 32, 0, 1, 6); 554
570 insert into sys.functions values (162, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 570 555 insert into sys.functions values (162, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 555
571 insert into sys.args values (31995, 162, 'res_0', 'bigint', 64, 0, 0, 0); 571 ! 556 insert into sys.args values (31980, 162, 'res_0', 'bigint', 64, 0, 0, 0); 556
572 insert into sys.args values (31996, 162, 'arg_1', 'boolean', 1, 0, 1, 1); 572 ! 557 insert into sys.args values (31981, 162, 'arg_1', 'any', 0, 0, 1, 1); 557
573 insert into sys.args values (31997, 162, 'arg_2', 'any', 0, 0, 1, 2); 573 ! 558 insert into sys.args values (31982, 162, 'arg_2', 'int', 32, 0, 1, 2); 558
574 insert into sys.args values (31998, 162, 'arg_3', 'int', 32, 0, 1, 3); 574 ! 559 insert into sys.args values (31983, 162, 'arg_3', 'int', 32, 0, 1, 3); 559
575 insert into sys.args values (31999, 162, 'arg_4', 'int', 32, 0, 1, 4); 575 ! 560 insert into sys.args values (31984, 162, 'arg_4', 'int', 32, 0, 1, 4); 560
576 insert into sys.args values (32000, 162, 'arg_5', 'int', 32, 0, 1, 5); 576 ! 561 insert into sys.args values (31985, 162, 'arg_5', 'bigint', 64, 0, 1, 5); 561
577 insert into sys.args values (32001, 162, 'arg_6', 'real', 24, 0, 1, 6); 577 -
578 insert into sys.functions values (163, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 578 562 insert into sys.functions values (163, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 562
579 insert into sys.args values (32002, 163, 'res_0', 'bigint', 64, 0, 0, 0); 579 ! 563 insert into sys.args values (31986, 163, 'res_0', 'bigint', 64, 0, 0, 0); 563
580 insert into sys.args values (32003, 163, 'arg_1', 'any', 0, 0, 1, 1); 580 ! 564 insert into sys.args values (31987, 163, 'arg_1', 'boolean', 1, 0, 1, 1); 564
581 insert into sys.args values (32004, 163, 'arg_2', 'int', 32, 0, 1, 2); 581 ! 565 insert into sys.args values (31988, 163, 'arg_2', 'any', 0, 0, 1, 2); 565
582 insert into sys.args values (32005, 163, 'arg_3', 'int', 32, 0, 1, 3); 582 ! 566 insert into sys.args values (31989, 163, 'arg_3', 'int', 32, 0, 1, 3); 566
583 insert into sys.args values (32006, 163, 'arg_4', 'int', 32, 0, 1, 4); 583 ! 567 insert into sys.args values (31990, 163, 'arg_4', 'int', 32, 0, 1, 4); 567
584 insert into sys.args values (32007, 163, 'arg_5', 'double', 53, 0, 1, 5); 584 ! 568 insert into sys.args values (31991, 163, 'arg_5', 'int', 32, 0, 1, 5); 568
+ 569 insert into sys.args values (31992, 163, 'arg_6', 'bigint', 64, 0, 1, 6); 569
585 insert into sys.functions values (164, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 585 570 insert into sys.functions values (164, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 570
586 insert into sys.args values (32008, 164, 'res_0', 'bigint', 64, 0, 0, 0); 586 ! 571 insert into sys.args values (31993, 164, 'res_0', 'bigint', 64, 0, 0, 0); 571
587 insert into sys.args values (32009, 164, 'arg_1', 'boolean', 1, 0, 1, 1); 587 ! 572 insert into sys.args values (31994, 164, 'arg_1', 'any', 0, 0, 1, 1); 572
588 insert into sys.args values (32010, 164, 'arg_2', 'any', 0, 0, 1, 2); 588 ! 573 insert into sys.args values (31995, 164, 'arg_2', 'int', 32, 0, 1, 2); 573
589 insert into sys.args values (32011, 164, 'arg_3', 'int', 32, 0, 1, 3); 589 ! 574 insert into sys.args values (31996, 164, 'arg_3', 'int', 32, 0, 1, 3); 574
590 insert into sys.args values (32012, 164, 'arg_4', 'int', 32, 0, 1, 4); 590 ! 575 insert into sys.args values (31997, 164, 'arg_4', 'int', 32, 0, 1, 4); 575
591 insert into sys.args values (32013, 164, 'arg_5', 'int', 32, 0, 1, 5); 591 ! 576 insert into sys.args values (31998, 164, 'arg_5', 'real', 24, 0, 1, 5); 576
592 insert into sys.args values (32014, 164, 'arg_6', 'double', 53, 0, 1, 6); 592 -
593 insert into sys.functions values (165, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 593 577 insert into sys.functions values (165, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 577
594 insert into sys.args values (32015, 165, 'res_0', 'bigint', 64, 0, 0, 0); 594 ! 578 insert into sys.args values (31999, 165, 'res_0', 'bigint', 64, 0, 0, 0); 578
595 insert into sys.args values (32016, 165, 'arg_1', 'any', 0, 0, 1, 1); 595 ! 579 insert into sys.args values (32000, 165, 'arg_1', 'boolean', 1, 0, 1, 1); 579
596 insert into sys.args values (32017, 165, 'arg_2', 'int', 32, 0, 1, 2); 596 ! 580 insert into sys.args values (32001, 165, 'arg_2', 'any', 0, 0, 1, 2); 580
597 insert into sys.args values (32018, 165, 'arg_3', 'int', 32, 0, 1, 3); 597 ! 581 insert into sys.args values (32002, 165, 'arg_3', 'int', 32, 0, 1, 3); 581
598 insert into sys.args values (32019, 165, 'arg_4', 'int', 32, 0, 1, 4); 598 ! 582 insert into sys.args values (32003, 165, 'arg_4', 'int', 32, 0, 1, 4); 582
599 insert into sys.args values (32020, 165, 'arg_5', 'decimal', 2, 0, 1, 5); 599 ! 583 insert into sys.args values (32004, 165, 'arg_5', 'int', 32, 0, 1, 5); 583
+ 584 insert into sys.args values (32005, 165, 'arg_6', 'real', 24, 0, 1, 6); 584
600 insert into sys.functions values (166, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 600 585 insert into sys.functions values (166, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 585
601 insert into sys.args values (32021, 166, 'res_0', 'bigint', 64, 0, 0, 0); 601 ! 586 insert into sys.args values (32006, 166, 'res_0', 'bigint', 64, 0, 0, 0); 586
602 insert into sys.args values (32022, 166, 'arg_1', 'boolean', 1, 0, 1, 1); 602 ! 587 insert into sys.args values (32007, 166, 'arg_1', 'any', 0, 0, 1, 1); 587
603 insert into sys.args values (32023, 166, 'arg_2', 'any', 0, 0, 1, 2); 603 ! 588 insert into sys.args values (32008, 166, 'arg_2', 'int', 32, 0, 1, 2); 588
604 insert into sys.args values (32024, 166, 'arg_3', 'int', 32, 0, 1, 3); 604 ! 589 insert into sys.args values (32009, 166, 'arg_3', 'int', 32, 0, 1, 3); 589
605 insert into sys.args values (32025, 166, 'arg_4', 'int', 32, 0, 1, 4); 605 ! 590 insert into sys.args values (32010, 166, 'arg_4', 'int', 32, 0, 1, 4); 590
606 insert into sys.args values (32026, 166, 'arg_5', 'int', 32, 0, 1, 5); 606 ! 591 insert into sys.args values (32011, 166, 'arg_5', 'double', 53, 0, 1, 5); 591
607 insert into sys.args values (32027, 166, 'arg_6', 'decimal', 2, 0, 1, 6); 607 -
608 insert into sys.functions values (167, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 608 592 insert into sys.functions values (167, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 592
609 insert into sys.args values (32028, 167, 'res_0', 'bigint', 64, 0, 0, 0); 609 ! 593 insert into sys.args values (32012, 167, 'res_0', 'bigint', 64, 0, 0, 0); 593
610 insert into sys.args values (32029, 167, 'arg_1', 'any', 0, 0, 1, 1); 610 ! 594 insert into sys.args values (32013, 167, 'arg_1', 'boolean', 1, 0, 1, 1); 594
611 insert into sys.args values (32030, 167, 'arg_2', 'int', 32, 0, 1, 2); 611 ! 595 insert into sys.args values (32014, 167, 'arg_2', 'any', 0, 0, 1, 2); 595
612 insert into sys.args values (32031, 167, 'arg_3', 'int', 32, 0, 1, 3); 612 ! 596 insert into sys.args values (32015, 167, 'arg_3', 'int', 32, 0, 1, 3); 596
613 insert into sys.args values (32032, 167, 'arg_4', 'int', 32, 0, 1, 4); 613 ! 597 insert into sys.args values (32016, 167, 'arg_4', 'int', 32, 0, 1, 4); 597
614 insert into sys.args values (32033, 167, 'arg_5', 'decimal', 4, 0, 1, 5); 614 ! 598 insert into sys.args values (32017, 167, 'arg_5', 'int', 32, 0, 1, 5); 598
+ 599 insert into sys.args values (32018, 167, 'arg_6', 'double', 53, 0, 1, 6); 599
615 insert into sys.functions values (168, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 615 600 insert into sys.functions values (168, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 600
616 insert into sys.args values (32034, 168, 'res_0', 'bigint', 64, 0, 0, 0); 616 ! 601 insert into sys.args values (32019, 168, 'res_0', 'bigint', 64, 0, 0, 0); 601
617 insert into sys.args values (32035, 168, 'arg_1', 'boolean', 1, 0, 1, 1); 617 ! 602 insert into sys.args values (32020, 168, 'arg_1', 'any', 0, 0, 1, 1); 602
618 insert into sys.args values (32036, 168, 'arg_2', 'any', 0, 0, 1, 2); 618 ! 603 insert into sys.args values (32021, 168, 'arg_2', 'int', 32, 0, 1, 2); 603
619 insert into sys.args values (32037, 168, 'arg_3', 'int', 32, 0, 1, 3); 619 ! 604 insert into sys.args values (32022, 168, 'arg_3', 'int', 32, 0, 1, 3); 604
620 insert into sys.args values (32038, 168, 'arg_4', 'int', 32, 0, 1, 4); 620 ! 605 insert into sys.args values (32023, 168, 'arg_4', 'int', 32, 0, 1, 4); 605
621 insert into sys.args values (32039, 168, 'arg_5', 'int', 32, 0, 1, 5); 621 ! 606 insert into sys.args values (32024, 168, 'arg_5', 'decimal', 2, 0, 1, 5); 606
622 insert into sys.args values (32040, 168, 'arg_6', 'decimal', 4, 0, 1, 6); 622 -
623 insert into sys.functions values (169, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 623 607 insert into sys.functions values (169, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 607
624 insert into sys.args values (32041, 169, 'res_0', 'bigint', 64, 0, 0, 0); 624 ! 608 insert into sys.args values (32025, 169, 'res_0', 'bigint', 64, 0, 0, 0); 608
625 insert into sys.args values (32042, 169, 'arg_1', 'any', 0, 0, 1, 1); 625 ! 609 insert into sys.args values (32026, 169, 'arg_1', 'boolean', 1, 0, 1, 1); 609
626 insert into sys.args values (32043, 169, 'arg_2', 'int', 32, 0, 1, 2); 626 ! 610 insert into sys.args values (32027, 169, 'arg_2', 'any', 0, 0, 1, 2); 610
627 insert into sys.args values (32044, 169, 'arg_3', 'int', 32, 0, 1, 3); 627 ! 611 insert into sys.args values (32028, 169, 'arg_3', 'int', 32, 0, 1, 3); 611
628 insert into sys.args values (32045, 169, 'arg_4', 'int', 32, 0, 1, 4); 628 ! 612 insert into sys.args values (32029, 169, 'arg_4', 'int', 32, 0, 1, 4); 612
629 insert into sys.args values (32046, 169, 'arg_5', 'decimal', 9, 0, 1, 5); 629 ! 613 insert into sys.args values (32030, 169, 'arg_5', 'int', 32, 0, 1, 5); 613
+ 614 insert into sys.args values (32031, 169, 'arg_6', 'decimal', 2, 0, 1, 6); 614
630 insert into sys.functions values (170, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 630 615 insert into sys.functions values (170, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 615
631 insert into sys.args values (32047, 170, 'res_0', 'bigint', 64, 0, 0, 0); 631 ! 616 insert into sys.args values (32032, 170, 'res_0', 'bigint', 64, 0, 0, 0); 616
632 insert into sys.args values (32048, 170, 'arg_1', 'boolean', 1, 0, 1, 1); 632 ! 617 insert into sys.args values (32033, 170, 'arg_1', 'any', 0, 0, 1, 1); 617
633 insert into sys.args values (32049, 170, 'arg_2', 'any', 0, 0, 1, 2); 633 ! 618 insert into sys.args values (32034, 170, 'arg_2', 'int', 32, 0, 1, 2); 618
634 insert into sys.args values (32050, 170, 'arg_3', 'int', 32, 0, 1, 3); 634 ! 619 insert into sys.args values (32035, 170, 'arg_3', 'int', 32, 0, 1, 3); 619
635 insert into sys.args values (32051, 170, 'arg_4', 'int', 32, 0, 1, 4); 635 ! 620 insert into sys.args values (32036, 170, 'arg_4', 'int', 32, 0, 1, 4); 620
636 insert into sys.args values (32052, 170, 'arg_5', 'int', 32, 0, 1, 5); 636 ! 621 insert into sys.args values (32037, 170, 'arg_5', 'decimal', 4, 0, 1, 5); 621
637 insert into sys.args values (32053, 170, 'arg_6', 'decimal', 9, 0, 1, 6); 637 -
638 insert into sys.functions values (171, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 638 622 insert into sys.functions values (171, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 622
639 insert into sys.args values (32054, 171, 'res_0', 'bigint', 64, 0, 0, 0); 639 ! 623 insert into sys.args values (32038, 171, 'res_0', 'bigint', 64, 0, 0, 0); 623
640 insert into sys.args values (32055, 171, 'arg_1', 'any', 0, 0, 1, 1); 640 ! 624 insert into sys.args values (32039, 171, 'arg_1', 'boolean', 1, 0, 1, 1); 624
641 insert into sys.args values (32056, 171, 'arg_2', 'int', 32, 0, 1, 2); 641 ! 625 insert into sys.args values (32040, 171, 'arg_2', 'any', 0, 0, 1, 2); 625
642 insert into sys.args values (32057, 171, 'arg_3', 'int', 32, 0, 1, 3); 642 ! 626 insert into sys.args values (32041, 171, 'arg_3', 'int', 32, 0, 1, 3); 626
643 insert into sys.args values (32058, 171, 'arg_4', 'int', 32, 0, 1, 4); 643 ! 627 insert into sys.args values (32042, 171, 'arg_4', 'int', 32, 0, 1, 4); 627
644 insert into sys.args values (32059, 171, 'arg_5', 'decimal', 18, 0, 1, 5); 644 ! 628 insert into sys.args values (32043, 171, 'arg_5', 'int', 32, 0, 1, 5); 628
+ 629 insert into sys.args values (32044, 171, 'arg_6', 'decimal', 4, 0, 1, 6); 629
645 insert into sys.functions values (172, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 645 630 insert into sys.functions values (172, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 630
646 insert into sys.args values (32060, 172, 'res_0', 'bigint', 64, 0, 0, 0); 646 ! 631 insert into sys.args values (32045, 172, 'res_0', 'bigint', 64, 0, 0, 0); 631
647 insert into sys.args values (32061, 172, 'arg_1', 'boolean', 1, 0, 1, 1); 647 ! 632 insert into sys.args values (32046, 172, 'arg_1', 'any', 0, 0, 1, 1); 632
648 insert into sys.args values (32062, 172, 'arg_2', 'any', 0, 0, 1, 2); 648 ! 633 insert into sys.args values (32047, 172, 'arg_2', 'int', 32, 0, 1, 2); 633
649 insert into sys.args values (32063, 172, 'arg_3', 'int', 32, 0, 1, 3); 649 ! 634 insert into sys.args values (32048, 172, 'arg_3', 'int', 32, 0, 1, 3); 634
650 insert into sys.args values (32064, 172, 'arg_4', 'int', 32, 0, 1, 4); 650 ! 635 insert into sys.args values (32049, 172, 'arg_4', 'int', 32, 0, 1, 4); 635
651 insert into sys.args values (32065, 172, 'arg_5', 'int', 32, 0, 1, 5); 651 ! 636 insert into sys.args values (32050, 172, 'arg_5', 'decimal', 9, 0, 1, 5); 636
652 insert into sys.args values (32066, 172, 'arg_6', 'decimal', 18, 0, 1, 6); 652 -
653 insert into sys.functions values (173, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 653 637 insert into sys.functions values (173, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 637
654 insert into sys.args values (32067, 173, 'res_0', 'bigint', 64, 0, 0, 0); 654 ! 638 insert into sys.args values (32051, 173, 'res_0', 'bigint', 64, 0, 0, 0); 638
655 insert into sys.args values (32068, 173, 'arg_1', 'any', 0, 0, 1, 1); 655 ! 639 insert into sys.args values (32052, 173, 'arg_1', 'boolean', 1, 0, 1, 1); 639
656 insert into sys.args values (32069, 173, 'arg_2', 'int', 32, 0, 1, 2); 656 ! 640 insert into sys.args values (32053, 173, 'arg_2', 'any', 0, 0, 1, 2); 640
657 insert into sys.args values (32070, 173, 'arg_3', 'int', 32, 0, 1, 3); 657 ! 641 insert into sys.args values (32054, 173, 'arg_3', 'int', 32, 0, 1, 3); 641
658 insert into sys.args values (32071, 173, 'arg_4', 'int', 32, 0, 1, 4); 658 ! 642 insert into sys.args values (32055, 173, 'arg_4', 'int', 32, 0, 1, 4); 642
659 insert into sys.args values (32072, 173, 'arg_5', 'month_interval', 32, 0, 1, 5); 659 ! 643 insert into sys.args values (32056, 173, 'arg_5', 'int', 32, 0, 1, 5); 643
+ 644 insert into sys.args values (32057, 173, 'arg_6', 'decimal', 9, 0, 1, 6); 644
660 insert into sys.functions values (174, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 660 645 insert into sys.functions values (174, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 645
661 insert into sys.args values (32073, 174, 'res_0', 'bigint', 64, 0, 0, 0); 661 ! 646 insert into sys.args values (32058, 174, 'res_0', 'bigint', 64, 0, 0, 0); 646
662 insert into sys.args values (32074, 174, 'arg_1', 'boolean', 1, 0, 1, 1); 662 ! 647 insert into sys.args values (32059, 174, 'arg_1', 'any', 0, 0, 1, 1); 647
663 insert into sys.args values (32075, 174, 'arg_2', 'any', 0, 0, 1, 2); 663 ! 648 insert into sys.args values (32060, 174, 'arg_2', 'int', 32, 0, 1, 2); 648
664 insert into sys.args values (32076, 174, 'arg_3', 'int', 32, 0, 1, 3); 664 ! 649 insert into sys.args values (32061, 174, 'arg_3', 'int', 32, 0, 1, 3); 649
665 insert into sys.args values (32077, 174, 'arg_4', 'int', 32, 0, 1, 4); 665 ! 650 insert into sys.args values (32062, 174, 'arg_4', 'int', 32, 0, 1, 4); 650
666 insert into sys.args values (32078, 174, 'arg_5', 'int', 32, 0, 1, 5); 666 ! 651 insert into sys.args values (32063, 174, 'arg_5', 'decimal', 18, 0, 1, 5); 651
667 insert into sys.args values (32079, 174, 'arg_6', 'month_interval', 32, 0, 1, 6); 667 -
668 insert into sys.functions values (175, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 668 652 insert into sys.functions values (175, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 652
669 insert into sys.args values (32080, 175, 'res_0', 'bigint', 64, 0, 0, 0); 669 ! 653 insert into sys.args values (32064, 175, 'res_0', 'bigint', 64, 0, 0, 0); 653
670 insert into sys.args values (32081, 175, 'arg_1', 'any', 0, 0, 1, 1); 670 ! 654 insert into sys.args values (32065, 175, 'arg_1', 'boolean', 1, 0, 1, 1); 654
671 insert into sys.args values (32082, 175, 'arg_2', 'int', 32, 0, 1, 2); 671 ! 655 insert into sys.args values (32066, 175, 'arg_2', 'any', 0, 0, 1, 2); 655
672 insert into sys.args values (32083, 175, 'arg_3', 'int', 32, 0, 1, 3); 672 ! 656 insert into sys.args values (32067, 175, 'arg_3', 'int', 32, 0, 1, 3); 656
673 insert into sys.args values (32084, 175, 'arg_4', 'int', 32, 0, 1, 4); 673 ! 657 insert into sys.args values (32068, 175, 'arg_4', 'int', 32, 0, 1, 4); 657
674 insert into sys.args values (32085, 175, 'arg_5', 'sec_interval', 13, 0, 1, 5); 674 ! 658 insert into sys.args values (32069, 175, 'arg_5', 'int', 32, 0, 1, 5); 658
+ 659 insert into sys.args values (32070, 175, 'arg_6', 'decimal', 18, 0, 1, 6); 659
675 insert into sys.functions values (176, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 675 660 insert into sys.functions values (176, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 660
676 insert into sys.args values (32086, 176, 'res_0', 'bigint', 64, 0, 0, 0); 676 ! 661 insert into sys.args values (32071, 176, 'res_0', 'bigint', 64, 0, 0, 0); 661
677 insert into sys.args values (32087, 176, 'arg_1', 'boolean', 1, 0, 1, 1); 677 ! 662 insert into sys.args values (32072, 176, 'arg_1', 'any', 0, 0, 1, 1); 662
678 insert into sys.args values (32088, 176, 'arg_2', 'any', 0, 0, 1, 2); 678 ! 663 insert into sys.args values (32073, 176, 'arg_2', 'int', 32, 0, 1, 2); 663
679 insert into sys.args values (32089, 176, 'arg_3', 'int', 32, 0, 1, 3); 679 ! 664 insert into sys.args values (32074, 176, 'arg_3', 'int', 32, 0, 1, 3); 664
680 insert into sys.args values (32090, 176, 'arg_4', 'int', 32, 0, 1, 4); 680 ! 665 insert into sys.args values (32075, 176, 'arg_4', 'int', 32, 0, 1, 4); 665
681 insert into sys.args values (32091, 176, 'arg_5', 'int', 32, 0, 1, 5); 681 ! 666 insert into sys.args values (32076, 176, 'arg_5', 'month_interval', 3, 0, 1, 5); 666
682 insert into sys.args values (32092, 176, 'arg_6', 'sec_interval', 13, 0, 1, 6); 682 ! 667 insert into sys.functions values (177, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 667
683 insert into sys.functions values (177, 'rank', 'rank', 'sql', 0, 6, false, false, false, 2000, true, true); 683 ! 668 insert into sys.args values (32077, 177, 'res_0', 'bigint', 64, 0, 0, 0); 668
684 insert into sys.args values (32093, 177, 'res_0', 'int', 32, 0, 0, 0); 684 ! 669 insert into sys.args values (32078, 177, 'arg_1', 'boolean', 1, 0, 1, 1); 669
685 insert into sys.args values (32094, 177, 'arg_1', 'any', 0, 0, 1, 1); 685 ! 670 insert into sys.args values (32079, 177, 'arg_2', 'any', 0, 0, 1, 2); 670
686 insert into sys.args values (32095, 177, 'arg_2', 'boolean', 1, 0, 1, 2); 686 ! 671 insert into sys.args values (32080, 177, 'arg_3', 'int', 32, 0, 1, 3); 671
687 insert into sys.args values (32096, 177, 'arg_3', 'boolean', 1, 0, 1, 3); 687 ! 672 insert into sys.args values (32081, 177, 'arg_4', 'int', 32, 0, 1, 4); 672
688 insert into sys.functions values (178, 'dense_rank', 'dense_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 688 ! 673 insert into sys.args values (32082, 177, 'arg_5', 'int', 32, 0, 1, 5); 673
689 insert into sys.args values (32097, 178, 'res_0', 'int', 32, 0, 0, 0); 689 ! 674 insert into sys.args values (32083, 177, 'arg_6', 'month_interval', 3, 0, 1, 6); 674
690 insert into sys.args values (32098, 178, 'arg_1', 'any', 0, 0, 1, 1); 690 ! 675 insert into sys.functions values (178, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 675
691 insert into sys.args values (32099, 178, 'arg_2', 'boolean', 1, 0, 1, 2); 691 ! 676 insert into sys.args values (32084, 178, 'res_0', 'bigint', 64, 0, 0, 0); 676
692 insert into sys.args values (32100, 178, 'arg_3', 'boolean', 1, 0, 1, 3); 692 ! 677 insert into sys.args values (32085, 178, 'arg_1', 'any', 0, 0, 1, 1); 677
693 insert into sys.functions values (179, 'row_number', 'row_number', 'sql', 0, 6, false, false, false, 2000, true, true); 693 ! 678 insert into sys.args values (32086, 178, 'arg_2', 'int', 32, 0, 1, 2); 678
694 insert into sys.args values (32101, 179, 'res_0', 'int', 32, 0, 0, 0); 694 ! 679 insert into sys.args values (32087, 178, 'arg_3', 'int', 32, 0, 1, 3); 679
695 insert into sys.args values (32102, 179, 'arg_1', 'any', 0, 0, 1, 1); 695 ! 680 insert into sys.args values (32088, 178, 'arg_4', 'int', 32, 0, 1, 4); 680
696 insert into sys.args values (32103, 179, 'arg_2', 'boolean', 1, 0, 1, 2); 696 ! 681 insert into sys.args values (32089, 178, 'arg_5', 'day_interval', 4, 0, 1, 5); 681
697 insert into sys.args values (32104, 179, 'arg_3', 'boolean', 1, 0, 1, 3); 697 ! 682 insert into sys.functions values (179, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 682
698 insert into sys.functions values (180, 'percent_rank', 'percent_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 698 ! 683 insert into sys.args values (32090, 179, 'res_0', 'bigint', 64, 0, 0, 0); 683
699 insert into sys.args values (32105, 180, 'res_0', 'double', 53, 0, 0, 0); 699 ! 684 insert into sys.args values (32091, 179, 'arg_1', 'boolean', 1, 0, 1, 1); 684
700 insert into sys.args values (32106, 180, 'arg_1', 'any', 0, 0, 1, 1); 700 ! 685 insert into sys.args values (32092, 179, 'arg_2', 'any', 0, 0, 1, 2); 685
701 insert into sys.args values (32107, 180, 'arg_2', 'boolean', 1, 0, 1, 2); 701 ! 686 insert into sys.args values (32093, 179, 'arg_3', 'int', 32, 0, 1, 3); 686
702 insert into sys.args values (32108, 180, 'arg_3', 'boolean', 1, 0, 1, 3); 702 ! 687 insert into sys.args values (32094, 179, 'arg_4', 'int', 32, 0, 1, 4); 687
703 insert into sys.functions values (181, 'cume_dist', 'cume_dist', 'sql', 0, 6, false, false, false, 2000, true, true); 703 ! 688 insert into sys.args values (32095, 179, 'arg_5', 'int', 32, 0, 1, 5); 688
704 insert into sys.args values (32109, 181, 'res_0', 'double', 53, 0, 0, 0); 704 ! 689 insert into sys.args values (32096, 179, 'arg_6', 'day_interval', 4, 0, 1, 6); 689
705 insert into sys.args values (32110, 181, 'arg_1', 'any', 0, 0, 1, 1); 705 ! 690 insert into sys.functions values (180, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 690
706 insert into sys.args values (32111, 181, 'arg_2', 'boolean', 1, 0, 1, 2); 706 ! 691 insert into sys.args values (32097, 180, 'res_0', 'bigint', 64, 0, 0, 0); 691
707 insert into sys.args values (32112, 181, 'arg_3', 'boolean', 1, 0, 1, 3); 707 ! 692 insert into sys.args values (32098, 180, 'arg_1', 'any', 0, 0, 1, 1); 692
708 insert into sys.functions values (182, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 708 ! 693 insert into sys.args values (32099, 180, 'arg_2', 'int', 32, 0, 1, 2); 693
709 insert into sys.args values (32113, 182, 'res_0', 'tinyint', 8, 0, 0, 0); 709 ! 694 insert into sys.args values (32100, 180, 'arg_3', 'int', 32, 0, 1, 3); 694
710 insert into sys.args values (32114, 182, 'arg_1', 'any', 0, 0, 1, 1); 710 ! 695 insert into sys.args values (32101, 180, 'arg_4', 'int', 32, 0, 1, 4); 695
711 insert into sys.args values (32115, 182, 'arg_2', 'tinyint', 8, 0, 1, 2); 711 ! 696 insert into sys.args values (32102, 180, 'arg_5', 'sec_interval', 13, 0, 1, 5); 696
712 insert into sys.args values (32116, 182, 'arg_3', 'boolean', 1, 0, 1, 3); 712 ! 697 insert into sys.functions values (181, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 697
713 insert into sys.args values (32117, 182, 'arg_4', 'boolean', 1, 0, 1, 4); 713 ! 698 insert into sys.args values (32103, 181, 'res_0', 'bigint', 64, 0, 0, 0); 698
714 insert into sys.functions values (183, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 714 ! 699 insert into sys.args values (32104, 181, 'arg_1', 'boolean', 1, 0, 1, 1); 699
715 insert into sys.args values (32118, 183, 'res_0', 'smallint', 16, 0, 0, 0); 715 ! 700 insert into sys.args values (32105, 181, 'arg_2', 'any', 0, 0, 1, 2); 700
716 insert into sys.args values (32119, 183, 'arg_1', 'any', 0, 0, 1, 1); 716 ! 701 insert into sys.args values (32106, 181, 'arg_3', 'int', 32, 0, 1, 3); 701
717 insert into sys.args values (32120, 183, 'arg_2', 'smallint', 16, 0, 1, 2); 717 ! 702 insert into sys.args values (32107, 181, 'arg_4', 'int', 32, 0, 1, 4); 702
718 insert into sys.args values (32121, 183, 'arg_3', 'boolean', 1, 0, 1, 3); 718 ! 703 insert into sys.args values (32108, 181, 'arg_5', 'int', 32, 0, 1, 5); 703
719 insert into sys.args values (32122, 183, 'arg_4', 'boolean', 1, 0, 1, 4); 719 ! 704 insert into sys.args values (32109, 181, 'arg_6', 'sec_interval', 13, 0, 1, 6); 704
720 insert into sys.functions values (184, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 720 ! 705 insert into sys.functions values (182, 'rank', 'rank', 'sql', 0, 6, false, false, false, 2000, true, true); 705
721 insert into sys.args values (32123, 184, 'res_0', 'int', 32, 0, 0, 0); 721 ! 706 insert into sys.args values (32110, 182, 'res_0', 'int', 32, 0, 0, 0); 706
722 insert into sys.args values (32124, 184, 'arg_1', 'any', 0, 0, 1, 1); 722 ! 707 insert into sys.args values (32111, 182, 'arg_1', 'any', 0, 0, 1, 1); 707
723 insert into sys.args values (32125, 184, 'arg_2', 'int', 32, 0, 1, 2); 723 ! 708 insert into sys.args values (32112, 182, 'arg_2', 'boolean', 1, 0, 1, 2); 708
724 insert into sys.args values (32126, 184, 'arg_3', 'boolean', 1, 0, 1, 3); 724 ! 709 insert into sys.args values (32113, 182, 'arg_3', 'boolean', 1, 0, 1, 3); 709
725 insert into sys.args values (32127, 184, 'arg_4', 'boolean', 1, 0, 1, 4); 725 ! 710 insert into sys.functions values (183, 'dense_rank', 'dense_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 710
insert into sys. + 711 insert into sys.args values (32114, 183, 'res_0', 'int', 32, 0, 0, 0); 711
+ 712 insert into sys.args values (32115, 183, 'arg_1', 'any', 0, 0, 1, 1); 712
+ 713 insert into sys.args values (32116, 183, 'arg_2', 'boolean', 1, 0, 1, 2); 713
+ 714 insert into sys.args values (32117, 183, 'arg_3', 'boolean', 1, 0, 1, 3); 714
726 functions values (185, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 726 ! 715 insert into sys.functions values (184, 'row_number', 'row_number', 'sql', 0, 6, false, false, false, 2000, true, true); 715
727 insert into sys.args values (32128, 185, 'res_0', 'bigint', 64, 0, 0, 0); 727 ! 716 insert into sys.args values (32118, 184, 'res_0', 'int', 32, 0, 0, 0); 716
728 insert into sys.args values (32129, 185, 'arg_1', 'any', 0, 0, 1, 1); 728 ! 717 insert into sys.args values (32119, 184, 'arg_1', 'any', 0, 0, 1, 1); 717
729 insert into sys.args values (32130, 185, 'arg_2', 'bigint', 64, 0, 1, 2); 729 ! 718 insert into sys.args values (32120, 184, 'arg_2', 'boolean', 1, 0, 1, 2); 718
730 insert into sys.args values (32131, 185, 'arg_3', 'boolean', 1, 0, 1, 3); 730 ! 719 insert into sys.args values (32121, 184, 'arg_3', 'boolean', 1, 0, 1, 3); 719
+ 720 insert into sys.functions values (185, 'percent_rank', 'percent_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 720
insert into sys.args values (32132 + 721 insert into sys.args values (32122, 185, 'res_0', 'double', 53, 0, 0, 0); 721
, 185, 'arg_4 + 722 insert into sys.args values (32123, 185, 'arg_1', 'any', 0, 0, 1, 1); 722
731 ', 'boolean', 1, 0, 1, 4); 731 ! 723 insert into sys.args values (32124, 185, 'arg_2', 'boolean', 1, 0, 1, 2); 723
+ 724 insert into sys.args values (32125, 185, 'arg_3', 'boolean', 1, 0, 1, 3); 724
732 insert into sys.functions values (186, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 732 ! 725 insert into sys.functions values (186, 'cume_dist', 'cume_dist', 'sql', 0, 6, false, false, false, 2000, true, true); 725
733 insert into sys.args values (32133, 186, 'res_0', 'any', 0, 0, 0, 0); 733 ! 726 insert into sys.args values (32126, 186, 'res_0', 'double', 53, 0, 0, 0); 726
734 insert into sys.args values (32134, 186, 'arg_1', 'any', 0, 0, 1, 1); 734 ! 727 insert into sys.args values (32127, 186, 'arg_1', 'any', 0, 0, 1, 1); 727
735 insert into sys.args values (32135, 186, 'arg_2', 'boolean', 1, 0, 1, 2); 735 ! 728 insert into sys.args values (32128, 186, 'arg_2', 'boolean', 1, 0, 1, 2); 728
736 insert into sys.args values (32136, 186, 'arg_3', 'boolean', 1, 0, 1, 3); 736 ! 729 insert into sys.args values (32129, 186, 'arg_3', 'boolean', 1, 0, 1, 3); 729
737 insert into sys.functions values (187, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 737 ! 730 insert into sys.functions values (187, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 730
738 insert into sys.args values (32137, 187, 'res_0', 'any', 0, 0, 0, 0); 738 ! 731 insert into sys.args values (32130, 187, 'res_0', 'tinyint', 8, 0, 0, 0); 731
739 insert into sys.args values (32138, 187, 'arg_1', 'any', 0, 0, 1, 1); 739 ! 732 insert into sys.args values (32131, 187, 'arg_1', 'any', 0, 0, 1, 1); 732
740 insert into sys.args values (32139, 187, 'arg_2', 'tinyint', 8, 0, 1, 2); 740 ! 733 insert into sys.args values (32132, 187, 'arg_2', 'tinyint', 8, 0, 1, 2); 733
741 insert into sys.args values (32140, 187, 'arg_3', 'boolean', 1, 0, 1, 3); 741 ! 734 insert into sys.args values (32133, 187, 'arg_3', 'boolean', 1, 0, 1, 3); 734
742 insert into sys.args values (32141, 187, 'arg_4', 'boolean', 1, 0, 1, 4); 742 ! 735 insert into sys.args values (32134, 187, 'arg_4', 'boolean', 1, 0, 1, 4); 735
743 insert into sys.functions values (188, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 743 ! 736 insert into sys.functions values (188, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 736
744 insert into sys.args values (32142, 188, 'res_0', 'any', 0, 0, 0, 0); 744 ! 737 insert into sys.args values (32135, 188, 'res_0', 'smallint', 16, 0, 0, 0); 737
745 insert into sys.args values (32143, 188, 'arg_1', 'any', 0, 0, 1, 1); 745 ! 738 insert into sys.args values (32136, 188, 'arg_1', 'any', 0, 0, 1, 1); 738
746 insert into sys.args values (32144, 188, 'arg_2', 'smallint', 16, 0, 1, 2); 746 ! 739 insert into sys.args values (32137, 188, 'arg_2', 'smallint', 16, 0, 1, 2); 739
747 insert into sys.args values (32145, 188, 'arg_3', 'boolean', 1, 0, 1, 3); 747 ! 740 insert into sys.args values (32138, 188, 'arg_3', 'boolean', 1, 0, 1, 3); 740
748 insert into sys.args values (32146, 188, 'arg_4', 'boolean', 1, 0, 1, 4); 748 ! 741 insert into sys.args values (32139, 188, 'arg_4', 'boolean', 1, 0, 1, 4); 741
749 insert into sys.functions values (189, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 749 ! 742 insert into sys.functions values (189, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 742
750 insert into sys.args values (32147, 189, 'res_0', 'any', 0, 0, 0, 0); 750 ! 743 insert into sys.args values (32140, 189, 'res_0', 'int', 32, 0, 0, 0); 743
751 insert into sys.args values (32148, 189, 'arg_1', 'any', 0, 0, 1, 1); 751 ! 744 insert into sys.args values (32141, 189, 'arg_1', 'any', 0, 0, 1, 1); 744
752 insert into sys.args values (32149, 189, 'arg_2', 'int', 32, 0, 1, 2); 752 ! 745 insert into sys.args values (32142, 189, 'arg_2', 'int', 32, 0, 1, 2); 745
753 insert into sys.args values (32150, 189, 'arg_3', 'boolean', 1, 0, 1, 3); 753 ! 746 insert into sys.args values (32143, 189, 'arg_3', 'boolean', 1, 0, 1, 3); 746
754 insert into sys.args values (32151, 189, 'arg_4', 'boolean', 1, 0, 1, 4); 754 ! 747 insert into sys.args values (32144, 189, 'arg_4', 'boolean', 1, 0, 1, 4); 747
755 insert into sys.functions values (190, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 755 ! 748 insert into sys.functions values (190, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 748
756 insert into sys.args values (32152, 190, 'res_0', 'any', 0, 0, 0, 0); 756 ! 749 insert into sys.args values (32145, 190, 'res_0', 'bigint', 64, 0, 0, 0); 749
757 insert into sys.args values (32153, 190, 'arg_1', 'any', 0, 0, 1, 1); 757 ! 750 insert into sys.args values (32146, 190, 'arg_1', 'any', 0, 0, 1, 1); 750
758 insert into sys.args values (32154, 190, 'arg_2', 'bigint', 64, 0, 1, 2); 758 ! 751 insert into sys.args values (32147, 190, 'arg_2', 'bigint', 64, 0, 1, 2); 751
759 insert into sys.args values (32155, 190, 'arg_3', 'boolean', 1, 0, 1, 3); 759 ! 752 insert into sys.args values (32148, 190, 'arg_3', 'boolean', 1, 0, 1, 3); 752
760 insert into sys.args values (32156, 190, 'arg_4', 'boolean', 1, 0, 1, 4); 760 ! 753 insert into sys.args values (32149, 190, 'arg_4', 'boolean', 1, 0, 1, 4); 753
761 insert into sys.functions values (191, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 761 754 insert into sys.functions values (191, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 754
762 insert into sys.args values (32157, 191, 'res_0', 'any', 0, 0, 0, 0); 762 ! 755 insert into sys.args values (32150, 191, 'res_0', 'any', 0, 0, 0, 0); 755
763 insert into sys.args values (32158, 191, 'arg_1', 'any', 0, 0, 1, 1); 763 ! 756 insert into sys.args values (32151, 191, 'arg_1', 'any', 0, 0, 1, 1); 756
764 insert into sys.args values (32159, 191, 'arg_2', 'tinyint', 8, 0, 1, 2); 764 ! 757 insert into sys.args values (32152, 191, 'arg_2', 'boolean', 1, 0, 1, 2); 757
765 insert into sys.args values (32160, 191, 'arg_3', 'any', 0, 0, 1, 3); 765 ! 758 insert into sys.args values (32153, 191, 'arg_3', 'boolean', 1, 0, 1, 3); 758
766 insert into sys.args values (32161, 191, 'arg_4', 'boolean', 1, 0, 1, 4); 766 -
767 insert into sys.args values (32162, 191, 'arg_5', 'boolean', 1, 0, 1, 5); 767 -
768 insert into sys.functions values (192, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 768 759 insert into sys.functions values (192, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 759
769 insert into sys.args values (32163, 192, 'res_0', 'any', 0, 0, 0, 0); 769 ! 760 insert into sys.args values (32154, 192, 'res_0', 'any', 0, 0, 0, 0); 760
770 insert into sys.args values (32164, 192, 'arg_1', 'any', 0, 0, 1, 1); 770 ! 761 insert into sys.args values (32155, 192, 'arg_1', 'any', 0, 0, 1, 1); 761
771 insert into sys.args values (32165, 192, 'arg_2', 'smallint', 16, 0, 1, 2); 771 ! 762 insert into sys.args values (32156, 192, 'arg_2', 'tinyint', 8, 0, 1, 2); 762
772 insert into sys.args values (32166, 192, 'arg_3', 'any', 0, 0, 1, 3); 772 ! 763 insert into sys.args values (32157, 192, 'arg_3', 'boolean', 1, 0, 1, 3); 763
773 insert into sys.args values (32167, 192, 'arg_4', 'boolean', 1, 0, 1, 4); 773 ! 764 insert into sys.args values (32158, 192, 'arg_4', 'boolean', 1, 0, 1, 4); 764
774 insert into sys.args values (32168, 192, 'arg_5', 'boolean', 1, 0, 1, 5); 774 -
775 insert into sys.functions values (193, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 775 765 insert into sys.functions values (193, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 765
776 insert into sys.args values (32169, 193, 'res_0', 'any', 0, 0, 0, 0); 776 ! 766 insert into sys.args values (32159, 193, 'res_0', 'any', 0, 0, 0, 0); 766
777 insert into sys.args values (32170, 193, 'arg_1', 'any', 0, 0, 1, 1); 777 ! 767 insert into sys.args values (32160, 193, 'arg_1', 'any', 0, 0, 1, 1); 767
778 insert into sys.args values (32171, 193, 'arg_2', 'int', 32, 0, 1, 2); 778 ! 768 insert into sys.args values (32161, 193, 'arg_2', 'smallint', 16, 0, 1, 2); 768
779 insert into sys.args values (32172, 193, 'arg_3', 'any', 0, 0, 1, 3); 779 ! 769 insert into sys.args values (32162, 193, 'arg_3', 'boolean', 1, 0, 1, 3); 769
780 insert into sys.args values (32173, 193, 'arg_4', 'boolean', 1, 0, 1, 4); 780 ! 770 insert into sys.args values (32163, 193, 'arg_4', 'boolean', 1, 0, 1, 4); 770
781 insert into sys.args values (32174, 193, 'arg_5', 'boolean', 1, 0, 1, 5); 781 -
782 insert into sys.functions values (194, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 782 771 insert into sys.functions values (194, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 771
783 insert into sys.args values (32175, 194, 'res_0', 'any', 0, 0, 0, 0); 783 ! 772 insert into sys.args values (32164, 194, 'res_0', 'any', 0, 0, 0, 0); 772
784 insert into sys.args values (32176, 194, 'arg_1', 'any', 0, 0, 1, 1); 784 ! 773 insert into sys.args values (32165, 194, 'arg_1', 'any', 0, 0, 1, 1); 773
785 insert into sys.args values (32177, 194, 'arg_2', 'bigint', 64, 0, 1, 2); 785 ! 774 insert into sys.args values (32166, 194, 'arg_2', 'int', 32, 0, 1, 2); 774
786 insert into sys.args values (32178, 194, 'arg_3', 'any', 0, 0, 1, 3); 786 ! 775 insert into sys.args values (32167, 194, 'arg_3', 'boolean', 1, 0, 1, 3); 775
787 insert into sys.args values (32179, 194, 'arg_4', 'boolean', 1, 0, 1, 4); 787 ! 776 insert into sys.args values (32168, 194, 'arg_4', 'boolean', 1, 0, 1, 4); 776
788 insert into sys.args values (32180, 194, 'arg_5', 'boolean', 1, 0, 1, 5); 788 ! 777 insert into sys.functions values (195, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 777
789 insert into sys.functions values (195, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 789 ! 778 insert into sys.args values (32169, 195, 'res_0', 'any', 0, 0, 0, 0); 778
790 insert into sys.args values (32181, 195, 'res_0', 'any', 0, 0, 0, 0); 790 ! 779 insert into sys.args values (32170, 195, 'arg_1', 'any', 0, 0, 1, 1); 779
791 insert into sys.args values (32182, 195, 'arg_1', 'any', 0, 0, 1, 1); 791 ! 780 insert into sys.args values (32171, 195, 'arg_2', 'bigint', 64, 0, 1, 2); 780
792 insert into sys.args values (32183, 195, 'arg_2', 'boolean', 1, 0, 1, 2); 792 ! 781 insert into sys.args values (32172, 195, 'arg_3', 'boolean', 1, 0, 1, 3); 781
793 insert into sys.args values (32184, 195, 'arg_3', 'boolean', 1, 0, 1, 3); 793 ! 782 insert into sys.args values (32173, 195, 'arg_4', 'boolean', 1, 0, 1, 4); 782
794 insert into sys.functions values (196, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 794 ! 783 insert into sys.functions values (196, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 783
795 insert into sys.args values (32185, 196, 'res_0', 'any', 0, 0, 0, 0); 795 ! 784 insert into sys.args values (32174, 196, 'res_0', 'any', 0, 0, 0, 0); 784
796 insert into sys.args values (32186, 196, 'arg_1', 'any', 0, 0, 1, 1); 796 ! 785 insert into sys.args values (32175, 196, 'arg_1', 'any', 0, 0, 1, 1); 785
797 insert into sys.args values (32187, 196, 'arg_2', 'tinyint', 8, 0, 1, 2); 797 ! 786 insert into sys.args values (32176, 196, 'arg_2', 'tinyint', 8, 0, 1, 2); 786
798 insert into sys.args values (32188, 196, 'arg_3', 'boolean', 1, 0, 1, 3); 798 ! 787 insert into sys.args values (32177, 196, 'arg_3', 'any', 0, 0, 1, 3); 787
799 insert into sys.args values (32189, 196, 'arg_4', 'boolean', 1, 0, 1, 4); 799 ! 788 insert into sys.args values (32178, 196, 'arg_4', 'boolean', 1, 0, 1, 4); 788
insert into sys. + 789 insert into sys.args values (32179, 196, 'arg_5', 'boolean', 1, 0, 1, 5); 789
800 functions values (197, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 800 ! 790 insert into sys.functions values (197, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 790
801 insert into sys.args values (32190, 197, 'res_0', 'any', 0, 0, 0, 0); 801 ! 791 insert into sys.args values (32180, 197, 'res_0', 'any', 0, 0, 0, 0); 791
802 insert into sys.args values (32191, 197, 'arg_1', 'any', 0, 0, 1, 1); 802 ! 792 insert into sys.args values (32181, 197, 'arg_1', 'any', 0, 0, 1, 1); 792
803 insert into sys.args values (32192, 197, 'arg_2', 'smallint', 16, 0, 1, 2); 803 ! 793 insert into sys.args values (32182, 197, 'arg_2', 'smallint', 16, 0, 1, 2); 793
804 insert into sys.args values (32193, 197, 'arg_3', 'boolean', 1, 0, 1, 3); 804 ! 794 insert into sys.args values (32183, 197, 'arg_3', 'any', 0, 0, 1, 3); 794
805 insert into sys.args values (32194, 197, 'arg_4', 'boolean', 1, 0, 1, 4); 805 ! 795 insert into sys.args values (32184, 197, 'arg_4', 'boolean', 1, 0, 1, 4); 795
+ 796 insert into sys.args values (32185, 197, 'arg_5', 'boolean', 1, 0, 1, 5); 796
806 insert into sys.functions values (198, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 806 ! 797 insert into sys.functions values (198, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 797
807 insert into sys.args values (32195, 198, 'res_0', 'any', 0, 0, 0, 0); 807 ! 798 insert into sys.args values (32186, 198, 'res_0', 'any', 0, 0, 0, 0); 798
808 insert into sys.args values (32196, 198, 'arg_1', 'any', 0, 0, 1, 1); 808 ! 799 insert into sys.args values (32187, 198, 'arg_1', 'any', 0, 0, 1, 1); 799
809 insert into sys.args values (32197, 198, 'arg_2', 'int', 32, 0, 1, 2); 809 ! 800 insert into sys.args values (32188, 198, 'arg_2', 'int', 32, 0, 1, 2); 800
810 insert into sys.args values (32198, 198, 'arg_3', 'boolean', 1, 0, 1, 3); 810 ! 801 insert into sys.args values (32189, 198, 'arg_3', 'any', 0, 0, 1, 3); 801
811 insert into sys.args values (32199, 198, 'arg_4', 'boolean', 1, 0, 1, 4); 811 ! 802 insert into sys.args values (32190, 198, 'arg_4', 'boolean', 1, 0, 1, 4); 802
+ 803 insert into sys.args values (32191, 198, 'arg_5', 'boolean', 1, 0, 1, 5); 803
812 insert into sys.functions values (199, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 812 ! 804 insert into sys.functions values (199, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 804
813 insert into sys.args values (32200, 199, 'res_0', 'any', 0, 0, 0, 0); 813 ! 805 insert into sys.args values (32192, 199, 'res_0', 'any', 0, 0, 0, 0); 805
814 insert into sys.args values (32201, 199, 'arg_1', 'any', 0, 0, 1, 1); 814 ! 806 insert into sys.args values (32193, 199, 'arg_1', 'any', 0, 0, 1, 1); 806
815 insert into sys.args values (32202, 199, 'arg_2', 'bigint', 64, 0, 1, 2); 815 ! 807 insert into sys.args values (32194, 199, 'arg_2', 'bigint', 64, 0, 1, 2); 807
816 insert into sys.args values (32203, 199, 'arg_3', 'boolean', 1, 0, 1, 3); 816 ! 808 insert into sys.args values (32195, 199, 'arg_3', 'any', 0, 0, 1, 3); 808
817 insert into sys.args values (32204, 199, 'arg_4', 'boolean', 1, 0, 1, 4); 817 ! 809 insert into sys.args values (32196, 199, 'arg_4', 'boolean', 1, 0, 1, 4); 809
+ 810 insert into sys.args values (32197, 199, 'arg_5', 'boolean', 1, 0, 1, 5); 810
818 insert into sys.functions values (200, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 818 811 insert into sys.functions values (200, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 811
819 insert into sys.args values (32205, 200, 'res_0', 'any', 0, 0, 0, 0); 819 ! 812 insert into sys.args values (32198, 200, 'res_0', 'any', 0, 0, 0, 0); 812
820 insert into sys.args values (32206, 200, 'arg_1', 'any', 0, 0, 1, 1); 820 ! 813 insert into sys.args values (32199, 200, 'arg_1', 'any', 0, 0, 1, 1); 813
821 insert into sys.args values (32207, 200, 'arg_2', 'tinyint', 8, 0, 1, 2); 821 ! 814 insert into sys.args values (32200, 200, 'arg_2', 'boolean', 1, 0, 1, 2); 814
822 insert into sys.args values (32208, 200, 'arg_3', 'any', 0, 0, 1, 3); 822 ! 815 insert into sys.args values (32201, 200, 'arg_3', 'boolean', 1, 0, 1, 3); 815
823 insert into sys.args values (32209, 200, 'arg_4', 'boolean', 1, 0, 1, 4); 823 -
824 insert into sys.args values (32210, 200, 'arg_5', 'boolean', 1, 0, 1, 5); 824 -
825 insert into sys.functions values (201, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 825 816 insert into sys.functions values (201, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 816
826 insert into sys.args values (32211, 201, 'res_0', 'any', 0, 0, 0, 0); 826 ! 817 insert into sys.args values (32202, 201, 'res_0', 'any', 0, 0, 0, 0); 817
827 insert into sys.args values (32212, 201, 'arg_1', 'any', 0, 0, 1, 1); 827 ! 818 insert into sys.args values (32203, 201, 'arg_1', 'any', 0, 0, 1, 1); 818
828 insert into sys.args values (32213, 201, 'arg_2', 'smallint', 16, 0, 1, 2); 828 ! 819 insert into sys.args values (32204, 201, 'arg_2', 'tinyint', 8, 0, 1, 2); 819
829 insert into sys.args values (32214, 201, 'arg_3', 'any', 0, 0, 1, 3); 829 ! 820 insert into sys.args values (32205, 201, 'arg_3', 'boolean', 1, 0, 1, 3); 820
830 insert into sys.args values (32215, 201, 'arg_4', 'boolean', 1, 0, 1, 4); 830 ! 821 insert into sys.args values (32206, 201, 'arg_4', 'boolean', 1, 0, 1, 4); 821
831 insert into sys.args values (32216, 201, 'arg_5', 'boolean', 1, 0, 1, 5); 831 -
832 insert into sys.functions values (202, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 832 822 insert into sys.functions values (202, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 822
833 insert into sys.args values (32217, 202, 'res_0', 'any', 0, 0, 0, 0); 833 ! 823 insert into sys.args values (32207, 202, 'res_0', 'any', 0, 0, 0, 0); 823
834 insert into sys.args values (32218, 202, 'arg_1', 'any', 0, 0, 1, 1); 834 ! 824 insert into sys.args values (32208, 202, 'arg_1', 'any', 0, 0, 1, 1); 824
835 insert into sys.args values (32219, 202, 'arg_2', 'int', 32, 0, 1, 2); 835 ! 825 insert into sys.args values (32209, 202, 'arg_2', 'smallint', 16, 0, 1, 2); 825
836 insert into sys.args values (32220, 202, 'arg_3', 'any', 0, 0, 1, 3); 836 ! 826 insert into sys.args values (32210, 202, 'arg_3', 'boolean', 1, 0, 1, 3); 826
837 insert into sys.args values (32221, 202, 'arg_4', 'boolean', 1, 0, 1, 4); 837 ! 827 insert into sys.args values (32211, 202, 'arg_4', 'boolean', 1, 0, 1, 4); 827
838 insert into sys.args values (32222, 202, 'arg_5', 'boolean', 1, 0, 1, 5); 838 -
839 insert into sys.functions values (203, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 839 828 insert into sys.functions values (203, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 828
840 insert into sys.args values (32223, 203, 'res_0', 'any', 0, 0, 0, 0); 840 ! 829 insert into sys.args values (32212, 203, 'res_0', 'any', 0, 0, 0, 0); 829
841 insert into sys.args values (32224, 203, 'arg_1', 'any', 0, 0, 1, 1); 841 ! 830 insert into sys.args values (32213, 203, 'arg_1', 'any', 0, 0, 1, 1); 830
842 insert into sys.args values (32225, 203, 'arg_2', 'bigint', 64, 0, 1, 2); 842 ! 831 insert into sys.args values (32214, 203, 'arg_2', 'int', 32, 0, 1, 2); 831
843 insert into sys.args values (32226, 203, 'arg_3', 'any', 0, 0, 1, 3); 843 ! 832 insert into sys.args values (32215, 203, 'arg_3', 'boolean', 1, 0, 1, 3); 832
844 insert into sys.args values (32227, 203, 'arg_4', 'boolean', 1, 0, 1, 4); 844 ! 833 insert into sys.args values (32216, 203, 'arg_4', 'boolean', 1, 0, 1, 4); 833
845 insert into sys.args values (32228, 203, 'arg_5', 'boolean', 1, 0, 1, 5); 845 ! 834 insert into sys.functions values (204, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 834
846 insert into sys.functions values (204, 'first_value', 'first_value', 'sql', 0, 6, false, false, false, 2000, true, true); 846 ! 835 insert into sys.args values (32217, 204, 'res_0', 'any', 0, 0, 0, 0); 835
847 insert into sys.args values (32229, 204, 'res_0', 'any', 0, 0, 0, 0); 847 ! 836 insert into sys.args values (32218, 204, 'arg_1', 'any', 0, 0, 1, 1); 836
848 insert into sys.args values (32230, 204, 'arg_1', 'any', 0, 0, 1, 1); 848 ! 837 insert into sys.args values (32219, 204, 'arg_2', 'bigint', 64, 0, 1, 2); 837
849 insert into sys.functions values (205, 'last_value', 'last_value', 'sql', 0, 6, false, false, false, 2000, true, true); 849 ! 838 insert into sys.args values (32220, 204, 'arg_3', 'boolean', 1, 0, 1, 3); 838
850 insert into sys.args values (32231, 205, 'res_0', 'any', 0, 0, 0, 0); 850 ! 839 insert into sys.args values (32221, 204, 'arg_4', 'boolean', 1, 0, 1, 4); 839
851 insert into sys.args values (32232, 205, 'arg_1', 'any', 0, 0, 1, 1); 851 ! 840 insert into sys.functions values (205, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 840
852 insert into sys.functions values (206, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 852 ! 841 insert into sys.args values (32222, 205, 'res_0', 'any', 0, 0, 0, 0); 841
853 insert into sys.args values (32233, 206, 'res_0', 'any', 0, 0, 0, 0); 853 ! 842 insert into sys.args values (32223, 205, 'arg_1', 'any', 0, 0, 1, 1); 842
854 insert into sys.args values (32234, 206, 'arg_1', 'any', 0, 0, 1, 1); 854 ! 843 insert into sys.args values (32224, 205, 'arg_2', 'tinyint', 8, 0, 1, 2); 843
855 insert into sys.args values (32235, 206, 'arg_2', 'tinyint', 8, 0, 1, 2); 855 ! 844 insert into sys.args values (32225, 205, 'arg_3', 'any', 0, 0, 1, 3); 844
856 insert into sys.functions values (207, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 856 ! 845 insert into sys.args values (32226, 205, 'arg_4', 'boolean', 1, 0, 1, 4); 845
857 insert into sys.args values (32236, 207, 'res_0', 'any', 0, 0, 0, 0); 857 ! 846 insert into sys.args values (32227, 205, 'arg_5', 'boolean', 1, 0, 1, 5); 846
858 insert into sys.args values (32237, 207, 'arg_1', 'any', 0, 0, 1, 1); 858 ! 847 insert into sys.functions values (206, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 847
859 insert into sys.args values (32238, 207, 'arg_2', 'smallint', 16, 0, 1, 2); 859 ! 848 insert into sys.args values (32228, 206, 'res_0', 'any', 0, 0, 0, 0); 848
860 insert into sys.functions values (208, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 860 ! 849 insert into sys.args values (32229, 206, 'arg_1', 'any', 0, 0, 1, 1); 849
861 insert into sys.args values (32239, 208, 'res_0', 'any', 0, 0, 0, 0); 861 ! 850 insert into sys.args values (32230, 206, 'arg_2', 'smallint', 16, 0, 1, 2); 850
862 insert into sys.args values (32240, 208, 'arg_1', 'any', 0, 0, 1, 1); 862 ! 851 insert into sys.args values (32231, 206, 'arg_3', 'any', 0, 0, 1, 3); 851
863 insert into sys.args values (32241, 208, 'arg_2', 'int', 32, 0, 1, 2); 863 ! 852 insert into sys.args values (32232, 206, 'arg_4', 'boolean', 1, 0, 1, 4); 852
864 insert into sys.functions values (209, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 864 ! 853 insert into sys.args values (32233, 206, 'arg_5', 'boolean', 1, 0, 1, 5); 853
865 insert into sys.args values (32242, 209, 'res_0', 'any', 0, 0, 0, 0); 865 ! 854 insert into sys.functions values (207, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 854
866 insert into sys.args values (32243, 209, 'arg_1', 'any', 0, 0, 1, 1); 866 ! 855 insert into sys.args values (32234, 207, 'res_0', 'any', 0, 0, 0, 0); 855
867 insert into sys.args values (32244, 209, 'arg_2', 'bigint', 64, 0, 1, 2); 867 ! 856 insert into sys.args values (32235, 207, 'arg_1', 'any', 0, 0, 1, 1); 856
868 insert into sys.functions values (210, 'count', 'count', 'sql', 0, 6, false, false, false, 2000, true, true); 868 ! 857 insert into sys.args values (32236, 207, 'arg_2', 'int', 32, 0, 1, 2); 857
869 insert into sys.args values (32245, 210, 'res_0', 'bigint', 64, 0, 0, 0); 869 ! 858 insert into sys.args values (32237, 207, 'arg_3', 'any', 0, 0, 1, 3); 858
870 insert into sys.args values (32246, 210, 'arg_1', 'any', 0, 0, 1, 1); 870 ! 859 insert into sys.args values (32238, 207, 'arg_4', 'boolean', 1, 0, 1, 4); 859
871 insert into sys.args values (32247, 210, 'arg_2', 'boolean', 1, 0, 1, 2); 871 ! 860 insert into sys.args values (32239, 207, 'arg_5', 'boolean', 1, 0, 1, 5); 860
872 insert into sys.functions values (211, 'min', 'min', 'sql', 0, 6, false, false, false, 2000, true, true); 872 ! 861 insert into sys.functions values (208, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 861
873 insert into sys.args values (32248, 211, 'res_0', 'any', 0, 0, 0, 0); 873 ! 862 insert into sys.args values (32240, 208, 'res_0', 'any', 0, 0, 0, 0); 862
874 insert into sys.args values (32249, 211, 'arg_1', 'any', 0, 0, 1, 1); 874 ! 863 insert into sys.args values (32241, 208, 'arg_1', 'any', 0, 0, 1, 1); 863
875 insert into sys.functions values (212, 'max', 'max', 'sql', 0, 6, false, false, false, 2000, true, true); 875 ! 864 insert into sys.args values (32242, 208, 'arg_2', 'bigint', 64, 0, 1, 2); 864
876 insert into sys.args values (32250, 212, 'res_0', 'any', 0, 0, 0, 0); 876 ! 865 insert into sys.args values (32243, 208, 'arg_3', 'any', 0, 0, 1, 3); 865
877 insert into sys.args values (32251, 212, 'arg_1', 'any', 0, 0, 1, 1); 877 ! 866 insert into sys.args values (32244, 208, 'arg_4', 'boolean', 1, 0, 1, 4); 866
insert into sys. + 867 insert into sys.args values (32245, 208, 'arg_5', 'boolean', 1, 0, 1, 5); 867
878 functions values (213, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 878 ! 868 insert into sys.functions values (209, 'first_value', 'first_value', 'sql', 0, 6, false, false, false, 2000, true, true); 868
879 insert into sys.args values (32252, 213, 'res_0', 'bigint', 64, 0, 0, 0); 879 ! 869 insert into sys.args values (32246, 209, 'res_0', 'any', 0, 0, 0, 0); 869
880 insert into sys.args values (32253, 213, 'arg_1', 'tinyint', 8, 0, 1, 1); 880 ! 870 insert into sys.args values (32247, 209, 'arg_1', 'any', 0, 0, 1, 1); 870
881 insert into sys.functions values (214, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 881 ! 871 insert into sys.functions values (210, 'last_value', 'last_value', 'sql', 0, 6, false, false, false, 2000, true, true); 871
882 insert into sys.args values (32254, 214, 'res_0', 'bigint', 64, 0, 0, 0); 882 ! 872 insert into sys.args values (32248, 210, 'res_0', 'any', 0, 0, 0, 0); 872
883 insert into sys.args values (32255, 214, 'arg_1', 'smallint', 16, 0, 1, 1); 883 ! 873 insert into sys.args values (32249, 210, 'arg_1', 'any', 0, 0, 1, 1); 873
884 insert into sys.functions values (215, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 884 ! 874 insert into sys.functions values (211, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 874
885 insert into sys.args values (32256, 215, 'res_0', 'bigint', 64, 0, 0, 0); 885 ! 875 insert into sys.args values (32250, 211, 'res_0', 'any', 0, 0, 0, 0); 875
886 insert into sys.args values (32257, 215, 'arg_1', 'int', 32, 0, 1, 1); 886 ! 876 insert into sys.args values (32251, 211, 'arg_1', 'any', 0, 0, 1, 1); 876
+ 877 insert into sys.args values (32252, 211, 'arg_2', 'tinyint', 8, 0, 1, 2); 877
887 insert into sys.functions values (216, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 887 ! 878 insert into sys.functions values (212, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 878
888 insert into sys.args values (32258, 216, 'res_0', 'bigint', 64, 0, 0, 0); 888 ! 879 insert into sys.args values (32253, 212, 'res_0', 'any', 0, 0, 0, 0); 879
889 insert into sys.args values (32259, 216, 'arg_1', 'bigint', 64, 0, 1, 1); 889 ! 880 insert into sys.args values (32254, 212, 'arg_1', 'any', 0, 0, 1, 1); 880
+ 881 insert into sys.args values (32255, 212, 'arg_2', 'smallint', 16, 0, 1, 2); 881
890 insert into sys.functions values (217, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 890 ! 882 insert into sys.functions values (213, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 882
891 insert into sys.args values (32260, 217, 'res_0', 'decimal', 18, 0, 0, 0); 891 ! 883 insert into sys.args values (32256, 213, 'res_0', 'any', 0, 0, 0, 0); 883
892 insert into sys.args values (32261, 217, 'arg_1', 'decimal', 2, 0, 1, 1); 892 ! 884 insert into sys.args values (32257, 213, 'arg_1', 'any', 0, 0, 1, 1); 884
+ 885 insert into sys.args values (32258, 213, 'arg_2', 'int', 32, 0, 1, 2); 885
+ 886 insert into sys.functions values (214, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 886
+ 887 insert into sys.args values (32259, 214, 'res_0', 'any', 0, 0, 0, 0); 887
+ 888 insert into sys.args values (32260, 214, 'arg_1', 'any', 0, 0, 1, 1); 888
+ 889 insert into sys.args values (32261, 214, 'arg_2', 'bigint', 64, 0, 1, 2); 889
+ 890 insert into sys.functions values (215, 'count', 'count', 'sql', 0, 6, false, false, false, 2000, true, true); 890
+ 891 insert into sys.args values (32262, 215, 'res_0', 'bigint', 64, 0, 0, 0); 891
+ 892 insert into sys.args values (32263, 215, 'arg_1', 'any', 0, 0, 1, 1); 892
+ 893 insert into sys.args values (32264, 215, 'arg_2', 'boolean', 1, 0, 1, 2); 893
+ 894 insert into sys.functions values (216, 'min', 'min', 'sql', 0, 6, false, false, false, 2000, true, true); 894
+ 895 insert into sys.args values (32265, 216, 'res_0', 'any', 0, 0, 0, 0); 895
+ 896 insert into sys.args values (32266, 216, 'arg_1', 'any', 0, 0, 1, 1); 896
+ 897 insert into sys.functions values (217, 'max', 'max', 'sql', 0, 6, false, false, false, 2000, true, true); 897
+ 898 insert into sys.args values (32267, 217, 'res_0', 'any', 0, 0, 0, 0); 898
+ 899 insert into sys.args values (32268, 217, 'arg_1', 'any', 0, 0, 1, 1); 899
893 insert into sys.functions values (218, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 893 900 insert into sys.functions values (218, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 900
894 insert into sys.args values (32262, 218, 'res_0', 'decimal', 18, 0, 0, 0); 894 ! 901 insert into sys.args values (32269, 218, 'res_0', 'bigint', 64, 0, 0, 0); 901
895 insert into sys.args values (32263, 218, 'arg_1', 'decimal', 4, 0, 1, 1); 895 ! 902 insert into sys.args values (32270, 218, 'arg_1', 'tinyint', 8, 0, 1, 1); 902
896 insert into sys.functions values (219, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 896 903 insert into sys.functions values (219, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 903
897 insert into sys.args values (32264, 219, 'res_0', 'decimal', 18, 0, 0, 0); 897 ! 904 insert into sys.args values (32271, 219, 'res_0', 'bigint', 64, 0, 0, 0); 904
898 insert into sys.args values (32265, 219, 'arg_1', 'decimal', 9, 0, 1, 1); 898 ! 905 insert into sys.args values (32272, 219, 'arg_1', 'smallint', 16, 0, 1, 1); 905
899 insert into sys.functions values (220, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 899 906 insert into sys.functions values (220, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 906
900 insert into sys.args values (32266, 220, 'res_0', 'decimal', 18, 0, 0, 0); 900 ! 907 insert into sys.args values (32273, 220, 'res_0', 'bigint', 64, 0, 0, 0); 907
901 insert into sys.args values (32267, 220, 'arg_1', 'decimal', 18, 0, 1, 1); 901 ! 908 insert into sys.args values (32274, 220, 'arg_1', 'int', 32, 0, 1, 1); 908
902 insert into sys.functions values (221, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 902 ! 909 insert into sys.functions values (221, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 909
903 insert into sys.args values (32268, 221, 'res_0', 'bigint', 64, 0, 0, 0); 903 ! 910 insert into sys.args values (32275, 221, 'res_0', 'bigint', 64, 0, 0, 0); 910
904 insert into sys.args values (32269, 221, 'arg_1', 'tinyint', 8, 0, 1, 1); 904 ! 911 insert into sys.args values (32276, 221, 'arg_1', 'bigint', 64, 0, 1, 1); 911
905 insert into sys.functions values (222, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 905 ! 912 insert into sys.functions values (222, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 912
906 insert into sys.args values (32270, 222, 'res_0', 'bigint', 64, 0, 0, 0); 906 ! 913 insert into sys.args values (32277, 222, 'res_0', 'decimal', 18, 0, 0, 0); 913
907 insert into sys.args values (32271, 222, 'arg_1', 'smallint', 16, 0, 1, 1); 907 ! 914 insert into sys.args values (32278, 222, 'arg_1', 'decimal', 2, 0, 1, 1); 914
908 insert into sys.functions values (223, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 908 ! 915 insert into sys.functions values (223, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 915
909 insert into sys.args values (32272, 223, 'res_0', 'bigint', 64, 0, 0, 0); 909 ! 916 insert into sys.args values (32279, 223, 'res_0', 'decimal', 18, 0, 0, 0); 916
910 insert into sys.args values (32273, 223, 'arg_1', 'int', 32, 0, 1, 1); 910 ! 917 insert into sys.args values (32280, 223, 'arg_1', 'decimal', 4, 0, 1, 1); 917
911 insert into sys.functions values (224, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 911 ! 918 insert into sys.functions values (224, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 918
912 insert into sys.args values (32274, 224, 'res_0', 'bigint', 64, 0, 0, 0); 912 ! 919 insert into sys.args values (32281, 224, 'res_0', 'decimal', 18, 0, 0, 0); 919
913 insert into sys.args values (32275, 224, 'arg_1', 'bigint', 64, 0, 1, 1); 913 ! 920 insert into sys.args values (32282, 224, 'arg_1', 'decimal', 9, 0, 1, 1); 920
914 insert into sys.functions values (225, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 914 921 insert into sys.functions values (225, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 921
915 insert into sys.args values (32276, 225, 'res_0', 'real', 24, 0, 0, 0); 915 ! 922 insert into sys.args values (32283, 225, 'res_0', 'decimal', 18, 0, 0, 0); 922
916 insert into sys.args values (32277, 225, 'arg_1', 'real', 24, 0, 1, 1); 916 ! 923 insert into sys.args values (32284, 225, 'arg_1', 'decimal', 18, 0, 1, 1); 923
917 insert into sys.functions values (226, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 917 924 insert into sys.functions values (226, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 924
918 insert into sys.args values (32278, 226, 'res_0', 'real', 24, 0, 0, 0); 918 ! 925 insert into sys.args values (32285, 226, 'res_0', 'bigint', 64, 0, 0, 0); 925
919 insert into sys.args values (32279, 226, 'arg_1', 'real', 24, 0, 1, 1); 919 ! 926 insert into sys.args values (32286, 226, 'arg_1', 'tinyint', 8, 0, 1, 1); 926
920 insert into sys.functions values (227, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 920 ! 927 insert into sys.functions values (227, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 927
921 insert into sys.args values (32280, 227, 'res_0', 'double', 53, 0, 0, 0); 921 ! 928 insert into sys.args values (32287, 227, 'res_0', 'bigint', 64, 0, 0, 0); 928
922 insert into sys.args values (32281, 227, 'arg_1', 'double', 53, 0, 1, 1); 922 ! 929 insert into sys.args values (32288, 227, 'arg_1', 'smallint', 16, 0, 1, 1); 929
923 insert into sys.functions values (228, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 923 930 insert into sys.functions values (228, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 930
924 insert into sys.args values (32282, 228, 'res_0', 'double', 53, 0, 0, 0); 924 ! 931 insert into sys.args values (32289, 228, 'res_0', 'bigint', 64, 0, 0, 0); 931
925 insert into sys.args values (32283, 228, 'arg_1', 'double', 53, 0, 1, 1); 925 ! 932 insert into sys.args values (32290, 228, 'arg_1', 'int', 32, 0, 1, 1); 932
926 insert into sys.functions values (229, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 926 ! 933 insert into sys.functions values (229, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 933
927 insert into sys.args values (32284, 229, 'res_0', 'month_interval', 32, 0, 0, 0); 927 ! 934 insert into sys.args values (32291, 229, 'res_0', 'bigint', 64, 0, 0, 0); 934
928 insert into sys.args values (32285, 229, 'arg_1', 'month_interval', 32, 0, 1, 1); 928 ! 935 insert into sys.args values (32292, 229, 'arg_1', 'bigint', 64, 0, 1, 1); 935
929 insert into sys.functions values (230, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 929 936 insert into sys.functions values (230, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 936
930 insert into sys.args values (32286, 230, 'res_0', 'sec_interval', 13, 0, 0, 0); 930 ! 937 insert into sys.args values (32293, 230, 'res_0', 'real', 24, 0, 0, 0); 937
931 insert into sys.args values (32287, 230, 'arg_1', 'sec_interval', 13, 0, 1, 1); 931 ! 938 insert into sys.args values (32294, 230, 'arg_1', 'real', 24, 0, 1, 1); 938
932 insert into sys.functions values (231, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 932 ! 939 insert into sys.functions values (231, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 939
933 insert into sys.args values (32288, 231, 'res_0', 'double', 53, 0, 0, 0); 933 ! 940 insert into sys.args values (32295, 231, 'res_0', 'real', 24, 0, 0, 0); 940
934 insert into sys.args values (32289, 231, 'arg_1', 'double', 53, 0, 1, 1); 934 ! 941 insert into sys.args values (32296, 231, 'arg_1', 'real', 24, 0, 1, 1); 941
935 insert into sys.functions values (232, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 935 ! 942 insert into sys.functions values (232, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 942
936 insert into sys.args values (32290, 232, 'res_0', 'double', 53, 0, 0, 0); 936 ! 943 insert into sys.args values (32297, 232, 'res_0', 'double', 53, 0, 0, 0); 943
937 insert into sys.args values (32291, 232, 'arg_1', 'tinyint', 8, 0, 1, 1); 937 ! 944 insert into sys.args values (32298, 232, 'arg_1', 'double', 53, 0, 1, 1); 944
938 insert into sys.functions values (233, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 938 ! 945 insert into sys.functions values (233, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 945
939 insert into sys.args values (32292, 233, 'res_0', 'double', 53, 0, 0, 0); 939 ! 946 insert into sys.args values (32299, 233, 'res_0', 'double', 53, 0, 0, 0); 946
940 insert into sys.args values (32293, 233, 'arg_1', 'smallint', 16, 0, 1, 1); 940 ! 947 insert into sys.args values (32300, 233, 'arg_1', 'double', 53, 0, 1, 1); 947
941 insert into sys.functions values (234, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 941 ! 948 insert into sys.functions values (234, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 948
942 insert into sys.args values (32294, 234, 'res_0', 'double', 53, 0, 0, 0); 942 ! 949 insert into sys.args values (32301, 234, 'res_0', 'month_interval', 3, 0, 0, 0); 949
943 insert into sys.args values (32295, 234, 'arg_1', 'int', 32, 0, 1, 1); 943 ! 950 insert into sys.args values (32302, 234, 'arg_1', 'month_interval', 3, 0, 1, 1); 950
944 insert into sys.functions values (235, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 944 ! 951 insert into sys.functions values (235, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 951
945 insert into sys.args values (32296, 235, 'res_0', 'double', 53, 0, 0, 0); 945 ! 952 insert into sys.args values (32303, 235, 'res_0', 'day_interval', 4, 0, 0, 0); 952
946 insert into sys.args values (32297, 235, 'arg_1', 'bigint', 64, 0, 1, 1); 946 ! 953 insert into sys.args values (32304, 235, 'arg_1', 'day_interval', 4, 0, 1, 1); 953
947 insert into sys.functions values (236, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 947 ! 954 insert into sys.functions values (236, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 954
948 insert into sys.args values (32298, 236, 'res_0', 'double', 53, 0, 0, 0); 948 ! 955 insert into sys.args values (32305, 236, 'res_0', 'sec_interval', 13, 0, 0, 0); 955
949 insert into sys.args values (32299, 236, 'arg_1', 'real', 24, 0, 1, 1); 949 ! 956 insert into sys.args values (32306, 236, 'arg_1', 'sec_interval', 13, 0, 1, 1); 956
950 insert into sys.functions values (237, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 950 957 insert into sys.functions values (237, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 957
951 insert into sys.args values (32300, 237, 'res_0', 'decimal', 2, 0, 0, 0); 951 ! 958 insert into sys.args values (32307, 237, 'res_0', 'double', 53, 0, 0, 0); 958
952 insert into sys.args values (32301, 237, 'arg_1', 'decimal', 2, 0, 1, 1); 952 ! 959 insert into sys.args values (32308, 237, 'arg_1', 'double', 53, 0, 1, 1); 959
953 insert into sys.functions values (238, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 953 960 insert into sys.functions values (238, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 960
954 insert into sys.args values (32302, 238, 'res_0', 'decimal', 4, 0, 0, 0); 954 ! 961 insert into sys.args values (32309, 238, 'res_0', 'double', 53, 0, 0, 0); 961
955 insert into sys.args values (32303, 238, 'arg_1', 'decimal', 4, 0, 1, 1); 955 ! 962 insert into sys.args values (32310, 238, 'arg_1', 'tinyint', 8, 0, 1, 1); 962
956 insert into sys.functions values (239, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 956 963 insert into sys.functions values (239, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 963
957 insert into sys.args values (32304, 239, 'res_0', 'decimal', 9, 0, 0, 0); 957 ! 964 insert into sys.args values (32311, 239, 'res_0', 'double', 53, 0, 0, 0); 964
958 insert into sys.args values (32305, 239, 'arg_1', 'decimal', 9, 0, 1, 1); 958 ! 965 insert into sys.args values (32312, 239, 'arg_1', 'smallint', 16, 0, 1, 1); 965
959 insert into sys.functions values (240, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 959 966 insert into sys.functions values (240, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 966
960 insert into sys.args values (32306, 240, 'res_0', 'decimal', 18, 0, 0, 0); 960 ! 967 insert into sys.args values (32313, 240, 'res_0', 'double', 53, 0, 0, 0); 967
961 insert into sys.args values (32307, 240, 'arg_1', 'decimal', 18, 0, 1, 1); 961 ! 968 insert into sys.args values (32314, 240, 'arg_1', 'int', 32, 0, 1, 1); 968
962 insert into sys.functions values (241, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 962 969 insert into sys.functions values (241, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 969
963 insert into sys.args values (32308, 241, 'res_0', 'month_interval', 32, 0, 0, 0); 963 ! 970 insert into sys.args values (32315, 241, 'res_0', 'double', 53, 0, 0, 0); 970
964 insert into sys.args values (32309, 241, 'arg_1', 'month_interval', 32, 0, 1, 1); 964 ! 971 insert into sys.args values (32316, 241, 'arg_1', 'bigint', 64, 0, 1, 1); 971
965 insert into sys.functions values (242, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 965 972 insert into sys.functions values (242, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 972
966 insert into sys.args values (32310, 242, 'res_0', 'sec_interval', 13, 0, 0, 0); 966 ! 973 insert into sys.args values (32317, 242, 'res_0', 'double', 53, 0, 0, 0); 973
967 insert into sys.args values (32311, 242, 'arg_1', 'sec_interval', 13, 0, 1, 1); 967 ! 974 insert into sys.args values (32318, 242, 'arg_1', 'real', 24, 0, 1, 1); 974
968 insert into sys.functions values (243, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 968 ! 975 insert into sys.functions values (243, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 975
969 insert into sys.args values (32312, 243, 'res_0', 'char', 0, 0, 0, 0); 969 ! 976 insert into sys.args values (32319, 243, 'res_0', 'decimal', 2, 0, 0, 0); 976
970 insert into sys.args values (32313, 243, 'arg_1', 'char', 0, 0, 1, 1); 970 ! 977 insert into sys.args values (32320, 243, 'arg_1', 'decimal', 2, 0, 1, 1); 977
971 insert into sys.functions values (244, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 971 ! 978 insert into sys.functions values (244, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 978
972 insert into sys.args values (32314, 244, 'res_0', 'char', 0, 0, 0, 0); 972 ! 979 insert into sys.args values (32321, 244, 'res_0', 'decimal', 4, 0, 0, 0); 979
973 insert into sys.args values (32315, 244, 'arg_1', 'char', 0, 0, 1, 1); 973 ! 980 insert into sys.args values (32322, 244, 'arg_1', 'decimal', 4, 0, 1, 1); 980
974 insert into sys.args values (32316, 244, 'arg_2', 'char', 0, 0, 1, 2); 974 ! 981 insert into sys.functions values (245, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 981
975 insert into sys.functions values (245, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 975 -
976 insert into sys.args values (32317, 245, 'res_0', 'varchar', 0, 0, 0, 0); 976 ! 982 insert into sys.args values (32323, 245, 'res_0', 'decimal', 9, 0, 0, 0); 982
977 insert into sys.args values (32318, 245, 'arg_1', 'varchar', 0, 0, 1, 1); 977 ! 983 insert into sys.args values (32324, 245, 'arg_1', 'decimal', 9, 0, 1, 1); 983
978 insert into sys.functions values (246, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 978 ! 984 insert into sys.functions values (246, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 984
979 insert into sys.args values (32319, 246, 'res_0', 'varchar', 0, 0, 0, 0); 979 ! 985 insert into sys.args values (32325, 246, 'res_0', 'decimal', 18, 0, 0, 0); 985
980 insert into sys.args values (32320, 246, 'arg_1', 'varchar', 0, 0, 1, 1); 980 ! 986 insert into sys.args values (32326, 246, 'arg_1', 'decimal', 18, 0, 1, 1); 986
981 insert into sys.args values (32321, 246, 'arg_2', 'varchar', 0, 0, 1, 2); 981 -
982 insert into sys.functions values (247, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 982 ! 987 insert into sys.functions values (247, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 987
983 insert into sys.args values (32322, 247, 'res_0', 'clob', 0, 0, 0, 0); 983 ! 988 insert into sys.args values (32327, 247, 'res_0', 'month_interval', 3, 0, 0, 0); 988
984 insert into sys.args values (32323, 247, 'arg_1', 'clob', 0, 0, 1, 1); 984 ! 989 insert into sys.args values (32328, 247, 'arg_1', 'month_interval', 3, 0, 1, 1); 989
985 insert into sys.functions values (248, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 985 ! 990 insert into sys.functions values (248, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 990
986 insert into sys.args values (32324, 248, 'res_0', 'clob', 0, 0, 0, 0); 986 ! 991 insert into sys.args values (32329, 248, 'res_0', 'day_interval', 4, 0, 0, 0); 991
987 insert into sys.args values (32325, 248, 'arg_1', 'clob', 0, 0, 1, 1); 987 ! 992 insert into sys.args values (32330, 248, 'arg_1', 'day_interval', 4, 0, 1, 1); 992
988 insert into sys.args values (32326, 248, 'arg_2', 'clob', 0, 0, 1, 2); 988 -
989 insert into sys.functions values (249, 'and', 'and', 'calc', 0, 1, false, false, false, 2000, true, true); 989 ! 993 insert into sys.functions values (249, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 993
990 insert into sys.args values (32327, 249, 'res_0', 'boolean', 1, 0, 0, 0); 990 ! 994 insert into sys.args values (32331, 249, 'res_0', 'sec_interval', 13, 0, 0, 0); 994
991 insert into sys.args values (32328, 249, 'arg_1', 'boolean', 1, 0, 1, 1); 991 ! 995 insert into sys.args values (32332, 249, 'arg_1', 'sec_interval', 13, 0, 1, 1); 995
992 insert into sys.args values (32329, 249, 'arg_2', 'boolean', 1, 0, 1, 2); 992 -
993 insert into sys.functions values (250, 'or', 'or', 'calc', 0, 1, false, false, false, 2000, true, true); 993 ! 996 insert into sys.functions values (250, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 996
994 insert into sys.args values (32330, 250, 'res_0', 'boolean', 1, 0, 0, 0); 994 ! 997 insert into sys.args values (32333, 250, 'res_0', 'char', 0, 0, 0, 0); 997
995 insert into sys.args values (32331, 250, 'arg_1', 'boolean', 1, 0, 1, 1); 995 ! 998 insert into sys.args values (32334, 250, 'arg_1', 'char', 0, 0, 1, 1); 998
996 insert into sys.args values (32332, 250, 'arg_2', 'boolean', 1, 0, 1, 2); 996 -
997 insert into sys.functions values (251, 'xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 997 ! 999 insert into sys.functions values (251, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 999
998 insert into sys.args values (32333, 251, 'res_0', 'boolean', 1, 0, 0, 0); 998 ! 1000 insert into sys.args values (32335, 251, 'res_0', 'char', 0, 0, 0, 0); 1000
999 insert into sys.args values (32334, 251, 'arg_1', 'boolean', 1, 0, 1, 1); 999 ! 1001 insert into sys.args values (32336, 251, 'arg_1', 'char', 0, 0, 1, 1); 1001
1000 insert into sys.args values (32335, 251, 'arg_2', 'boolean', 1, 0, 1, 2); 1000 ! 1002 insert into sys.args values (32337, 251, 'arg_2', 'char', 0, 0, 1, 2); 1002
1001 insert into sys.functions values (252, 'not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1001 ! 1003 insert into sys.functions values (252, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1003
1002 insert into sys.args values (32336, 252, 'res_0', 'boolean', 1, 0, 0, 0); 1002 ! 1004 insert into sys.args values (32338, 252, 'res_0', 'varchar', 0, 0, 0, 0); 1004
1003 insert into sys.args values (32337, 252, 'arg_1', 'boolean', 1, 0, 1, 1); 1003 ! 1005 insert into sys.args values (32339, 252, 'arg_1', 'varchar', 0, 0, 1, 1); 1005
1004 insert into sys.functions values (253, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1004 ! 1006 insert into sys.functions values (253, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1006
1005 insert into sys.args values (32338, 253, 'res_0', 'smallint', 16, 0, 0, 0); 1005 ! 1007 insert into sys.args values (32340, 253, 'res_0', 'varchar', 0, 0, 0, 0); 1007
1006 insert into sys.args values (32339, 253, 'arg_1', 'smallint', 16, 0, 1, 1); 1006 ! 1008 insert into sys.args values (32341, 253, 'arg_1', 'varchar', 0, 0, 1, 1); 1008
1007 insert into sys.args values (32340, 253, 'arg_2', 'tinyint', 8, 0, 1, 2); 1007 ! 1009 insert into sys.args values (32342, 253, 'arg_2', 'varchar', 0, 0, 1, 2); 1009
1008 insert into sys.functions values (254, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1008 ! 1010 insert into sys.functions values (254, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1010
1009 insert into sys.args values (32341, 254, 'res_0', 'smallint', 16, 0, 0, 0); 1009 ! 1011 insert into sys.args values (32343, 254, 'res_0', 'clob', 0, 0, 0, 0); 1011
1010 insert into sys.args values (32342, 254, 'arg_1', 'tinyint', 8, 0, 1, 1); 1010 ! 1012 insert into sys.args values (32344, 254, 'arg_1', 'clob', 0, 0, 1, 1); 1012
1011 insert into sys.args values (32343, 254, 'arg_2', 'smallint', 16, 0, 1, 2); 1011 -
1012 insert into sys.functions values (255, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1012 ! 1013 insert into sys.functions values (255, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1013
1013 insert into sys.args values (32344, 255, 'res_0', 'smallint', 16, 0, 0, 0); 1013 ! 1014 insert into sys.args values (32345, 255, 'res_0', 'clob', 0, 0, 0, 0); 1014
1014 insert into sys.args values (32345, 255, 'arg_1', 'smallint', 16, 0, 1, 1); 1014 ! 1015 insert into sys.args values (32346, 255, 'arg_1', 'clob', 0, 0, 1, 1); 1015
1015 insert into sys.args values (32346, 255, 'arg_2', 'tinyint', 8, 0, 1, 2); 1015 ! 1016 insert into sys.args values (32347, 255, 'arg_2', 'clob', 0, 0, 1, 2); 1016
1016 insert into sys.functions values (256, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1016 ! 1017 insert into sys.functions values (256, 'and', 'and', 'calc', 0, 1, false, false, false, 2000, true, true); 1017
1017 insert into sys.args values (32347, 256, 'res_0', 'int', 32, 0, 0, 0); 1017 ! 1018 insert into sys.args values (32348, 256, 'res_0', 'boolean', 1, 0, 0, 0); 1018
1018 insert into sys.args values (32348, 256, 'arg_1', 'int', 32, 0, 1, 1); 1018 ! 1019 insert into sys.args values (32349, 256, 'arg_1', 'boolean', 1, 0, 1, 1); 1019
1019 insert into sys.args values (32349, 256, 'arg_2', 'tinyint', 8, 0, 1, 2); 1019 ! 1020 insert into sys.args values (32350, 256, 'arg_2', 'boolean', 1, 0, 1, 2); 1020
1020 insert into sys.functions values (257, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1020 ! 1021 insert into sys.functions values (257, 'or', 'or', 'calc', 0, 1, false, false, false, 2000, true, true); 1021
1021 insert into sys.args values (32350, 257, 'res_0', 'int', 32, 0, 0, 0); 1021 ! 1022 insert into sys.args values (32351, 257, 'res_0', 'boolean', 1, 0, 0, 0); 1022
1022 insert into sys.args values (32351, 257, 'arg_1', 'tinyint', 8, 0, 1, 1); 1022 ! 1023 insert into sys.args values (32352, 257, 'arg_1', 'boolean', 1, 0, 1, 1); 1023
1023 insert into sys.args values (32352, 257, 'arg_2', 'int', 32, 0, 1, 2); 1023 ! 1024 insert into sys.args values (32353, 257, 'arg_2', 'boolean', 1, 0, 1, 2); 1024
1024 insert into sys.functions values (258, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1024 ! 1025 insert into sys.functions values (258, 'xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1025
1025 insert into sys.args values (32353, 258, 'res_0', 'int', 32, 0, 0, 0); 1025 ! 1026 insert into sys.args values (32354, 258, 'res_0', 'boolean', 1, 0, 0, 0); 1026
1026 insert into sys.args values (32354, 258, 'arg_1', 'int', 32, 0, 1, 1); 1026 ! 1027 insert into sys.args values (32355, 258, 'arg_1', 'boolean', 1, 0, 1, 1); 1027
1027 insert into sys.args values (32355, 258, 'arg_2', 'tinyint', 8, 0, 1, 2); 1027 ! 1028 insert into sys.args values (32356, 258, 'arg_2', 'boolean', 1, 0, 1, 2); 1028
1028 insert into sys.functions values (259, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1028 ! 1029 insert into sys.functions values (259, 'not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1029
1029 insert into sys.args values (32356, 259, 'res_0', 'int', 32, 0, 0, 0); 1029 ! 1030 insert into sys.args values (32357, 259, 'res_0', 'boolean', 1, 0, 0, 0); 1030
1030 insert into sys.args values (32357, 259, 'arg_1', 'int', 32, 0, 1, 1); 1030 ! 1031 insert into sys.args values (32358, 259, 'arg_1', 'boolean', 1, 0, 1, 1); 1031
1031 insert into sys.args values (32358, 259, 'arg_2', 'smallint', 16, 0, 1, 2); 1031 -
1032 insert into sys.functions values (260, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1032 ! 1032 insert into sys.functions values (260, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1032
1033 insert into sys.args values (32359, 260, 'res_0', 'int', 32, 0, 0, 0); 1033 ! 1033 insert into sys.args values (32359, 260, 'res_0', 'month_interval', 3, 0, 0, 0); 1033
1034 insert into sys.args values (32360, 260, 'arg_1', 'smallint', 16, 0, 1, 1); 1034 ! 1034 insert into sys.args values (32360, 260, 'arg_1', 'month_interval', 3, 0, 1, 1); 1034
1035 insert into sys.args values (32361, 260, 'arg_2', 'int', 32, 0, 1, 2); 1035 ! 1035 insert into sys.args values (32361, 260, 'arg_2', 'month_interval', 3, 0, 1, 2); 1035
1036 insert into sys.functions values (261, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1036 ! 1036 insert into sys.functions values (261, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1036
1037 insert into sys.args values (32362, 261, 'res_0', 'int', 32, 0, 0, 0); 1037 ! 1037 insert into sys.args values (32362, 261, 'res_0', 'month_interval', 3, 0, 0, 0); 1037
1038 insert into sys.args values (32363, 261, 'arg_1', 'int', 32, 0, 1, 1); 1038 ! 1038 insert into sys.args values (32363, 261, 'arg_1', 'month_interval', 3, 0, 1, 1); 1038
1039 insert into sys.args values (32364, 261, 'arg_2', 'smallint', 16, 0, 1, 2); 1039 ! 1039 insert into sys.args values (32364, 261, 'arg_2', 'month_interval', 3, 0, 1, 2); 1039
1040 insert into sys.functions values (262, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1040 ! 1040 insert into sys.functions values (262, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, true); 1040
1041 insert into sys.args values (32365, 262, 'res_0', 'bigint', 64, 0, 0, 0); 1041 ! 1041 insert into sys.args values (32365, 262, 'res_0', 'month_interval', 3, 0, 0, 0); 1041
1042 insert into sys.args values (32366, 262, 'arg_1', 'bigint', 64, 0, 1, 1); 1042 ! 1042 insert into sys.args values (32366, 262, 'arg_1', 'month_interval', 3, 0, 1, 1); 1042
1043 insert into sys.args values (32367, 262, 'arg_2', 'tinyint', 8, 0, 1, 2); 1043 -
1044 insert into sys.functions values (263, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1044 ! 1043 insert into sys.functions values (263, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1043
1045 insert into sys.args values (32368, 263, 'res_0', 'bigint', 64, 0, 0, 0); 1045 ! 1044 insert into sys.args values (32367, 263, 'res_0', 'month_interval', 3, 0, 0, 0); 1044
1046 insert into sys.args values (32369, 263, 'arg_1', 'tinyint', 8, 0, 1, 1); 1046 ! 1045 insert into sys.args values (32368, 263, 'arg_1', 'month_interval', 3, 0, 1, 1); 1045
1047 insert into sys.args values (32370, 263, 'arg_2', 'bigint', 64, 0, 1, 2); 1047 -
1048 insert into sys.functions values (264, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1048 ! 1046 insert into sys.functions values (264, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1046
1049 insert into sys.args values (32371, 264, 'res_0', 'bigint', 64, 0, 0, 0); 1049 ! 1047 insert into sys.args values (32369, 264, 'res_0', 'tinyint', 8, 0, 0, 0); 1047
1050 insert into sys.args values (32372, 264, 'arg_1', 'bigint', 64, 0, 1, 1); 1050 ! 1048 insert into sys.args values (32370, 264, 'arg_1', 'month_interval', 3, 0, 1, 1); 1048
1051 insert into sys.args values (32373, 264, 'arg_2', 'tinyint', 8, 0, 1, 2); 1051 -
1052 insert into sys.functions values (265, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1052 ! 1049 insert into sys.functions values (265, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1049
1053 insert into sys.args values (32374, 265, 'res_0', 'bigint', 64, 0, 0, 0); 1053 ! 1050 insert into sys.args values (32371, 265, 'res_0', 'month_interval', 3, 0, 0, 0); 1050
1054 insert into sys.args values (32375, 265, 'arg_1', 'bigint', 64, 0, 1, 1); 1054 ! 1051 insert into sys.args values (32372, 265, 'arg_1', 'month_interval', 3, 0, 1, 1); 1051
1055 insert into sys.args values (32376, 265, 'arg_2', 'smallint', 16, 0, 1, 2); 1055 ! 1052 insert into sys.args values (32373, 265, 'arg_2', 'int', 32, 0, 1, 2); 1052
1056 insert into sys.functions values (266, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1056 ! 1053 insert into sys.functions values (266, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1053
1057 insert into sys.args values (32377, 266, 'res_0', 'bigint', 64, 0, 0, 0); 1057 ! 1054 insert into sys.args values (32374, 266, 'res_0', 'month_interval', 3, 0, 0, 0); 1054
1058 insert into sys.args values (32378, 266, 'arg_1', 'smallint', 16, 0, 1, 1); 1058 ! 1055 insert into sys.args values (32375, 266, 'arg_1', 'month_interval', 3, 0, 1, 1); 1055
1059 insert into sys.args values (32379, 266, 'arg_2', 'bigint', 64, 0, 1, 2); 1059 ! 1056 insert into sys.args values (32376, 266, 'arg_2', 'int', 32, 0, 1, 2); 1056
1060 insert into sys.functions values (267, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1060 ! 1057 insert into sys.functions values (267, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1057
1061 insert into sys.args values (32380, 267, 'res_0', 'bigint', 64, 0, 0, 0); 1061 ! 1058 insert into sys.args values (32377, 267, 'res_0', 'day_interval', 4, 0, 0, 0); 1058
1062 insert into sys.args values (32381, 267, 'arg_1', 'bigint', 64, 0, 1, 1); 1062 ! 1059 insert into sys.args values (32378, 267, 'arg_1', 'day_interval', 4, 0, 1, 1); 1059
1063 insert into sys.args values (32382, 267, 'arg_2', 'smallint', 16, 0, 1, 2); 1063 ! 1060 insert into sys.args values (32379, 267, 'arg_2', 'day_interval', 4, 0, 1, 2); 1060
1064 insert into sys.functions values (268, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1064 ! 1061 insert into sys.functions values (268, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1061
1065 insert into sys.args values (32383, 268, 'res_0', 'bigint', 64, 0, 0, 0); 1065 ! 1062 insert into sys.args values (32380, 268, 'res_0', 'day_interval', 4, 0, 0, 0); 1062
1066 insert into sys.args values (32384, 268, 'arg_1', 'bigint', 64, 0, 1, 1); 1066 ! 1063 insert into sys.args values (32381, 268, 'arg_1', 'day_interval', 4, 0, 1, 1); 1063
1067 insert into sys.args values (32385, 268, 'arg_2', 'int', 32, 0, 1, 2); 1067 ! 1064 insert into sys.args values (32382, 268, 'arg_2', 'day_interval', 4, 0, 1, 2); 1064
1068 insert into sys.functions values (269, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1068 ! 1065 insert into sys.functions values (269, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, true); 1065
1069 insert into sys.args values (32386, 269, 'res_0', 'bigint', 64, 0, 0, 0); 1069 ! 1066 insert into sys.args values (32383, 269, 'res_0', 'day_interval', 4, 0, 0, 0); 1066
1070 insert into sys.args values (32387, 269, 'arg_1', 'int', 32, 0, 1, 1); 1070 ! 1067 insert into sys.args values (32384, 269, 'arg_1', 'day_interval', 4, 0, 1, 1); 1067
1071 insert into sys.args values (32388, 269, 'arg_2', 'bigint', 64, 0, 1, 2); 1071 -
1072 insert into sys.functions values (270, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1072 ! 1068 insert into sys.functions values (270, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1068
1073 insert into sys.args values (32389, 270, 'res_0', 'bigint', 64, 0, 0, 0); 1073 ! 1069 insert into sys.args values (32385, 270, 'res_0', 'day_interval', 4, 0, 0, 0); 1069
1074 insert into sys.args values (32390, 270, 'arg_1', 'bigint', 64, 0, 1, 1); 1074 ! 1070 insert into sys.args values (32386, 270, 'arg_1', 'day_interval', 4, 0, 1, 1); 1070
1075 insert into sys.args values (32391, 270, 'arg_2', 'int', 32, 0, 1, 2); 1075 -
1076 insert into sys.functions values (271, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1076 ! 1071 insert into sys.functions values (271, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1071
1077 insert into sys.args values (32392, 271, 'res_0', 'decimal', 4, 0, 0, 0); 1077 ! 1072 insert into sys.args values (32387, 271, 'res_0', 'tinyint', 8, 0, 0, 0); 1072
1078 insert into sys.args values (32393, 271, 'arg_1', 'decimal', 4, 0, 1, 1); 1078 ! 1073 insert into sys.args values (32388, 271, 'arg_1', 'day_interval', 4, 0, 1, 1); 1073
1079 insert into sys.args values (32394, 271, 'arg_2', 'tinyint', 8, 0, 1, 2); 1079 -
1080 insert into sys.functions values (272, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1080 ! 1074 insert into sys.functions values (272, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1074
1081 insert into sys.args values (32395, 272, 'res_0', 'decimal', 4, 0, 0, 0); 1081 ! 1075 insert into sys.args values (32389, 272, 'res_0', 'day_interval', 4, 0, 0, 0); 1075
1082 insert into sys.args values (32396, 272, 'arg_1', 'tinyint', 8, 0, 1, 1); 1082 ! 1076 insert into sys.args values (32390, 272, 'arg_1', 'day_interval', 4, 0, 1, 1); 1076
1083 insert into sys.args values (32397, 272, 'arg_2', 'decimal', 4, 0, 1, 2); 1083 ! 1077 insert into sys.args values (32391, 272, 'arg_2', 'bigint', 64, 0, 1, 2); 1077
1084 insert into sys.functions values (273, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1084 ! 1078 insert into sys.functions values (273, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1078
1085 insert into sys.args values (32398, 273, 'res_0', 'decimal', 4, 0, 0, 0); 1085 ! 1079 insert into sys.args values (32392, 273, 'res_0', 'day_interval', 4, 0, 0, 0); 1079
1086 insert into sys.args values (32399, 273, 'arg_1', 'decimal', 4, 0, 1, 1); 1086 ! 1080 insert into sys.args values (32393, 273, 'arg_1', 'day_interval', 4, 0, 1, 1); 1080
1087 insert into sys.args values (32400, 273, 'arg_2', 'tinyint', 8, 0, 1, 2); 1087 ! 1081 insert into sys.args values (32394, 273, 'arg_2', 'bigint', 64, 0, 1, 2); 1081
1088 insert into sys.functions values (274, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1088 ! 1082 insert into sys.functions values (274, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1082
1089 insert into sys.args values (32401, 274, 'res_0', 'decimal', 9, 0, 0, 0); 1089 ! 1083 insert into sys.args values (32395, 274, 'res_0', 'sec_interval', 13, 0, 0, 0); 1083
1090 insert into sys.args values (32402, 274, 'arg_1', 'decimal', 9, 0, 1, 1); 1090 ! 1084 insert into sys.args values (32396, 274, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1084
1091 insert into sys.args values (32403, 274, 'arg_2', 'tinyint', 8, 0, 1, 2); 1091 ! 1085 insert into sys.args values (32397, 274, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1085
1092 insert into sys.functions values (275, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1092 ! 1086 insert into sys.functions values (275, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1086
1093 insert into sys.args values (32404, 275, 'res_0', 'decimal', 9, 0, 0, 0); 1093 ! 1087 insert into sys.args values (32398, 275, 'res_0', 'sec_interval', 13, 0, 0, 0); 1087
1094 insert into sys.args values (32405, 275, 'arg_1', 'tinyint', 8, 0, 1, 1); 1094 ! 1088 insert into sys.args values (32399, 275, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1088
1095 insert into sys.args values (32406, 275, 'arg_2', 'decimal', 9, 0, 1, 2); 1095 ! 1089 insert into sys.args values (32400, 275, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1089
1096 insert into sys.functions values (276, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1096 ! 1090 insert into sys.functions values (276, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, true); 1090
1097 insert into sys.args values (32407, 276, 'res_0', 'decimal', 9, 0, 0, 0); 1097 ! 1091 insert into sys.args values (32401, 276, 'res_0', 'sec_interval', 13, 0, 0, 0); 1091
1098 insert into sys.args values (32408, 276, 'arg_1', 'decimal', 9, 0, 1, 1); 1098 ! 1092 insert into sys.args values (32402, 276, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1092
1099 insert into sys.args values (32409, 276, 'arg_2', 'tinyint', 8, 0, 1, 2); 1099 -
1100 insert into sys.functions values (277, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1100 ! 1093 insert into sys.functions values (277, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1093
1101 insert into sys.args values (32410, 277, 'res_0', 'decimal', 9, 0, 0, 0); 1101 ! 1094 insert into sys.args values (32403, 277, 'res_0', 'sec_interval', 13, 0, 0, 0); 1094
1102 insert into sys.args values (32411, 277, 'arg_1', 'decimal', 9, 0, 1, 1); 1102 ! 1095 insert into sys.args values (32404, 277, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1095
1103 insert into sys.args values (32412, 277, 'arg_2', 'smallint', 16, 0, 1, 2); 1103 -
1104 insert into sys.functions values (278, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1104 ! 1096 insert into sys.functions values (278, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1096
1105 insert into sys.args values (32413, 278, 'res_0', 'decimal', 9, 0, 0, 0); 1105 ! 1097 insert into sys.args values (32405, 278, 'res_0', 'tinyint', 8, 0, 0, 0); 1097
1106 insert into sys.args values (32414, 278, 'arg_1', 'smallint', 16, 0, 1, 1); 1106 ! 1098 insert into sys.args values (32406, 278, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1098
1107 insert into sys.args values (32415, 278, 'arg_2', 'decimal', 9, 0, 1, 2); 1107 -
1108 insert into sys.functions values (279, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1108 ! 1099 insert into sys.functions values (279, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1099
1109 insert into sys.args values (32416, 279, 'res_0', 'decimal', 9, 0, 0, 0); 1109 ! 1100 insert into sys.args values (32407, 279, 'res_0', 'sec_interval', 13, 0, 0, 0); 1100
1110 insert into sys.args values (32417, 279, 'arg_1', 'decimal', 9, 0, 1, 1); 1110 ! 1101 insert into sys.args values (32408, 279, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1101
1111 insert into sys.args values (32418, 279, 'arg_2', 'smallint', 16, 0, 1, 2); 1111 ! 1102 insert into sys.args values (32409, 279, 'arg_2', 'bigint', 64, 0, 1, 2); 1102
1112 insert into sys.functions values (280, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1112 ! 1103 insert into sys.functions values (280, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1103
1113 insert into sys.args values (32419, 280, 'res_0', 'decimal', 18, 0, 0, 0); 1113 ! 1104 insert into sys.args values (32410, 280, 'res_0', 'sec_interval', 13, 0, 0, 0); 1104
1114 insert into sys.args values (32420, 280, 'arg_1', 'decimal', 18, 0, 1, 1); 1114 ! 1105 insert into sys.args values (32411, 280, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1105
1115 insert into sys.args values (32421, 280, 'arg_2', 'tinyint', 8, 0, 1, 2); 1115 ! 1106 insert into sys.args values (32412, 280, 'arg_2', 'bigint', 64, 0, 1, 2); 1106
1116 insert into sys.functions values (281, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1116 1107 insert into sys.functions values (281, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1107
1117 insert into sys.args values (32422, 281, 'res_0', 'decimal', 18, 0, 0, 0); 1117 ! 1108 insert into sys.args values (32413, 281, 'res_0', 'smallint', 16, 0, 0, 0); 1108
1118 insert into sys.args values (32423, 281, 'arg_1', 'tinyint', 8, 0, 1, 1); 1118 ! 1109 insert into sys.args values (32414, 281, 'arg_1', 'smallint', 16, 0, 1, 1); 1109
1119 insert into sys.args values (32424, 281, 'arg_2', 'decimal', 18, 0, 1, 2); 1119 ! 1110 insert into sys.args values (32415, 281, 'arg_2', 'tinyint', 8, 0, 1, 2); 1110
1120 insert into sys.functions values (282, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1120 ! 1111 insert into sys.functions values (282, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1111
1121 insert into sys.args values (32425, 282, 'res_0', 'decimal', 18, 0, 0, 0); 1121 ! 1112 insert into sys.args values (32416, 282, 'res_0', 'smallint', 16, 0, 0, 0); 1112
1122 insert into sys.args values (32426, 282, 'arg_1', 'decimal', 18, 0, 1, 1); 1122 ! 1113 insert into sys.args values (32417, 282, 'arg_1', 'tinyint', 8, 0, 1, 1); 1113
1123 insert into sys.args values (32427, 282, 'arg_2', 'tinyint', 8, 0, 1, 2); 1123 ! 1114 insert into sys.args values (32418, 282, 'arg_2', 'smallint', 16, 0, 1, 2); 1114
1124 insert into sys.functions values (283, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1124 ! 1115 insert into sys.functions values (283, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1115
1125 insert into sys.args values (32428, 283, 'res_0', 'decimal', 18, 0, 0, 0); 1125 ! 1116 insert into sys.args values (32419, 283, 'res_0', 'smallint', 16, 0, 0, 0); 1116
1126 insert into sys.args values (32429, 283, 'arg_1', 'decimal', 18, 0, 1, 1); 1126 ! 1117 insert into sys.args values (32420, 283, 'arg_1', 'smallint', 16, 0, 1, 1); 1117
1127 insert into sys.args values (32430, 283, 'arg_2', 'smallint', 16, 0, 1, 2); 1127 ! 1118 insert into sys.args values (32421, 283, 'arg_2', 'tinyint', 8, 0, 1, 2); 1118
1128 insert into sys.functions values (284, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1128 1119 insert into sys.functions values (284, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1119
1129 insert into sys.args values (32431, 284, 'res_0', 'decimal', 18, 0, 0, 0); 1129 ! 1120 insert into sys.args values (32422, 284, 'res_0', 'int', 32, 0, 0, 0); 1120
1130 insert into sys.args values (32432, 284, 'arg_1', 'smallint', 16, 0, 1, 1); 1130 ! 1121 insert into sys.args values (32423, 284, 'arg_1', 'int', 32, 0, 1, 1); 1121
1131 insert into sys.args values (32433, 284, 'arg_2', 'decimal', 18, 0, 1, 2); 1131 ! 1122 insert into sys.args values (32424, 284, 'arg_2', 'tinyint', 8, 0, 1, 2); 1122
1132 insert into sys.functions values (285, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1132 ! 1123 insert into sys.functions values (285, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1123
1133 insert into sys.args values (32434, 285, 'res_0', 'decimal', 18, 0, 0, 0); 1133 ! 1124 insert into sys.args values (32425, 285, 'res_0', 'int', 32, 0, 0, 0); 1124
1134 insert into sys.args values (32435, 285, 'arg_1', 'decimal', 18, 0, 1, 1); 1134 ! 1125 insert into sys.args values (32426, 285, 'arg_1', 'tinyint', 8, 0, 1, 1); 1125
1135 insert into sys.args values (32436, 285, 'arg_2', 'smallint', 16, 0, 1, 2); 1135 ! 1126 insert into sys.args values (32427, 285, 'arg_2', 'int', 32, 0, 1, 2); 1126
1136 insert into sys.functions values (286, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1136 ! 1127 insert into sys.functions values (286, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1127
1137 insert into sys.args values (32437, 286, 'res_0', 'decimal', 18, 0, 0, 0); 1137 ! 1128 insert into sys.args values (32428, 286, 'res_0', 'int', 32, 0, 0, 0); 1128
1138 insert into sys.args values (32438, 286, 'arg_1', 'decimal', 18, 0, 1, 1); 1138 ! 1129 insert into sys.args values (32429, 286, 'arg_1', 'int', 32, 0, 1, 1); 1129
1139 insert into sys.args values (32439, 286, 'arg_2', 'int', 32, 0, 1, 2); 1139 ! 1130 insert into sys.args values (32430, 286, 'arg_2', 'tinyint', 8, 0, 1, 2); 1130
1140 insert into sys.functions values (287, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1140 1131 insert into sys.functions values (287, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1131
1141 insert into sys.args values (32440, 287, 'res_0', 'decimal', 18, 0, 0, 0); 1141 ! 1132 insert into sys.args values (32431, 287, 'res_0', 'int', 32, 0, 0, 0); 1132
1142 insert into sys.args values (32441, 287, 'arg_1', 'int', 32, 0, 1, 1); 1142 ! 1133 insert into sys.args values (32432, 287, 'arg_1', 'int', 32, 0, 1, 1); 1133
1143 insert into sys.args values (32442, 287, 'arg_2', 'decimal', 18, 0, 1, 2); 1143 ! 1134 insert into sys.args values (32433, 287, 'arg_2', 'smallint', 16, 0, 1, 2); 1134
1144 insert into sys.functions values (288, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1144 ! 1135 insert into sys.functions values (288, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1135
1145 insert into sys.args values (32443, 288, 'res_0', 'decimal', 18, 0, 0, 0); 1145 ! 1136 insert into sys.args values (32434, 288, 'res_0', 'int', 32, 0, 0, 0); 1136
1146 insert into sys.args values (32444, 288, 'arg_1', 'decimal', 18, 0, 1, 1); 1146 ! 1137 insert into sys.args values (32435, 288, 'arg_1', 'smallint', 16, 0, 1, 1); 1137
1147 insert into sys.args values (32445, 288, 'arg_2', 'int', 32, 0, 1, 2); 1147 ! 1138 insert into sys.args values (32436, 288, 'arg_2', 'int', 32, 0, 1, 2); 1138
1148 insert into sys.functions values (289, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1148 ! 1139 insert into sys.functions values (289, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1139
1149 insert into sys.args values (32446, 289, 'res_0', 'decimal', 9, 0, 0, 0); 1149 ! 1140 insert into sys.args values (32437, 289, 'res_0', 'int', 32, 0, 0, 0); 1140
1150 insert into sys.args values (32447, 289, 'arg_1', 'decimal', 9, 0, 1, 1); 1150 ! 1141 insert into sys.args values (32438, 289, 'arg_1', 'int', 32, 0, 1, 1); 1141
1151 insert into sys.args values (32448, 289, 'arg_2', 'decimal', 4, 0, 1, 2); 1151 ! 1142 insert into sys.args values (32439, 289, 'arg_2', 'smallint', 16, 0, 1, 2); 1142
1152 insert into sys.functions values (290, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1152 ! 1143 insert into sys.functions values (290, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1143
1153 insert into sys.args values (32449, 290, 'res_0', 'decimal', 9, 0, 0, 0); 1153 ! 1144 insert into sys.args values (32440, 290, 'res_0', 'bigint', 64, 0, 0, 0); 1144
1154 insert into sys.args values (32450, 290, 'arg_1', 'decimal', 9, 0, 1, 1); 1154 ! 1145 insert into sys.args values (32441, 290, 'arg_1', 'bigint', 64, 0, 1, 1); 1145
1155 insert into sys.args values (32451, 290, 'arg_2', 'decimal', 4, 0, 1, 2); 1155 ! 1146 insert into sys.args values (32442, 290, 'arg_2', 'tinyint', 8, 0, 1, 2); 1146
1156 insert into sys.functions values (291, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1156 1147 insert into sys.functions values (291, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1147
1157 insert into sys.args values (32452, 291, 'res_0', 'decimal', 18, 0, 0, 0); 1157 ! 1148 insert into sys.args values (32443, 291, 'res_0', 'bigint', 64, 0, 0, 0); 1148
1158 insert into sys.args values (32453, 291, 'arg_1', 'decimal', 18, 0, 1, 1); 1158 ! 1149 insert into sys.args values (32444, 291, 'arg_1', 'tinyint', 8, 0, 1, 1); 1149
1159 insert into sys.args values (32454, 291, 'arg_2', 'decimal', 4, 0, 1, 2); 1159 ! 1150 insert into sys.args values (32445, 291, 'arg_2', 'bigint', 64, 0, 1, 2); 1150
1160 insert into sys.functions values (292, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1160 1151 insert into sys.functions values (292, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1151
1161 insert into sys.args values (32455, 292, 'res_0', 'decimal', 18, 0, 0, 0); 1161 ! 1152 insert into sys.args values (32446, 292, 'res_0', 'bigint', 64, 0, 0, 0); 1152
1162 insert into sys.args values (32456, 292, 'arg_1', 'decimal', 18, 0, 1, 1); 1162 ! 1153 insert into sys.args values (32447, 292, 'arg_1', 'bigint', 64, 0, 1, 1); 1153
1163 insert into sys.args values (32457, 292, 'arg_2', 'decimal', 4, 0, 1, 2); 1163 ! 1154 insert into sys.args values (32448, 292, 'arg_2', 'tinyint', 8, 0, 1, 2); 1154
1164 insert into sys.functions values (293, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1164 1155 insert into sys.functions values (293, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1155
1165 insert into sys.args values (32458, 293, 'res_0', 'decimal', 18, 0, 0, 0); 1165 ! 1156 insert into sys.args values (32449, 293, 'res_0', 'bigint', 64, 0, 0, 0); 1156
1166 insert into sys.args values (32459, 293, 'arg_1', 'decimal', 18, 0, 1, 1); 1166 ! 1157 insert into sys.args values (32450, 293, 'arg_1', 'bigint', 64, 0, 1, 1); 1157
1167 insert into sys.args values (32460, 293, 'arg_2', 'decimal', 9, 0, 1, 2); 1167 ! 1158 insert into sys.args values (32451, 293, 'arg_2', 'smallint', 16, 0, 1, 2); 1158
1168 insert into sys.functions values (294, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1168 ! 1159 insert into sys.functions values (294, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1159
1169 insert into sys.args values (32461, 294, 'res_0', 'decimal', 18, 0, 0, 0); 1169 ! 1160 insert into sys.args values (32452, 294, 'res_0', 'bigint', 64, 0, 0, 0); 1160
1170 insert into sys.args values (32462, 294, 'arg_1', 'decimal', 18, 0, 1, 1); 1170 ! 1161 insert into sys.args values (32453, 294, 'arg_1', 'smallint', 16, 0, 1, 1); 1161
1171 insert into sys.args values (32463, 294, 'arg_2', 'decimal', 9, 0, 1, 2); 1171 ! 1162 insert into sys.args values (32454, 294, 'arg_2', 'bigint', 64, 0, 1, 2); 1162
1172 insert into sys.functions values (295, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1172 ! 1163 insert into sys.functions values (295, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1163
1173 insert into sys.args values (32464, 295, 'res_0', 'tinyint', 8, 0, 0, 0); 1173 ! 1164 insert into sys.args values (32455, 295, 'res_0', 'bigint', 64, 0, 0, 0); 1164
1174 insert into sys.args values (32465, 295, 'arg_1', 'tinyint', 8, 0, 1, 1); 1174 ! 1165 insert into sys.args values (32456, 295, 'arg_1', 'bigint', 64, 0, 1, 1); 1165
1175 insert into sys.args values (32466, 295, 'arg_2', 'tinyint', 8, 0, 1, 2); 1175 ! 1166 insert into sys.args values (32457, 295, 'arg_2', 'smallint', 16, 0, 1, 2); 1166
1176 insert into sys.functions values (296, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1176 ! 1167 insert into sys.functions values (296, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1167
1177 insert into sys.args values (32467, 296, 'res_0', 'tinyint', 8, 0, 0, 0); 1177 ! 1168 insert into sys.args values (32458, 296, 'res_0', 'bigint', 64, 0, 0, 0); 1168
1178 insert into sys.args values (32468, 296, 'arg_1', 'tinyint', 8, 0, 1, 1); 1178 ! 1169 insert into sys.args values (32459, 296, 'arg_1', 'bigint', 64, 0, 1, 1); 1169
1179 insert into sys.args values (32469, 296, 'arg_2', 'tinyint', 8, 0, 1, 2); 1179 ! 1170 insert into sys.args values (32460, 296, 'arg_2', 'int', 32, 0, 1, 2); 1170
1180 insert into sys.functions values (297, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1180 1171 insert into sys.functions values (297, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1171
1181 insert into sys.args values (32470, 297, 'res_0', 'tinyint', 8, 0, 0, 0); 1181 ! 1172 insert into sys.args values (32461, 297, 'res_0', 'bigint', 64, 0, 0, 0); 1172
1182 insert into sys.args values (32471, 297, 'arg_1', 'tinyint', 8, 0, 1, 1); 1182 ! 1173 insert into sys.args values (32462, 297, 'arg_1', 'int', 32, 0, 1, 1); 1173
1183 insert into sys.args values (32472, 297, 'arg_2', 'tinyint', 8, 0, 1, 2); 1183 ! 1174 insert into sys.args values (32463, 297, 'arg_2', 'bigint', 64, 0, 1, 2); 1174
1184 insert into sys.functions values (298, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1184 1175 insert into sys.functions values (298, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1175
1185 insert into sys.args values (32473, 298, 'res_0', 'tinyint', 8, 0, 0, 0); 1185 ! 1176 insert into sys.args values (32464, 298, 'res_0', 'bigint', 64, 0, 0, 0); 1176
1186 insert into sys.args values (32474, 298, 'arg_1', 'tinyint', 8, 0, 1, 1); 1186 ! 1177 insert into sys.args values (32465, 298, 'arg_1', 'bigint', 64, 0, 1, 1); 1177
1187 insert into sys.args values (32475, 298, 'arg_2', 'tinyint', 8, 0, 1, 2); 1187 ! 1178 insert into sys.args values (32466, 298, 'arg_2', 'int', 32, 0, 1, 2); 1178
1188 insert into sys.functions values (299, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1188 ! 1179 insert into sys.functions values (299, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1179
1189 insert into sys.args values (32476, 299, 'res_0', 'tinyint', 8, 0, 0, 0); 1189 ! 1180 insert into sys.args values (32467, 299, 'res_0', 'decimal', 4, 0, 0, 0); 1180
1190 insert into sys.args values (32477, 299, 'arg_1', 'tinyint', 8, 0, 1, 1); 1190 ! 1181 insert into sys.args values (32468, 299, 'arg_1', 'decimal', 4, 0, 1, 1); 1181
1191 insert into sys.args values (32478, 299, 'arg_2', 'tinyint', 8, 0, 1, 2); 1191 ! 1182 insert into sys.args values (32469, 299, 'arg_2', 'tinyint', 8, 0, 1, 2); 1182
1192 insert into sys.functions values (300, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1192 ! 1183 insert into sys.functions values (300, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1183
1193 insert into sys.args values (32479, 300, 'res_0', 'tinyint', 8, 0, 0, 0); 1193 ! 1184 insert into sys.args values (32470, 300, 'res_0', 'decimal', 4, 0, 0, 0); 1184
1194 insert into sys.args values (32480, 300, 'arg_1', 'tinyint', 8, 0, 1, 1); 1194 ! 1185 insert into sys.args values (32471, 300, 'arg_1', 'tinyint', 8, 0, 1, 1); 1185
1195 insert into sys.args values (32481, 300, 'arg_2', 'tinyint', 8, 0, 1, 2); 1195 ! 1186 insert into sys.args values (32472, 300, 'arg_2', 'decimal', 4, 0, 1, 2); 1186
1196 insert into sys.functions values (301, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1196 ! 1187 insert into sys.functions values (301, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1187
1197 insert into sys.args values (32482, 301, 'res_0', 'tinyint', 8, 0, 0, 0); 1197 ! 1188 insert into sys.args values (32473, 301, 'res_0', 'decimal', 4, 0, 0, 0); 1188
1198 insert into sys.args values (32483, 301, 'arg_1', 'tinyint', 8, 0, 1, 1); 1198 ! 1189 insert into sys.args values (32474, 301, 'arg_1', 'decimal', 4, 0, 1, 1); 1189
1199 insert into sys.args values (32484, 301, 'arg_2', 'tinyint', 8, 0, 1, 2); 1199 ! 1190 insert into sys.args values (32475, 301, 'arg_2', 'tinyint', 8, 0, 1, 2); 1190
1200 insert into sys.functions values (302, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1200 ! 1191 insert into sys.functions values (302, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1191
1201 insert into sys.args values (32485, 302, 'res_0', 'tinyint', 8, 0, 0, 0); 1201 ! 1192 insert into sys.args values (32476, 302, 'res_0', 'decimal', 9, 0, 0, 0); 1192
1202 insert into sys.args values (32486, 302, 'arg_1', 'tinyint', 8, 0, 1, 1); 1202 ! 1193 insert into sys.args values (32477, 302, 'arg_1', 'decimal', 9, 0, 1, 1); 1193
insert into sys. + 1194 insert into sys.args values (32478, 302, 'arg_2', 'tinyint', 8, 0, 1, 2); 1194
1203 functions values (303, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1203 ! 1195 insert into sys.functions values (303, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1195
1204 insert into sys.args values (32487, 303, 'res_0', 'tinyint', 8, 0, 0, 0); 1204 ! 1196 insert into sys.args values (32479, 303, 'res_0', 'decimal', 9, 0, 0, 0); 1196
1205 insert into sys.args values (32488, 303, 'arg_1', 'tinyint', 8, 0, 1, 1); 1205 ! 1197 insert into sys.args values (32480, 303, 'arg_1', 'tinyint', 8, 0, 1, 1); 1197
1206 insert into sys.args values (32489, 303, 'arg_2', 'int', 32, 0, 1, 2); 1206 ! 1198 insert into sys.args values (32481, 303, 'arg_2', 'decimal', 9, 0, 1, 2); 1198
1207 insert into sys.functions values (304, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1207 ! 1199 insert into sys.functions values (304, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1199
1208 insert into sys.args values (32490, 304, 'res_0', 'tinyint', 8, 0, 0, 0); 1208 ! 1200 insert into sys.args values (32482, 304, 'res_0', 'decimal', 9, 0, 0, 0); 1200
1209 insert into sys.args values (32491, 304, 'arg_1', 'tinyint', 8, 0, 1, 1); 1209 ! 1201 insert into sys.args values (32483, 304, 'arg_1', 'decimal', 9, 0, 1, 1); 1201
1210 insert into sys.args values (32492, 304, 'arg_2', 'int', 32, 0, 1, 2); 1210 ! 1202 insert into sys.args values (32484, 304, 'arg_2', 'tinyint', 8, 0, 1, 2); 1202
1211 insert into sys.functions values (305, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1211 ! 1203 insert into sys.functions values (305, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1203
1212 insert into sys.args values (32493, 305, 'res_0', 'tinyint', 8, 0, 0, 0); 1212 -
1213 insert into sys.args values (32494, 305, 'arg_1', 'tinyint', 8, 0, 1, 1); 1213 ! 1204 insert into sys.args values (32485, 305, 'res_0', 'decimal', 9, 0, 0, 0); 1204
1214 insert into sys.functions values (306, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1214 ! 1205 insert into sys.args values (32486, 305, 'arg_1', 'decimal', 9, 0, 1, 1); 1205
1215 insert into sys.args values (32495, 306, 'res_0', 'tinyint', 8, 0, 0, 0); 1215 ! 1206 insert into sys.args values (32487, 305, 'arg_2', 'smallint', 16, 0, 1, 2); 1206
1216 insert into sys.args values (32496, 306, 'arg_1', 'tinyint', 8, 0, 1, 1); 1216 ! 1207 insert into sys.functions values (306, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1207
1217 insert into sys.functions values (307, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1217 ! 1208 insert into sys.args values (32488, 306, 'res_0', 'decimal', 9, 0, 0, 0); 1208
1218 insert into sys.args values (32497, 307, 'res_0', 'tinyint', 8, 0, 0, 0); 1218 ! 1209 insert into sys.args values (32489, 306, 'arg_1', 'smallint', 16, 0, 1, 1); 1209
1219 insert into sys.args values (32498, 307, 'arg_1', 'tinyint', 8, 0, 1, 1); 1219 ! 1210 insert into sys.args values (32490, 306, 'arg_2', 'decimal', 9, 0, 1, 2); 1210
1220 insert into sys.functions values (308, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1220 ! 1211 insert into sys.functions values (307, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1211
1221 insert into sys.args values (32499, 308, 'res_0', 'tinyint', 8, 0, 0, 0); 1221 ! 1212 insert into sys.args values (32491, 307, 'res_0', 'decimal', 9, 0, 0, 0); 1212
1222 insert into sys.args values (32500, 308, 'arg_1', 'tinyint', 8, 0, 1, 1); 1222 ! 1213 insert into sys.args values (32492, 307, 'arg_1', 'decimal', 9, 0, 1, 1); 1213
1223 insert into sys.args values (32501, 308, 'arg_2', 'tinyint', 8, 0, 1, 2); 1223 ! 1214 insert into sys.args values (32493, 307, 'arg_2', 'smallint', 16, 0, 1, 2); 1214
1224 insert into sys.functions values (309, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1224 ! 1215 insert into sys.functions values (308, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1215
1225 insert into sys.args values (32502, 309, 'res_0', 'tinyint', 8, 0, 0, 0); 1225 ! 1216 insert into sys.args values (32494, 308, 'res_0', 'decimal', 18, 0, 0, 0); 1216
1226 insert into sys.args values (32503, 309, 'arg_1', 'tinyint', 8, 0, 1, 1); 1226 ! 1217 insert into sys.args values (32495, 308, 'arg_1', 'decimal', 18, 0, 1, 1); 1217
1227 insert into sys.args values (32504, 309, 'arg_2', 'tinyint', 8, 0, 1, 2); 1227 ! 1218 insert into sys.args values (32496, 308, 'arg_2', 'tinyint', 8, 0, 1, 2); 1218
1228 insert into sys.functions values (310, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1228 ! 1219 insert into sys.functions values (309, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1219
1229 insert into sys.args values (32505, 310, 'res_0', 'month_interval', 32, 0, 0, 0); 1229 ! 1220 insert into sys.args values (32497, 309, 'res_0', 'decimal', 18, 0, 0, 0); 1220
1230 insert into sys.args values (32506, 310, 'arg_1', 'month_interval', 32, 0, 1, 1); 1230 ! 1221 insert into sys.args values (32498, 309, 'arg_1', 'tinyint', 8, 0, 1, 1); 1221
1231 insert into sys.args values (32507, 310, 'arg_2', 'tinyint', 8, 0, 1, 2); 1231 ! 1222 insert into sys.args values (32499, 309, 'arg_2', 'decimal', 18, 0, 1, 2); 1222
1232 insert into sys.functions values (311, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1232 ! 1223 insert into sys.functions values (310, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1223
1233 insert into sys.args values (32508, 311, 'res_0', 'month_interval', 32, 0, 0, 0); 1233 ! 1224 insert into sys.args values (32500, 310, 'res_0', 'decimal', 18, 0, 0, 0); 1224
1234 insert into sys.args values (32509, 311, 'arg_1', 'month_interval', 32, 0, 1, 1); 1234 ! 1225 insert into sys.args values (32501, 310, 'arg_1', 'decimal', 18, 0, 1, 1); 1225
1235 insert into sys.args values (32510, 311, 'arg_2', 'tinyint', 8, 0, 1, 2); 1235 ! 1226 insert into sys.args values (32502, 310, 'arg_2', 'tinyint', 8, 0, 1, 2); 1226
+ 1227 insert into sys.functions values (311, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1227
+ 1228 insert into sys.args values (32503, 311, 'res_0', 'decimal', 18, 0, 0, 0); 1228
+ 1229 insert into sys.args values (32504, 311, 'arg_1', 'decimal', 18, 0, 1, 1); 1229
+ 1230 insert into sys.args values (32505, 311, 'arg_2', 'smallint', 16, 0, 1, 2); 1230
1236 insert into sys.functions values (312, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1236 1231 insert into sys.functions values (312, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1231
1237 insert into sys.args values (32511, 312, 'res_0', 'sec_interval', 13, 0, 0, 0); 1237 ! 1232 insert into sys.args values (32506, 312, 'res_0', 'decimal', 18, 0, 0, 0); 1232
1238 insert into sys.args values (32512, 312, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1238 ! 1233 insert into sys.args values (32507, 312, 'arg_1', 'smallint', 16, 0, 1, 1); 1233
1239 insert into sys.args values (32513, 312, 'arg_2', 'tinyint', 8, 0, 1, 2); 1239 ! 1234 insert into sys.args values (32508, 312, 'arg_2', 'decimal', 18, 0, 1, 2); 1234
1240 insert into sys.functions values (313, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1240 1235 insert into sys.functions values (313, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1235
1241 insert into sys.args values (32514, 313, 'res_0', 'sec_interval', 13, 0, 0, 0); 1241 ! 1236 insert into sys.args values (32509, 313, 'res_0', 'decimal', 18, 0, 0, 0); 1236
1242 insert into sys.args values (32515, 313, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1242 ! 1237 insert into sys.args values (32510, 313, 'arg_1', 'decimal', 18, 0, 1, 1); 1237
1243 insert into sys.args values (32516, 313, 'arg_2', 'tinyint', 8, 0, 1, 2); 1243 ! 1238 insert into sys.args values (32511, 313, 'arg_2', 'smallint', 16, 0, 1, 2); 1238
1244 insert into sys.functions values (314, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1244 ! 1239 insert into sys.functions values (314, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1239
1245 insert into sys.args values (32517, 314, 'res_0', 'smallint', 16, 0, 0, 0); 1245 ! 1240 insert into sys.args values (32512, 314, 'res_0', 'decimal', 18, 0, 0, 0); 1240
1246 insert into sys.args values (32518, 314, 'arg_1', 'smallint', 16, 0, 1, 1); 1246 ! 1241 insert into sys.args values (32513, 314, 'arg_1', 'decimal', 18, 0, 1, 1); 1241
1247 insert into sys.args values (32519, 314, 'arg_2', 'smallint', 16, 0, 1, 2); 1247 ! 1242 insert into sys.args values (32514, 314, 'arg_2', 'int', 32, 0, 1, 2); 1242
1248 insert into sys.functions values (315, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1248 ! 1243 insert into sys.functions values (315, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1243
1249 insert into sys.args values (32520, 315, 'res_0', 'smallint', 16, 0, 0, 0); 1249 ! 1244 insert into sys.args values (32515, 315, 'res_0', 'decimal', 18, 0, 0, 0); 1244
1250 insert into sys.args values (32521, 315, 'arg_1', 'smallint', 16, 0, 1, 1); 1250 ! 1245 insert into sys.args values (32516, 315, 'arg_1', 'int', 32, 0, 1, 1); 1245
1251 insert into sys.args values (32522, 315, 'arg_2', 'smallint', 16, 0, 1, 2); 1251 ! 1246 insert into sys.args values (32517, 315, 'arg_2', 'decimal', 18, 0, 1, 2); 1246
1252 insert into sys.functions values (316, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1252 ! 1247 insert into sys.functions values (316, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1247
1253 insert into sys.args values (32523, 316, 'res_0', 'smallint', 16, 0, 0, 0); 1253 ! 1248 insert into sys.args values (32518, 316, 'res_0', 'decimal', 18, 0, 0, 0); 1248
1254 insert into sys.args values (32524, 316, 'arg_1', 'smallint', 16, 0, 1, 1); 1254 ! 1249 insert into sys.args values (32519, 316, 'arg_1', 'decimal', 18, 0, 1, 1); 1249
1255 insert into sys.args values (32525, 316, 'arg_2', 'smallint', 16, 0, 1, 2); 1255 ! 1250 insert into sys.args values (32520, 316, 'arg_2', 'int', 32, 0, 1, 2); 1250
1256 insert into sys.functions values (317, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1256 ! 1251 insert into sys.functions values (317, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1251
1257 insert into sys.args values (32526, 317, 'res_0', 'smallint', 16, 0, 0, 0); 1257 ! 1252 insert into sys.args values (32521, 317, 'res_0', 'decimal', 9, 0, 0, 0); 1252
1258 insert into sys.args values (32527, 317, 'arg_1', 'smallint', 16, 0, 1, 1); 1258 ! 1253 insert into sys.args values (32522, 317, 'arg_1', 'decimal', 9, 0, 1, 1); 1253
1259 insert into sys.args values (32528, 317, 'arg_2', 'smallint', 16, 0, 1, 2); 1259 ! 1254 insert into sys.args values (32523, 317, 'arg_2', 'decimal', 4, 0, 1, 2); 1254
1260 insert into sys.functions values (318, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1260 ! 1255 insert into sys.functions values (318, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1255
1261 insert into sys.args values (32529, 318, 'res_0', 'smallint', 16, 0, 0, 0); 1261 ! 1256 insert into sys.args values (32524, 318, 'res_0', 'decimal', 9, 0, 0, 0); 1256
1262 insert into sys.args values (32530, 318, 'arg_1', 'smallint', 16, 0, 1, 1); 1262 ! 1257 insert into sys.args values (32525, 318, 'arg_1', 'decimal', 9, 0, 1, 1); 1257
1263 insert into sys.args values (32531, 318, 'arg_2', 'smallint', 16, 0, 1, 2); 1263 ! 1258 insert into sys.args values (32526, 318, 'arg_2', 'decimal', 4, 0, 1, 2); 1258
1264 insert into sys.functions values (319, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1264 ! 1259 insert into sys.functions values (319, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1259
1265 insert into sys.args values (32532, 319, 'res_0', 'smallint', 16, 0, 0, 0); 1265 ! 1260 insert into sys.args values (32527, 319, 'res_0', 'decimal', 18, 0, 0, 0); 1260
1266 insert into sys.args values (32533, 319, 'arg_1', 'smallint', 16, 0, 1, 1); 1266 ! 1261 insert into sys.args values (32528, 319, 'arg_1', 'decimal', 18, 0, 1, 1); 1261
1267 insert into sys.args values (32534, 319, 'arg_2', 'smallint', 16, 0, 1, 2); 1267 ! 1262 insert into sys.args values (32529, 319, 'arg_2', 'decimal', 4, 0, 1, 2); 1262
1268 insert into sys.functions values (320, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1268 ! 1263 insert into sys.functions values (320, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1263
1269 insert into sys.args values (32535, 320, 'res_0', 'smallint', 16, 0, 0, 0); 1269 ! 1264 insert into sys.args values (32530, 320, 'res_0', 'decimal', 18, 0, 0, 0); 1264
1270 insert into sys.args values (32536, 320, 'arg_1', 'smallint', 16, 0, 1, 1); 1270 ! 1265 insert into sys.args values (32531, 320, 'arg_1', 'decimal', 18, 0, 1, 1); 1265
1271 insert into sys.args values (32537, 320, 'arg_2', 'smallint', 16, 0, 1, 2); 1271 ! 1266 insert into sys.args values (32532, 320, 'arg_2', 'decimal', 4, 0, 1, 2); 1266
1272 insert into sys.functions values (321, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1272 ! 1267 insert into sys.functions values (321, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1267
1273 insert into sys.args values (32538, 321, 'res_0', 'smallint', 16, 0, 0, 0); 1273 ! 1268 insert into sys.args values (32533, 321, 'res_0', 'decimal', 18, 0, 0, 0); 1268
1274 insert into sys.args values (32539, 321, 'arg_1', 'smallint', 16, 0, 1, 1); 1274 ! 1269 insert into sys.args values (32534, 321, 'arg_1', 'decimal', 18, 0, 1, 1); 1269
insert into sys. + 1270 insert into sys.args values (32535, 321, 'arg_2', 'decimal', 9, 0, 1, 2); 1270
1275 functions values (322, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1275 ! 1271 insert into sys.functions values (322, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1271
1276 insert into sys.args values (32540, 322, 'res_0', 'smallint', 16, 0, 0, 0); 1276 ! 1272 insert into sys.args values (32536, 322, 'res_0', 'decimal', 18, 0, 0, 0); 1272
1277 insert into sys.args values (32541, 322, 'arg_1', 'smallint', 16, 0, 1, 1); 1277 ! 1273 insert into sys.args values (32537, 322, 'arg_1', 'decimal', 18, 0, 1, 1); 1273
1278 insert into sys.args values (32542, 322, 'arg_2', 'int', 32, 0, 1, 2); 1278 ! 1274 insert into sys.args values (32538, 322, 'arg_2', 'decimal', 9, 0, 1, 2); 1274
1279 insert into sys.functions values (323, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1279 ! 1275 insert into sys.functions values (323, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1275
1280 insert into sys.args values (32543, 323, 'res_0', 'smallint', 16, 0, 0, 0); 1280 ! 1276 insert into sys.args values (32539, 323, 'res_0', 'tinyint', 8, 0, 0, 0); 1276
1281 insert into sys.args values (32544, 323, 'arg_1', 'smallint', 16, 0, 1, 1); 1281 ! 1277 insert into sys.args values (32540, 323, 'arg_1', 'tinyint', 8, 0, 1, 1); 1277
1282 insert into sys.args values (32545, 323, 'arg_2', 'int', 32, 0, 1, 2); 1282 ! 1278 insert into sys.args values (32541, 323, 'arg_2', 'tinyint', 8, 0, 1, 2); 1278
1283 insert into sys.functions values (324, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1283 ! 1279 insert into sys.functions values (324, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1279
1284 insert into sys.args values (32546, 324, 'res_0', 'smallint', 16, 0, 0, 0); 1284 -
1285 insert into sys.args values (32547, 324, 'arg_1', 'smallint', 16, 0, 1, 1); 1285 ! 1280 insert into sys.args values (32542, 324, 'res_0', 'tinyint', 8, 0, 0, 0); 1280
1286 insert into sys.functions values (325, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1286 ! 1281 insert into sys.args values (32543, 324, 'arg_1', 'tinyint', 8, 0, 1, 1); 1281
1287 insert into sys.args values (32548, 325, 'res_0', 'smallint', 16, 0, 0, 0); 1287 ! 1282 insert into sys.args values (32544, 324, 'arg_2', 'tinyint', 8, 0, 1, 2); 1282
1288 insert into sys.args values (32549, 325, 'arg_1', 'smallint', 16, 0, 1, 1); 1288 ! 1283 insert into sys.functions values (325, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1283
1289 insert into sys.functions values (326, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1289 ! 1284 insert into sys.args values (32545, 325, 'res_0', 'tinyint', 8, 0, 0, 0); 1284
1290 insert into sys.args values (32550, 326, 'res_0', 'tinyint', 8, 0, 0, 0); 1290 ! 1285 insert into sys.args values (32546, 325, 'arg_1', 'tinyint', 8, 0, 1, 1); 1285
1291 insert into sys.args values (32551, 326, 'arg_1', 'smallint', 16, 0, 1, 1); 1291 ! 1286 insert into sys.args values (32547, 325, 'arg_2', 'tinyint', 8, 0, 1, 2); 1286
1292 insert into sys.functions values (327, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1292 ! 1287 insert into sys.functions values (326, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1287
1293 insert into sys.args values (32552, 327, 'res_0', 'smallint', 16, 0, 0, 0); 1293 ! 1288 insert into sys.args values (32548, 326, 'res_0', 'tinyint', 8, 0, 0, 0); 1288
1294 insert into sys.args values (32553, 327, 'arg_1', 'smallint', 16, 0, 1, 1); 1294 ! 1289 insert into sys.args values (32549, 326, 'arg_1', 'tinyint', 8, 0, 1, 1); 1289
1295 insert into sys.args values (32554, 327, 'arg_2', 'smallint', 16, 0, 1, 2); 1295 ! 1290 insert into sys.args values (32550, 326, 'arg_2', 'tinyint', 8, 0, 1, 2); 1290
1296 insert into sys.functions values (328, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1296 ! 1291 insert into sys.functions values (327, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1291
1297 insert into sys.args values (32555, 328, 'res_0', 'smallint', 16, 0, 0, 0); 1297 ! 1292 insert into sys.args values (32551, 327, 'res_0', 'tinyint', 8, 0, 0, 0); 1292
1298 insert into sys.args values (32556, 328, 'arg_1', 'smallint', 16, 0, 1, 1); 1298 ! 1293 insert into sys.args values (32552, 327, 'arg_1', 'tinyint', 8, 0, 1, 1); 1293
1299 insert into sys.args values (32557, 328, 'arg_2', 'smallint', 16, 0, 1, 2); 1299 ! 1294 insert into sys.args values (32553, 327, 'arg_2', 'tinyint', 8, 0, 1, 2); 1294
1300 insert into sys.functions values (329, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1300 ! 1295 insert into sys.functions values (328, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1295
1301 insert into sys.args values (32558, 329, 'res_0', 'month_interval', 32, 0, 0, 0); 1301 ! 1296 insert into sys.args values (32554, 328, 'res_0', 'tinyint', 8, 0, 0, 0); 1296
1302 insert into sys.args values (32559, 329, 'arg_1', 'month_interval', 32, 0, 1, 1); 1302 ! 1297 insert into sys.args values (32555, 328, 'arg_1', 'tinyint', 8, 0, 1, 1); 1297
1303 insert into sys.args values (32560, 329, 'arg_2', 'smallint', 16, 0, 1, 2); 1303 ! 1298 insert into sys.args values (32556, 328, 'arg_2', 'tinyint', 8, 0, 1, 2); 1298
1304 insert into sys.functions values (330, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1304 ! 1299 insert into sys.functions values (329, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1299
1305 insert into sys.args values (32561, 330, 'res_0', 'month_interval', 32, 0, 0, 0); 1305 ! 1300 insert into sys.args values (32557, 329, 'res_0', 'tinyint', 8, 0, 0, 0); 1300
1306 insert into sys.args values (32562, 330, 'arg_1', 'month_interval', 32, 0, 1, 1); 1306 ! 1301 insert into sys.args values (32558, 329, 'arg_1', 'tinyint', 8, 0, 1, 1); 1301
1307 insert into sys.args values (32563, 330, 'arg_2', 'smallint', 16, 0, 1, 2); 1307 ! 1302 insert into sys.args values (32559, 329, 'arg_2', 'tinyint', 8, 0, 1, 2); 1302
1308 insert into sys.functions values (331, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1308 ! 1303 insert into sys.functions values (330, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1303
1309 insert into sys.args values (32564, 331, 'res_0', 'sec_interval', 13, 0, 0, 0); 1309 ! 1304 insert into sys.args values (32560, 330, 'res_0', 'tinyint', 8, 0, 0, 0); 1304
1310 insert into sys.args values (32565, 331, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1310 ! 1305 insert into sys.args values (32561, 330, 'arg_1', 'tinyint', 8, 0, 1, 1); 1305
1311 insert into sys.args values (32566, 331, 'arg_2', 'smallint', 16, 0, 1, 2); 1311 ! 1306 insert into sys.functions values (331, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1306
1312 insert into sys.functions values (332, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1312 ! 1307 insert into sys.args values (32562, 331, 'res_0', 'tinyint', 8, 0, 0, 0); 1307
1313 insert into sys.args values (32567, 332, 'res_0', 'sec_interval', 13, 0, 0, 0); 1313 ! 1308 insert into sys.args values (32563, 331, 'arg_1', 'tinyint', 8, 0, 1, 1); 1308
1314 insert into sys.args values (32568, 332, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1314 ! 1309 insert into sys.args values (32564, 331, 'arg_2', 'int', 32, 0, 1, 2); 1309
1315 insert into sys.args values (32569, 332, 'arg_2', 'smallint', 16, 0, 1, 2); 1315 ! 1310 insert into sys.functions values (332, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1310
1316 insert into sys.functions values (333, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1316 ! 1311 insert into sys.args values (32565, 332, 'res_0', 'tinyint', 8, 0, 0, 0); 1311
1317 insert into sys.args values (32570, 333, 'res_0', 'int', 32, 0, 0, 0); 1317 ! 1312 insert into sys.args values (32566, 332, 'arg_1', 'tinyint', 8, 0, 1, 1); 1312
1318 insert into sys.args values (32571, 333, 'arg_1', 'int', 32, 0, 1, 1); 1318 ! 1313 insert into sys.args values (32567, 332, 'arg_2', 'int', 32, 0, 1, 2); 1313
1319 insert into sys.args values (32572, 333, 'arg_2', 'int', 32, 0, 1, 2); 1319 ! 1314 insert into sys.functions values (333, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1314
1320 insert into sys.functions values (334, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1320 ! 1315 insert into sys.args values (32568, 333, 'res_0', 'tinyint', 8, 0, 0, 0); 1315
1321 insert into sys.args values (32573, 334, 'res_0', 'int', 32, 0, 0, 0); 1321 ! 1316 insert into sys.args values (32569, 333, 'arg_1', 'tinyint', 8, 0, 1, 1); 1316
1322 insert into sys.args values (32574, 334, 'arg_1', 'int', 32, 0, 1, 1); 1322 ! 1317 insert into sys.functions values (334, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1317
1323 insert into sys.args values (32575, 334, 'arg_2', 'int', 32, 0, 1, 2); 1323 ! 1318 insert into sys.args values (32570, 334, 'res_0', 'tinyint', 8, 0, 0, 0); 1318
1324 insert into sys.functions values (335, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1324 ! 1319 insert into sys.args values (32571, 334, 'arg_1', 'tinyint', 8, 0, 1, 1); 1319
1325 insert into sys.args values (32576, 335, 'res_0', 'int', 32, 0, 0, 0); 1325 ! 1320 insert into sys.functions values (335, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1320
1326 insert into sys.args values (32577, 335, 'arg_1', 'int', 32, 0, 1, 1); 1326 ! 1321 insert into sys.args values (32572, 335, 'res_0', 'tinyint', 8, 0, 0, 0); 1321
1327 insert into sys.args values (32578, 335, 'arg_2', 'int', 32, 0, 1, 2); 1327 ! 1322 insert into sys.args values (32573, 335, 'arg_1', 'tinyint', 8, 0, 1, 1); 1322
1328 insert into sys.functions values (336, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1328 ! 1323 insert into sys.functions values (336, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1323
1329 insert into sys.args values (32579, 336, 'res_0', 'int', 32, 0, 0, 0); 1329 ! 1324 insert into sys.args values (32574, 336, 'res_0', 'tinyint', 8, 0, 0, 0); 1324
1330 insert into sys.args values (32580, 336, 'arg_1', 'int', 32, 0, 1, 1); 1330 ! 1325 insert into sys.args values (32575, 336, 'arg_1', 'tinyint', 8, 0, 1, 1); 1325
1331 insert into sys.args values (32581, 336, 'arg_2', 'int', 32, 0, 1, 2); 1331 ! 1326 insert into sys.args values (32576, 336, 'arg_2', 'tinyint', 8, 0, 1, 2); 1326
1332 insert into sys.functions values (337, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1332 ! 1327 insert into sys.functions values (337, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1327
1333 insert into sys.args values (32582, 337, 'res_0', 'int', 32, 0, 0, 0); 1333 ! 1328 insert into sys.args values (32577, 337, 'res_0', 'tinyint', 8, 0, 0, 0); 1328
1334 insert into sys.args values (32583, 337, 'arg_1', 'int', 32, 0, 1, 1); 1334 ! 1329 insert into sys.args values (32578, 337, 'arg_1', 'tinyint', 8, 0, 1, 1); 1329
1335 insert into sys.args values (32584, 337, 'arg_2', 'int', 32, 0, 1, 2); 1335 ! 1330 insert into sys.args values (32579, 337, 'arg_2', 'tinyint', 8, 0, 1, 2); 1330
1336 insert into sys.functions values (338, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1336 ! 1331 insert into sys.functions values (338, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1331
1337 insert into sys.args values (32585, 338, 'res_0', 'int', 32, 0, 0, 0); 1337 ! 1332 insert into sys.args values (32580, 338, 'res_0', 'month_interval', 3, 0, 0, 0); 1332
1338 insert into sys.args values (32586, 338, 'arg_1', 'int', 32, 0, 1, 1); 1338 ! 1333 insert into sys.args values (32581, 338, 'arg_1', 'month_interval', 3, 0, 1, 1); 1333
1339 insert into sys.args values (32587, 338, 'arg_2', 'int', 32, 0, 1, 2); 1339 ! 1334 insert into sys.args values (32582, 338, 'arg_2', 'tinyint', 8, 0, 1, 2); 1334
1340 insert into sys.functions values (339, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1340 ! 1335 insert into sys.functions values (339, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1335
1341 insert into sys.args values (32588, 339, 'res_0', 'int', 32, 0, 0, 0); 1341 ! 1336 insert into sys.args values (32583, 339, 'res_0', 'month_interval', 3, 0, 0, 0); 1336
1342 insert into sys.args values (32589, 339, 'arg_1', 'int', 32, 0, 1, 1); 1342 ! 1337 insert into sys.args values (32584, 339, 'arg_1', 'month_interval', 3, 0, 1, 1); 1337
1343 insert into sys.args values (32590, 339, 'arg_2', 'int', 32, 0, 1, 2); 1343 ! 1338 insert into sys.args values (32585, 339, 'arg_2', 'tinyint', 8, 0, 1, 2); 1338
1344 insert into sys.functions values (340, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1344 ! 1339 insert into sys.functions values (340, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1339
1345 insert into sys.args values (32591, 340, 'res_0', 'int', 32, 0, 0, 0); 1345 ! 1340 insert into sys.args values (32586, 340, 'res_0', 'day_interval', 4, 0, 0, 0); 1340
1346 insert into sys.args values (32592, 340, 'arg_1', 'int', 32, 0, 1, 1); 1346 ! 1341 insert into sys.args values (32587, 340, 'arg_1', 'day_interval', 4, 0, 1, 1); 1341
insert into sys. + 1342 insert into sys.args values (32588, 340, 'arg_2', 'tinyint', 8, 0, 1, 2); 1342
1347 functions values (341, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1347 ! 1343 insert into sys.functions values (341, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1343
1348 insert into sys.args values (32593, 341, 'res_0', 'int', 32, 0, 0, 0); 1348 ! 1344 insert into sys.args values (32589, 341, 'res_0', 'day_interval', 4, 0, 0, 0); 1344
1349 insert into sys.args values (32594, 341, 'arg_1', 'int', 32, 0, 1, 1); 1349 ! 1345 insert into sys.args values (32590, 341, 'arg_1', 'day_interval', 4, 0, 1, 1); 1345
1350 insert into sys.args values (32595, 341, 'arg_2', 'int', 32, 0, 1, 2); 1350 ! 1346 insert into sys.args values (32591, 341, 'arg_2', 'tinyint', 8, 0, 1, 2); 1346
1351 insert into sys.functions values (342, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1351 ! 1347 insert into sys.functions values (342, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1347
1352 insert into sys.args values (32596, 342, 'res_0', 'int', 32, 0, 0, 0); 1352 ! 1348 insert into sys.args values (32592, 342, 'res_0', 'sec_interval', 13, 0, 0, 0); 1348
1353 insert into sys.args values (32597, 342, 'arg_1', 'int', 32, 0, 1, 1); 1353 ! 1349 insert into sys.args values (32593, 342, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1349
1354 insert into sys.args values (32598, 342, 'arg_2', 'int', 32, 0, 1, 2); 1354 ! 1350 insert into sys.args values (32594, 342, 'arg_2', 'tinyint', 8, 0, 1, 2); 1350
1355 insert into sys.functions values (343, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1355 ! 1351 insert into sys.functions values (343, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1351
1356 insert into sys.args values (32599, 343, 'res_0', 'int', 32, 0, 0, 0); 1356 -
1357 insert into sys.args values (32600, 343, 'arg_1', 'int', 32, 0, 1, 1); 1357 ! 1352 insert into sys.args values (32595, 343, 'res_0', 'sec_interval', 13, 0, 0, 0); 1352
1358 insert into sys.functions values (344, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1358 ! 1353 insert into sys.args values (32596, 343, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1353
1359 insert into sys.args values (32601, 344, 'res_0', 'int', 32, 0, 0, 0); 1359 ! 1354 insert into sys.args values (32597, 343, 'arg_2', 'tinyint', 8, 0, 1, 2); 1354
1360 insert into sys.args values (32602, 344, 'arg_1', 'int', 32, 0, 1, 1); 1360 ! 1355 insert into sys.functions values (344, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1355
1361 insert into sys.functions values (345, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1361 ! 1356 insert into sys.args values (32598, 344, 'res_0', 'smallint', 16, 0, 0, 0); 1356
1362 insert into sys.args values (32603, 345, 'res_0', 'tinyint', 8, 0, 0, 0); 1362 ! 1357 insert into sys.args values (32599, 344, 'arg_1', 'smallint', 16, 0, 1, 1); 1357
1363 insert into sys.args values (32604, 345, 'arg_1', 'int', 32, 0, 1, 1); 1363 ! 1358 insert into sys.args values (32600, 344, 'arg_2', 'smallint', 16, 0, 1, 2); 1358
1364 insert into sys.functions values (346, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1364 ! 1359 insert into sys.functions values (345, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1359
1365 insert into sys.args values (32605, 346, 'res_0', 'int', 32, 0, 0, 0); 1365 ! 1360 insert into sys.args values (32601, 345, 'res_0', 'smallint', 16, 0, 0, 0); 1360
1366 insert into sys.args values (32606, 346, 'arg_1', 'int', 32, 0, 1, 1); 1366 ! 1361 insert into sys.args values (32602, 345, 'arg_1', 'smallint', 16, 0, 1, 1); 1361
1367 insert into sys.args values (32607, 346, 'arg_2', 'int', 32, 0, 1, 2); 1367 ! 1362 insert into sys.args values (32603, 345, 'arg_2', 'smallint', 16, 0, 1, 2); 1362
1368 insert into sys.functions values (347, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1368 ! 1363 insert into sys.functions values (346, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1363
1369 insert into sys.args values (32608, 347, 'res_0', 'int', 32, 0, 0, 0); 1369 ! 1364 insert into sys.args values (32604, 346, 'res_0', 'smallint', 16, 0, 0, 0); 1364
1370 insert into sys.args values (32609, 347, 'arg_1', 'int', 32, 0, 1, 1); 1370 ! 1365 insert into sys.args values (32605, 346, 'arg_1', 'smallint', 16, 0, 1, 1); 1365
1371 insert into sys.args values (32610, 347, 'arg_2', 'int', 32, 0, 1, 2); 1371 ! 1366 insert into sys.args values (32606, 346, 'arg_2', 'smallint', 16, 0, 1, 2); 1366
1372 insert into sys.functions values (348, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1372 ! 1367 insert into sys.functions values (347, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1367
1373 insert into sys.args values (32611, 348, 'res_0', 'month_interval', 32, 0, 0, 0); 1373 ! 1368 insert into sys.args values (32607, 347, 'res_0', 'smallint', 16, 0, 0, 0); 1368
1374 insert into sys.args values (32612, 348, 'arg_1', 'month_interval', 32, 0, 1, 1); 1374 ! 1369 insert into sys.args values (32608, 347, 'arg_1', 'smallint', 16, 0, 1, 1); 1369
1375 insert into sys.args values (32613, 348, 'arg_2', 'int', 32, 0, 1, 2); 1375 ! 1370 insert into sys.args values (32609, 347, 'arg_2', 'smallint', 16, 0, 1, 2); 1370
1376 insert into sys.functions values (349, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1376 ! 1371 insert into sys.functions values (348, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1371
1377 insert into sys.args values (32614, 349, 'res_0', 'month_interval', 32, 0, 0, 0); 1377 ! 1372 insert into sys.args values (32610, 348, 'res_0', 'smallint', 16, 0, 0, 0); 1372
1378 insert into sys.args values (32615, 349, 'arg_1', 'month_interval', 32, 0, 1, 1); 1378 ! 1373 insert into sys.args values (32611, 348, 'arg_1', 'smallint', 16, 0, 1, 1); 1373
1379 insert into sys.args values (32616, 349, 'arg_2', 'int', 32, 0, 1, 2); 1379 ! 1374 insert into sys.args values (32612, 348, 'arg_2', 'smallint', 16, 0, 1, 2); 1374
1380 insert into sys.functions values (350, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1380 ! 1375 insert into sys.functions values (349, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1375
1381 insert into sys.args values (32617, 350, 'res_0', 'sec_interval', 13, 0, 0, 0); 1381 ! 1376 insert into sys.args values (32613, 349, 'res_0', 'smallint', 16, 0, 0, 0); 1376
1382 insert into sys.args values (32618, 350, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1382 ! 1377 insert into sys.args values (32614, 349, 'arg_1', 'smallint', 16, 0, 1, 1); 1377
1383 insert into sys.args values (32619, 350, 'arg_2', 'int', 32, 0, 1, 2); 1383 ! 1378 insert into sys.args values (32615, 349, 'arg_2', 'smallint', 16, 0, 1, 2); 1378
1384 insert into sys.functions values (351, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1384 ! 1379 insert into sys.functions values (350, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1379
1385 insert into sys.args values (32620, 351, 'res_0', 'sec_interval', 13, 0, 0, 0); 1385 ! 1380 insert into sys.args values (32616, 350, 'res_0', 'smallint', 16, 0, 0, 0); 1380
1386 insert into sys.args values (32621, 351, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1386 ! 1381 insert into sys.args values (32617, 350, 'arg_1', 'smallint', 16, 0, 1, 1); 1381
1387 insert into sys.args values (32622, 351, 'arg_2', 'int', 32, 0, 1, 2); 1387 ! 1382 insert into sys.args values (32618, 350, 'arg_2', 'smallint', 16, 0, 1, 2); 1382
1388 insert into sys.functions values (352, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1388 ! 1383 insert into sys.functions values (351, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1383
1389 insert into sys.args values (32623, 352, 'res_0', 'bigint', 64, 0, 0, 0); 1389 ! 1384 insert into sys.args values (32619, 351, 'res_0', 'smallint', 16, 0, 0, 0); 1384
1390 insert into sys.args values (32624, 352, 'arg_1', 'bigint', 64, 0, 1, 1); 1390 ! 1385 insert into sys.args values (32620, 351, 'arg_1', 'smallint', 16, 0, 1, 1); 1385
1391 insert into sys.args values (32625, 352, 'arg_2', 'bigint', 64, 0, 1, 2); 1391 ! 1386 insert into sys.functions values (352, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1386
1392 insert into sys.functions values (353, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1392 ! 1387 insert into sys.args values (32621, 352, 'res_0', 'smallint', 16, 0, 0, 0); 1387
1393 insert into sys.args values (32626, 353, 'res_0', 'bigint', 64, 0, 0, 0); 1393 ! 1388 insert into sys.args values (32622, 352, 'arg_1', 'smallint', 16, 0, 1, 1); 1388
1394 insert into sys.args values (32627, 353, 'arg_1', 'bigint', 64, 0, 1, 1); 1394 ! 1389 insert into sys.args values (32623, 352, 'arg_2', 'int', 32, 0, 1, 2); 1389
1395 insert into sys.args values (32628, 353, 'arg_2', 'bigint', 64, 0, 1, 2); 1395 ! 1390 insert into sys.functions values (353, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1390
1396 insert into sys.functions values (354, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1396 ! 1391 insert into sys.args values (32624, 353, 'res_0', 'smallint', 16, 0, 0, 0); 1391
1397 insert into sys.args values (32629, 354, 'res_0', 'bigint', 64, 0, 0, 0); 1397 ! 1392 insert into sys.args values (32625, 353, 'arg_1', 'smallint', 16, 0, 1, 1); 1392
1398 insert into sys.args values (32630, 354, 'arg_1', 'bigint', 64, 0, 1, 1); 1398 ! 1393 insert into sys.args values (32626, 353, 'arg_2', 'int', 32, 0, 1, 2); 1393
1399 insert into sys.args values (32631, 354, 'arg_2', 'bigint', 64, 0, 1, 2); 1399 ! 1394 insert into sys.functions values (354, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1394
1400 insert into sys.functions values (355, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1400 ! 1395 insert into sys.args values (32627, 354, 'res_0', 'smallint', 16, 0, 0, 0); 1395
1401 insert into sys.args values (32632, 355, 'res_0', 'bigint', 64, 0, 0, 0); 1401 ! 1396 insert into sys.args values (32628, 354, 'arg_1', 'smallint', 16, 0, 1, 1); 1396
1402 insert into sys.args values (32633, 355, 'arg_1', 'bigint', 64, 0, 1, 1); 1402 ! 1397 insert into sys.functions values (355, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1397
1403 insert into sys.args values (32634, 355, 'arg_2', 'bigint', 64, 0, 1, 2); 1403 ! 1398 insert into sys.args values (32629, 355, 'res_0', 'smallint', 16, 0, 0, 0); 1398
1404 insert into sys.functions values (356, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1404 ! 1399 insert into sys.args values (32630, 355, 'arg_1', 'smallint', 16, 0, 1, 1); 1399
1405 insert into sys.args values (32635, 356, 'res_0', 'bigint', 64, 0, 0, 0); 1405 ! 1400 insert into sys.functions values (356, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1400
1406 insert into sys.args values (32636, 356, 'arg_1', 'bigint', 64, 0, 1, 1); 1406 ! 1401 insert into sys.args values (32631, 356, 'res_0', 'tinyint', 8, 0, 0, 0); 1401
1407 insert into sys.args values (32637, 356, 'arg_2', 'bigint', 64, 0, 1, 2); 1407 ! 1402 insert into sys.args values (32632, 356, 'arg_1', 'smallint', 16, 0, 1, 1); 1402
1408 insert into sys.functions values (357, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1408 ! 1403 insert into sys.functions values (357, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1403
1409 insert into sys.args values (32638, 357, 'res_0', 'bigint', 64, 0, 0, 0); 1409 ! 1404 insert into sys.args values (32633, 357, 'res_0', 'smallint', 16, 0, 0, 0); 1404
1410 insert into sys.args values (32639, 357, 'arg_1', 'bigint', 64, 0, 1, 1); 1410 ! 1405 insert into sys.args values (32634, 357, 'arg_1', 'smallint', 16, 0, 1, 1); 1405
1411 insert into sys.args values (32640, 357, 'arg_2', 'bigint', 64, 0, 1, 2); 1411 ! 1406 insert into sys.args values (32635, 357, 'arg_2', 'smallint', 16, 0, 1, 2); 1406
1412 insert into sys.functions values (358, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1412 ! 1407 insert into sys.functions values (358, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1407
1413 insert into sys.args values (32641, 358, 'res_0', 'bigint', 64, 0, 0, 0); 1413 ! 1408 insert into sys.args values (32636, 358, 'res_0', 'smallint', 16, 0, 0, 0); 1408
1414 insert into sys.args values (32642, 358, 'arg_1', 'bigint', 64, 0, 1, 1); 1414 ! 1409 insert into sys.args values (32637, 358, 'arg_1', 'smallint', 16, 0, 1, 1); 1409
1415 insert into sys.args values (32643, 358, 'arg_2', 'bigint', 64, 0, 1, 2); 1415 ! 1410 insert into sys.args values (32638, 358, 'arg_2', 'smallint', 16, 0, 1, 2); 1410
1416 insert into sys.functions values (359, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1416 ! 1411 insert into sys.functions values (359, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1411
1417 insert into sys.args values (32644, 359, 'res_0', 'bigint', 64, 0, 0, 0); 1417 ! 1412 insert into sys.args values (32639, 359, 'res_0', 'month_interval', 3, 0, 0, 0); 1412
1418 insert into sys.args values (32645, 359, 'arg_1', 'bigint', 64, 0, 1, 1); 1418 ! 1413 insert into sys.args values (32640, 359, 'arg_1', 'month_interval', 3, 0, 1, 1); 1413
insert into sys. + 1414 insert into sys.args values (32641, 359, 'arg_2', 'smallint', 16, 0, 1, 2); 1414
1419 functions values (360, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1419 ! 1415 insert into sys.functions values (360, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1415
1420 insert into sys.args values (32646, 360, 'res_0', 'bigint', 64, 0, 0, 0); 1420 ! 1416 insert into sys.args values (32642, 360, 'res_0', 'month_interval', 3, 0, 0, 0); 1416
1421 insert into sys.args values (32647, 360, 'arg_1', 'bigint', 64, 0, 1, 1); 1421 ! 1417 insert into sys.args values (32643, 360, 'arg_1', 'month_interval', 3, 0, 1, 1); 1417
1422 insert into sys.args values (32648, 360, 'arg_2', 'int', 32, 0, 1, 2); 1422 ! 1418 insert into sys.args values (32644, 360, 'arg_2', 'smallint', 16, 0, 1, 2); 1418
1423 insert into sys.functions values (361, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1423 ! 1419 insert into sys.functions values (361, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1419
1424 insert into sys.args values (32649, 361, 'res_0', 'bigint', 64, 0, 0, 0); 1424 ! 1420 insert into sys.args values (32645, 361, 'res_0', 'day_interval', 4, 0, 0, 0); 1420
1425 insert into sys.args values (32650, 361, 'arg_1', 'bigint', 64, 0, 1, 1); 1425 ! 1421 insert into sys.args values (32646, 361, 'arg_1', 'day_interval', 4, 0, 1, 1); 1421
1426 insert into sys.args values (32651, 361, 'arg_2', 'int', 32, 0, 1, 2); 1426 ! 1422 insert into sys.args values (32647, 361, 'arg_2', 'smallint', 16, 0, 1, 2); 1422
1427 insert into sys.functions values (362, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1427 ! 1423 insert into sys.functions values (362, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1423
1428 insert into sys.args values (32652, 362, 'res_0', 'bigint', 64, 0, 0, 0); 1428 -
1429 insert into sys.args values (32653, 362, 'arg_1', 'bigint', 64, 0, 1, 1); 1429 ! 1424 insert into sys.args values (32648, 362, 'res_0', 'day_interval', 4, 0, 0, 0); 1424
1430 insert into sys.functions values (363, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1430 ! 1425 insert into sys.args values (32649, 362, 'arg_1', 'day_interval', 4, 0, 1, 1); 1425
1431 insert into sys.args values (32654, 363, 'res_0', 'bigint', 64, 0, 0, 0); 1431 ! 1426 insert into sys.args values (32650, 362, 'arg_2', 'smallint', 16, 0, 1, 2); 1426
1432 insert into sys.args values (32655, 363, 'arg_1', 'bigint', 64, 0, 1, 1); 1432 ! 1427 insert into sys.functions values (363, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1427
1433 insert into sys.functions values (364, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1433 ! 1428 insert into sys.args values (32651, 363, 'res_0', 'sec_interval', 13, 0, 0, 0); 1428
1434 insert into sys.args values (32656, 364, 'res_0', 'tinyint', 8, 0, 0, 0); 1434 ! 1429 insert into sys.args values (32652, 363, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1429
1435 insert into sys.args values (32657, 364, 'arg_1', 'bigint', 64, 0, 1, 1); 1435 ! 1430 insert into sys.args values (32653, 363, 'arg_2', 'smallint', 16, 0, 1, 2); 1430
1436 insert into sys.functions values (365, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1436 ! 1431 insert into sys.functions values (364, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1431
1437 insert into sys.args values (32658, 365, 'res_0', 'bigint', 64, 0, 0, 0); 1437 ! 1432 insert into sys.args values (32654, 364, 'res_0', 'sec_interval', 13, 0, 0, 0); 1432
1438 insert into sys.args values (32659, 365, 'arg_1', 'bigint', 64, 0, 1, 1); 1438 ! 1433 insert into sys.args values (32655, 364, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1433
1439 insert into sys.args values (32660, 365, 'arg_2', 'bigint', 64, 0, 1, 2); 1439 ! 1434 insert into sys.args values (32656, 364, 'arg_2', 'smallint', 16, 0, 1, 2); 1434
1440 insert into sys.functions values (366, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1440 ! 1435 insert into sys.functions values (365, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1435
1441 insert into sys.args values (32661, 366, 'res_0', 'bigint', 64, 0, 0, 0); 1441 ! 1436 insert into sys.args values (32657, 365, 'res_0', 'int', 32, 0, 0, 0); 1436
1442 insert into sys.args values (32662, 366, 'arg_1', 'bigint', 64, 0, 1, 1); 1442 ! 1437 insert into sys.args values (32658, 365, 'arg_1', 'int', 32, 0, 1, 1); 1437
1443 insert into sys.args values (32663, 366, 'arg_2', 'bigint', 64, 0, 1, 2); 1443 ! 1438 insert into sys.args values (32659, 365, 'arg_2', 'int', 32, 0, 1, 2); 1438
+ 1439 insert into sys.functions values (366, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1439
+ 1440 insert into sys.args values (32660, 366, 'res_0', 'int', 32, 0, 0, 0); 1440
+ 1441 insert into sys.args values (32661, 366, 'arg_1', 'int', 32, 0, 1, 1); 1441
+ 1442 insert into sys.args values (32662, 366, 'arg_2', 'int', 32, 0, 1, 2); 1442
1444 insert into sys.functions values (367, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1444 1443 insert into sys.functions values (367, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1443
1445 insert into sys.args values (32664, 367, 'res_0', 'month_interval', 32, 0, 0, 0); 1445 ! 1444 insert into sys.args values (32663, 367, 'res_0', 'int', 32, 0, 0, 0); 1444
1446 insert into sys.args values (32665, 367, 'arg_1', 'month_interval', 32, 0, 1, 1); 1446 ! 1445 insert into sys.args values (32664, 367, 'arg_1', 'int', 32, 0, 1, 1); 1445
1447 insert into sys.args values (32666, 367, 'arg_2', 'bigint', 64, 0, 1, 2); 1447 ! 1446 insert into sys.args values (32665, 367, 'arg_2', 'int', 32, 0, 1, 2); 1446
1448 insert into sys.functions values (368, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1448 1447 insert into sys.functions values (368, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1447
1449 insert into sys.args values (32667, 368, 'res_0', 'month_interval', 32, 0, 0, 0); 1449 ! 1448 insert into sys.args values (32666, 368, 'res_0', 'int', 32, 0, 0, 0); 1448
1450 insert into sys.args values (32668, 368, 'arg_1', 'month_interval', 32, 0, 1, 1); 1450 ! 1449 insert into sys.args values (32667, 368, 'arg_1', 'int', 32, 0, 1, 1); 1449
1451 insert into sys.args values (32669, 368, 'arg_2', 'bigint', 64, 0, 1, 2); 1451 ! 1450 insert into sys.args values (32668, 368, 'arg_2', 'int', 32, 0, 1, 2); 1450
1452 insert into sys.functions values (369, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1452 ! 1451 insert into sys.functions values (369, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1451
1453 insert into sys.args values (32670, 369, 'res_0', 'sec_interval', 13, 0, 0, 0); 1453 ! 1452 insert into sys.args values (32669, 369, 'res_0', 'int', 32, 0, 0, 0); 1452
1454 insert into sys.args values (32671, 369, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1454 ! 1453 insert into sys.args values (32670, 369, 'arg_1', 'int', 32, 0, 1, 1); 1453
1455 insert into sys.args values (32672, 369, 'arg_2', 'bigint', 64, 0, 1, 2); 1455 ! 1454 insert into sys.args values (32671, 369, 'arg_2', 'int', 32, 0, 1, 2); 1454
1456 insert into sys.functions values (370, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1456 ! 1455 insert into sys.functions values (370, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1455
1457 insert into sys.args values (32673, 370, 'res_0', 'sec_interval', 13, 0, 0, 0); 1457 ! 1456 insert into sys.args values (32672, 370, 'res_0', 'int', 32, 0, 0, 0); 1456
1458 insert into sys.args values (32674, 370, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1458 ! 1457 insert into sys.args values (32673, 370, 'arg_1', 'int', 32, 0, 1, 1); 1457
1459 insert into sys.args values (32675, 370, 'arg_2', 'bigint', 64, 0, 1, 2); 1459 ! 1458 insert into sys.args values (32674, 370, 'arg_2', 'int', 32, 0, 1, 2); 1458
1460 insert into sys.functions values (371, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1460 ! 1459 insert into sys.functions values (371, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1459
1461 insert into sys.args values (32676, 371, 'res_0', 'decimal', 2, 0, 0, 0); 1461 ! 1460 insert into sys.args values (32675, 371, 'res_0', 'int', 32, 0, 0, 0); 1460
1462 insert into sys.args values (32677, 371, 'arg_1', 'decimal', 2, 0, 1, 1); 1462 ! 1461 insert into sys.args values (32676, 371, 'arg_1', 'int', 32, 0, 1, 1); 1461
1463 insert into sys.args values (32678, 371, 'arg_2', 'decimal', 2, 0, 1, 2); 1463 ! 1462 insert into sys.args values (32677, 371, 'arg_2', 'int', 32, 0, 1, 2); 1462
1464 insert into sys.functions values (372, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1464 ! 1463 insert into sys.functions values (372, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1463
1465 insert into sys.args values (32679, 372, 'res_0', 'decimal', 2, 0, 0, 0); 1465 ! 1464 insert into sys.args values (32678, 372, 'res_0', 'int', 32, 0, 0, 0); 1464
1466 insert into sys.args values (32680, 372, 'arg_1', 'decimal', 2, 0, 1, 1); 1466 ! 1465 insert into sys.args values (32679, 372, 'arg_1', 'int', 32, 0, 1, 1); 1465
1467 insert into sys.args values (32681, 372, 'arg_2', 'decimal', 2, 0, 1, 2); 1467 ! 1466 insert into sys.functions values (373, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1466
1468 insert into sys.functions values (373, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1468 -
1469 insert into sys.args values (32682, 373, 'res_0', 'decimal', 2, 0, 0, 0); 1469 ! 1467 insert into sys.args values (32680, 373, 'res_0', 'int', 32, 0, 0, 0); 1467
1470 insert into sys.args values (32683, 373, 'arg_1', 'decimal', 2, 0, 1, 1); 1470 ! 1468 insert into sys.args values (32681, 373, 'arg_1', 'int', 32, 0, 1, 1); 1468
1471 insert into sys.args values (32684, 373, 'arg_2', 'decimal', 2, 0, 1, 2); 1471 ! 1469 insert into sys.args values (32682, 373, 'arg_2', 'int', 32, 0, 1, 2); 1469
1472 insert into sys.functions values (374, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1472 ! 1470 insert into sys.functions values (374, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1470
1473 insert into sys.args values (32685, 374, 'res_0', 'decimal', 2, 0, 0, 0); 1473 ! 1471 insert into sys.args values (32683, 374, 'res_0', 'int', 32, 0, 0, 0); 1471
1474 insert into sys.args values (32686, 374, 'arg_1', 'decimal', 2, 0, 1, 1); 1474 ! 1472 insert into sys.args values (32684, 374, 'arg_1', 'int', 32, 0, 1, 1); 1472
1475 insert into sys.args values (32687, 374, 'arg_2', 'decimal', 2, 0, 1, 2); 1475 ! 1473 insert into sys.args values (32685, 374, 'arg_2', 'int', 32, 0, 1, 2); 1473
1476 insert into sys.functions values (375, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1476 ! 1474 insert into sys.functions values (375, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1474
1477 insert into sys.args values (32688, 375, 'res_0', 'decimal', 2, 0, 0, 0); 1477 ! 1475 insert into sys.args values (32686, 375, 'res_0', 'int', 32, 0, 0, 0); 1475
1478 insert into sys.args values (32689, 375, 'arg_1', 'decimal', 2, 0, 1, 1); 1478 ! 1476 insert into sys.args values (32687, 375, 'arg_1', 'int', 32, 0, 1, 1); 1476
+ 1477 insert into sys.functions values (376, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1477
1479 insert into sys.args values (32690, 375, 'arg_2', 'decimal', 2, 0, 1, 2); 1479 ! 1478 insert into sys.args values (32688, 376, 'res_0', 'int', 32, 0, 0, 0); 1478
1480 insert into sys.functions values (376, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1480 ! 1479 insert into sys.args values (32689, 376, 'arg_1', 'int', 32, 0, 1, 1); 1479
1481 insert into sys.args values (32691, 376, 'res_0', 'decimal', 2, 0, 0, 0); 1481 ! 1480 insert into sys.functions values (377, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1480
1482 insert into sys.args values (32692, 376, 'arg_1', 'decimal', 2, 0, 1, 1); 1482 ! 1481 insert into sys.args values (32690, 377, 'res_0', 'tinyint', 8, 0, 0, 0); 1481
1483 insert into sys.args values (32693, 376, 'arg_2', 'decimal', 2, 0, 1, 2); 1483 ! 1482 insert into sys.args values (32691, 377, 'arg_1', 'int', 32, 0, 1, 1); 1482
1484 insert into sys.functions values (377, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1484 ! 1483 insert into sys.functions values (378, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1483
1485 insert into sys.args values (32694, 377, 'res_0', 'decimal', 2, 0, 0, 0); 1485 ! 1484 insert into sys.args values (32692, 378, 'res_0', 'int', 32, 0, 0, 0); 1484
1486 insert into sys.args values (32695, 377, 'arg_1', 'decimal', 2, 0, 1, 1); 1486 ! 1485 insert into sys.args values (32693, 378, 'arg_1', 'int', 32, 0, 1, 1); 1485
1487 insert into sys.args values (32696, 377, 'arg_2', 'decimal', 2, 0, 1, 2); 1487 ! 1486 insert into sys.args values (32694, 378, 'arg_2', 'int', 32, 0, 1, 2); 1486
1488 insert into sys.functions values (378, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1488 ! 1487 insert into sys.functions values (379, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1487
1489 insert into sys.args values (32697, 378, 'res_0', 'decimal', 2, 0, 0, 0); 1489 ! 1488 insert into sys.args values (32695, 379, 'res_0', 'int', 32, 0, 0, 0); 1488
1490 insert into sys.args values (32698, 378, 'arg_1', 'decimal', 2, 0, 1, 1); 1490 ! 1489 insert into sys.args values (32696, 379, 'arg_1', 'int', 32, 0, 1, 1); 1489
insert into sys.functions values (379, 'left_shift', '<< + 1490 insert into sys.args values (32697, 379, 'arg_2', 'int', 32, 0, 1, 2); 1490
1491 ', 'calc', 0, 1, false, false, false, 2000, true, false); 1491 + 1491 insert into sys.functions values (380, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1491
1492 insert into sys.args values (32699, 379, 'res_0', 'decimal', 2, 0, 0, 0); 1492 ! 1492 insert into sys.args values (32698, 380, 'res_0', 'month_interval', 3, 0, 0, 0); 1492
1493 insert into sys.args values (32700, 379, 'arg_1', 'decimal', 2, 0, 1, 1); 1493 ! 1493 insert into sys.args values (32699, 380, 'arg_1', 'month_interval', 3, 0, 1, 1); 1493
1494 insert into sys.args values (32701, 379, 'arg_2', 'int', 32, 0, 1, 2); 1494 ! 1494 insert into sys.args values (32700, 380, 'arg_2', 'int', 32, 0, 1, 2); 1494
1495 insert into sys.functions values (380, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1495 ! 1495 insert into sys.functions values (381, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1495
1496 insert into sys.args values (32702, 380, 'res_0', 'decimal', 2, 0, 0, 0); 1496 ! 1496 insert into sys.args values (32701, 381, 'res_0', 'month_interval', 3, 0, 0, 0); 1496
1497 insert into sys.args values (32703, 380, 'arg_1', 'decimal', 2, 0, 1, 1); 1497 ! 1497 insert into sys.args values (32702, 381, 'arg_1', 'month_interval', 3, 0, 1, 1); 1497
1498 insert into sys.args values (32704, 380, 'arg_2', 'int', 32, 0, 1, 2); 1498 ! 1498 insert into sys.args values (32703, 381, 'arg_2', 'int', 32, 0, 1, 2); 1498
1499 insert into sys.functions values (381, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1499 ! 1499 insert into sys.functions values (382, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1499
1500 insert into sys.args values (32705, 381, 'res_0', 'decimal', 2, 0, 0, 0); 1500 -
1501 insert into sys.args values (32706, 381, 'arg_1', 'decimal', 2, 0, 1, 1); 1501 ! 1500 insert into sys.args values (32704, 382, 'res_0', 'day_interval', 4, 0, 0, 0); 1500
1502 insert into sys.functions values (382, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1502 ! 1501 insert into sys.args values (32705, 382, 'arg_1', 'day_interval', 4, 0, 1, 1); 1501
1503 insert into sys.args values (32707, 382, 'res_0', 'decimal', 2, 0, 0, 0); 1503 ! 1502 insert into sys.args values (32706, 382, 'arg_2', 'int', 32, 0, 1, 2); 1502
1504 insert into sys.args values (32708, 382, 'arg_1', 'decimal', 2, 0, 1, 1); 1504 ! 1503 insert into sys.functions values (383, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1503
1505 insert into sys.functions values (383, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1505 ! 1504 insert into sys.args values (32707, 383, 'res_0', 'day_interval', 4, 0, 0, 0); 1504
1506 insert into sys.args values (32709, 383, 'res_0', 'tinyint', 8, 0, 0, 0); 1506 ! 1505 insert into sys.args values (32708, 383, 'arg_1', 'day_interval', 4, 0, 1, 1); 1505
1507 insert into sys.args values (32710, 383, 'arg_1', 'decimal', 2, 0, 1, 1); 1507 ! 1506 insert into sys.args values (32709, 383, 'arg_2', 'int', 32, 0, 1, 2); 1506
1508 insert into sys.functions values (384, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1508 ! 1507 insert into sys.functions values (384, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1507
1509 insert into sys.args values (32711, 384, 'res_0', 'decimal', 2, 0, 0, 0); 1509 ! 1508 insert into sys.args values (32710, 384, 'res_0', 'sec_interval', 13, 0, 0, 0); 1508
1510 insert into sys.args values (32712, 384, 'arg_1', 'decimal', 2, 0, 1, 1); 1510 ! 1509 insert into sys.args values (32711, 384, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1509
1511 insert into sys.args values (32713, 384, 'arg_2', 'tinyint', 8, 0, 1, 2); 1511 ! 1510 insert into sys.args values (32712, 384, 'arg_2', 'int', 32, 0, 1, 2); 1510
1512 insert into sys.functions values (385, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1512 ! 1511 insert into sys.functions values (385, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1511
1513 insert into sys.args values (32714, 385, 'res_0', 'decimal', 2, 0, 0, 0); 1513 ! 1512 insert into sys.args values (32713, 385, 'res_0', 'sec_interval', 13, 0, 0, 0); 1512
1514 insert into sys.args values (32715, 385, 'arg_1', 'decimal', 2, 0, 1, 1); 1514 ! 1513 insert into sys.args values (32714, 385, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1513
1515 insert into sys.args values (32716, 385, 'arg_2', 'tinyint', 8, 0, 1, 2); 1515 ! 1514 insert into sys.args values (32715, 385, 'arg_2', 'int', 32, 0, 1, 2); 1514
1516 insert into sys.functions values (386, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1516 ! 1515 insert into sys.functions values (386, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1515
1517 insert into sys.args values (32717, 386, 'res_0', 'month_interval', 32, 0, 0, 0); 1517 ! 1516 insert into sys.args values (32716, 386, 'res_0', 'bigint', 64, 0, 0, 0); 1516
1518 insert into sys.args values (32718, 386, 'arg_1', 'month_interval', 32, 0, 1, 1); 1518 ! 1517 insert into sys.args values (32717, 386, 'arg_1', 'bigint', 64, 0, 1, 1); 1517
1519 insert into sys.args values (32719, 386, 'arg_2', 'decimal', 2, 0, 1, 2); 1519 ! 1518 insert into sys.args values (32718, 386, 'arg_2', 'bigint', 64, 0, 1, 2); 1518
1520 insert into sys.functions values (387, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1520 ! 1519 insert into sys.functions values (387, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1519
1521 insert into sys.args values (32720, 387, 'res_0', 'month_interval', 32, 0, 0, 0); 1521 ! 1520 insert into sys.args values (32719, 387, 'res_0', 'bigint', 64, 0, 0, 0); 1520
1522 insert into sys.args values (32721, 387, 'arg_1', 'month_interval', 32, 0, 1, 1); 1522 ! 1521 insert into sys.args values (32720, 387, 'arg_1', 'bigint', 64, 0, 1, 1); 1521
1523 insert into sys.args values (32722, 387, 'arg_2', 'decimal', 2, 0, 1, 2); 1523 ! 1522 insert into sys.args values (32721, 387, 'arg_2', 'bigint', 64, 0, 1, 2); 1522
1524 insert into sys.functions values (388, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1524 1523 insert into sys.functions values (388, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1523
1525 insert into sys.args values (32723, 388, 'res_0', 'sec_interval', 13, 0, 0, 0); 1525 ! 1524 insert into sys.args values (32722, 388, 'res_0', 'bigint', 64, 0, 0, 0); 1524
1526 insert into sys.args values (32724, 388, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1526 ! 1525 insert into sys.args values (32723, 388, 'arg_1', 'bigint', 64, 0, 1, 1); 1525
1527 insert into sys.args values (32725, 388, 'arg_2', 'decimal', 2, 0, 1, 2); 1527 ! 1526 insert into sys.args values (32724, 388, 'arg_2', 'bigint', 64, 0, 1, 2); 1526
1528 insert into sys.functions values (389, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1528 1527 insert into sys.functions values (389, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1527
1529 insert into sys.args values (32726, 389, 'res_0', 'sec_interval', 13, 0, 0, 0); 1529 ! 1528 insert into sys.args values (32725, 389, 'res_0', 'bigint', 64, 0, 0, 0); 1528
1530 insert into sys.args values (32727, 389, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1530 ! 1529 insert into sys.args values (32726, 389, 'arg_1', 'bigint', 64, 0, 1, 1); 1529
1531 insert into sys.args values (32728, 389, 'arg_2', 'decimal', 2, 0, 1, 2); 1531 ! 1530 insert into sys.args values (32727, 389, 'arg_2', 'bigint', 64, 0, 1, 2); 1530
1532 insert into sys.functions values (390, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1532 ! 1531 insert into sys.functions values (390, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1531
1533 insert into sys.args values (32729, 390, 'res_0', 'decimal', 4, 0, 0, 0); 1533 ! 1532 insert into sys.args values (32728, 390, 'res_0', 'bigint', 64, 0, 0, 0); 1532
1534 insert into sys.args values (32730, 390, 'arg_1', 'decimal', 4, 0, 1, 1); 1534 ! 1533 insert into sys.args values (32729, 390, 'arg_1', 'bigint', 64, 0, 1, 1); 1533
1535 insert into sys.args values (32731, 390, 'arg_2', 'decimal', 4, 0, 1, 2); 1535 ! 1534 insert into sys.args values (32730, 390, 'arg_2', 'bigint', 64, 0, 1, 2); 1534
1536 insert into sys.functions values (391, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1536 ! 1535 insert into sys.functions values (391, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1535
1537 insert into sys.args values (32732, 391, 'res_0', 'decimal', 4, 0, 0, 0); 1537 ! 1536 insert into sys.args values (32731, 391, 'res_0', 'bigint', 64, 0, 0, 0); 1536
1538 insert into sys.args values (32733, 391, 'arg_1', 'decimal', 4, 0, 1, 1); 1538 ! 1537 insert into sys.args values (32732, 391, 'arg_1', 'bigint', 64, 0, 1, 1); 1537
1539 insert into sys.args values (32734, 391, 'arg_2', 'decimal', 4, 0, 1, 2); 1539 ! 1538 insert into sys.args values (32733, 391, 'arg_2', 'bigint', 64, 0, 1, 2); 1538
1540 insert into sys.functions values (392, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1540 ! 1539 insert into sys.functions values (392, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1539
1541 insert into sys.args values (32735, 392, 'res_0', 'decimal', 4, 0, 0, 0); 1541 ! 1540 insert into sys.args values (32734, 392, 'res_0', 'bigint', 64, 0, 0, 0); 1540
1542 insert into sys.args values (32736, 392, 'arg_1', 'decimal', 4, 0, 1, 1); 1542 ! 1541 insert into sys.args values (32735, 392, 'arg_1', 'bigint', 64, 0, 1, 1); 1541
1543 insert into sys.args values (32737, 392, 'arg_2', 'decimal', 4, 0, 1, 2); 1543 ! 1542 insert into sys.args values (32736, 392, 'arg_2', 'bigint', 64, 0, 1, 2); 1542
1544 insert into sys.functions values (393, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1544 ! 1543 insert into sys.functions values (393, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1543
1545 insert into sys.args values (32738, 393, 'res_0', 'decimal', 4, 0, 0, 0); 1545 ! 1544 insert into sys.args values (32737, 393, 'res_0', 'bigint', 64, 0, 0, 0); 1544
1546 insert into sys.args values (32739, 393, 'arg_1', 'decimal', 4, 0, 1, 1); 1546 ! 1545 insert into sys.args values (32738, 393, 'arg_1', 'bigint', 64, 0, 1, 1); 1545
1547 insert into sys.args values (32740, 393, 'arg_2', 'decimal', 4, 0, 1, 2); 1547 ! 1546 insert into sys.functions values (394, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1546
1548 insert into sys.functions values (394, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1548 -
1549 insert into sys.args values (32741, 394, 'res_0', 'decimal', 4, 0, 0, 0); 1549 ! 1547 insert into sys.args values (32739, 394, 'res_0', 'bigint', 64, 0, 0, 0); 1547
1550 insert into sys.args values (32742, 394, 'arg_1', 'decimal', 4, 0, 1, 1); 1550 ! 1548 insert into sys.args values (32740, 394, 'arg_1', 'bigint', 64, 0, 1, 1); 1548
1551 insert into sys.args values (32743, 394, 'arg_2', 'decimal', 4, 0, 1, 2); 1551 ! 1549 insert into sys.args values (32741, 394, 'arg_2', 'int', 32, 0, 1, 2); 1549
1552 insert into sys.functions values (395, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1552 ! 1550 insert into sys.functions values (395, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1550
1553 insert into sys.args values (32744, 395, 'res_0', 'decimal', 4, 0, 0, 0); 1553 ! 1551 insert into sys.args values (32742, 395, 'res_0', 'bigint', 64, 0, 0, 0); 1551
1554 insert into sys.args values (32745, 395, 'arg_1', 'decimal', 4, 0, 1, 1); 1554 ! 1552 insert into sys.args values (32743, 395, 'arg_1', 'bigint', 64, 0, 1, 1); 1552
1555 insert into sys.args values (32746, 395, 'arg_2', 'decimal', 4, 0, 1, 2); 1555 ! 1553 insert into sys.args values (32744, 395, 'arg_2', 'int', 32, 0, 1, 2); 1553
1556 insert into sys.functions values (396, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1556 ! 1554 insert into sys.functions values (396, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1554
1557 insert into sys.args values (32747, 396, 'res_0', 'decimal', 4, 0, 0, 0); 1557 ! 1555 insert into sys.args values (32745, 396, 'res_0', 'bigint', 64, 0, 0, 0); 1555
1558 insert into sys.args values (32748, 396, 'arg_1', 'decimal', 4, 0, 1, 1); 1558 ! 1556 insert into sys.args values (32746, 396, 'arg_1', 'bigint', 64, 0, 1, 1); 1556
+ 1557 insert into sys.functions values (397, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1557
1559 insert into sys.args values (32749, 396, 'arg_2', 'decimal', 4, 0, 1, 2); 1559 ! 1558 insert into sys.args values (32747, 397, 'res_0', 'bigint', 64, 0, 0, 0); 1558
insert into sys.functions values (397, 'bit_not', 'not + 1559 insert into sys.args values (32748, 397, 'arg_1', 'bigint', 64, 0, 1, 1); 1559
1560 ', 'calc', 0, 1, false, false, false, 2000, true, false); 1560 + 1560 insert into sys.functions values (398, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1560
1561 insert into sys.args values (32750, 397, 'res_0', 'decimal', 4, 0, 0, 0); 1561 ! 1561 insert into sys.args values (32749, 398, 'res_0', 'tinyint', 8, 0, 0, 0); 1561
1562 insert into sys.args values (32751, 397, 'arg_1', 'decimal', 4, 0, 1, 1); 1562 ! 1562 insert into sys.args values (32750, 398, 'arg_1', 'bigint', 64, 0, 1, 1); 1562
1563 insert into sys.functions values (398, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1563 ! 1563 insert into sys.functions values (399, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1563
1564 insert into sys.args values (32752, 398, 'res_0', 'decimal', 4, 0, 0, 0); 1564 ! 1564 insert into sys.args values (32751, 399, 'res_0', 'bigint', 64, 0, 0, 0); 1564
1565 insert into sys.args values (32753, 398, 'arg_1', 'decimal', 4, 0, 1, 1); 1565 ! 1565 insert into sys.args values (32752, 399, 'arg_1', 'bigint', 64, 0, 1, 1); 1565
1566 insert into sys.args values (32754, 398, 'arg_2', 'int', 32, 0, 1, 2); 1566 ! 1566 insert into sys.args values (32753, 399, 'arg_2', 'bigint', 64, 0, 1, 2); 1566
1567 insert into sys.functions values (399, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1567 ! 1567 insert into sys.functions values (400, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1567
1568 insert into sys.args values (32755, 399, 'res_0', 'decimal', 4, 0, 0, 0); 1568 ! 1568 insert into sys.args values (32754, 400, 'res_0', 'bigint', 64, 0, 0, 0); 1568
1569 insert into sys.args values (32756, 399, 'arg_1', 'decimal', 4, 0, 1, 1); 1569 ! 1569 insert into sys.args values (32755, 400, 'arg_1', 'bigint', 64, 0, 1, 1); 1569
1570 insert into sys.args values (32757, 399, 'arg_2', 'int', 32, 0, 1, 2); 1570 ! 1570 insert into sys.args values (32756, 400, 'arg_2', 'bigint', 64, 0, 1, 2); 1570
1571 insert into sys.functions values (400, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1571 ! 1571 insert into sys.functions values (401, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1571
1572 insert into sys.args values (32758, 400, 'res_0', 'decimal', 4, 0, 0, 0); 1572 -
1573 insert into sys.args values (32759, 400, 'arg_1', 'decimal', 4, 0, 1, 1); 1573 ! 1572 insert into sys.args values (32757, 401, 'res_0', 'month_interval', 3, 0, 0, 0); 1572
1574 insert into sys.functions values (401, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1574 ! 1573 insert into sys.args values (32758, 401, 'arg_1', 'month_interval', 3, 0, 1, 1); 1573
1575 insert into sys.args values (32760, 401, 'res_0', 'decimal', 4, 0, 0, 0); 1575 ! 1574 insert into sys.args values (32759, 401, 'arg_2', 'bigint', 64, 0, 1, 2); 1574
1576 insert into sys.args values (32761, 401, 'arg_1', 'decimal', 4, 0, 1, 1); 1576 ! 1575 insert into sys.functions values (402, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1575
1577 insert into sys.functions values (402, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1577 ! 1576 insert into sys.args values (32760, 402, 'res_0', 'month_interval', 3, 0, 0, 0); 1576
1578 insert into sys.args values (32762, 402, 'res_0', 'tinyint', 8, 0, 0, 0); 1578 ! 1577 insert into sys.args values (32761, 402, 'arg_1', 'month_interval', 3, 0, 1, 1); 1577
1579 insert into sys.args values (32763, 402, 'arg_1', 'decimal', 4, 0, 1, 1); 1579 ! 1578 insert into sys.args values (32762, 402, 'arg_2', 'bigint', 64, 0, 1, 2); 1578
1580 insert into sys.functions values (403, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1580 ! 1579 insert into sys.functions values (403, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1579
1581 insert into sys.args values (32764, 403, 'res_0', 'decimal', 4, 0, 0, 0); 1581 ! 1580 insert into sys.args values (32763, 403, 'res_0', 'day_interval', 4, 0, 0, 0); 1580
1582 insert into sys.args values (32765, 403, 'arg_1', 'decimal', 4, 0, 1, 1); 1582 ! 1581 insert into sys.args values (32764, 403, 'arg_1', 'day_interval', 4, 0, 1, 1); 1581
1583 insert into sys.args values (32766, 403, 'arg_2', 'smallint', 16, 0, 1, 2); 1583 ! 1582 insert into sys.args values (32765, 403, 'arg_2', 'bigint', 64, 0, 1, 2); 1582
1584 insert into sys.functions values (404, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1584 ! 1583 insert into sys.functions values (404, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1583
1585 insert into sys.args values (32767, 404, 'res_0', 'decimal', 4, 0, 0, 0); 1585 ! 1584 insert into sys.args values (32766, 404, 'res_0', 'day_interval', 4, 0, 0, 0); 1584
1586 insert into sys.args values (32768, 404, 'arg_1', 'decimal', 4, 0, 1, 1); 1586 ! 1585 insert into sys.args values (32767, 404, 'arg_1', 'day_interval', 4, 0, 1, 1); 1585
1587 insert into sys.args values (32769, 404, 'arg_2', 'smallint', 16, 0, 1, 2); 1587 ! 1586 insert into sys.args values (32768, 404, 'arg_2', 'bigint', 64, 0, 1, 2); 1586
1588 insert into sys.functions values (405, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1588 1587 insert into sys.functions values (405, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1587
1589 insert into sys.args values (32770, 405, 'res_0', 'month_interval', 32, 0, 0, 0); 1589 ! 1588 insert into sys.args values (32769, 405, 'res_0', 'sec_interval', 13, 0, 0, 0); 1588
1590 insert into sys.args values (32771, 405, 'arg_1', 'month_interval', 32, 0, 1, 1); 1590 ! 1589 insert into sys.args values (32770, 405, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1589
1591 insert into sys.args values (32772, 405, 'arg_2', 'decimal', 4, 0, 1, 2); 1591 ! 1590 insert into sys.args values (32771, 405, 'arg_2', 'bigint', 64, 0, 1, 2); 1590
1592 insert into sys.functions values (406, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1592 1591 insert into sys.functions values (406, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1591
1593 insert into sys.args values (32773, 406, 'res_0', 'month_interval', 32, 0, 0, 0); 1593 ! 1592 insert into sys.args values (32772, 406, 'res_0', 'sec_interval', 13, 0, 0, 0); 1592
1594 insert into sys.args values (32774, 406, 'arg_1', 'month_interval', 32, 0, 1, 1); 1594 ! 1593 insert into sys.args values (32773, 406, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1593
1595 insert into sys.args values (32775, 406, 'arg_2', 'decimal', 4, 0, 1, 2); 1595 ! 1594 insert into sys.args values (32774, 406, 'arg_2', 'bigint', 64, 0, 1, 2); 1594
1596 insert into sys.functions values (407, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1596 ! 1595 insert into sys.functions values (407, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1595
1597 insert into sys.args values (32776, 407, 'res_0', 'sec_interval', 13, 0, 0, 0); 1597 ! 1596 insert into sys.args values (32775, 407, 'res_0', 'decimal', 2, 0, 0, 0); 1596
1598 insert into sys.args values (32777, 407, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1598 ! 1597 insert into sys.args values (32776, 407, 'arg_1', 'decimal', 2, 0, 1, 1); 1597
1599 insert into sys.args values (32778, 407, 'arg_2', 'decimal', 4, 0, 1, 2); 1599 ! 1598 insert into sys.args values (32777, 407, 'arg_2', 'decimal', 2, 0, 1, 2); 1598
1600 insert into sys.functions values (408, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1600 ! 1599 insert into sys.functions values (408, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1599
1601 insert into sys.args values (32779, 408, 'res_0', 'sec_interval', 13, 0, 0, 0); 1601 ! 1600 insert into sys.args values (32778, 408, 'res_0', 'decimal', 2, 0, 0, 0); 1600
1602 insert into sys.args values (32780, 408, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1602 ! 1601 insert into sys.args values (32779, 408, 'arg_1', 'decimal', 2, 0, 1, 1); 1601
1603 insert into sys.args values (32781, 408, 'arg_2', 'decimal', 4, 0, 1, 2); 1603 ! 1602 insert into sys.args values (32780, 408, 'arg_2', 'decimal', 2, 0, 1, 2); 1602
1604 insert into sys.functions values (409, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1604 ! 1603 insert into sys.functions values (409, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1603
1605 insert into sys.args values (32782, 409, 'res_0', 'decimal', 9, 0, 0, 0); 1605 ! 1604 insert into sys.args values (32781, 409, 'res_0', 'decimal', 2, 0, 0, 0); 1604
1606 insert into sys.args values (32783, 409, 'arg_1', 'decimal', 9, 0, 1, 1); 1606 ! 1605 insert into sys.args values (32782, 409, 'arg_1', 'decimal', 2, 0, 1, 1); 1605
1607 insert into sys.args values (32784, 409, 'arg_2', 'decimal', 9, 0, 1, 2); 1607 ! 1606 insert into sys.args values (32783, 409, 'arg_2', 'decimal', 2, 0, 1, 2); 1606
1608 insert into sys.functions values (410, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1608 ! 1607 insert into sys.functions values (410, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1607
1609 insert into sys.args values (32785, 410, 'res_0', 'decimal', 9, 0, 0, 0); 1609 ! 1608 insert into sys.args values (32784, 410, 'res_0', 'decimal', 2, 0, 0, 0); 1608
1610 insert into sys.args values (32786, 410, 'arg_1', 'decimal', 9, 0, 1, 1); 1610 ! 1609 insert into sys.args values (32785, 410, 'arg_1', 'decimal', 2, 0, 1, 1); 1609
1611 insert into sys.args values (32787, 410, 'arg_2', 'decimal', 9, 0, 1, 2); 1611 ! 1610 insert into sys.args values (32786, 410, 'arg_2', 'decimal', 2, 0, 1, 2); 1610
1612 insert into sys.functions values (411, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1612 ! 1611 insert into sys.functions values (411, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1611
1613 insert into sys.args values (32788, 411, 'res_0', 'decimal', 9, 0, 0, 0); 1613 ! 1612 insert into sys.args values (32787, 411, 'res_0', 'decimal', 2, 0, 0, 0); 1612
1614 insert into sys.args values (32789, 411, 'arg_1', 'decimal', 9, 0, 1, 1); 1614 ! 1613 insert into sys.args values (32788, 411, 'arg_1', 'decimal', 2, 0, 1, 1); 1613
1615 insert into sys.args values (32790, 411, 'arg_2', 'decimal', 9, 0, 1, 2); 1615 ! 1614 insert into sys.args values (32789, 411, 'arg_2', 'decimal', 2, 0, 1, 2); 1614
1616 insert into sys.functions values (412, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1616 ! 1615 insert into sys.functions values (412, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1615
1617 insert into sys.args values (32791, 412, 'res_0', 'decimal', 9, 0, 0, 0); 1617 ! 1616 insert into sys.args values (32790, 412, 'res_0', 'decimal', 2, 0, 0, 0); 1616
1618 insert into sys.args values (32792, 412, 'arg_1', 'decimal', 9, 0, 1, 1); 1618 ! 1617 insert into sys.args values (32791, 412, 'arg_1', 'decimal', 2, 0, 1, 1); 1617
1619 insert into sys.args values (32793, 412, 'arg_2', 'decimal', 9, 0, 1, 2); 1619 ! 1618 insert into sys.args values (32792, 412, 'arg_2', 'decimal', 2, 0, 1, 2); 1618
1620 insert into sys.functions values (413, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1620 ! 1619 insert into sys.functions values (413, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1619
1621 insert into sys.args values (32794, 413, 'res_0', 'decimal', 9, 0, 0, 0); 1621 ! 1620 insert into sys.args values (32793, 413, 'res_0', 'decimal', 2, 0, 0, 0); 1620
1622 insert into sys.args values (32795, 413, 'arg_1', 'decimal', 9, 0, 1, 1); 1622 ! 1621 insert into sys.args values (32794, 413, 'arg_1', 'decimal', 2, 0, 1, 1); 1621
1623 insert into sys.args values (32796, 413, 'arg_2', 'decimal', 9, 0, 1, 2); 1623 ! 1622 insert into sys.args values (32795, 413, 'arg_2', 'decimal', 2, 0, 1, 2); 1622
1624 insert into sys.functions values (414, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1624 ! 1623 insert into sys.functions values (414, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1623
1625 insert into sys.args values (32797, 414, 'res_0', 'decimal', 9, 0, 0, 0); 1625 ! 1624 insert into sys.args values (32796, 414, 'res_0', 'decimal', 2, 0, 0, 0); 1624
1626 insert into sys.args values (32798, 414, 'arg_1', 'decimal', 9, 0, 1, 1); 1626 ! 1625 insert into sys.args values (32797, 414, 'arg_1', 'decimal', 2, 0, 1, 1); 1625
1627 insert into sys.args values (32799, 414, 'arg_2', 'decimal', 9, 0, 1, 2); 1627 ! 1626 insert into sys.functions values (415, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1626
1628 insert into sys.functions values (415, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1628 ! 1627 insert into sys.args values (32798, 415, 'res_0', 'decimal', 2, 0, 0, 0); 1627
1629 insert into sys.args values (32800, 415, 'res_0', 'decimal', 9, 0, 0, 0); 1629 ! 1628 insert into sys.args values (32799, 415, 'arg_1', 'decimal', 2, 0, 1, 1); 1628
1630 insert into sys.args values (32801, 415, 'arg_1', 'decimal', 9, 0, 1, 1); 1630 ! 1629 insert into sys.args values (32800, 415, 'arg_2', 'int', 32, 0, 1, 2); 1629
1631 insert into sys.args values (32802, 415, 'arg_2', 'decimal', 9, 0, 1, 2); 1631 ! 1630 insert into sys.functions values (416, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1630
1632 insert into sys.functions values (416, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1632 ! 1631 insert into sys.args values (32801, 416, 'res_0', 'decimal', 2, 0, 0, 0); 1631
1633 insert into sys.args values (32803, 416, 'res_0', 'decimal', 9, 0, 0, 0); 1633 ! 1632 insert into sys.args values (32802, 416, 'arg_1', 'decimal', 2, 0, 1, 1); 1632
1634 insert into sys.args values (32804, 416, 'arg_1', 'decimal', 9, 0, 1, 1); 1634 ! 1633 insert into sys.args values (32803, 416, 'arg_2', 'int', 32, 0, 1, 2); 1633
1635 insert into sys.functions values (417, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1635 ! 1634 insert into sys.functions values (417, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1634
1636 insert into sys.args values (32805, 417, 'res_0', 'decimal', 9, 0, 0, 0); 1636 ! 1635 insert into sys.args values (32804, 417, 'res_0', 'decimal', 2, 0, 0, 0); 1635
1637 insert into sys.args values (32806, 417, 'arg_1', 'decimal', 9, 0, 1, 1); 1637 ! 1636 insert into sys.args values (32805, 417, 'arg_1', 'decimal', 2, 0, 1, 1); 1636
1638 insert into sys.args values (32807, 417, 'arg_2', 'int', 32, 0, 1, 2); 1638 ! 1637 insert into sys.functions values (418, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1637
1639 insert into sys.functions values (418, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1639 ! 1638 insert into sys.args values (32806, 418, 'res_0', 'decimal', 2, 0, 0, 0); 1638
1640 insert into sys.args values (32808, 418, 'res_0', 'decimal', 9, 0, 0, 0); 1640 ! 1639 insert into sys.args values (32807, 418, 'arg_1', 'decimal', 2, 0, 1, 1); 1639
1641 insert into sys.args values (32809, 418, 'arg_1', 'decimal', 9, 0, 1, 1); 1641 ! 1640 insert into sys.functions values (419, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1640
1642 insert into sys.args values (32810, 418, 'arg_2', 'int', 32, 0, 1, 2); 1642 ! 1641 insert into sys.args values (32808, 419, 'res_0', 'tinyint', 8, 0, 0, 0); 1641
1643 insert into sys.functions values (419, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1643 ! 1642 insert into sys.args values (32809, 419, 'arg_1', 'decimal', 2, 0, 1, 1); 1642
1644 insert into sys.args values (32811, 419, 'res_0', 'decimal', 9, 0, 0, 0); 1644 ! 1643 insert into sys.functions values (420, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1643
1645 insert into sys.args values (32812, 419, 'arg_1', 'decimal', 9, 0, 1, 1); 1645 ! 1644 insert into sys.args values (32810, 420, 'res_0', 'decimal', 2, 0, 0, 0); 1644
1646 insert into sys.functions values (420, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1646 ! 1645 insert into sys.args values (32811, 420, 'arg_1', 'decimal', 2, 0, 1, 1); 1645
1647 insert into sys.args values (32813, 420, 'res_0', 'decimal', 9, 0, 0, 0); 1647 ! 1646 insert into sys.args values (32812, 420, 'arg_2', 'tinyint', 8, 0, 1, 2); 1646
1648 insert into sys.args values (32814, 420, 'arg_1', 'decimal', 9, 0, 1, 1); 1648 ! 1647 insert into sys.functions values (421, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1647
1649 insert into sys.functions values (421, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1649 ! 1648 insert into sys.args values (32813, 421, 'res_0', 'decimal', 2, 0, 0, 0); 1648
1650 insert into sys.args values (32815, 421, 'res_0', 'tinyint', 8, 0, 0, 0); 1650 ! 1649 insert into sys.args values (32814, 421, 'arg_1', 'decimal', 2, 0, 1, 1); 1649
1651 insert into sys.args values (32816, 421, 'arg_1', 'decimal', 9, 0, 1, 1); 1651 ! 1650 insert into sys.args values (32815, 421, 'arg_2', 'tinyint', 8, 0, 1, 2); 1650
1652 insert into sys.functions values (422, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1652 ! 1651 insert into sys.functions values (422, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1651
1653 insert into sys.args values (32817, 422, 'res_0', 'decimal', 9, 0, 0, 0); 1653 ! 1652 insert into sys.args values (32816, 422, 'res_0', 'month_interval', 3, 0, 0, 0); 1652
1654 insert into sys.args values (32818, 422, 'arg_1', 'decimal', 9, 0, 1, 1); 1654 ! 1653 insert into sys.args values (32817, 422, 'arg_1', 'month_interval', 3, 0, 1, 1); 1653
1655 insert into sys.args values (32819, 422, 'arg_2', 'int', 32, 0, 1, 2); 1655 ! 1654 insert into sys.args values (32818, 422, 'arg_2', 'decimal', 2, 0, 1, 2); 1654
1656 insert into sys.functions values (423, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1656 ! 1655 insert into sys.functions values (423, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1655
1657 insert into sys.args values (32820, 423, 'res_0', 'decimal', 9, 0, 0, 0); 1657 ! 1656 insert into sys.args values (32819, 423, 'res_0', 'month_interval', 3, 0, 0, 0); 1656
1658 insert into sys.args values (32821, 423, 'arg_1', 'decimal', 9, 0, 1, 1); 1658 ! 1657 insert into sys.args values (32820, 423, 'arg_1', 'month_interval', 3, 0, 1, 1); 1657
1659 insert into sys.args values (32822, 423, 'arg_2', 'int', 32, 0, 1, 2); 1659 ! 1658 insert into sys.args values (32821, 423, 'arg_2', 'decimal', 2, 0, 1, 2); 1658
1660 insert into sys.functions values (424, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1660 1659 insert into sys.functions values (424, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1659
1661 insert into sys.args values (32823, 424, 'res_0', 'month_interval', 32, 0, 0, 0); 1661 ! 1660 insert into sys.args values (32822, 424, 'res_0', 'day_interval', 4, 0, 0, 0); 1660
1662 insert into sys.args values (32824, 424, 'arg_1', 'month_interval', 32, 0, 1, 1); 1662 ! 1661 insert into sys.args values (32823, 424, 'arg_1', 'day_interval', 4, 0, 1, 1); 1661
1663 insert into sys.args values (32825, 424, 'arg_2', 'decimal', 9, 0, 1, 2); 1663 ! 1662 insert into sys.args values (32824, 424, 'arg_2', 'decimal', 2, 0, 1, 2); 1662
1664 insert into sys.functions values (425, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1664 1663 insert into sys.functions values (425, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1663
1665 insert into sys.args values (32826, 425, 'res_0', 'month_interval', 32, 0, 0, 0); 1665 ! 1664 insert into sys.args values (32825, 425, 'res_0', 'day_interval', 4, 0, 0, 0); 1664
1666 insert into sys.args values (32827, 425, 'arg_1', 'month_interval', 32, 0, 1, 1); 1666 ! 1665 insert into sys.args values (32826, 425, 'arg_1', 'day_interval', 4, 0, 1, 1); 1665
1667 insert into sys.args values (32828, 425, 'arg_2', 'decimal', 9, 0, 1, 2); 1667 ! 1666 insert into sys.args values (32827, 425, 'arg_2', 'decimal', 2, 0, 1, 2); 1666
1668 insert into sys.functions values (426, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1668 1667 insert into sys.functions values (426, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1667
1669 insert into sys.args values (32829, 426, 'res_0', 'sec_interval', 13, 0, 0, 0); 1669 ! 1668 insert into sys.args values (32828, 426, 'res_0', 'sec_interval', 13, 0, 0, 0); 1668
1670 insert into sys.args values (32830, 426, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1670 ! 1669 insert into sys.args values (32829, 426, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1669
1671 insert into sys.args values (32831, 426, 'arg_2', 'decimal', 9, 0, 1, 2); 1671 ! 1670 insert into sys.args values (32830, 426, 'arg_2', 'decimal', 2, 0, 1, 2); 1670
1672 insert into sys.functions values (427, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1672 1671 insert into sys.functions values (427, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1671
1673 insert into sys.args values (32832, 427, 'res_0', 'sec_interval', 13, 0, 0, 0); 1673 ! 1672 insert into sys.args values (32831, 427, 'res_0', 'sec_interval', 13, 0, 0, 0); 1672
1674 insert into sys.args values (32833, 427, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1674 ! 1673 insert into sys.args values (32832, 427, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1673
1675 insert into sys.args values (32834, 427, 'arg_2', 'decimal', 9, 0, 1, 2); 1675 ! 1674 insert into sys.args values (32833, 427, 'arg_2', 'decimal', 2, 0, 1, 2); 1674
1676 insert into sys.functions values (428, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1676 1675 insert into sys.functions values (428, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1675
1677 insert into sys.args values (32835, 428, 'res_0', 'decimal', 18, 0, 0, 0); 1677 ! 1676 insert into sys.args values (32834, 428, 'res_0', 'decimal', 4, 0, 0, 0); 1676
1678 insert into sys.args values (32836, 428, 'arg_1', 'decimal', 18, 0, 1, 1); 1678 ! 1677 insert into sys.args values (32835, 428, 'arg_1', 'decimal', 4, 0, 1, 1); 1677
1679 insert into sys.args values (32837, 428, 'arg_2', 'decimal', 18, 0, 1, 2); 1679 ! 1678 insert into sys.args values (32836, 428, 'arg_2', 'decimal', 4, 0, 1, 2); 1678
1680 insert into sys.functions values (429, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1680 1679 insert into sys.functions values (429, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1679
1681 insert into sys.args values (32838, 429, 'res_0', 'decimal', 18, 0, 0, 0); 1681 ! 1680 insert into sys.args values (32837, 429, 'res_0', 'decimal', 4, 0, 0, 0); 1680
1682 insert into sys.args values (32839, 429, 'arg_1', 'decimal', 18, 0, 1, 1); 1682 ! 1681 insert into sys.args values (32838, 429, 'arg_1', 'decimal', 4, 0, 1, 1); 1681
1683 insert into sys.args values (32840, 429, 'arg_2', 'decimal', 18, 0, 1, 2); 1683 ! 1682 insert into sys.args values (32839, 429, 'arg_2', 'decimal', 4, 0, 1, 2); 1682
1684 insert into sys.functions values (430, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1684 1683 insert into sys.functions values (430, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1683
1685 insert into sys.args values (32841, 430, 'res_0', 'decimal', 18, 0, 0, 0); 1685 ! 1684 insert into sys.args values (32840, 430, 'res_0', 'decimal', 4, 0, 0, 0); 1684
1686 insert into sys.args values (32842, 430, 'arg_1', 'decimal', 18, 0, 1, 1); 1686 ! 1685 insert into sys.args values (32841, 430, 'arg_1', 'decimal', 4, 0, 1, 1); 1685
1687 insert into sys.args values (32843, 430, 'arg_2', 'decimal', 18, 0, 1, 2); 1687 ! 1686 insert into sys.args values (32842, 430, 'arg_2', 'decimal', 4, 0, 1, 2); 1686
1688 insert into sys.functions values (431, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1688 1687 insert into sys.functions values (431, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1687
1689 insert into sys.args values (32844, 431, 'res_0', 'decimal', 18, 0, 0, 0); 1689 ! 1688 insert into sys.args values (32843, 431, 'res_0', 'decimal', 4, 0, 0, 0); 1688
1690 insert into sys.args values (32845, 431, 'arg_1', 'decimal', 18, 0, 1, 1); 1690 ! 1689 insert into sys.args values (32844, 431, 'arg_1', 'decimal', 4, 0, 1, 1); 1689
1691 insert into sys.args values (32846, 431, 'arg_2', 'decimal', 18, 0, 1, 2); 1691 ! 1690 insert into sys.args values (32845, 431, 'arg_2', 'decimal', 4, 0, 1, 2); 1690
1692 insert into sys.functions values (432, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1692 1691 insert into sys.functions values (432, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1691
1693 insert into sys.args values (32847, 432, 'res_0', 'decimal', 18, 0, 0, 0); 1693 ! 1692 insert into sys.args values (32846, 432, 'res_0', 'decimal', 4, 0, 0, 0); 1692
1694 insert into sys.args values (32848, 432, 'arg_1', 'decimal', 18, 0, 1, 1); 1694 ! 1693 insert into sys.args values (32847, 432, 'arg_1', 'decimal', 4, 0, 1, 1); 1693
1695 insert into sys.args values (32849, 432, 'arg_2', 'decimal', 18, 0, 1, 2); 1695 ! 1694 insert into sys.args values (32848, 432, 'arg_2', 'decimal', 4, 0, 1, 2); 1694
1696 insert into sys.functions values (433, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1696 1695 insert into sys.functions values (433, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1695
1697 insert into sys.args values (32850, 433, 'res_0', 'decimal', 18, 0, 0, 0); 1697 ! 1696 insert into sys.args values (32849, 433, 'res_0', 'decimal', 4, 0, 0, 0); 1696
1698 insert into sys.args values (32851, 433, 'arg_1', 'decimal', 18, 0, 1, 1); 1698 ! 1697 insert into sys.args values (32850, 433, 'arg_1', 'decimal', 4, 0, 1, 1); 1697
1699 insert into sys.args values (32852, 433, 'arg_2', 'decimal', 18, 0, 1, 2); 1699 ! 1698 insert into sys.args values (32851, 433, 'arg_2', 'decimal', 4, 0, 1, 2); 1698
1700 insert into sys.functions values (434, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1700 1699 insert into sys.functions values (434, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1699
1701 insert into sys.args values (32853, 434, 'res_0', 'decimal', 18, 0, 0, 0); 1701 ! 1700 insert into sys.args values (32852, 434, 'res_0', 'decimal', 4, 0, 0, 0); 1700
1702 insert into sys.args values (32854, 434, 'arg_1', 'decimal', 18, 0, 1, 1); 1702 ! 1701 insert into sys.args values (32853, 434, 'arg_1', 'decimal', 4, 0, 1, 1); 1701
1703 insert into sys.args values (32855, 434, 'arg_2', 'decimal', 18, 0, 1, 2); 1703 ! 1702 insert into sys.args values (32854, 434, 'arg_2', 'decimal', 4, 0, 1, 2); 1702
1704 insert into sys.functions values (435, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1704 1703 insert into sys.functions values (435, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1703
1705 insert into sys.args values (32856, 435, 'res_0', 'decimal', 18, 0, 0, 0); 1705 ! 1704 insert into sys.args values (32855, 435, 'res_0', 'decimal', 4, 0, 0, 0); 1704
1706 insert into sys.args values (32857, 435, 'arg_1', 'decimal', 18, 0, 1, 1); 1706 ! 1705 insert into sys.args values (32856, 435, 'arg_1', 'decimal', 4, 0, 1, 1); 1705
1707 insert into sys.functions values (436, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1707 1706 insert into sys.functions values (436, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1706
1708 insert into sys.args values (32858, 436, 'res_0', 'decimal', 18, 0, 0, 0); 1708 ! 1707 insert into sys.args values (32857, 436, 'res_0', 'decimal', 4, 0, 0, 0); 1707
1709 insert into sys.args values (32859, 436, 'arg_1', 'decimal', 18, 0, 1, 1); 1709 ! 1708 insert into sys.args values (32858, 436, 'arg_1', 'decimal', 4, 0, 1, 1); 1708
1710 insert into sys.args values (32860, 436, 'arg_2', 'int', 32, 0, 1, 2); 1710 ! 1709 insert into sys.args values (32859, 436, 'arg_2', 'int', 32, 0, 1, 2); 1709
1711 insert into sys.functions values (437, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1711 1710 insert into sys.functions values (437, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1710
1712 insert into sys.args values (32861, 437, 'res_0', 'decimal', 18, 0, 0, 0); 1712 ! 1711 insert into sys.args values (32860, 437, 'res_0', 'decimal', 4, 0, 0, 0); 1711
1713 insert into sys.args values (32862, 437, 'arg_1', 'decimal', 18, 0, 1, 1); 1713 ! 1712 insert into sys.args values (32861, 437, 'arg_1', 'decimal', 4, 0, 1, 1); 1712
1714 insert into sys.args values (32863, 437, 'arg_2', 'int', 32, 0, 1, 2); 1714 ! 1713 insert into sys.args values (32862, 437, 'arg_2', 'int', 32, 0, 1, 2); 1713
1715 insert into sys.functions values (438, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1715 1714 insert into sys.functions values (438, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1714
1716 insert into sys.args values (32864, 438, 'res_0', 'decimal', 18, 0, 0, 0); 1716 ! 1715 insert into sys.args values (32863, 438, 'res_0', 'decimal', 4, 0, 0, 0); 1715
1717 insert into sys.args values (32865, 438, 'arg_1', 'decimal', 18, 0, 1, 1); 1717 ! 1716 insert into sys.args values (32864, 438, 'arg_1', 'decimal', 4, 0, 1, 1); 1716
1718 insert into sys.functions values (439, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1718 1717 insert into sys.functions values (439, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1717
1719 insert into sys.args values (32866, 439, 'res_0', 'decimal', 18, 0, 0, 0); 1719 ! 1718 insert into sys.args values (32865, 439, 'res_0', 'decimal', 4, 0, 0, 0); 1718
1720 insert into sys.args values (32867, 439, 'arg_1', 'decimal', 18, 0, 1, 1); 1720 ! 1719 insert into sys.args values (32866, 439, 'arg_1', 'decimal', 4, 0, 1, 1); 1719
1721 insert into sys.functions values (440, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1721 1720 insert into sys.functions values (440, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1720
1722 insert into sys.args values (32868, 440, 'res_0', 'tinyint', 8, 0, 0, 0); 1722 ! 1721 insert into sys.args values (32867, 440, 'res_0', 'tinyint', 8, 0, 0, 0); 1721
1723 insert into sys.args values (32869, 440, 'arg_1', 'decimal', 18, 0, 1, 1); 1723 ! 1722 insert into sys.args values (32868, 440, 'arg_1', 'decimal', 4, 0, 1, 1); 1722
1724 insert into sys.functions values (441, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1724 1723 insert into sys.functions values (441, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1723
1725 insert into sys.args values (32870, 441, 'res_0', 'decimal', 18, 0, 0, 0); 1725 ! 1724 insert into sys.args values (32869, 441, 'res_0', 'decimal', 4, 0, 0, 0); 1724
1726 insert into sys.args values (32871, 441, 'arg_1', 'decimal', 18, 0, 1, 1); 1726 ! 1725 insert into sys.args values (32870, 441, 'arg_1', 'decimal', 4, 0, 1, 1); 1725
1727 insert into sys.args values (32872, 441, 'arg_2', 'bigint', 64, 0, 1, 2); 1727 ! 1726 insert into sys.args values (32871, 441, 'arg_2', 'smallint', 16, 0, 1, 2); 1726
1728 insert into sys.functions values (442, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1728 1727 insert into sys.functions values (442, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1727
1729 insert into sys.args values (32873, 442, 'res_0', 'decimal', 18, 0, 0, 0); 1729 ! 1728 insert into sys.args values (32872, 442, 'res_0', 'decimal', 4, 0, 0, 0); 1728
1730 insert into sys.args values (32874, 442, 'arg_1', 'decimal', 18, 0, 1, 1); 1730 ! 1729 insert into sys.args values (32873, 442, 'arg_1', 'decimal', 4, 0, 1, 1); 1729
1731 insert into sys.args values (32875, 442, 'arg_2', 'bigint', 64, 0, 1, 2); 1731 ! 1730 insert into sys.args values (32874, 442, 'arg_2', 'smallint', 16, 0, 1, 2); 1730
1732 insert into sys.functions values (443, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false);