Test upgrade.SQL.py (id 2e1b25576c12) (err)
upgrade.stable.out.FILTERED 2020-08-01 19:49:20.598523700 +0200upgrade.test.out.FILTERED 2020-08-01 19:49:20.778524000 +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 5124 lines, 66209 words, 421458 chars in lines not matching '^$|^(\| |)#|^=` 2 ! 2 5132 lines, 66317 words, 422145 chars in lines not matching '^$|^(\| |)#|^=` 2
3 = 5124 lines, 66209 words, 421458 chars in lines not matching '^$|^(\| |)#` 3 ! 3 = 5132 lines, 66317 words, 422145 chars in lines not matching '^$|^(\| |)#` 3
4 # 5157 lines, 66344 words, 422553 chars in all lines 4 ! 4 # 5166 lines, 66458 words, 423222 chars in all lines 4
5 5 5 5
..................
# MonetDB/GIS module loaded
337 insert into sys.args values (31822, 101, 'arg_2', 'any', 0, 0, 1, 2); 337 337 insert into sys.args values (31822, 101, 'arg_2', 'any', 0, 0, 1, 2); 337
338 insert into sys.functions values (102, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 338 ! 338 insert into sys.functions values (102, 'star', '', '', 0, 1, false, false, false, 2000, true, true); 338
339 insert into sys.args values (31823, 102, 'res_0', 'bigint', 64, 0, 0, 0); 339 ! 339 insert into sys.args values (31823, 102, 'res_0', 'any', 0, 0, 0, 0); 339
340 insert into sys.args values (31824, 102, 'arg_1', 'tinyint', 8, 0, 1, 1); 340 -
341 insert into sys.functions values (103, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 341 340 insert into sys.functions values (103, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 340
342 insert into sys.args values (31825, 103, 'res_0', 'bigint', 64, 0, 0, 0); 342 ! 341 insert into sys.args values (31824, 103, 'res_0', 'bigint', 64, 0, 0, 0); 341
343 insert into sys.args values (31826, 103, 'arg_1', 'smallint', 16, 0, 1, 1); 343 ! 342 insert into sys.args values (31825, 103, 'arg_1', 'tinyint', 8, 0, 1, 1); 342
344 insert into sys.functions values (104, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 344 343 insert into sys.functions values (104, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 343
345 insert into sys.args values (31827, 104, 'res_0', 'bigint', 64, 0, 0, 0); 345 ! 344 insert into sys.args values (31826, 104, 'res_0', 'bigint', 64, 0, 0, 0); 344
346 insert into sys.args values (31828, 104, 'arg_1', 'int', 32, 0, 1, 1); 346 ! 345 insert into sys.args values (31827, 104, 'arg_1', 'smallint', 16, 0, 1, 1); 345
347 insert into sys.functions values (105, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 347 346 insert into sys.functions values (105, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 346
348 insert into sys.args values (31829, 105, 'res_0', 'bigint', 64, 0, 0, 0); 348 ! 347 insert into sys.args values (31828, 105, 'res_0', 'bigint', 64, 0, 0, 0); 347
349 insert into sys.args values (31830, 105, 'arg_1', 'bigint', 64, 0, 1, 1); 349 ! 348 insert into sys.args values (31829, 105, 'arg_1', 'int', 32, 0, 1, 1); 348
350 insert into sys.functions values (106, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 350 349 insert into sys.functions values (106, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 349
351 insert into sys.args values (31831, 106, 'res_0', 'decimal', 18, 0, 0, 0); 351 ! 350 insert into sys.args values (31830, 106, 'res_0', 'bigint', 64, 0, 0, 0); 350
352 insert into sys.args values (31832, 106, 'arg_1', 'decimal', 2, 0, 1, 1); 352 ! 351 insert into sys.args values (31831, 106, 'arg_1', 'bigint', 64, 0, 1, 1); 351
353 insert into sys.functions values (107, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 353 352 insert into sys.functions values (107, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 352
354 insert into sys.args values (31833, 107, 'res_0', 'decimal', 18, 0, 0, 0); 354 ! 353 insert into sys.args values (31832, 107, 'res_0', 'decimal', 18, 0, 0, 0); 353
355 insert into sys.args values (31834, 107, 'arg_1', 'decimal', 4, 0, 1, 1); 355 ! 354 insert into sys.args values (31833, 107, 'arg_1', 'decimal', 2, 0, 1, 1); 354
356 insert into sys.functions values (108, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 356 355 insert into sys.functions values (108, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 355
357 insert into sys.args values (31835, 108, 'res_0', 'decimal', 18, 0, 0, 0); 357 ! 356 insert into sys.args values (31834, 108, 'res_0', 'decimal', 18, 0, 0, 0); 356
358 insert into sys.args values (31836, 108, 'arg_1', 'decimal', 9, 0, 1, 1); 358 ! 357 insert into sys.args values (31835, 108, 'arg_1', 'decimal', 4, 0, 1, 1); 357
359 insert into sys.functions values (109, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 359 358 insert into sys.functions values (109, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 358
360 insert into sys.args values (31837, 109, 'res_0', 'decimal', 18, 0, 0, 0); 360 ! 359 insert into sys.args values (31836, 109, 'res_0', 'decimal', 18, 0, 0, 0); 359
361 insert into sys.args values (31838, 109, 'arg_1', 'decimal', 18, 0, 1, 1); 361 ! 360 insert into sys.args values (31837, 109, 'arg_1', 'decimal', 9, 0, 1, 1); 360
362 insert into sys.functions values (110, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 362 ! 361 insert into sys.functions values (110, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 361
363 insert into sys.args values (31839, 110, 'res_0', 'bigint', 64, 0, 0, 0); 363 ! 362 insert into sys.args values (31838, 110, 'res_0', 'decimal', 18, 0, 0, 0); 362
364 insert into sys.args values (31840, 110, 'arg_1', 'tinyint', 8, 0, 1, 1); 364 ! 363 insert into sys.args values (31839, 110, 'arg_1', 'decimal', 18, 0, 1, 1); 363
365 insert into sys.functions values (111, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 365 364 insert into sys.functions values (111, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 364
366 insert into sys.args values (31841, 111, 'res_0', 'bigint', 64, 0, 0, 0); 366 ! 365 insert into sys.args values (31840, 111, 'res_0', 'bigint', 64, 0, 0, 0); 365
367 insert into sys.args values (31842, 111, 'arg_1', 'smallint', 16, 0, 1, 1); 367 ! 366 insert into sys.args values (31841, 111, 'arg_1', 'tinyint', 8, 0, 1, 1); 366
368 insert into sys.functions values (112, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 368 367 insert into sys.functions values (112, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 367
369 insert into sys.args values (31843, 112, 'res_0', 'bigint', 64, 0, 0, 0); 369 ! 368 insert into sys.args values (31842, 112, 'res_0', 'bigint', 64, 0, 0, 0); 368
370 insert into sys.args values (31844, 112, 'arg_1', 'int', 32, 0, 1, 1); 370 ! 369 insert into sys.args values (31843, 112, 'arg_1', 'smallint', 16, 0, 1, 1); 369
371 insert into sys.functions values (113, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 371 370 insert into sys.functions values (113, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 370
372 insert into sys.args values (31845, 113, 'res_0', 'bigint', 64, 0, 0, 0); 372 ! 371 insert into sys.args values (31844, 113, 'res_0', 'bigint', 64, 0, 0, 0); 371
373 insert into sys.args values (31846, 113, 'arg_1', 'bigint', 64, 0, 1, 1); 373 ! 372 insert into sys.args values (31845, 113, 'arg_1', 'int', 32, 0, 1, 1); 372
374 insert into sys.functions values (114, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 374 ! 373 insert into sys.functions values (114, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 373
375 insert into sys.args values (31847, 114, 'res_0', 'oid', 63, 0, 0, 0); 375 ! 374 insert into sys.args values (31846, 114, 'res_0', 'bigint', 64, 0, 0, 0); 374
376 insert into sys.args values (31848, 114, 'arg_1', 'oid', 63, 0, 1, 1); 376 ! 375 insert into sys.args values (31847, 114, 'arg_1', 'bigint', 64, 0, 1, 1); 375
377 insert into sys.args values (31849, 114, 'arg_2', 'oid', 63, 0, 1, 2); 377 -
378 insert into sys.functions values (115, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 378 376 insert into sys.functions values (115, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 376
379 insert into sys.args values (31850, 115, 'res_0', 'tinyint', 8, 0, 0, 0); 379 ! 377 insert into sys.args values (31848, 115, 'res_0', 'oid', 63, 0, 0, 0); 377
380 insert into sys.args values (31851, 115, 'arg_1', 'tinyint', 8, 0, 1, 1); 380 ! 378 insert into sys.args values (31849, 115, 'arg_1', 'oid', 63, 0, 1, 1); 378
381 insert into sys.args values (31852, 115, 'arg_2', 'tinyint', 8, 0, 1, 2); 381 ! 379 insert into sys.args values (31850, 115, 'arg_2', 'oid', 63, 0, 1, 2); 379
382 insert into sys.functions values (116, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 382 380 insert into sys.functions values (116, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 380
383 insert into sys.args values (31853, 116, 'res_0', 'smallint', 16, 0, 0, 0); 383 ! 381 insert into sys.args values (31851, 116, 'res_0', 'tinyint', 8, 0, 0, 0); 381
384 insert into sys.args values (31854, 116, 'arg_1', 'smallint', 16, 0, 1, 1); 384 ! 382 insert into sys.args values (31852, 116, 'arg_1', 'tinyint', 8, 0, 1, 1); 382
385 insert into sys.args values (31855, 116, 'arg_2', 'smallint', 16, 0, 1, 2); 385 ! 383 insert into sys.args values (31853, 116, 'arg_2', 'tinyint', 8, 0, 1, 2); 383
386 insert into sys.functions values (117, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 386 384 insert into sys.functions values (117, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 384
387 insert into sys.args values (31856, 117, 'res_0', 'int', 32, 0, 0, 0); 387 ! 385 insert into sys.args values (31854, 117, 'res_0', 'smallint', 16, 0, 0, 0); 385
388 insert into sys.args values (31857, 117, 'arg_1', 'int', 32, 0, 1, 1); 388 ! 386 insert into sys.args values (31855, 117, 'arg_1', 'smallint', 16, 0, 1, 1); 386
389 insert into sys.args values (31858, 117, 'arg_2', 'int', 32, 0, 1, 2); 389 ! 387 insert into sys.args values (31856, 117, 'arg_2', 'smallint', 16, 0, 1, 2); 387
390 insert into sys.functions values (118, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 390 388 insert into sys.functions values (118, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 388
391 insert into sys.args values (31859, 118, 'res_0', 'bigint', 64, 0, 0, 0); 391 ! 389 insert into sys.args values (31857, 118, 'res_0', 'int', 32, 0, 0, 0); 389
392 insert into sys.args values (31860, 118, 'arg_1', 'bigint', 64, 0, 1, 1); 392 ! 390 insert into sys.args values (31858, 118, 'arg_1', 'int', 32, 0, 1, 1); 390
393 insert into sys.args values (31861, 118, 'arg_2', 'bigint', 64, 0, 1, 2); 393 ! 391 insert into sys.args values (31859, 118, 'arg_2', 'int', 32, 0, 1, 2); 391
394 insert into sys.functions values (119, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 394 392 insert into sys.functions values (119, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 392
395 insert into sys.args values (31862, 119, 'res_0', 'decimal', 2, 0, 0, 0); 395 ! 393 insert into sys.args values (31860, 119, 'res_0', 'bigint', 64, 0, 0, 0); 393
396 insert into sys.args values (31863, 119, 'arg_1', 'decimal', 2, 0, 1, 1); 396 ! 394 insert into sys.args values (31861, 119, 'arg_1', 'bigint', 64, 0, 1, 1); 394
397 insert into sys.args values (31864, 119, 'arg_2', 'decimal', 2, 0, 1, 2); 397 ! 395 insert into sys.args values (31862, 119, 'arg_2', 'bigint', 64, 0, 1, 2); 395
398 insert into sys.functions values (120, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 398 396 insert into sys.functions values (120, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 396
399 insert into sys.args values (31865, 120, 'res_0', 'decimal', 4, 0, 0, 0); 399 ! 397 insert into sys.args values (31863, 120, 'res_0', 'decimal', 2, 0, 0, 0); 397
400 insert into sys.args values (31866, 120, 'arg_1', 'decimal', 4, 0, 1, 1); 400 ! 398 insert into sys.args values (31864, 120, 'arg_1', 'decimal', 2, 0, 1, 1); 398
401 insert into sys.args values (31867, 120, 'arg_2', 'decimal', 4, 0, 1, 2); 401 ! 399 insert into sys.args values (31865, 120, 'arg_2', 'decimal', 2, 0, 1, 2); 399
402 insert into sys.functions values (121, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 402 400 insert into sys.functions values (121, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 400
403 insert into sys.args values (31868, 121, 'res_0', 'decimal', 9, 0, 0, 0); 403 ! 401 insert into sys.args values (31866, 121, 'res_0', 'decimal', 4, 0, 0, 0); 401
404 insert into sys.args values (31869, 121, 'arg_1', 'decimal', 9, 0, 1, 1); 404 ! 402 insert into sys.args values (31867, 121, 'arg_1', 'decimal', 4, 0, 1, 1); 402
405 insert into sys.args values (31870, 121, 'arg_2', 'decimal', 9, 0, 1, 2); 405 ! 403 insert into sys.args values (31868, 121, 'arg_2', 'decimal', 4, 0, 1, 2); 403
406 insert into sys.functions values (122, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 406 404 insert into sys.functions values (122, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 404
407 insert into sys.args values (31871, 122, 'res_0', 'decimal', 18, 0, 0, 0); 407 ! 405 insert into sys.args values (31869, 122, 'res_0', 'decimal', 9, 0, 0, 0); 405
408 insert into sys.args values (31872, 122, 'arg_1', 'decimal', 18, 0, 1, 1); 408 ! 406 insert into sys.args values (31870, 122, 'arg_1', 'decimal', 9, 0, 1, 1); 406
409 insert into sys.args values (31873, 122, 'arg_2', 'decimal', 18, 0, 1, 2); 409 ! 407 insert into sys.args values (31871, 122, 'arg_2', 'decimal', 9, 0, 1, 2); 407
410 insert into sys.functions values (123, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 410 408 insert into sys.functions values (123, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 408
411 insert into sys.args values (31874, 123, 'res_0', 'real', 24, 0, 0, 0); 411 ! 409 insert into sys.args values (31872, 123, 'res_0', 'decimal', 18, 0, 0, 0); 409
412 insert into sys.args values (31875, 123, 'arg_1', 'real', 24, 0, 1, 1); 412 ! 410 insert into sys.args values (31873, 123, 'arg_1', 'decimal', 18, 0, 1, 1); 410
413 insert into sys.args values (31876, 123, 'arg_2', 'real', 24, 0, 1, 2); 413 ! 411 insert into sys.args values (31874, 123, 'arg_2', 'decimal', 18, 0, 1, 2); 411
414 insert into sys.functions values (124, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 414 412 insert into sys.functions values (124, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 412
415 insert into sys.args values (31877, 124, 'res_0', 'double', 53, 0, 0, 0); 415 ! 413 insert into sys.args values (31875, 124, 'res_0', 'real', 24, 0, 0, 0); 413
416 insert into sys.args values (31878, 124, 'arg_1', 'double', 53, 0, 1, 1); 416 ! 414 insert into sys.args values (31876, 124, 'arg_1', 'real', 24, 0, 1, 1); 414
417 insert into sys.args values (31879, 124, 'arg_2', 'double', 53, 0, 1, 2); 417 ! 415 insert into sys.args values (31877, 124, 'arg_2', 'real', 24, 0, 1, 2); 415
418 insert into sys.functions values (125, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 418 ! 416 insert into sys.functions values (125, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 416
419 insert into sys.args values (31880, 125, 'res_0', 'real', 24, 0, 0, 0); 419 ! 417 insert into sys.args values (31878, 125, 'res_0', 'double', 53, 0, 0, 0); 417
420 insert into sys.args values (31881, 125, 'arg_1', 'real', 24, 0, 1, 1); 420 ! 418 insert into sys.args values (31879, 125, 'arg_1', 'double', 53, 0, 1, 1); 418
insert into sys. + 419 insert into sys.args values (31880, 125, 'arg_2', 'double', 53, 0, 1, 2); 419
421 functions values (126, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 421 ! 420 insert into sys.functions values (126, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 420
422 insert into sys.args values (31882, 126, 'res_0', 'real', 24, 0, 0, 0); 422 ! 421 insert into sys.args values (31881, 126, 'res_0', 'real', 24, 0, 0, 0); 421
423 insert into sys.args values (31883, 126, 'arg_1', 'real', 24, 0, 1, 1); 423 ! 422 insert into sys.args values (31882, 126, 'arg_1', 'real', 24, 0, 1, 1); 422
424 insert into sys.functions values (127, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 424 ! 423 insert into sys.functions values (127, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 423
425 insert into sys.args values (31884, 127, 'res_0', 'double', 53, 0, 0, 0); 425 ! 424 insert into sys.args values (31883, 127, 'res_0', 'real', 24, 0, 0, 0); 424
426 insert into sys.args values (31885, 127, 'arg_1', 'double', 53, 0, 1, 1); 426 ! 425 insert into sys.args values (31884, 127, 'arg_1', 'real', 24, 0, 1, 1); 425
427 insert into sys.functions values (128, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 427 ! 426 insert into sys.functions values (128, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 426
428 insert into sys.args values (31886, 128, 'res_0', 'double', 53, 0, 0, 0); 428 ! 427 insert into sys.args values (31885, 128, 'res_0', 'double', 53, 0, 0, 0); 427
429 insert into sys.args values (31887, 128, 'arg_1', 'double', 53, 0, 1, 1); 429 ! 428 insert into sys.args values (31886, 128, 'arg_1', 'double', 53, 0, 1, 1); 428
430 insert into sys.functions values (129, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 430 ! 429 insert into sys.functions values (129, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 429
431 insert into sys.args values (31888, 129, 'res_0', 'month_interval', 32, 0, 0, 0); 431 ! 430 insert into sys.args values (31887, 129, 'res_0', 'double', 53, 0, 0, 0); 430
432 insert into sys.args values (31889, 129, 'arg_1', 'month_interval', 32, 0, 1, 1); 432 ! 431 insert into sys.args values (31888, 129, 'arg_1', 'double', 53, 0, 1, 1); 431
433 insert into sys.functions values (130, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 433 432 insert into sys.functions values (130, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 432
434 insert into sys.args values (31890, 130, 'res_0', 'sec_interval', 13, 0, 0, 0); 434 ! 433 insert into sys.args values (31889, 130, 'res_0', 'month_interval', 32, 0, 0, 0); 433
435 insert into sys.args values (31891, 130, 'arg_1', 'sec_interval', 13, 0, 1, 1); 435 ! 434 insert into sys.args values (31890, 130, 'arg_1', 'month_interval', 32, 0, 1, 1); 434
436 insert into sys.functions values (131, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 436 ! 435 insert into sys.functions values (131, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 435
437 insert into sys.args values (31892, 131, 'res_0', 'double', 53, 0, 0, 0); 437 ! 436 insert into sys.args values (31891, 131, 'res_0', 'sec_interval', 13, 0, 0, 0); 436
438 insert into sys.args values (31893, 131, 'arg_1', 'double', 53, 0, 1, 1); 438 ! 437 insert into sys.args values (31892, 131, 'arg_1', 'sec_interval', 13, 0, 1, 1); 437
439 insert into sys.functions values (132, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 439 438 insert into sys.functions values (132, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 438
440 insert into sys.args values (31894, 132, 'res_0', 'double', 53, 0, 0, 0); 440 ! 439 insert into sys.args values (31893, 132, 'res_0', 'double', 53, 0, 0, 0); 439
441 insert into sys.args values (31895, 132, 'arg_1', 'tinyint', 8, 0, 1, 1); 441 ! 440 insert into sys.args values (31894, 132, 'arg_1', 'double', 53, 0, 1, 1); 440
442 insert into sys.functions values (133, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 442 441 insert into sys.functions values (133, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 441
443 insert into sys.args values (31896, 133, 'res_0', 'double', 53, 0, 0, 0); 443 ! 442 insert into sys.args values (31895, 133, 'res_0', 'double', 53, 0, 0, 0); 442
444 insert into sys.args values (31897, 133, 'arg_1', 'smallint', 16, 0, 1, 1); 444 ! 443 insert into sys.args values (31896, 133, 'arg_1', 'tinyint', 8, 0, 1, 1); 443
445 insert into sys.functions values (134, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 445 444 insert into sys.functions values (134, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 444
446 insert into sys.args values (31898, 134, 'res_0', 'double', 53, 0, 0, 0); 446 ! 445 insert into sys.args values (31897, 134, 'res_0', 'double', 53, 0, 0, 0); 445
447 insert into sys.args values (31899, 134, 'arg_1', 'int', 32, 0, 1, 1); 447 ! 446 insert into sys.args values (31898, 134, 'arg_1', 'smallint', 16, 0, 1, 1); 446
448 insert into sys.functions values (135, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 448 447 insert into sys.functions values (135, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 447
449 insert into sys.args values (31900, 135, 'res_0', 'double', 53, 0, 0, 0); 449 ! 448 insert into sys.args values (31899, 135, 'res_0', 'double', 53, 0, 0, 0); 448
450 insert into sys.args values (31901, 135, 'arg_1', 'bigint', 64, 0, 1, 1); 450 ! 449 insert into sys.args values (31900, 135, 'arg_1', 'int', 32, 0, 1, 1); 449
451 insert into sys.functions values (136, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 451 450 insert into sys.functions values (136, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 450
452 insert into sys.args values (31902, 136, 'res_0', 'double', 53, 0, 0, 0); 452 ! 451 insert into sys.args values (31901, 136, 'res_0', 'double', 53, 0, 0, 0); 451
453 insert into sys.args values (31903, 136, 'arg_1', 'real', 24, 0, 1, 1); 453 ! 452 insert into sys.args values (31902, 136, 'arg_1', 'bigint', 64, 0, 1, 1); 452
454 insert into sys.functions values (137, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 454 453 insert into sys.functions values (137, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 453
455 insert into sys.args values (31904, 137, 'res_0', 'decimal', 2, 0, 0, 0); 455 ! 454 insert into sys.args values (31903, 137, 'res_0', 'double', 53, 0, 0, 0); 454
456 insert into sys.args values (31905, 137, 'arg_1', 'decimal', 2, 0, 1, 1); 456 ! 455 insert into sys.args values (31904, 137, 'arg_1', 'real', 24, 0, 1, 1); 455
457 insert into sys.functions values (138, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 457 456 insert into sys.functions values (138, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 456
458 insert into sys.args values (31906, 138, 'res_0', 'decimal', 4, 0, 0, 0); 458 ! 457 insert into sys.args values (31905, 138, 'res_0', 'decimal', 2, 0, 0, 0); 457
459 insert into sys.args values (31907, 138, 'arg_1', 'decimal', 4, 0, 1, 1); 459 ! 458 insert into sys.args values (31906, 138, 'arg_1', 'decimal', 2, 0, 1, 1); 458
460 insert into sys.functions values (139, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 460 459 insert into sys.functions values (139, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 459
461 insert into sys.args values (31908, 139, 'res_0', 'decimal', 9, 0, 0, 0); 461 ! 460 insert into sys.args values (31907, 139, 'res_0', 'decimal', 4, 0, 0, 0); 460
462 insert into sys.args values (31909, 139, 'arg_1', 'decimal', 9, 0, 1, 1); 462 ! 461 insert into sys.args values (31908, 139, 'arg_1', 'decimal', 4, 0, 1, 1); 461
463 insert into sys.functions values (140, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 463 462 insert into sys.functions values (140, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 462
464 insert into sys.args values (31910, 140, 'res_0', 'decimal', 18, 0, 0, 0); 464 ! 463 insert into sys.args values (31909, 140, 'res_0', 'decimal', 9, 0, 0, 0); 463
465 insert into sys.args values (31911, 140, 'arg_1', 'decimal', 18, 0, 1, 1); 465 ! 464 insert into sys.args values (31910, 140, 'arg_1', 'decimal', 9, 0, 1, 1); 464
466 insert into sys.functions values (141, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 466 465 insert into sys.functions values (141, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 465
467 insert into sys.args values (31912, 141, 'res_0', 'month_interval', 32, 0, 0, 0); 467 ! 466 insert into sys.args values (31911, 141, 'res_0', 'decimal', 18, 0, 0, 0); 466
468 insert into sys.args values (31913, 141, 'arg_1', 'month_interval', 32, 0, 1, 1); 468 ! 467 insert into sys.args values (31912, 141, 'arg_1', 'decimal', 18, 0, 1, 1); 467
469 insert into sys.functions values (142, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 469 468 insert into sys.functions values (142, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 468
470 insert into sys.args values (31914, 142, 'res_0', 'sec_interval', 13, 0, 0, 0); 470 ! 469 insert into sys.args values (31913, 142, 'res_0', 'month_interval', 32, 0, 0, 0); 469
471 insert into sys.args values (31915, 142, 'arg_1', 'sec_interval', 13, 0, 1, 1); 471 ! 470 insert into sys.args values (31914, 142, 'arg_1', 'month_interval', 32, 0, 1, 1); 470
472 insert into sys.functions values (143, 'count_no_nil', 'count_no_nil', 'aggr', 0, 3, false, false, false, 2000, true, true); 472 ! 471 insert into sys.functions values (143, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 471
473 insert into sys.args values (31916, 143, 'res_0', 'bigint', 64, 0, 0, 0); 473 ! 472 insert into sys.args values (31915, 143, 'res_0', 'sec_interval', 13, 0, 0, 0); 472
474 insert into sys.functions values (144, 'count', 'count', 'aggr', 0, 3, false, false, false, 2000, true, true); 474 ! 473 insert into sys.args values (31916, 143, 'arg_1', 'sec_interval', 13, 0, 1, 1); 473
475 insert into sys.args values (31917, 144, 'res_0', 'bigint', 64, 0, 0, 0); 475 -
476 insert into sys.args values (31918, 144, 'arg_1', 'any', 0, 0, 1, 1); 476 ! 474 insert into sys.functions values (144, 'count_no_nil', 'count_no_nil', 'aggr', 0, 3, false, false, false, 2000, true, true); 474
+ 475 insert into sys.args values (31917, 144, 'res_0', 'bigint', 64, 0, 0, 0); 475
477 insert into sys.functions values (145, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 477 ! 476 insert into sys.functions values (145, 'count', 'count', 'aggr', 0, 3, false, false, false, 2000, true, true); 476
478 insert into sys.args values (31919, 145, 'res_0', 'varchar', 0, 0, 0, 0); 478 ! 477 insert into sys.args values (31918, 145, 'res_0', 'bigint', 64, 0, 0, 0); 477
479 insert into sys.args values (31920, 145, 'arg_1', 'varchar', 0, 0, 1, 1); 479 ! 478 insert into sys.args values (31919, 145, 'arg_1', 'any', 0, 0, 1, 1); 478
480 insert into sys.functions values (146, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 480 479 insert into sys.functions values (146, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 479
481 insert into sys.args values (31921, 146, 'res_0', 'varchar', 0, 0, 0, 0); 481 ! 480 insert into sys.args values (31920, 146, 'res_0', 'varchar', 0, 0, 0, 0); 480
482 insert into sys.args values (31922, 146, 'arg_1', 'varchar', 0, 0, 1, 1); 482 ! 481 insert into sys.args values (31921, 146, 'arg_1', 'varchar', 0, 0, 1, 1); 481
483 insert into sys.args values (31923, 146, 'arg_2', 'varchar', 0, 0, 1, 2); 483 ! 482 insert into sys.functions values (147, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 482
484 insert into sys.functions values (147, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 484 ! 483 insert into sys.args values (31922, 147, 'res_0', 'varchar', 0, 0, 0, 0); 483
485 insert into sys.args values (31924, 147, 'res_0', 'boolean', 1, 0, 0, 0); 485 ! 484 insert into sys.args values (31923, 147, 'arg_1', 'varchar', 0, 0, 1, 1); 484
486 insert into sys.args values (31925, 147, 'arg_1', 'any', 0, 0, 1, 1); 486 ! 485 insert into sys.args values (31924, 147, 'arg_2', 'varchar', 0, 0, 1, 2); 485
487 insert into sys.functions values (148, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 487 486 insert into sys.functions values (148, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 486
488 insert into sys.args values (31926, 148, 'res_0', 'boolean', 1, 0, 0, 0); 488 ! 487 insert into sys.args values (31925, 148, 'res_0', 'boolean', 1, 0, 0, 0); 487
489 insert into sys.args values (31927, 148, 'arg_1', 'boolean', 1, 0, 1, 1); 489 ! 488 insert into sys.args values (31926, 148, 'arg_1', 'any', 0, 0, 1, 1); 488
490 insert into sys.args values (31928, 148, 'arg_2', 'any', 0, 0, 1, 2); 490 ! 489 insert into sys.functions values (149, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 489
491 insert into sys.functions values (149, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 491 -
492 insert into sys.args values (31929, 149, 'res_0', 'bigint', 64, 0, 0, 0); 492 ! 490 insert into sys.args values (31927, 149, 'res_0', 'boolean', 1, 0, 0, 0); 490
493 insert into sys.args values (31930, 149, 'arg_1', 'any', 0, 0, 1, 1); 493 ! 491 insert into sys.args values (31928, 149, 'arg_1', 'boolean', 1, 0, 1, 1); 491
494 insert into sys.args values (31931, 149, 'arg_2', 'int', 32, 0, 1, 2); 494 ! 492 insert into sys.args values (31929, 149, 'arg_2', 'any', 0, 0, 1, 2); 492
495 insert into sys.args values (31932, 149, 'arg_3', 'int', 32, 0, 1, 3); 495 -
496 insert into sys.args values (31933, 149, 'arg_4', 'int', 32, 0, 1, 4); 496 -
497 insert into sys.args values (31934, 149, 'arg_5', 'tinyint', 8, 0, 1, 5); 497 -
498 insert into sys.functions values (150, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 498 493 insert into sys.functions values (150, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 493
499 insert into sys.args values (31935, 150, 'res_0', 'bigint', 64, 0, 0, 0); 499 ! 494 insert into sys.args values (31930, 150, 'res_0', 'bigint', 64, 0, 0, 0); 494
500 insert into sys.args values (31936, 150, 'arg_1', 'boolean', 1, 0, 1, 1); 500 ! 495 insert into sys.args values (31931, 150, 'arg_1', 'any', 0, 0, 1, 1); 495
501 insert into sys.args values (31937, 150, 'arg_2', 'any', 0, 0, 1, 2); 501 ! 496 insert into sys.args values (31932, 150, 'arg_2', 'int', 32, 0, 1, 2); 496
502 insert into sys.args values (31938, 150, 'arg_3', 'int', 32, 0, 1, 3); 502 ! 497 insert into sys.args values (31933, 150, 'arg_3', 'int', 32, 0, 1, 3); 497
503 insert into sys.args values (31939, 150, 'arg_4', 'int', 32, 0, 1, 4); 503 ! 498 insert into sys.args values (31934, 150, 'arg_4', 'int', 32, 0, 1, 4); 498
504 insert into sys.args values (31940, 150, 'arg_5', 'int', 32, 0, 1, 5); 504 ! 499 insert into sys.args values (31935, 150, 'arg_5', 'tinyint', 8, 0, 1, 5); 499
505 insert into sys.args values (31941, 150, 'arg_6', 'tinyint', 8, 0, 1, 6); 505 -
506 insert into sys.functions values (151, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 506 500 insert into sys.functions values (151, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 500
507 insert into sys.args values (31942, 151, 'res_0', 'bigint', 64, 0, 0, 0); 507 ! 501 insert into sys.args values (31936, 151, 'res_0', 'bigint', 64, 0, 0, 0); 501
508 insert into sys.args values (31943, 151, 'arg_1', 'any', 0, 0, 1, 1); 508 ! 502 insert into sys.args values (31937, 151, 'arg_1', 'boolean', 1, 0, 1, 1); 502
509 insert into sys.args values (31944, 151, 'arg_2', 'int', 32, 0, 1, 2); 509 ! 503 insert into sys.args values (31938, 151, 'arg_2', 'any', 0, 0, 1, 2); 503
510 insert into sys.args values (31945, 151, 'arg_3', 'int', 32, 0, 1, 3); 510 ! 504 insert into sys.args values (31939, 151, 'arg_3', 'int', 32, 0, 1, 3); 504
511 insert into sys.args values (31946, 151, 'arg_4', 'int', 32, 0, 1, 4); 511 ! 505 insert into sys.args values (31940, 151, 'arg_4', 'int', 32, 0, 1, 4); 505
512 insert into sys.args values (31947, 151, 'arg_5', 'smallint', 16, 0, 1, 5); 512 ! 506 insert into sys.args values (31941, 151, 'arg_5', 'int', 32, 0, 1, 5); 506
+ 507 insert into sys.args values (31942, 151, 'arg_6', 'tinyint', 8, 0, 1, 6); 507
513 insert into sys.functions values (152, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 513 508 insert into sys.functions values (152, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 508
514 insert into sys.args values (31948, 152, 'res_0', 'bigint', 64, 0, 0, 0); 514 ! 509 insert into sys.args values (31943, 152, 'res_0', 'bigint', 64, 0, 0, 0); 509
515 insert into sys.args values (31949, 152, 'arg_1', 'boolean', 1, 0, 1, 1); 515 ! 510 insert into sys.args values (31944, 152, 'arg_1', 'any', 0, 0, 1, 1); 510
516 insert into sys.args values (31950, 152, 'arg_2', 'any', 0, 0, 1, 2); 516 ! 511 insert into sys.args values (31945, 152, 'arg_2', 'int', 32, 0, 1, 2); 511
517 insert into sys.args values (31951, 152, 'arg_3', 'int', 32, 0, 1, 3); 517 ! 512 insert into sys.args values (31946, 152, 'arg_3', 'int', 32, 0, 1, 3); 512
518 insert into sys.args values (31952, 152, 'arg_4', 'int', 32, 0, 1, 4); 518 ! 513 insert into sys.args values (31947, 152, 'arg_4', 'int', 32, 0, 1, 4); 513
519 insert into sys.args values (31953, 152, 'arg_5', 'int', 32, 0, 1, 5); 519 ! 514 insert into sys.args values (31948, 152, 'arg_5', 'smallint', 16, 0, 1, 5); 514
520 insert into sys.args values (31954, 152, 'arg_6', 'smallint', 16, 0, 1, 6); 520 -
521 insert into sys.functions values (153, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 521 515 insert into sys.functions values (153, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 515
522 insert into sys.args values (31955, 153, 'res_0', 'bigint', 64, 0, 0, 0); 522 ! 516 insert into sys.args values (31949, 153, 'res_0', 'bigint', 64, 0, 0, 0); 516
523 insert into sys.args values (31956, 153, 'arg_1', 'any', 0, 0, 1, 1); 523 ! 517 insert into sys.args values (31950, 153, 'arg_1', 'boolean', 1, 0, 1, 1); 517
524 insert into sys.args values (31957, 153, 'arg_2', 'int', 32, 0, 1, 2); 524 ! 518 insert into sys.args values (31951, 153, 'arg_2', 'any', 0, 0, 1, 2); 518
525 insert into sys.args values (31958, 153, 'arg_3', 'int', 32, 0, 1, 3); 525 ! 519 insert into sys.args values (31952, 153, 'arg_3', 'int', 32, 0, 1, 3); 519
526 insert into sys.args values (31959, 153, 'arg_4', 'int', 32, 0, 1, 4); 526 ! 520 insert into sys.args values (31953, 153, 'arg_4', 'int', 32, 0, 1, 4); 520
527 insert into sys.args values (31960, 153, 'arg_5', 'int', 32, 0, 1, 5); 527 ! 521 insert into sys.args values (31954, 153, 'arg_5', 'int', 32, 0, 1, 5); 521
+ 522 insert into sys.args values (31955, 153, 'arg_6', 'smallint', 16, 0, 1, 6); 522
528 insert into sys.functions values (154, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 528 523 insert into sys.functions values (154, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 523
529 insert into sys.args values (31961, 154, 'res_0', 'bigint', 64, 0, 0, 0); 529 ! 524 insert into sys.args values (31956, 154, 'res_0', 'bigint', 64, 0, 0, 0); 524
530 insert into sys.args values (31962, 154, 'arg_1', 'boolean', 1, 0, 1, 1); 530 ! 525 insert into sys.args values (31957, 154, 'arg_1', 'any', 0, 0, 1, 1); 525
531 insert into sys.args values (31963, 154, 'arg_2', 'any', 0, 0, 1, 2); 531 ! 526 insert into sys.args values (31958, 154, 'arg_2', 'int', 32, 0, 1, 2); 526
532 insert into sys.args values (31964, 154, 'arg_3', 'int', 32, 0, 1, 3); 532 ! 527 insert into sys.args values (31959, 154, 'arg_3', 'int', 32, 0, 1, 3); 527
533 insert into sys.args values (31965, 154, 'arg_4', 'int', 32, 0, 1, 4); 533 ! 528 insert into sys.args values (31960, 154, 'arg_4', 'int', 32, 0, 1, 4); 528
534 insert into sys.args values (31966, 154, 'arg_5', 'int', 32, 0, 1, 5); 534 ! 529 insert into sys.args values (31961, 154, 'arg_5', 'int', 32, 0, 1, 5); 529
535 insert into sys.args values (31967, 154, 'arg_6', 'int', 32, 0, 1, 6); 535 -
536 insert into sys.functions values (155, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 536 530 insert into sys.functions values (155, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 530
537 insert into sys.args values (31968, 155, 'res_0', 'bigint', 64, 0, 0, 0); 537 ! 531 insert into sys.args values (31962, 155, 'res_0', 'bigint', 64, 0, 0, 0); 531
538 insert into sys.args values (31969, 155, 'arg_1', 'any', 0, 0, 1, 1); 538 ! 532 insert into sys.args values (31963, 155, 'arg_1', 'boolean', 1, 0, 1, 1); 532
539 insert into sys.args values (31970, 155, 'arg_2', 'int', 32, 0, 1, 2); 539 ! 533 insert into sys.args values (31964, 155, 'arg_2', 'any', 0, 0, 1, 2); 533
540 insert into sys.args values (31971, 155, 'arg_3', 'int', 32, 0, 1, 3); 540 ! 534 insert into sys.args values (31965, 155, 'arg_3', 'int', 32, 0, 1, 3); 534
541 insert into sys.args values (31972, 155, 'arg_4', 'int', 32, 0, 1, 4); 541 ! 535 insert into sys.args values (31966, 155, 'arg_4', 'int', 32, 0, 1, 4); 535
542 insert into sys.args values (31973, 155, 'arg_5', 'bigint', 64, 0, 1, 5); 542 ! 536 insert into sys.args values (31967, 155, 'arg_5', 'int', 32, 0, 1, 5); 536
+ 537 insert into sys.args values (31968, 155, 'arg_6', 'int', 32, 0, 1, 6); 537
543 insert into sys.functions values (156, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 543 538 insert into sys.functions values (156, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 538
544 insert into sys.args values (31974, 156, 'res_0', 'bigint', 64, 0, 0, 0); 544 ! 539 insert into sys.args values (31969, 156, 'res_0', 'bigint', 64, 0, 0, 0); 539
545 insert into sys.args values (31975, 156, 'arg_1', 'boolean', 1, 0, 1, 1); 545 ! 540 insert into sys.args values (31970, 156, 'arg_1', 'any', 0, 0, 1, 1); 540
546 insert into sys.args values (31976, 156, 'arg_2', 'any', 0, 0, 1, 2); 546 ! 541 insert into sys.args values (31971, 156, 'arg_2', 'int', 32, 0, 1, 2); 541
547 insert into sys.args values (31977, 156, 'arg_3', 'int', 32, 0, 1, 3); 547 ! 542 insert into sys.args values (31972, 156, 'arg_3', 'int', 32, 0, 1, 3); 542
548 insert into sys.args values (31978, 156, 'arg_4', 'int', 32, 0, 1, 4); 548 ! 543 insert into sys.args values (31973, 156, 'arg_4', 'int', 32, 0, 1, 4); 543
549 insert into sys.args values (31979, 156, 'arg_5', 'int', 32, 0, 1, 5); 549 ! 544 insert into sys.args values (31974, 156, 'arg_5', 'bigint', 64, 0, 1, 5); 544
550 insert into sys.args values (31980, 156, 'arg_6', 'bigint', 64, 0, 1, 6); 550 -
551 insert into sys.functions values (157, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 551 545 insert into sys.functions values (157, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 545
552 insert into sys.args values (31981, 157, 'res_0', 'bigint', 64, 0, 0, 0); 552 ! 546 insert into sys.args values (31975, 157, 'res_0', 'bigint', 64, 0, 0, 0); 546
553 insert into sys.args values (31982, 157, 'arg_1', 'any', 0, 0, 1, 1); 553 ! 547 insert into sys.args values (31976, 157, 'arg_1', 'boolean', 1, 0, 1, 1); 547
554 insert into sys.args values (31983, 157, 'arg_2', 'int', 32, 0, 1, 2); 554 ! 548 insert into sys.args values (31977, 157, 'arg_2', 'any', 0, 0, 1, 2); 548
555 insert into sys.args values (31984, 157, 'arg_3', 'int', 32, 0, 1, 3); 555 ! 549 insert into sys.args values (31978, 157, 'arg_3', 'int', 32, 0, 1, 3); 549
556 insert into sys.args values (31985, 157, 'arg_4', 'int', 32, 0, 1, 4); 556 ! 550 insert into sys.args values (31979, 157, 'arg_4', 'int', 32, 0, 1, 4); 550
557 insert into sys.args values (31986, 157, 'arg_5', 'real', 24, 0, 1, 5); 557 ! 551 insert into sys.args values (31980, 157, 'arg_5', 'int', 32, 0, 1, 5); 551
+ 552 insert into sys.args values (31981, 157, 'arg_6', 'bigint', 64, 0, 1, 6); 552
558 insert into sys.functions values (158, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 558 553 insert into sys.functions values (158, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 553
559 insert into sys.args values (31987, 158, 'res_0', 'bigint', 64, 0, 0, 0); 559 ! 554 insert into sys.args values (31982, 158, 'res_0', 'bigint', 64, 0, 0, 0); 554
560 insert into sys.args values (31988, 158, 'arg_1', 'boolean', 1, 0, 1, 1); 560 ! 555 insert into sys.args values (31983, 158, 'arg_1', 'any', 0, 0, 1, 1); 555
561 insert into sys.args values (31989, 158, 'arg_2', 'any', 0, 0, 1, 2); 561 ! 556 insert into sys.args values (31984, 158, 'arg_2', 'int', 32, 0, 1, 2); 556
562 insert into sys.args values (31990, 158, 'arg_3', 'int', 32, 0, 1, 3); 562 ! 557 insert into sys.args values (31985, 158, 'arg_3', 'int', 32, 0, 1, 3); 557
563 insert into sys.args values (31991, 158, 'arg_4', 'int', 32, 0, 1, 4); 563 ! 558 insert into sys.args values (31986, 158, 'arg_4', 'int', 32, 0, 1, 4); 558
564 insert into sys.args values (31992, 158, 'arg_5', 'int', 32, 0, 1, 5); 564 ! 559 insert into sys.args values (31987, 158, 'arg_5', 'real', 24, 0, 1, 5); 559
565 insert into sys.args values (31993, 158, 'arg_6', 'real', 24, 0, 1, 6); 565 -
566 insert into sys.functions values (159, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 566 560 insert into sys.functions values (159, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 560
567 insert into sys.args values (31994, 159, 'res_0', 'bigint', 64, 0, 0, 0); 567 ! 561 insert into sys.args values (31988, 159, 'res_0', 'bigint', 64, 0, 0, 0); 561
568 insert into sys.args values (31995, 159, 'arg_1', 'any', 0, 0, 1, 1); 568 ! 562 insert into sys.args values (31989, 159, 'arg_1', 'boolean', 1, 0, 1, 1); 562
569 insert into sys.args values (31996, 159, 'arg_2', 'int', 32, 0, 1, 2); 569 ! 563 insert into sys.args values (31990, 159, 'arg_2', 'any', 0, 0, 1, 2); 563
570 insert into sys.args values (31997, 159, 'arg_3', 'int', 32, 0, 1, 3); 570 ! 564 insert into sys.args values (31991, 159, 'arg_3', 'int', 32, 0, 1, 3); 564
571 insert into sys.args values (31998, 159, 'arg_4', 'int', 32, 0, 1, 4); 571 ! 565 insert into sys.args values (31992, 159, 'arg_4', 'int', 32, 0, 1, 4); 565
572 insert into sys.args values (31999, 159, 'arg_5', 'double', 53, 0, 1, 5); 572 ! 566 insert into sys.args values (31993, 159, 'arg_5', 'int', 32, 0, 1, 5); 566
+ 567 insert into sys.args values (31994, 159, 'arg_6', 'real', 24, 0, 1, 6); 567
573 insert into sys.functions values (160, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 573 568 insert into sys.functions values (160, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 568
574 insert into sys.args values (32000, 160, 'res_0', 'bigint', 64, 0, 0, 0); 574 ! 569 insert into sys.args values (31995, 160, 'res_0', 'bigint', 64, 0, 0, 0); 569
575 insert into sys.args values (32001, 160, 'arg_1', 'boolean', 1, 0, 1, 1); 575 ! 570 insert into sys.args values (31996, 160, 'arg_1', 'any', 0, 0, 1, 1); 570
576 insert into sys.args values (32002, 160, 'arg_2', 'any', 0, 0, 1, 2); 576 ! 571 insert into sys.args values (31997, 160, 'arg_2', 'int', 32, 0, 1, 2); 571
577 insert into sys.args values (32003, 160, 'arg_3', 'int', 32, 0, 1, 3); 577 ! 572 insert into sys.args values (31998, 160, 'arg_3', 'int', 32, 0, 1, 3); 572
578 insert into sys.args values (32004, 160, 'arg_4', 'int', 32, 0, 1, 4); 578 ! 573 insert into sys.args values (31999, 160, 'arg_4', 'int', 32, 0, 1, 4); 573
579 insert into sys.args values (32005, 160, 'arg_5', 'int', 32, 0, 1, 5); 579 ! 574 insert into sys.args values (32000, 160, 'arg_5', 'double', 53, 0, 1, 5); 574
580 insert into sys.args values (32006, 160, 'arg_6', 'double', 53, 0, 1, 6); 580 -
581 insert into sys.functions values (161, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 581 575 insert into sys.functions values (161, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 575
582 insert into sys.args values (32007, 161, 'res_0', 'bigint', 64, 0, 0, 0); 582 ! 576 insert into sys.args values (32001, 161, 'res_0', 'bigint', 64, 0, 0, 0); 576
583 insert into sys.args values (32008, 161, 'arg_1', 'any', 0, 0, 1, 1); 583 ! 577 insert into sys.args values (32002, 161, 'arg_1', 'boolean', 1, 0, 1, 1); 577
584 insert into sys.args values (32009, 161, 'arg_2', 'int', 32, 0, 1, 2); 584 ! 578 insert into sys.args values (32003, 161, 'arg_2', 'any', 0, 0, 1, 2); 578
585 insert into sys.args values (32010, 161, 'arg_3', 'int', 32, 0, 1, 3); 585 ! 579 insert into sys.args values (32004, 161, 'arg_3', 'int', 32, 0, 1, 3); 579
586 insert into sys.args values (32011, 161, 'arg_4', 'int', 32, 0, 1, 4); 586 ! 580 insert into sys.args values (32005, 161, 'arg_4', 'int', 32, 0, 1, 4); 580
587 insert into sys.args values (32012, 161, 'arg_5', 'decimal', 2, 0, 1, 5); 587 ! 581 insert into sys.args values (32006, 161, 'arg_5', 'int', 32, 0, 1, 5); 581
+ 582 insert into sys.args values (32007, 161, 'arg_6', 'double', 53, 0, 1, 6); 582
588 insert into sys.functions values (162, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 588 583 insert into sys.functions values (162, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 583
589 insert into sys.args values (32013, 162, 'res_0', 'bigint', 64, 0, 0, 0); 589 ! 584 insert into sys.args values (32008, 162, 'res_0', 'bigint', 64, 0, 0, 0); 584
590 insert into sys.args values (32014, 162, 'arg_1', 'boolean', 1, 0, 1, 1); 590 ! 585 insert into sys.args values (32009, 162, 'arg_1', 'any', 0, 0, 1, 1); 585
591 insert into sys.args values (32015, 162, 'arg_2', 'any', 0, 0, 1, 2); 591 ! 586 insert into sys.args values (32010, 162, 'arg_2', 'int', 32, 0, 1, 2); 586
592 insert into sys.args values (32016, 162, 'arg_3', 'int', 32, 0, 1, 3); 592 ! 587 insert into sys.args values (32011, 162, 'arg_3', 'int', 32, 0, 1, 3); 587
593 insert into sys.args values (32017, 162, 'arg_4', 'int', 32, 0, 1, 4); 593 ! 588 insert into sys.args values (32012, 162, 'arg_4', 'int', 32, 0, 1, 4); 588
594 insert into sys.args values (32018, 162, 'arg_5', 'int', 32, 0, 1, 5); 594 ! 589 insert into sys.args values (32013, 162, 'arg_5', 'decimal', 2, 0, 1, 5); 589
595 insert into sys.args values (32019, 162, 'arg_6', 'decimal', 2, 0, 1, 6); 595 -
596 insert into sys.functions values (163, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 596 590 insert into sys.functions values (163, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 590
597 insert into sys.args values (32020, 163, 'res_0', 'bigint', 64, 0, 0, 0); 597 ! 591 insert into sys.args values (32014, 163, 'res_0', 'bigint', 64, 0, 0, 0); 591
598 insert into sys.args values (32021, 163, 'arg_1', 'any', 0, 0, 1, 1); 598 ! 592 insert into sys.args values (32015, 163, 'arg_1', 'boolean', 1, 0, 1, 1); 592
599 insert into sys.args values (32022, 163, 'arg_2', 'int', 32, 0, 1, 2); 599 ! 593 insert into sys.args values (32016, 163, 'arg_2', 'any', 0, 0, 1, 2); 593
600 insert into sys.args values (32023, 163, 'arg_3', 'int', 32, 0, 1, 3); 600 ! 594 insert into sys.args values (32017, 163, 'arg_3', 'int', 32, 0, 1, 3); 594
601 insert into sys.args values (32024, 163, 'arg_4', 'int', 32, 0, 1, 4); 601 ! 595 insert into sys.args values (32018, 163, 'arg_4', 'int', 32, 0, 1, 4); 595
602 insert into sys.args values (32025, 163, 'arg_5', 'decimal', 4, 0, 1, 5); 602 ! 596 insert into sys.args values (32019, 163, 'arg_5', 'int', 32, 0, 1, 5); 596
+ 597 insert into sys.args values (32020, 163, 'arg_6', 'decimal', 2, 0, 1, 6); 597
603 insert into sys.functions values (164, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 603 598 insert into sys.functions values (164, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 598
604 insert into sys.args values (32026, 164, 'res_0', 'bigint', 64, 0, 0, 0); 604 ! 599 insert into sys.args values (32021, 164, 'res_0', 'bigint', 64, 0, 0, 0); 599
605 insert into sys.args values (32027, 164, 'arg_1', 'boolean', 1, 0, 1, 1); 605 ! 600 insert into sys.args values (32022, 164, 'arg_1', 'any', 0, 0, 1, 1); 600
606 insert into sys.args values (32028, 164, 'arg_2', 'any', 0, 0, 1, 2); 606 ! 601 insert into sys.args values (32023, 164, 'arg_2', 'int', 32, 0, 1, 2); 601
607 insert into sys.args values (32029, 164, 'arg_3', 'int', 32, 0, 1, 3); 607 ! 602 insert into sys.args values (32024, 164, 'arg_3', 'int', 32, 0, 1, 3); 602
608 insert into sys.args values (32030, 164, 'arg_4', 'int', 32, 0, 1, 4); 608 ! 603 insert into sys.args values (32025, 164, 'arg_4', 'int', 32, 0, 1, 4); 603
609 insert into sys.args values (32031, 164, 'arg_5', 'int', 32, 0, 1, 5); 609 ! 604 insert into sys.args values (32026, 164, 'arg_5', 'decimal', 4, 0, 1, 5); 604
610 insert into sys.args values (32032, 164, 'arg_6', 'decimal', 4, 0, 1, 6); 610 -
611 insert into sys.functions values (165, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 611 605 insert into sys.functions values (165, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 605
612 insert into sys.args values (32033, 165, 'res_0', 'bigint', 64, 0, 0, 0); 612 ! 606 insert into sys.args values (32027, 165, 'res_0', 'bigint', 64, 0, 0, 0); 606
613 insert into sys.args values (32034, 165, 'arg_1', 'any', 0, 0, 1, 1); 613 ! 607 insert into sys.args values (32028, 165, 'arg_1', 'boolean', 1, 0, 1, 1); 607
614 insert into sys.args values (32035, 165, 'arg_2', 'int', 32, 0, 1, 2); 614 ! 608 insert into sys.args values (32029, 165, 'arg_2', 'any', 0, 0, 1, 2); 608
615 insert into sys.args values (32036, 165, 'arg_3', 'int', 32, 0, 1, 3); 615 ! 609 insert into sys.args values (32030, 165, 'arg_3', 'int', 32, 0, 1, 3); 609
616 insert into sys.args values (32037, 165, 'arg_4', 'int', 32, 0, 1, 4); 616 ! 610 insert into sys.args values (32031, 165, 'arg_4', 'int', 32, 0, 1, 4); 610
617 insert into sys.args values (32038, 165, 'arg_5', 'decimal', 9, 0, 1, 5); 617 ! 611 insert into sys.args values (32032, 165, 'arg_5', 'int', 32, 0, 1, 5); 611
+ 612 insert into sys.args values (32033, 165, 'arg_6', 'decimal', 4, 0, 1, 6); 612
618 insert into sys.functions values (166, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 618 613 insert into sys.functions values (166, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 613
619 insert into sys.args values (32039, 166, 'res_0', 'bigint', 64, 0, 0, 0); 619 ! 614 insert into sys.args values (32034, 166, 'res_0', 'bigint', 64, 0, 0, 0); 614
620 insert into sys.args values (32040, 166, 'arg_1', 'boolean', 1, 0, 1, 1); 620 ! 615 insert into sys.args values (32035, 166, 'arg_1', 'any', 0, 0, 1, 1); 615
621 insert into sys.args values (32041, 166, 'arg_2', 'any', 0, 0, 1, 2); 621 ! 616 insert into sys.args values (32036, 166, 'arg_2', 'int', 32, 0, 1, 2); 616
622 insert into sys.args values (32042, 166, 'arg_3', 'int', 32, 0, 1, 3); 622 ! 617 insert into sys.args values (32037, 166, 'arg_3', 'int', 32, 0, 1, 3); 617
623 insert into sys.args values (32043, 166, 'arg_4', 'int', 32, 0, 1, 4); 623 ! 618 insert into sys.args values (32038, 166, 'arg_4', 'int', 32, 0, 1, 4); 618
624 insert into sys.args values (32044, 166, 'arg_5', 'int', 32, 0, 1, 5); 624 ! 619 insert into sys.args values (32039, 166, 'arg_5', 'decimal', 9, 0, 1, 5); 619
625 insert into sys.args values (32045, 166, 'arg_6', 'decimal', 9, 0, 1, 6); 625 -
626 insert into sys.functions values (167, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 626 620 insert into sys.functions values (167, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 620
627 insert into sys.args values (32046, 167, 'res_0', 'bigint', 64, 0, 0, 0); 627 ! 621 insert into sys.args values (32040, 167, 'res_0', 'bigint', 64, 0, 0, 0); 621
628 insert into sys.args values (32047, 167, 'arg_1', 'any', 0, 0, 1, 1); 628 ! 622 insert into sys.args values (32041, 167, 'arg_1', 'boolean', 1, 0, 1, 1); 622
629 insert into sys.args values (32048, 167, 'arg_2', 'int', 32, 0, 1, 2); 629 ! 623 insert into sys.args values (32042, 167, 'arg_2', 'any', 0, 0, 1, 2); 623
630 insert into sys.args values (32049, 167, 'arg_3', 'int', 32, 0, 1, 3); 630 ! 624 insert into sys.args values (32043, 167, 'arg_3', 'int', 32, 0, 1, 3); 624
631 insert into sys.args values (32050, 167, 'arg_4', 'int', 32, 0, 1, 4); 631 ! 625 insert into sys.args values (32044, 167, 'arg_4', 'int', 32, 0, 1, 4); 625
632 insert into sys.args values (32051, 167, 'arg_5', 'decimal', 18, 0, 1, 5); 632 ! 626 insert into sys.args values (32045, 167, 'arg_5', 'int', 32, 0, 1, 5); 626
+ 627 insert into sys.args values (32046, 167, 'arg_6', 'decimal', 9, 0, 1, 6); 627
633 insert into sys.functions values (168, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 633 628 insert into sys.functions values (168, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 628
634 insert into sys.args values (32052, 168, 'res_0', 'bigint', 64, 0, 0, 0); 634 ! 629 insert into sys.args values (32047, 168, 'res_0', 'bigint', 64, 0, 0, 0); 629
635 insert into sys.args values (32053, 168, 'arg_1', 'boolean', 1, 0, 1, 1); 635 ! 630 insert into sys.args values (32048, 168, 'arg_1', 'any', 0, 0, 1, 1); 630
636 insert into sys.args values (32054, 168, 'arg_2', 'any', 0, 0, 1, 2); 636 ! 631 insert into sys.args values (32049, 168, 'arg_2', 'int', 32, 0, 1, 2); 631
637 insert into sys.args values (32055, 168, 'arg_3', 'int', 32, 0, 1, 3); 637 ! 632 insert into sys.args values (32050, 168, 'arg_3', 'int', 32, 0, 1, 3); 632
638 insert into sys.args values (32056, 168, 'arg_4', 'int', 32, 0, 1, 4); 638 ! 633 insert into sys.args values (32051, 168, 'arg_4', 'int', 32, 0, 1, 4); 633
639 insert into sys.args values (32057, 168, 'arg_5', 'int', 32, 0, 1, 5); 639 ! 634 insert into sys.args values (32052, 168, 'arg_5', 'decimal', 18, 0, 1, 5); 634
640 insert into sys.args values (32058, 168, 'arg_6', 'decimal', 18, 0, 1, 6); 640 -
641 insert into sys.functions values (169, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 641 635 insert into sys.functions values (169, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 635
642 insert into sys.args values (32059, 169, 'res_0', 'bigint', 64, 0, 0, 0); 642 ! 636 insert into sys.args values (32053, 169, 'res_0', 'bigint', 64, 0, 0, 0); 636
643 insert into sys.args values (32060, 169, 'arg_1', 'any', 0, 0, 1, 1); 643 ! 637 insert into sys.args values (32054, 169, 'arg_1', 'boolean', 1, 0, 1, 1); 637
644 insert into sys.args values (32061, 169, 'arg_2', 'int', 32, 0, 1, 2); 644 ! 638 insert into sys.args values (32055, 169, 'arg_2', 'any', 0, 0, 1, 2); 638
645 insert into sys.args values (32062, 169, 'arg_3', 'int', 32, 0, 1, 3); 645 ! 639 insert into sys.args values (32056, 169, 'arg_3', 'int', 32, 0, 1, 3); 639
646 insert into sys.args values (32063, 169, 'arg_4', 'int', 32, 0, 1, 4); 646 ! 640 insert into sys.args values (32057, 169, 'arg_4', 'int', 32, 0, 1, 4); 640
647 insert into sys.args values (32064, 169, 'arg_5', 'month_interval', 32, 0, 1, 5); 647 ! 641 insert into sys.args values (32058, 169, 'arg_5', 'int', 32, 0, 1, 5); 641
+ 642 insert into sys.args values (32059, 169, 'arg_6', 'decimal', 18, 0, 1, 6); 642
648 insert into sys.functions values (170, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 648 643 insert into sys.functions values (170, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 643
649 insert into sys.args values (32065, 170, 'res_0', 'bigint', 64, 0, 0, 0); 649 ! 644 insert into sys.args values (32060, 170, 'res_0', 'bigint', 64, 0, 0, 0); 644
650 insert into sys.args values (32066, 170, 'arg_1', 'boolean', 1, 0, 1, 1); 650 ! 645 insert into sys.args values (32061, 170, 'arg_1', 'any', 0, 0, 1, 1); 645
651 insert into sys.args values (32067, 170, 'arg_2', 'any', 0, 0, 1, 2); 651 ! 646 insert into sys.args values (32062, 170, 'arg_2', 'int', 32, 0, 1, 2); 646
652 insert into sys.args values (32068, 170, 'arg_3', 'int', 32, 0, 1, 3); 652 ! 647 insert into sys.args values (32063, 170, 'arg_3', 'int', 32, 0, 1, 3); 647
653 insert into sys.args values (32069, 170, 'arg_4', 'int', 32, 0, 1, 4); 653 ! 648 insert into sys.args values (32064, 170, 'arg_4', 'int', 32, 0, 1, 4); 648
654 insert into sys.args values (32070, 170, 'arg_5', 'int', 32, 0, 1, 5); 654 ! 649 insert into sys.args values (32065, 170, 'arg_5', 'month_interval', 32, 0, 1, 5); 649
655 insert into sys.args values (32071, 170, 'arg_6', 'month_interval', 32, 0, 1, 6); 655 -
656 insert into sys.functions values (171, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 656 650 insert into sys.functions values (171, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 650
657 insert into sys.args values (32072, 171, 'res_0', 'bigint', 64, 0, 0, 0); 657 ! 651 insert into sys.args values (32066, 171, 'res_0', 'bigint', 64, 0, 0, 0); 651
658 insert into sys.args values (32073, 171, 'arg_1', 'any', 0, 0, 1, 1); 658 ! 652 insert into sys.args values (32067, 171, 'arg_1', 'boolean', 1, 0, 1, 1); 652
659 insert into sys.args values (32074, 171, 'arg_2', 'int', 32, 0, 1, 2); 659 ! 653 insert into sys.args values (32068, 171, 'arg_2', 'any', 0, 0, 1, 2); 653
660 insert into sys.args values (32075, 171, 'arg_3', 'int', 32, 0, 1, 3); 660 ! 654 insert into sys.args values (32069, 171, 'arg_3', 'int', 32, 0, 1, 3); 654
661 insert into sys.args values (32076, 171, 'arg_4', 'int', 32, 0, 1, 4); 661 ! 655 insert into sys.args values (32070, 171, 'arg_4', 'int', 32, 0, 1, 4); 655
662 insert into sys.args values (32077, 171, 'arg_5', 'sec_interval', 13, 0, 1, 5); 662 ! 656 insert into sys.args values (32071, 171, 'arg_5', 'int', 32, 0, 1, 5); 656
+ 657 insert into sys.args values (32072, 171, 'arg_6', 'month_interval', 32, 0, 1, 6); 657
663 insert into sys.functions values (172, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 663 658 insert into sys.functions values (172, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 658
664 insert into sys.args values (32078, 172, 'res_0', 'bigint', 64, 0, 0, 0); 664 ! 659 insert into sys.args values (32073, 172, 'res_0', 'bigint', 64, 0, 0, 0); 659
665 insert into sys.args values (32079, 172, 'arg_1', 'boolean', 1, 0, 1, 1); 665 ! 660 insert into sys.args values (32074, 172, 'arg_1', 'any', 0, 0, 1, 1); 660
666 insert into sys.args values (32080, 172, 'arg_2', 'any', 0, 0, 1, 2); 666 ! 661 insert into sys.args values (32075, 172, 'arg_2', 'int', 32, 0, 1, 2); 661
667 insert into sys.args values (32081, 172, 'arg_3', 'int', 32, 0, 1, 3); 667 ! 662 insert into sys.args values (32076, 172, 'arg_3', 'int', 32, 0, 1, 3); 662
668 insert into sys.args values (32082, 172, 'arg_4', 'int', 32, 0, 1, 4); 668 ! 663 insert into sys.args values (32077, 172, 'arg_4', 'int', 32, 0, 1, 4); 663
669 insert into sys.args values (32083, 172, 'arg_5', 'int', 32, 0, 1, 5); 669 ! 664 insert into sys.args values (32078, 172, 'arg_5', 'sec_interval', 13, 0, 1, 5); 664
670 insert into sys.args values (32084, 172, 'arg_6', 'sec_interval', 13, 0, 1, 6); 670 ! 665 insert into sys.functions values (173, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 665
671 insert into sys.functions values (173, 'rank', 'rank', 'sql', 0, 6, false, false, false, 2000, true, true); 671 ! 666 insert into sys.args values (32079, 173, 'res_0', 'bigint', 64, 0, 0, 0); 666
672 insert into sys.args values (32085, 173, 'res_0', 'int', 32, 0, 0, 0); 672 ! 667 insert into sys.args values (32080, 173, 'arg_1', 'boolean', 1, 0, 1, 1); 667
673 insert into sys.args values (32086, 173, 'arg_1', 'any', 0, 0, 1, 1); 673 ! 668 insert into sys.args values (32081, 173, 'arg_2', 'any', 0, 0, 1, 2); 668
674 insert into sys.args values (32087, 173, 'arg_2', 'boolean', 1, 0, 1, 2); 674 ! 669 insert into sys.args values (32082, 173, 'arg_3', 'int', 32, 0, 1, 3); 669
675 insert into sys.args values (32088, 173, 'arg_3', 'boolean', 1, 0, 1, 3); 675 ! 670 insert into sys.args values (32083, 173, 'arg_4', 'int', 32, 0, 1, 4); 670
insert into sys. + 671 insert into sys.args values (32084, 173, 'arg_5', 'int', 32, 0, 1, 5); 671
+ 672 insert into sys.args values (32085, 173, 'arg_6', 'sec_interval', 13, 0, 1, 6); 672
676 functions values (174, 'dense_rank', 'dense_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 676 ! 673 insert into sys.functions values (174, 'rank', 'rank', 'sql', 0, 6, false, false, false, 2000, true, true); 673
677 insert into sys.args values (32089, 174, 'res_0', 'int', 32, 0, 0, 0); 677 ! 674 insert into sys.args values (32086, 174, 'res_0', 'int', 32, 0, 0, 0); 674
678 insert into sys.args values (32090, 174, 'arg_1', 'any', 0, 0, 1, 1); 678 ! 675 insert into sys.args values (32087, 174, 'arg_1', 'any', 0, 0, 1, 1); 675
679 insert into sys.args values (32091, 174, 'arg_2', 'boolean', 1, 0, 1, 2); 679 ! 676 insert into sys.args values (32088, 174, 'arg_2', 'boolean', 1, 0, 1, 2); 676
680 insert into sys.args values (32092, 174, 'arg_3', 'boolean', 1, 0, 1, 3); 680 ! 677 insert into sys.args values (32089, 174, 'arg_3', 'boolean', 1, 0, 1, 3); 677
681 insert into sys.functions values (175, 'row_number', 'row_number', 'sql', 0, 6, false, false, false, 2000, true, true); 681 ! 678 insert into sys.functions values (175, 'dense_rank', 'dense_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 678
682 insert into sys.args values (32093, 175, 'res_0', 'int', 32, 0, 0, 0); 682 ! 679 insert into sys.args values (32090, 175, 'res_0', 'int', 32, 0, 0, 0); 679
683 insert into sys.args values (32094, 175, 'arg_1', 'any', 0, 0, 1, 1); 683 ! 680 insert into sys.args values (32091, 175, 'arg_1', 'any', 0, 0, 1, 1); 680
684 insert into sys.args values (32095, 175, 'arg_2', 'boolean', 1, 0, 1, 2); 684 ! 681 insert into sys.args values (32092, 175, 'arg_2', 'boolean', 1, 0, 1, 2); 681
685 insert into sys.args values (32096, 175, 'arg_3', 'boolean', 1, 0, 1, 3); 685 ! 682 insert into sys.args values (32093, 175, 'arg_3', 'boolean', 1, 0, 1, 3); 682
686 insert into sys.functions values (176, 'percent_rank', 'percent_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 686 ! 683 insert into sys.functions values (176, 'row_number', 'row_number', 'sql', 0, 6, false, false, false, 2000, true, true); 683
687 insert into sys.args values (32097, 176, 'res_0', 'double', 53, 0, 0, 0); 687 ! 684 insert into sys.args values (32094, 176, 'res_0', 'int', 32, 0, 0, 0); 684
688 insert into sys.args values (32098, 176, 'arg_1', 'any', 0, 0, 1, 1); 688 ! 685 insert into sys.args values (32095, 176, 'arg_1', 'any', 0, 0, 1, 1); 685
689 insert into sys.args values (32099, 176, 'arg_2', 'boolean', 1, 0, 1, 2); 689 ! 686 insert into sys.args values (32096, 176, 'arg_2', 'boolean', 1, 0, 1, 2); 686
690 insert into sys.args values (32100, 176, 'arg_3', 'boolean', 1, 0, 1, 3); 690 ! 687 insert into sys.args values (32097, 176, 'arg_3', 'boolean', 1, 0, 1, 3); 687
691 insert into sys.functions values (177, 'cume_dist', 'cume_dist', 'sql', 0, 6, false, false, false, 2000, true, true); 691 ! 688 insert into sys.functions values (177, 'percent_rank', 'percent_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 688
692 insert into sys.args values (32101, 177, 'res_0', 'double', 53, 0, 0, 0); 692 ! 689 insert into sys.args values (32098, 177, 'res_0', 'double', 53, 0, 0, 0); 689
693 insert into sys.args values (32102, 177, 'arg_1', 'any', 0, 0, 1, 1); 693 ! 690 insert into sys.args values (32099, 177, 'arg_1', 'any', 0, 0, 1, 1); 690
694 insert into sys.args values (32103, 177, 'arg_2', 'boolean', 1, 0, 1, 2); 694 ! 691 insert into sys.args values (32100, 177, 'arg_2', 'boolean', 1, 0, 1, 2); 691
695 insert into sys.args values (32104, 177, 'arg_3', 'boolean', 1, 0, 1, 3); 695 ! 692 insert into sys.args values (32101, 177, 'arg_3', 'boolean', 1, 0, 1, 3); 692
696 insert into sys.functions values (178, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 696 ! 693 insert into sys.functions values (178, 'cume_dist', 'cume_dist', 'sql', 0, 6, false, false, false, 2000, true, true); 693
697 insert into sys.args values (32105, 178, 'res_0', 'tinyint', 8, 0, 0, 0); 697 ! 694 insert into sys.args values (32102, 178, 'res_0', 'double', 53, 0, 0, 0); 694
698 insert into sys.args values (32106, 178, 'arg_1', 'any', 0, 0, 1, 1); 698 ! 695 insert into sys.args values (32103, 178, 'arg_1', 'any', 0, 0, 1, 1); 695
699 insert into sys.args values (32107, 178, 'arg_2', 'tinyint', 8, 0, 1, 2); 699 ! 696 insert into sys.args values (32104, 178, 'arg_2', 'boolean', 1, 0, 1, 2); 696
700 insert into sys.args values (32108, 178, 'arg_3', 'boolean', 1, 0, 1, 3); 700 ! 697 insert into sys.args values (32105, 178, 'arg_3', 'boolean', 1, 0, 1, 3); 697
701 insert into sys.args values (32109, 178, 'arg_4', 'boolean', 1, 0, 1, 4); 701 -
702 insert into sys.functions values (179, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 702 698 insert into sys.functions values (179, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 698
703 insert into sys.args values (32110, 179, 'res_0', 'smallint', 16, 0, 0, 0); 703 ! 699 insert into sys.args values (32106, 179, 'res_0', 'tinyint', 8, 0, 0, 0); 699
704 insert into sys.args values (32111, 179, 'arg_1', 'any', 0, 0, 1, 1); 704 ! 700 insert into sys.args values (32107, 179, 'arg_1', 'any', 0, 0, 1, 1); 700
705 insert into sys.args values (32112, 179, 'arg_2', 'smallint', 16, 0, 1, 2); 705 ! 701 insert into sys.args values (32108, 179, 'arg_2', 'tinyint', 8, 0, 1, 2); 701
706 insert into sys.args values (32113, 179, 'arg_3', 'boolean', 1, 0, 1, 3); 706 ! 702 insert into sys.args values (32109, 179, 'arg_3', 'boolean', 1, 0, 1, 3); 702
707 insert into sys.args values (32114, 179, 'arg_4', 'boolean', 1, 0, 1, 4); 707 ! 703 insert into sys.args values (32110, 179, 'arg_4', 'boolean', 1, 0, 1, 4); 703
708 insert into sys.functions values (180, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 708 704 insert into sys.functions values (180, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 704
709 insert into sys.args values (32115, 180, 'res_0', 'int', 32, 0, 0, 0); 709 ! 705 insert into sys.args values (32111, 180, 'res_0', 'smallint', 16, 0, 0, 0); 705
710 insert into sys.args values (32116, 180, 'arg_1', 'any', 0, 0, 1, 1); 710 ! 706 insert into sys.args values (32112, 180, 'arg_1', 'any', 0, 0, 1, 1); 706
711 insert into sys.args values (32117, 180, 'arg_2', 'int', 32, 0, 1, 2); 711 ! 707 insert into sys.args values (32113, 180, 'arg_2', 'smallint', 16, 0, 1, 2); 707
712 insert into sys.args values (32118, 180, 'arg_3', 'boolean', 1, 0, 1, 3); 712 ! 708 insert into sys.args values (32114, 180, 'arg_3', 'boolean', 1, 0, 1, 3); 708
713 insert into sys.args values (32119, 180, 'arg_4', 'boolean', 1, 0, 1, 4); 713 ! 709 insert into sys.args values (32115, 180, 'arg_4', 'boolean', 1, 0, 1, 4); 709
714 insert into sys.functions values (181, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 714 710 insert into sys.functions values (181, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 710
715 insert into sys.args values (32120, 181, 'res_0', 'bigint', 64, 0, 0, 0); 715 ! 711 insert into sys.args values (32116, 181, 'res_0', 'int', 32, 0, 0, 0); 711
716 insert into sys.args values (32121, 181, 'arg_1', 'any', 0, 0, 1, 1); 716 ! 712 insert into sys.args values (32117, 181, 'arg_1', 'any', 0, 0, 1, 1); 712
717 insert into sys.args values (32122, 181, 'arg_2', 'bigint', 64, 0, 1, 2); 717 ! 713 insert into sys.args values (32118, 181, 'arg_2', 'int', 32, 0, 1, 2); 713
718 insert into sys.args values (32123, 181, 'arg_3', 'boolean', 1, 0, 1, 3); 718 ! 714 insert into sys.args values (32119, 181, 'arg_3', 'boolean', 1, 0, 1, 3); 714
719 insert into sys.args values (32124, 181, 'arg_4', 'boolean', 1, 0, 1, 4); 719 ! 715 insert into sys.args values (32120, 181, 'arg_4', 'boolean', 1, 0, 1, 4); 715
720 insert into sys.functions values (182, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 720 ! 716 insert into sys.functions values (182, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 716
721 insert into sys.args values (32125, 182, 'res_0', 'any', 0, 0, 0, 0); 721 ! 717 insert into sys.args values (32121, 182, 'res_0', 'bigint', 64, 0, 0, 0); 717
722 insert into sys.args values (32126, 182, 'arg_1', 'any', 0, 0, 1, 1); 722 ! 718 insert into sys.args values (32122, 182, 'arg_1', 'any', 0, 0, 1, 1); 718
723 insert into sys.args values (32127, 182, 'arg_2', 'boolean', 1, 0, 1, 2); 723 ! 719 insert into sys.args values (32123, 182, 'arg_2', 'bigint', 64, 0, 1, 2); 719
724 insert into sys.args values (32128, 182, 'arg_3', 'boolean', 1, 0, 1, 3); 724 ! 720 insert into sys.args values (32124, 182, 'arg_3', 'boolean', 1, 0, 1, 3); 720
+ 721 insert into sys.args values (32125, 182, 'arg_4', 'boolean', 1, 0, 1, 4); 721
725 insert into sys.functions values (183, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 725 722 insert into sys.functions values (183, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 722
726 insert into sys.args values (32129, 183, 'res_0', 'any', 0, 0, 0, 0); 726 ! 723 insert into sys.args values (32126, 183, 'res_0', 'any', 0, 0, 0, 0); 723
727 insert into sys.args values (32130, 183, 'arg_1', 'any', 0, 0, 1, 1); 727 ! 724 insert into sys.args values (32127, 183, 'arg_1', 'any', 0, 0, 1, 1); 724
728 insert into sys.args values (32131, 183, 'arg_2', 'tinyint', 8, 0, 1, 2); 728 ! 725 insert into sys.args values (32128, 183, 'arg_2', 'boolean', 1, 0, 1, 2); 725
729 insert into sys.args values (32132, 183, 'arg_3', 'boolean', 1, 0, 1, 3); 729 ! 726 insert into sys.args values (32129, 183, 'arg_3', 'boolean', 1, 0, 1, 3); 726
730 insert into sys.args values (32133, 183, 'arg_4', 'boolean', 1, 0, 1, 4); 730 -
731 insert into sys.functions values (184, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 731 727 insert into sys.functions values (184, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 727
732 insert into sys.args values (32134, 184, 'res_0', 'any', 0, 0, 0, 0); 732 ! 728 insert into sys.args values (32130, 184, 'res_0', 'any', 0, 0, 0, 0); 728
733 insert into sys.args values (32135, 184, 'arg_1', 'any', 0, 0, 1, 1); 733 ! 729 insert into sys.args values (32131, 184, 'arg_1', 'any', 0, 0, 1, 1); 729
734 insert into sys.args values (32136, 184, 'arg_2', 'smallint', 16, 0, 1, 2); 734 ! 730 insert into sys.args values (32132, 184, 'arg_2', 'tinyint', 8, 0, 1, 2); 730
735 insert into sys.args values (32137, 184, 'arg_3', 'boolean', 1, 0, 1, 3); 735 ! 731 insert into sys.args values (32133, 184, 'arg_3', 'boolean', 1, 0, 1, 3); 731
736 insert into sys.args values (32138, 184, 'arg_4', 'boolean', 1, 0, 1, 4); 736 ! 732 insert into sys.args values (32134, 184, 'arg_4', 'boolean', 1, 0, 1, 4); 732
737 insert into sys.functions values (185, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 737 733 insert into sys.functions values (185, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 733
738 insert into sys.args values (32139, 185, 'res_0', 'any', 0, 0, 0, 0); 738 ! 734 insert into sys.args values (32135, 185, 'res_0', 'any', 0, 0, 0, 0); 734
739 insert into sys.args values (32140, 185, 'arg_1', 'any', 0, 0, 1, 1); 739 ! 735 insert into sys.args values (32136, 185, 'arg_1', 'any', 0, 0, 1, 1); 735
740 insert into sys.args values (32141, 185, 'arg_2', 'int', 32, 0, 1, 2); 740 ! 736 insert into sys.args values (32137, 185, 'arg_2', 'smallint', 16, 0, 1, 2); 736
741 insert into sys.args values (32142, 185, 'arg_3', 'boolean', 1, 0, 1, 3); 741 ! 737 insert into sys.args values (32138, 185, 'arg_3', 'boolean', 1, 0, 1, 3); 737
742 insert into sys.args values (32143, 185, 'arg_4', 'boolean', 1, 0, 1, 4); 742 ! 738 insert into sys.args values (32139, 185, 'arg_4', 'boolean', 1, 0, 1, 4); 738
743 insert into sys.functions values (186, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 743 739 insert into sys.functions values (186, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 739
744 insert into sys.args values (32144, 186, 'res_0', 'any', 0, 0, 0, 0); 744 ! 740 insert into sys.args values (32140, 186, 'res_0', 'any', 0, 0, 0, 0); 740
745 insert into sys.args values (32145, 186, 'arg_1', 'any', 0, 0, 1, 1); 745 ! 741 insert into sys.args values (32141, 186, 'arg_1', 'any', 0, 0, 1, 1); 741
746 insert into sys.args values (32146, 186, 'arg_2', 'bigint', 64, 0, 1, 2); 746 ! 742 insert into sys.args values (32142, 186, 'arg_2', 'int', 32, 0, 1, 2); 742
747 insert into sys.args values (32147, 186, 'arg_3', 'boolean', 1, 0, 1, 3); 747 ! 743 insert into sys.args values (32143, 186, 'arg_3', 'boolean', 1, 0, 1, 3); 743
748 insert into sys.args values (32148, 186, 'arg_4', 'boolean', 1, 0, 1, 4); 748 ! 744 insert into sys.args values (32144, 186, 'arg_4', 'boolean', 1, 0, 1, 4); 744
749 insert into sys.functions values (187, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 749 745 insert into sys.functions values (187, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 745
750 insert into sys.args values (32149, 187, 'res_0', 'any', 0, 0, 0, 0); 750 ! 746 insert into sys.args values (32145, 187, 'res_0', 'any', 0, 0, 0, 0); 746
751 insert into sys.args values (32150, 187, 'arg_1', 'any', 0, 0, 1, 1); 751 ! 747 insert into sys.args values (32146, 187, 'arg_1', 'any', 0, 0, 1, 1); 747
752 insert into sys.args values (32151, 187, 'arg_2', 'tinyint', 8, 0, 1, 2); 752 ! 748 insert into sys.args values (32147, 187, 'arg_2', 'bigint', 64, 0, 1, 2); 748
753 insert into sys.args values (32152, 187, 'arg_3', 'any', 0, 0, 1, 3); 753 ! 749 insert into sys.args values (32148, 187, 'arg_3', 'boolean', 1, 0, 1, 3); 749
754 insert into sys.args values (32153, 187, 'arg_4', 'boolean', 1, 0, 1, 4); 754 ! 750 insert into sys.args values (32149, 187, 'arg_4', 'boolean', 1, 0, 1, 4); 750
755 insert into sys.args values (32154, 187, 'arg_5', 'boolean', 1, 0, 1, 5); 755 -
756 insert into sys.functions values (188, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 756 751 insert into sys.functions values (188, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 751
757 insert into sys.args values (32155, 188, 'res_0', 'any', 0, 0, 0, 0); 757 ! 752 insert into sys.args values (32150, 188, 'res_0', 'any', 0, 0, 0, 0); 752
758 insert into sys.args values (32156, 188, 'arg_1', 'any', 0, 0, 1, 1); 758 ! 753 insert into sys.args values (32151, 188, 'arg_1', 'any', 0, 0, 1, 1); 753
759 insert into sys.args values (32157, 188, 'arg_2', 'smallint', 16, 0, 1, 2); 759 ! 754 insert into sys.args values (32152, 188, 'arg_2', 'tinyint', 8, 0, 1, 2); 754
760 insert into sys.args values (32158, 188, 'arg_3', 'any', 0, 0, 1, 3); 760 ! 755 insert into sys.args values (32153, 188, 'arg_3', 'any', 0, 0, 1, 3); 755
761 insert into sys.args values (32159, 188, 'arg_4', 'boolean', 1, 0, 1, 4); 761 ! 756 insert into sys.args values (32154, 188, 'arg_4', 'boolean', 1, 0, 1, 4); 756
762 insert into sys.args values (32160, 188, 'arg_5', 'boolean', 1, 0, 1, 5); 762 ! 757 insert into sys.args values (32155, 188, 'arg_5', 'boolean', 1, 0, 1, 5); 757
763 insert into sys.functions values (189, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 763 758 insert into sys.functions values (189, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 758
764 insert into sys.args values (32161, 189, 'res_0', 'any', 0, 0, 0, 0); 764 ! 759 insert into sys.args values (32156, 189, 'res_0', 'any', 0, 0, 0, 0); 759
765 insert into sys.args values (32162, 189, 'arg_1', 'any', 0, 0, 1, 1); 765 ! 760 insert into sys.args values (32157, 189, 'arg_1', 'any', 0, 0, 1, 1); 760
766 insert into sys.args values (32163, 189, 'arg_2', 'int', 32, 0, 1, 2); 766 ! 761 insert into sys.args values (32158, 189, 'arg_2', 'smallint', 16, 0, 1, 2); 761
767 insert into sys.args values (32164, 189, 'arg_3', 'any', 0, 0, 1, 3); 767 ! 762 insert into sys.args values (32159, 189, 'arg_3', 'any', 0, 0, 1, 3); 762
768 insert into sys.args values (32165, 189, 'arg_4', 'boolean', 1, 0, 1, 4); 768 ! 763 insert into sys.args values (32160, 189, 'arg_4', 'boolean', 1, 0, 1, 4); 763
769 insert into sys.args values (32166, 189, 'arg_5', 'boolean', 1, 0, 1, 5); 769 ! 764 insert into sys.args values (32161, 189, 'arg_5', 'boolean', 1, 0, 1, 5); 764
770 insert into sys.functions values (190, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 770 765 insert into sys.functions values (190, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 765
771 insert into sys.args values (32167, 190, 'res_0', 'any', 0, 0, 0, 0); 771 ! 766 insert into sys.args values (32162, 190, 'res_0', 'any', 0, 0, 0, 0); 766
772 insert into sys.args values (32168, 190, 'arg_1', 'any', 0, 0, 1, 1); 772 ! 767 insert into sys.args values (32163, 190, 'arg_1', 'any', 0, 0, 1, 1); 767
773 insert into sys.args values (32169, 190, 'arg_2', 'bigint', 64, 0, 1, 2); 773 ! 768 insert into sys.args values (32164, 190, 'arg_2', 'int', 32, 0, 1, 2); 768
774 insert into sys.args values (32170, 190, 'arg_3', 'any', 0, 0, 1, 3); 774 ! 769 insert into sys.args values (32165, 190, 'arg_3', 'any', 0, 0, 1, 3); 769
775 insert into sys.args values (32171, 190, 'arg_4', 'boolean', 1, 0, 1, 4); 775 ! 770 insert into sys.args values (32166, 190, 'arg_4', 'boolean', 1, 0, 1, 4); 770
776 insert into sys.args values (32172, 190, 'arg_5', 'boolean', 1, 0, 1, 5); 776 ! 771 insert into sys.args values (32167, 190, 'arg_5', 'boolean', 1, 0, 1, 5); 771
777 insert into sys.functions values (191, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 777 ! 772 insert into sys.functions values (191, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 772
778 insert into sys.args values (32173, 191, 'res_0', 'any', 0, 0, 0, 0); 778 ! 773 insert into sys.args values (32168, 191, 'res_0', 'any', 0, 0, 0, 0); 773
779 insert into sys.args values (32174, 191, 'arg_1', 'any', 0, 0, 1, 1); 779 ! 774 insert into sys.args values (32169, 191, 'arg_1', 'any', 0, 0, 1, 1); 774
780 insert into sys.args values (32175, 191, 'arg_2', 'boolean', 1, 0, 1, 2); 780 ! 775 insert into sys.args values (32170, 191, 'arg_2', 'bigint', 64, 0, 1, 2); 775
781 insert into sys.args values (32176, 191, 'arg_3', 'boolean', 1, 0, 1, 3); 781 ! 776 insert into sys.args values (32171, 191, 'arg_3', 'any', 0, 0, 1, 3); 776
+ 777 insert into sys.args values (32172, 191, 'arg_4', 'boolean', 1, 0, 1, 4); 777
+ 778 insert into sys.args values (32173, 191, 'arg_5', 'boolean', 1, 0, 1, 5); 778
782 insert into sys.functions values (192, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 782 779 insert into sys.functions values (192, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 779
783 insert into sys.args values (32177, 192, 'res_0', 'any', 0, 0, 0, 0); 783 ! 780 insert into sys.args values (32174, 192, 'res_0', 'any', 0, 0, 0, 0); 780
784 insert into sys.args values (32178, 192, 'arg_1', 'any', 0, 0, 1, 1); 784 ! 781 insert into sys.args values (32175, 192, 'arg_1', 'any', 0, 0, 1, 1); 781
785 insert into sys.args values (32179, 192, 'arg_2', 'tinyint', 8, 0, 1, 2); 785 ! 782 insert into sys.args values (32176, 192, 'arg_2', 'boolean', 1, 0, 1, 2); 782
786 insert into sys.args values (32180, 192, 'arg_3', 'boolean', 1, 0, 1, 3); 786 ! 783 insert into sys.args values (32177, 192, 'arg_3', 'boolean', 1, 0, 1, 3); 783
787 insert into sys.args values (32181, 192, 'arg_4', 'boolean', 1, 0, 1, 4); 787 -
788 insert into sys.functions values (193, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 788 784 insert into sys.functions values (193, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 784
789 insert into sys.args values (32182, 193, 'res_0', 'any', 0, 0, 0, 0); 789 ! 785 insert into sys.args values (32178, 193, 'res_0', 'any', 0, 0, 0, 0); 785
790 insert into sys.args values (32183, 193, 'arg_1', 'any', 0, 0, 1, 1); 790 ! 786 insert into sys.args values (32179, 193, 'arg_1', 'any', 0, 0, 1, 1); 786
791 insert into sys.args values (32184, 193, 'arg_2', 'smallint', 16, 0, 1, 2); 791 ! 787 insert into sys.args values (32180, 193, 'arg_2', 'tinyint', 8, 0, 1, 2); 787
792 insert into sys.args values (32185, 193, 'arg_3', 'boolean', 1, 0, 1, 3); 792 ! 788 insert into sys.args values (32181, 193, 'arg_3', 'boolean', 1, 0, 1, 3); 788
793 insert into sys.args values (32186, 193, 'arg_4', 'boolean', 1, 0, 1, 4); 793 ! 789 insert into sys.args values (32182, 193, 'arg_4', 'boolean', 1, 0, 1, 4); 789
794 insert into sys.functions values (194, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 794 790 insert into sys.functions values (194, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 790
795 insert into sys.args values (32187, 194, 'res_0', 'any', 0, 0, 0, 0); 795 ! 791 insert into sys.args values (32183, 194, 'res_0', 'any', 0, 0, 0, 0); 791
796 insert into sys.args values (32188, 194, 'arg_1', 'any', 0, 0, 1, 1); 796 ! 792 insert into sys.args values (32184, 194, 'arg_1', 'any', 0, 0, 1, 1); 792
797 insert into sys.args values (32189, 194, 'arg_2', 'int', 32, 0, 1, 2); 797 ! 793 insert into sys.args values (32185, 194, 'arg_2', 'smallint', 16, 0, 1, 2); 793
798 insert into sys.args values (32190, 194, 'arg_3', 'boolean', 1, 0, 1, 3); 798 ! 794 insert into sys.args values (32186, 194, 'arg_3', 'boolean', 1, 0, 1, 3); 794
799 insert into sys.args values (32191, 194, 'arg_4', 'boolean', 1, 0, 1, 4); 799 ! 795 insert into sys.args values (32187, 194, 'arg_4', 'boolean', 1, 0, 1, 4); 795
800 insert into sys.functions values (195, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 800 796 insert into sys.functions values (195, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 796
801 insert into sys.args values (32192, 195, 'res_0', 'any', 0, 0, 0, 0); 801 ! 797 insert into sys.args values (32188, 195, 'res_0', 'any', 0, 0, 0, 0); 797
802 insert into sys.args values (32193, 195, 'arg_1', 'any', 0, 0, 1, 1); 802 ! 798 insert into sys.args values (32189, 195, 'arg_1', 'any', 0, 0, 1, 1); 798
803 insert into sys.args values (32194, 195, 'arg_2', 'bigint', 64, 0, 1, 2); 803 ! 799 insert into sys.args values (32190, 195, 'arg_2', 'int', 32, 0, 1, 2); 799
804 insert into sys.args values (32195, 195, 'arg_3', 'boolean', 1, 0, 1, 3); 804 ! 800 insert into sys.args values (32191, 195, 'arg_3', 'boolean', 1, 0, 1, 3); 800
805 insert into sys.args values (32196, 195, 'arg_4', 'boolean', 1, 0, 1, 4); 805 ! 801 insert into sys.args values (32192, 195, 'arg_4', 'boolean', 1, 0, 1, 4); 801
806 insert into sys.functions values (196, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 806 802 insert into sys.functions values (196, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 802
807 insert into sys.args values (32197, 196, 'res_0', 'any', 0, 0, 0, 0); 807 ! 803 insert into sys.args values (32193, 196, 'res_0', 'any', 0, 0, 0, 0); 803
808 insert into sys.args values (32198, 196, 'arg_1', 'any', 0, 0, 1, 1); 808 ! 804 insert into sys.args values (32194, 196, 'arg_1', 'any', 0, 0, 1, 1); 804
809 insert into sys.args values (32199, 196, 'arg_2', 'tinyint', 8, 0, 1, 2); 809 ! 805 insert into sys.args values (32195, 196, 'arg_2', 'bigint', 64, 0, 1, 2); 805
810 insert into sys.args values (32200, 196, 'arg_3', 'any', 0, 0, 1, 3); 810 ! 806 insert into sys.args values (32196, 196, 'arg_3', 'boolean', 1, 0, 1, 3); 806
811 insert into sys.args values (32201, 196, 'arg_4', 'boolean', 1, 0, 1, 4); 811 ! 807 insert into sys.args values (32197, 196, 'arg_4', 'boolean', 1, 0, 1, 4); 807
812 insert into sys.args values (32202, 196, 'arg_5', 'boolean', 1, 0, 1, 5); 812 -
813 insert into sys.functions values (197, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 813 808 insert into sys.functions values (197, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 808
814 insert into sys.args values (32203, 197, 'res_0', 'any', 0, 0, 0, 0); 814 ! 809 insert into sys.args values (32198, 197, 'res_0', 'any', 0, 0, 0, 0); 809
815 insert into sys.args values (32204, 197, 'arg_1', 'any', 0, 0, 1, 1); 815 ! 810 insert into sys.args values (32199, 197, 'arg_1', 'any', 0, 0, 1, 1); 810
816 insert into sys.args values (32205, 197, 'arg_2', 'smallint', 16, 0, 1, 2); 816 ! 811 insert into sys.args values (32200, 197, 'arg_2', 'tinyint', 8, 0, 1, 2); 811
817 insert into sys.args values (32206, 197, 'arg_3', 'any', 0, 0, 1, 3); 817 ! 812 insert into sys.args values (32201, 197, 'arg_3', 'any', 0, 0, 1, 3); 812
818 insert into sys.args values (32207, 197, 'arg_4', 'boolean', 1, 0, 1, 4); 818 ! 813 insert into sys.args values (32202, 197, 'arg_4', 'boolean', 1, 0, 1, 4); 813
819 insert into sys.args values (32208, 197, 'arg_5', 'boolean', 1, 0, 1, 5); 819 ! 814 insert into sys.args values (32203, 197, 'arg_5', 'boolean', 1, 0, 1, 5); 814
820 insert into sys.functions values (198, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 820 815 insert into sys.functions values (198, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 815
821 insert into sys.args values (32209, 198, 'res_0', 'any', 0, 0, 0, 0); 821 ! 816 insert into sys.args values (32204, 198, 'res_0', 'any', 0, 0, 0, 0); 816
822 insert into sys.args values (32210, 198, 'arg_1', 'any', 0, 0, 1, 1); 822 ! 817 insert into sys.args values (32205, 198, 'arg_1', 'any', 0, 0, 1, 1); 817
823 insert into sys.args values (32211, 198, 'arg_2', 'int', 32, 0, 1, 2); 823 ! 818 insert into sys.args values (32206, 198, 'arg_2', 'smallint', 16, 0, 1, 2); 818
824 insert into sys.args values (32212, 198, 'arg_3', 'any', 0, 0, 1, 3); 824 ! 819 insert into sys.args values (32207, 198, 'arg_3', 'any', 0, 0, 1, 3); 819
825 insert into sys.args values (32213, 198, 'arg_4', 'boolean', 1, 0, 1, 4); 825 ! 820 insert into sys.args values (32208, 198, 'arg_4', 'boolean', 1, 0, 1, 4); 820
826 insert into sys.args values (32214, 198, 'arg_5', 'boolean', 1, 0, 1, 5); 826 ! 821 insert into sys.args values (32209, 198, 'arg_5', 'boolean', 1, 0, 1, 5); 821
827 insert into sys.functions values (199, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 827 822 insert into sys.functions values (199, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 822
828 insert into sys.args values (32215, 199, 'res_0', 'any', 0, 0, 0, 0); 828 ! 823 insert into sys.args values (32210, 199, 'res_0', 'any', 0, 0, 0, 0); 823
829 insert into sys.args values (32216, 199, 'arg_1', 'any', 0, 0, 1, 1); 829 ! 824 insert into sys.args values (32211, 199, 'arg_1', 'any', 0, 0, 1, 1); 824
830 insert into sys.args values (32217, 199, 'arg_2', 'bigint', 64, 0, 1, 2); 830 ! 825 insert into sys.args values (32212, 199, 'arg_2', 'int', 32, 0, 1, 2); 825
831 insert into sys.args values (32218, 199, 'arg_3', 'any', 0, 0, 1, 3); 831 ! 826 insert into sys.args values (32213, 199, 'arg_3', 'any', 0, 0, 1, 3); 826
832 insert into sys.args values (32219, 199, 'arg_4', 'boolean', 1, 0, 1, 4); 832 ! 827 insert into sys.args values (32214, 199, 'arg_4', 'boolean', 1, 0, 1, 4); 827
833 insert into sys.args values (32220, 199, 'arg_5', 'boolean', 1, 0, 1, 5); 833 ! 828 insert into sys.args values (32215, 199, 'arg_5', 'boolean', 1, 0, 1, 5); 828
834 insert into sys.functions values (200, 'first_value', 'first_value', 'sql', 0, 6, false, false, false, 2000, true, true); 834 ! 829 insert into sys.functions values (200, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 829
835 insert into sys.args values (32221, 200, 'res_0', 'any', 0, 0, 0, 0); 835 ! 830 insert into sys.args values (32216, 200, 'res_0', 'any', 0, 0, 0, 0); 830
836 insert into sys.args values (32222, 200, 'arg_1', 'any', 0, 0, 1, 1); 836 ! 831 insert into sys.args values (32217, 200, 'arg_1', 'any', 0, 0, 1, 1); 831
837 insert into sys.functions values (201, 'last_value', 'last_value', 'sql', 0, 6, false, false, false, 2000, true, true); 837 ! 832 insert into sys.args values (32218, 200, 'arg_2', 'bigint', 64, 0, 1, 2); 832
838 insert into sys.args values (32223, 201, 'res_0', 'any', 0, 0, 0, 0); 838 ! 833 insert into sys.args values (32219, 200, 'arg_3', 'any', 0, 0, 1, 3); 833
839 insert into sys.args values (32224, 201, 'arg_1', 'any', 0, 0, 1, 1); 839 ! 834 insert into sys.args values (32220, 200, 'arg_4', 'boolean', 1, 0, 1, 4); 834
insert into sys. + 835 insert into sys.args values (32221, 200, 'arg_5', 'boolean', 1, 0, 1, 5); 835
840 functions values (202, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 840 ! 836 insert into sys.functions values (201, 'first_value', 'first_value', 'sql', 0, 6, false, false, false, 2000, true, true); 836
841 insert into sys.args values (32225, 202, 'res_0', 'any', 0, 0, 0, 0); 841 ! 837 insert into sys.args values (32222, 201, 'res_0', 'any', 0, 0, 0, 0); 837
842 insert into sys.args values (32226, 202, 'arg_1', 'any', 0, 0, 1, 1); 842 ! 838 insert into sys.args values (32223, 201, 'arg_1', 'any', 0, 0, 1, 1); 838
843 insert into sys.args values (32227, 202, 'arg_2', 'tinyint', 8, 0, 1, 2); 843 ! 839 insert into sys.functions values (202, 'last_value', 'last_value', 'sql', 0, 6, false, false, false, 2000, true, true); 839
+ 840 insert into sys.args values (32224, 202, 'res_0', 'any', 0, 0, 0, 0); 840
+ 841 insert into sys.args values (32225, 202, 'arg_1', 'any', 0, 0, 1, 1); 841
844 insert into sys.functions values (203, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 844 842 insert into sys.functions values (203, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 842
845 insert into sys.args values (32228, 203, 'res_0', 'any', 0, 0, 0, 0); 845 ! 843 insert into sys.args values (32226, 203, 'res_0', 'any', 0, 0, 0, 0); 843
846 insert into sys.args values (32229, 203, 'arg_1', 'any', 0, 0, 1, 1); 846 ! 844 insert into sys.args values (32227, 203, 'arg_1', 'any', 0, 0, 1, 1); 844
847 insert into sys.args values (32230, 203, 'arg_2', 'smallint', 16, 0, 1, 2); 847 ! 845 insert into sys.args values (32228, 203, 'arg_2', 'tinyint', 8, 0, 1, 2); 845
848 insert into sys.functions values (204, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 848 846 insert into sys.functions values (204, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 846
849 insert into sys.args values (32231, 204, 'res_0', 'any', 0, 0, 0, 0); 849 ! 847 insert into sys.args values (32229, 204, 'res_0', 'any', 0, 0, 0, 0); 847
850 insert into sys.args values (32232, 204, 'arg_1', 'any', 0, 0, 1, 1); 850 ! 848 insert into sys.args values (32230, 204, 'arg_1', 'any', 0, 0, 1, 1); 848
851 insert into sys.args values (32233, 204, 'arg_2', 'int', 32, 0, 1, 2); 851 ! 849 insert into sys.args values (32231, 204, 'arg_2', 'smallint', 16, 0, 1, 2); 849
852 insert into sys.functions values (205, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 852 850 insert into sys.functions values (205, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 850
853 insert into sys.args values (32234, 205, 'res_0', 'any', 0, 0, 0, 0); 853 ! 851 insert into sys.args values (32232, 205, 'res_0', 'any', 0, 0, 0, 0); 851
854 insert into sys.args values (32235, 205, 'arg_1', 'any', 0, 0, 1, 1); 854 ! 852 insert into sys.args values (32233, 205, 'arg_1', 'any', 0, 0, 1, 1); 852
855 insert into sys.args values (32236, 205, 'arg_2', 'bigint', 64, 0, 1, 2); 855 ! 853 insert into sys.args values (32234, 205, 'arg_2', 'int', 32, 0, 1, 2); 853
856 insert into sys.functions values (206, 'count', 'count', 'sql', 0, 6, false, false, false, 2000, true, true); 856 ! 854 insert into sys.functions values (206, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 854
857 insert into sys.args values (32237, 206, 'res_0', 'bigint', 64, 0, 0, 0); 857 ! 855 insert into sys.args values (32235, 206, 'res_0', 'any', 0, 0, 0, 0); 855
858 insert into sys.args values (32238, 206, 'arg_1', 'any', 0, 0, 1, 1); 858 ! 856 insert into sys.args values (32236, 206, 'arg_1', 'any', 0, 0, 1, 1); 856
859 insert into sys.args values (32239, 206, 'arg_2', 'boolean', 1, 0, 1, 2); 859 ! 857 insert into sys.args values (32237, 206, 'arg_2', 'bigint', 64, 0, 1, 2); 857
860 insert into sys.functions values (207, 'min', 'min', 'sql', 0, 6, false, false, false, 2000, true, true); 860 ! 858 insert into sys.functions values (207, 'count', 'count', 'sql', 0, 6, false, false, false, 2000, true, true); 858
861 insert into sys.args values (32240, 207, 'res_0', 'any', 0, 0, 0, 0); 861 ! 859 insert into sys.args values (32238, 207, 'res_0', 'bigint', 64, 0, 0, 0); 859
862 insert into sys.args values (32241, 207, 'arg_1', 'any', 0, 0, 1, 1); 862 ! 860 insert into sys.args values (32239, 207, 'arg_1', 'any', 0, 0, 1, 1); 860
insert into sys. + 861 insert into sys.args values (32240, 207, 'arg_2', 'boolean', 1, 0, 1, 2); 861
863 functions values (208, 'max', 'max', 'sql', 0, 6, false, false, false, 2000, true, true); 863 ! 862 insert into sys.functions values (208, 'min', 'min', 'sql', 0, 6, false, false, false, 2000, true, true); 862
864 insert into sys.args values (32242, 208, 'res_0', 'any', 0, 0, 0, 0); 864 ! 863 insert into sys.args values (32241, 208, 'res_0', 'any', 0, 0, 0, 0); 863
865 insert into sys.args values (32243, 208, 'arg_1', 'any', 0, 0, 1, 1); 865 ! 864 insert into sys.args values (32242, 208, 'arg_1', 'any', 0, 0, 1, 1); 864
866 insert into sys.functions values (209, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 866 ! 865 insert into sys.functions values (209, 'max', 'max', 'sql', 0, 6, false, false, false, 2000, true, true); 865
867 insert into sys.args values (32244, 209, 'res_0', 'bigint', 64, 0, 0, 0); 867 ! 866 insert into sys.args values (32243, 209, 'res_0', 'any', 0, 0, 0, 0); 866
868 insert into sys.args values (32245, 209, 'arg_1', 'tinyint', 8, 0, 1, 1); 868 ! 867 insert into sys.args values (32244, 209, 'arg_1', 'any', 0, 0, 1, 1); 867
869 insert into sys.functions values (210, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 869 868 insert into sys.functions values (210, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 868
870 insert into sys.args values (32246, 210, 'res_0', 'bigint', 64, 0, 0, 0); 870 ! 869 insert into sys.args values (32245, 210, 'res_0', 'bigint', 64, 0, 0, 0); 869
871 insert into sys.args values (32247, 210, 'arg_1', 'smallint', 16, 0, 1, 1); 871 ! 870 insert into sys.args values (32246, 210, 'arg_1', 'tinyint', 8, 0, 1, 1); 870
872 insert into sys.functions values (211, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 872 871 insert into sys.functions values (211, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 871
873 insert into sys.args values (32248, 211, 'res_0', 'bigint', 64, 0, 0, 0); 873 ! 872 insert into sys.args values (32247, 211, 'res_0', 'bigint', 64, 0, 0, 0); 872
874 insert into sys.args values (32249, 211, 'arg_1', 'int', 32, 0, 1, 1); 874 ! 873 insert into sys.args values (32248, 211, 'arg_1', 'smallint', 16, 0, 1, 1); 873
875 insert into sys.functions values (212, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 875 874 insert into sys.functions values (212, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 874
876 insert into sys.args values (32250, 212, 'res_0', 'bigint', 64, 0, 0, 0); 876 ! 875 insert into sys.args values (32249, 212, 'res_0', 'bigint', 64, 0, 0, 0); 875
877 insert into sys.args values (32251, 212, 'arg_1', 'bigint', 64, 0, 1, 1); 877 ! 876 insert into sys.args values (32250, 212, 'arg_1', 'int', 32, 0, 1, 1); 876
878 insert into sys.functions values (213, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 878 877 insert into sys.functions values (213, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 877
879 insert into sys.args values (32252, 213, 'res_0', 'decimal', 18, 0, 0, 0); 879 ! 878 insert into sys.args values (32251, 213, 'res_0', 'bigint', 64, 0, 0, 0); 878
880 insert into sys.args values (32253, 213, 'arg_1', 'decimal', 2, 0, 1, 1); 880 ! 879 insert into sys.args values (32252, 213, 'arg_1', 'bigint', 64, 0, 1, 1); 879
881 insert into sys.functions values (214, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 881 880 insert into sys.functions values (214, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 880
882 insert into sys.args values (32254, 214, 'res_0', 'decimal', 18, 0, 0, 0); 882 ! 881 insert into sys.args values (32253, 214, 'res_0', 'decimal', 18, 0, 0, 0); 881
883 insert into sys.args values (32255, 214, 'arg_1', 'decimal', 4, 0, 1, 1); 883 ! 882 insert into sys.args values (32254, 214, 'arg_1', 'decimal', 2, 0, 1, 1); 882
884 insert into sys.functions values (215, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 884 883 insert into sys.functions values (215, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 883
885 insert into sys.args values (32256, 215, 'res_0', 'decimal', 18, 0, 0, 0); 885 ! 884 insert into sys.args values (32255, 215, 'res_0', 'decimal', 18, 0, 0, 0); 884
886 insert into sys.args values (32257, 215, 'arg_1', 'decimal', 9, 0, 1, 1); 886 ! 885 insert into sys.args values (32256, 215, 'arg_1', 'decimal', 4, 0, 1, 1); 885
887 insert into sys.functions values (216, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 887 886 insert into sys.functions values (216, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 886
888 insert into sys.args values (32258, 216, 'res_0', 'decimal', 18, 0, 0, 0); 888 ! 887 insert into sys.args values (32257, 216, 'res_0', 'decimal', 18, 0, 0, 0); 887
889 insert into sys.args values (32259, 216, 'arg_1', 'decimal', 18, 0, 1, 1); 889 ! 888 insert into sys.args values (32258, 216, 'arg_1', 'decimal', 9, 0, 1, 1); 888
890 insert into sys.functions values (217, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 890 ! 889 insert into sys.functions values (217, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 889
891 insert into sys.args values (32260, 217, 'res_0', 'bigint', 64, 0, 0, 0); 891 ! 890 insert into sys.args values (32259, 217, 'res_0', 'decimal', 18, 0, 0, 0); 890
892 insert into sys.args values (32261, 217, 'arg_1', 'tinyint', 8, 0, 1, 1); 892 ! 891 insert into sys.args values (32260, 217, 'arg_1', 'decimal', 18, 0, 1, 1); 891
893 insert into sys.functions values (218, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 893 892 insert into sys.functions values (218, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 892
894 insert into sys.args values (32262, 218, 'res_0', 'bigint', 64, 0, 0, 0); 894 ! 893 insert into sys.args values (32261, 218, 'res_0', 'bigint', 64, 0, 0, 0); 893
895 insert into sys.args values (32263, 218, 'arg_1', 'smallint', 16, 0, 1, 1); 895 ! 894 insert into sys.args values (32262, 218, 'arg_1', 'tinyint', 8, 0, 1, 1); 894
896 insert into sys.functions values (219, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 896 895 insert into sys.functions values (219, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 895
897 insert into sys.args values (32264, 219, 'res_0', 'bigint', 64, 0, 0, 0); 897 ! 896 insert into sys.args values (32263, 219, 'res_0', 'bigint', 64, 0, 0, 0); 896
898 insert into sys.args values (32265, 219, 'arg_1', 'int', 32, 0, 1, 1); 898 ! 897 insert into sys.args values (32264, 219, 'arg_1', 'smallint', 16, 0, 1, 1); 897
899 insert into sys.functions values (220, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 899 898 insert into sys.functions values (220, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 898
900 insert into sys.args values (32266, 220, 'res_0', 'bigint', 64, 0, 0, 0); 900 ! 899 insert into sys.args values (32265, 220, 'res_0', 'bigint', 64, 0, 0, 0); 899
901 insert into sys.args values (32267, 220, 'arg_1', 'bigint', 64, 0, 1, 1); 901 ! 900 insert into sys.args values (32266, 220, 'arg_1', 'int', 32, 0, 1, 1); 900
902 insert into sys.functions values (221, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 902 ! 901 insert into sys.functions values (221, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 901
903 insert into sys.args values (32268, 221, 'res_0', 'real', 24, 0, 0, 0); 903 ! 902 insert into sys.args values (32267, 221, 'res_0', 'bigint', 64, 0, 0, 0); 902
904 insert into sys.args values (32269, 221, 'arg_1', 'real', 24, 0, 1, 1); 904 ! 903 insert into sys.args values (32268, 221, 'arg_1', 'bigint', 64, 0, 1, 1); 903
905 insert into sys.functions values (222, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 905 ! 904 insert into sys.functions values (222, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 904
906 insert into sys.args values (32270, 222, 'res_0', 'real', 24, 0, 0, 0); 906 ! 905 insert into sys.args values (32269, 222, 'res_0', 'real', 24, 0, 0, 0); 905
907 insert into sys.args values (32271, 222, 'arg_1', 'real', 24, 0, 1, 1); 907 ! 906 insert into sys.args values (32270, 222, 'arg_1', 'real', 24, 0, 1, 1); 906
908 insert into sys.functions values (223, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 908 ! 907 insert into sys.functions values (223, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 907
909 insert into sys.args values (32272, 223, 'res_0', 'double', 53, 0, 0, 0); 909 ! 908 insert into sys.args values (32271, 223, 'res_0', 'real', 24, 0, 0, 0); 908
910 insert into sys.args values (32273, 223, 'arg_1', 'double', 53, 0, 1, 1); 910 ! 909 insert into sys.args values (32272, 223, 'arg_1', 'real', 24, 0, 1, 1); 909
911 insert into sys.functions values (224, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 911 ! 910 insert into sys.functions values (224, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 910
912 insert into sys.args values (32274, 224, 'res_0', 'double', 53, 0, 0, 0); 912 ! 911 insert into sys.args values (32273, 224, 'res_0', 'double', 53, 0, 0, 0); 911
913 insert into sys.args values (32275, 224, 'arg_1', 'double', 53, 0, 1, 1); 913 ! 912 insert into sys.args values (32274, 224, 'arg_1', 'double', 53, 0, 1, 1); 912
914 insert into sys.functions values (225, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 914 ! 913 insert into sys.functions values (225, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 913
915 insert into sys.args values (32276, 225, 'res_0', 'month_interval', 32, 0, 0, 0); 915 ! 914 insert into sys.args values (32275, 225, 'res_0', 'double', 53, 0, 0, 0); 914
916 insert into sys.args values (32277, 225, 'arg_1', 'month_interval', 32, 0, 1, 1); 916 ! 915 insert into sys.args values (32276, 225, 'arg_1', 'double', 53, 0, 1, 1); 915
917 insert into sys.functions values (226, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 917 916 insert into sys.functions values (226, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 916
918 insert into sys.args values (32278, 226, 'res_0', 'sec_interval', 13, 0, 0, 0); 918 ! 917 insert into sys.args values (32277, 226, 'res_0', 'month_interval', 32, 0, 0, 0); 917
919 insert into sys.args values (32279, 226, 'arg_1', 'sec_interval', 13, 0, 1, 1); 919 ! 918 insert into sys.args values (32278, 226, 'arg_1', 'month_interval', 32, 0, 1, 1); 918
920 insert into sys.functions values (227, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 920 ! 919 insert into sys.functions values (227, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 919
921 insert into sys.args values (32280, 227, 'res_0', 'double', 53, 0, 0, 0); 921 ! 920 insert into sys.args values (32279, 227, 'res_0', 'sec_interval', 13, 0, 0, 0); 920
922 insert into sys.args values (32281, 227, 'arg_1', 'double', 53, 0, 1, 1); 922 ! 921 insert into sys.args values (32280, 227, 'arg_1', 'sec_interval', 13, 0, 1, 1); 921
923 insert into sys.functions values (228, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 923 922 insert into sys.functions values (228, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 922
924 insert into sys.args values (32282, 228, 'res_0', 'double', 53, 0, 0, 0); 924 ! 923 insert into sys.args values (32281, 228, 'res_0', 'double', 53, 0, 0, 0); 923
925 insert into sys.args values (32283, 228, 'arg_1', 'tinyint', 8, 0, 1, 1); 925 ! 924 insert into sys.args values (32282, 228, 'arg_1', 'double', 53, 0, 1, 1); 924
926 insert into sys.functions values (229, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 926 925 insert into sys.functions values (229, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 925
927 insert into sys.args values (32284, 229, 'res_0', 'double', 53, 0, 0, 0); 927 ! 926 insert into sys.args values (32283, 229, 'res_0', 'double', 53, 0, 0, 0); 926
928 insert into sys.args values (32285, 229, 'arg_1', 'smallint', 16, 0, 1, 1); 928 ! 927 insert into sys.args values (32284, 229, 'arg_1', 'tinyint', 8, 0, 1, 1); 927
929 insert into sys.functions values (230, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 929 928 insert into sys.functions values (230, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 928
930 insert into sys.args values (32286, 230, 'res_0', 'double', 53, 0, 0, 0); 930 ! 929 insert into sys.args values (32285, 230, 'res_0', 'double', 53, 0, 0, 0); 929
931 insert into sys.args values (32287, 230, 'arg_1', 'int', 32, 0, 1, 1); 931 ! 930 insert into sys.args values (32286, 230, 'arg_1', 'smallint', 16, 0, 1, 1); 930
932 insert into sys.functions values (231, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 932 931 insert into sys.functions values (231, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 931
933 insert into sys.args values (32288, 231, 'res_0', 'double', 53, 0, 0, 0); 933 ! 932 insert into sys.args values (32287, 231, 'res_0', 'double', 53, 0, 0, 0); 932
934 insert into sys.args values (32289, 231, 'arg_1', 'bigint', 64, 0, 1, 1); 934 ! 933 insert into sys.args values (32288, 231, 'arg_1', 'int', 32, 0, 1, 1); 933
935 insert into sys.functions values (232, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 935 934 insert into sys.functions values (232, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 934
936 insert into sys.args values (32290, 232, 'res_0', 'double', 53, 0, 0, 0); 936 ! 935 insert into sys.args values (32289, 232, 'res_0', 'double', 53, 0, 0, 0); 935
937 insert into sys.args values (32291, 232, 'arg_1', 'real', 24, 0, 1, 1); 937 ! 936 insert into sys.args values (32290, 232, 'arg_1', 'bigint', 64, 0, 1, 1); 936
938 insert into sys.functions values (233, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 938 937 insert into sys.functions values (233, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 937
939 insert into sys.args values (32292, 233, 'res_0', 'decimal', 2, 0, 0, 0); 939 ! 938 insert into sys.args values (32291, 233, 'res_0', 'double', 53, 0, 0, 0); 938
940 insert into sys.args values (32293, 233, 'arg_1', 'decimal', 2, 0, 1, 1); 940 ! 939 insert into sys.args values (32292, 233, 'arg_1', 'real', 24, 0, 1, 1); 939
941 insert into sys.functions values (234, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 941 940 insert into sys.functions values (234, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 940
942 insert into sys.args values (32294, 234, 'res_0', 'decimal', 4, 0, 0, 0); 942 ! 941 insert into sys.args values (32293, 234, 'res_0', 'decimal', 2, 0, 0, 0); 941
943 insert into sys.args values (32295, 234, 'arg_1', 'decimal', 4, 0, 1, 1); 943 ! 942 insert into sys.args values (32294, 234, 'arg_1', 'decimal', 2, 0, 1, 1); 942
944 insert into sys.functions values (235, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 944 943 insert into sys.functions values (235, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 943
945 insert into sys.args values (32296, 235, 'res_0', 'decimal', 9, 0, 0, 0); 945 ! 944 insert into sys.args values (32295, 235, 'res_0', 'decimal', 4, 0, 0, 0); 944
946 insert into sys.args values (32297, 235, 'arg_1', 'decimal', 9, 0, 1, 1); 946 ! 945 insert into sys.args values (32296, 235, 'arg_1', 'decimal', 4, 0, 1, 1); 945
947 insert into sys.functions values (236, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 947 946 insert into sys.functions values (236, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 946
948 insert into sys.args values (32298, 236, 'res_0', 'decimal', 18, 0, 0, 0); 948 ! 947 insert into sys.args values (32297, 236, 'res_0', 'decimal', 9, 0, 0, 0); 947
949 insert into sys.args values (32299, 236, 'arg_1', 'decimal', 18, 0, 1, 1); 949 ! 948 insert into sys.args values (32298, 236, 'arg_1', 'decimal', 9, 0, 1, 1); 948
950 insert into sys.functions values (237, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 950 949 insert into sys.functions values (237, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 949
951 insert into sys.args values (32300, 237, 'res_0', 'month_interval', 32, 0, 0, 0); 951 ! 950 insert into sys.args values (32299, 237, 'res_0', 'decimal', 18, 0, 0, 0); 950
952 insert into sys.args values (32301, 237, 'arg_1', 'month_interval', 32, 0, 1, 1); 952 ! 951 insert into sys.args values (32300, 237, 'arg_1', 'decimal', 18, 0, 1, 1); 951
953 insert into sys.functions values (238, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 953 952 insert into sys.functions values (238, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 952
954 insert into sys.args values (32302, 238, 'res_0', 'sec_interval', 13, 0, 0, 0); 954 ! 953 insert into sys.args values (32301, 238, 'res_0', 'month_interval', 32, 0, 0, 0); 953
955 insert into sys.args values (32303, 238, 'arg_1', 'sec_interval', 13, 0, 1, 1); 955 ! 954 insert into sys.args values (32302, 238, 'arg_1', 'month_interval', 32, 0, 1, 1); 954
956 insert into sys.functions values (239, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 956 ! 955 insert into sys.functions values (239, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 955
957 insert into sys.args values (32304, 239, 'res_0', 'varchar', 0, 0, 0, 0); 957 ! 956 insert into sys.args values (32303, 239, 'res_0', 'sec_interval', 13, 0, 0, 0); 956
958 insert into sys.args values (32305, 239, 'arg_1', 'varchar', 0, 0, 1, 1); 958 ! 957 insert into sys.args values (32304, 239, 'arg_1', 'sec_interval', 13, 0, 1, 1); 957
959 insert into sys.functions values (240, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 959 958 insert into sys.functions values (240, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 958
960 insert into sys.args values (32306, 240, 'res_0', 'varchar', 0, 0, 0, 0); 960 ! 959 insert into sys.args values (32305, 240, 'res_0', 'varchar', 0, 0, 0, 0); 959
961 insert into sys.args values (32307, 240, 'arg_1', 'varchar', 0, 0, 1, 1); 961 ! 960 insert into sys.args values (32306, 240, 'arg_1', 'varchar', 0, 0, 1, 1); 960
962 insert into sys.args values (32308, 240, 'arg_2', 'varchar', 0, 0, 1, 2); 962 ! 961 insert into sys.functions values (241, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 961
963 insert into sys.functions values (241, 'and', 'and', 'calc', 0, 1, false, false, false, 2000, true, true); 963 -
964 insert into sys.args values (32309, 241, 'res_0', 'boolean', 1, 0, 0, 0); 964 ! 962 insert into sys.args values (32307, 241, 'res_0', 'varchar', 0, 0, 0, 0); 962
965 insert into sys.args values (32310, 241, 'arg_1', 'boolean', 1, 0, 1, 1); 965 ! 963 insert into sys.args values (32308, 241, 'arg_1', 'varchar', 0, 0, 1, 1); 963
966 insert into sys.args values (32311, 241, 'arg_2', 'boolean', 1, 0, 1, 2); 966 ! 964 insert into sys.args values (32309, 241, 'arg_2', 'varchar', 0, 0, 1, 2); 964
967 insert into sys.functions values (242, 'or', 'or', 'calc', 0, 1, false, false, false, 2000, true, true); 967 ! 965 insert into sys.functions values (242, 'and', 'and', 'calc', 0, 1, false, false, false, 2000, true, true); 965
968 insert into sys.args values (32312, 242, 'res_0', 'boolean', 1, 0, 0, 0); 968 ! 966 insert into sys.args values (32310, 242, 'res_0', 'boolean', 1, 0, 0, 0); 966
969 insert into sys.args values (32313, 242, 'arg_1', 'boolean', 1, 0, 1, 1); 969 ! 967 insert into sys.args values (32311, 242, 'arg_1', 'boolean', 1, 0, 1, 1); 967
970 insert into sys.args values (32314, 242, 'arg_2', 'boolean', 1, 0, 1, 2); 970 ! 968 insert into sys.args values (32312, 242, 'arg_2', 'boolean', 1, 0, 1, 2); 968
971 insert into sys.functions values (243, 'xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 971 ! 969 insert into sys.functions values (243, 'or', 'or', 'calc', 0, 1, false, false, false, 2000, true, true); 969
972 insert into sys.args values (32315, 243, 'res_0', 'boolean', 1, 0, 0, 0); 972 ! 970 insert into sys.args values (32313, 243, 'res_0', 'boolean', 1, 0, 0, 0); 970
973 insert into sys.args values (32316, 243, 'arg_1', 'boolean', 1, 0, 1, 1); 973 ! 971 insert into sys.args values (32314, 243, 'arg_1', 'boolean', 1, 0, 1, 1); 971
974 insert into sys.args values (32317, 243, 'arg_2', 'boolean', 1, 0, 1, 2); 974 ! 972 insert into sys.args values (32315, 243, 'arg_2', 'boolean', 1, 0, 1, 2); 972
975 insert into sys.functions values (244, 'not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 975 ! 973 insert into sys.functions values (244, 'xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 973
+ 974 insert into sys.args values (32316, 244, 'res_0', 'boolean', 1, 0, 0, 0); 974
976 insert into sys.args values (32318, 244, 'res_0', 'boolean', 1, 0, 0, 0); 976 ! 975 insert into sys.args values (32317, 244, 'arg_1', 'boolean', 1, 0, 1, 1); 975
977 insert into sys.args values (32319, 244, 'arg_1', 'boolean', 1, 0, 1, 1); 977 ! 976 insert into sys.args values (32318, 244, 'arg_2', 'boolean', 1, 0, 1, 2); 976
978 insert into sys.functions values (245, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 978 ! 977 insert into sys.functions values (245, 'not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 977
979 insert into sys.args values (32320, 245, 'res_0', 'smallint', 16, 0, 0, 0); 979 ! 978 insert into sys.args values (32319, 245, 'res_0', 'boolean', 1, 0, 0, 0); 978
980 insert into sys.args values (32321, 245, 'arg_1', 'smallint', 16, 0, 1, 1); 980 ! 979 insert into sys.args values (32320, 245, 'arg_1', 'boolean', 1, 0, 1, 1); 979
981 insert into sys.args values (32322, 245, 'arg_2', 'tinyint', 8, 0, 1, 2); 981 -
982 insert into sys.functions values (246, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 982 980 insert into sys.functions values (246, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 980
983 insert into sys.args values (32323, 246, 'res_0', 'smallint', 16, 0, 0, 0); 983 ! 981 insert into sys.args values (32321, 246, 'res_0', 'smallint', 16, 0, 0, 0); 981
984 insert into sys.args values (32324, 246, 'arg_1', 'tinyint', 8, 0, 1, 1); 984 ! 982 insert into sys.args values (32322, 246, 'arg_1', 'smallint', 16, 0, 1, 1); 982
985 insert into sys.args values (32325, 246, 'arg_2', 'smallint', 16, 0, 1, 2); 985 ! 983 insert into sys.args values (32323, 246, 'arg_2', 'tinyint', 8, 0, 1, 2); 983
986 insert into sys.functions values (247, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 986 ! 984 insert into sys.functions values (247, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 984
987 insert into sys.args values (32326, 247, 'res_0', 'smallint', 16, 0, 0, 0); 987 ! 985 insert into sys.args values (32324, 247, 'res_0', 'smallint', 16, 0, 0, 0); 985
988 insert into sys.args values (32327, 247, 'arg_1', 'smallint', 16, 0, 1, 1); 988 ! 986 insert into sys.args values (32325, 247, 'arg_1', 'tinyint', 8, 0, 1, 1); 986
989 insert into sys.args values (32328, 247, 'arg_2', 'tinyint', 8, 0, 1, 2); 989 ! 987 insert into sys.args values (32326, 247, 'arg_2', 'smallint', 16, 0, 1, 2); 987
990 insert into sys.functions values (248, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 990 ! 988 insert into sys.functions values (248, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 988
991 insert into sys.args values (32329, 248, 'res_0', 'int', 32, 0, 0, 0); 991 ! 989 insert into sys.args values (32327, 248, 'res_0', 'smallint', 16, 0, 0, 0); 989
992 insert into sys.args values (32330, 248, 'arg_1', 'int', 32, 0, 1, 1); 992 ! 990 insert into sys.args values (32328, 248, 'arg_1', 'smallint', 16, 0, 1, 1); 990
993 insert into sys.args values (32331, 248, 'arg_2', 'tinyint', 8, 0, 1, 2); 993 ! 991 insert into sys.args values (32329, 248, 'arg_2', 'tinyint', 8, 0, 1, 2); 991
994 insert into sys.functions values (249, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 994 992 insert into sys.functions values (249, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 992
995 insert into sys.args values (32332, 249, 'res_0', 'int', 32, 0, 0, 0); 995 ! 993 insert into sys.args values (32330, 249, 'res_0', 'int', 32, 0, 0, 0); 993
996 insert into sys.args values (32333, 249, 'arg_1', 'tinyint', 8, 0, 1, 1); 996 ! 994 insert into sys.args values (32331, 249, 'arg_1', 'int', 32, 0, 1, 1); 994
997 insert into sys.args values (32334, 249, 'arg_2', 'int', 32, 0, 1, 2); 997 ! 995 insert into sys.args values (32332, 249, 'arg_2', 'tinyint', 8, 0, 1, 2); 995
998 insert into sys.functions values (250, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 998 ! 996 insert into sys.functions values (250, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 996
999 insert into sys.args values (32335, 250, 'res_0', 'int', 32, 0, 0, 0); 999 ! 997 insert into sys.args values (32333, 250, 'res_0', 'int', 32, 0, 0, 0); 997
1000 insert into sys.args values (32336, 250, 'arg_1', 'int', 32, 0, 1, 1); 1000 ! 998 insert into sys.args values (32334, 250, 'arg_1', 'tinyint', 8, 0, 1, 1); 998
1001 insert into sys.args values (32337, 250, 'arg_2', 'tinyint', 8, 0, 1, 2); 1001 ! 999 insert into sys.args values (32335, 250, 'arg_2', 'int', 32, 0, 1, 2); 999
1002 insert into sys.functions values (251, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1002 ! 1000 insert into sys.functions values (251, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1000
1003 insert into sys.args values (32338, 251, 'res_0', 'int', 32, 0, 0, 0); 1003 ! 1001 insert into sys.args values (32336, 251, 'res_0', 'int', 32, 0, 0, 0); 1001
1004 insert into sys.args values (32339, 251, 'arg_1', 'int', 32, 0, 1, 1); 1004 ! 1002 insert into sys.args values (32337, 251, 'arg_1', 'int', 32, 0, 1, 1); 1002
1005 insert into sys.args values (32340, 251, 'arg_2', 'smallint', 16, 0, 1, 2); 1005 ! 1003 insert into sys.args values (32338, 251, 'arg_2', 'tinyint', 8, 0, 1, 2); 1003
1006 insert into sys.functions values (252, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1006 1004 insert into sys.functions values (252, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1004
1007 insert into sys.args values (32341, 252, 'res_0', 'int', 32, 0, 0, 0); 1007 ! 1005 insert into sys.args values (32339, 252, 'res_0', 'int', 32, 0, 0, 0); 1005
1008 insert into sys.args values (32342, 252, 'arg_1', 'smallint', 16, 0, 1, 1); 1008 ! 1006 insert into sys.args values (32340, 252, 'arg_1', 'int', 32, 0, 1, 1); 1006
1009 insert into sys.args values (32343, 252, 'arg_2', 'int', 32, 0, 1, 2); 1009 ! 1007 insert into sys.args values (32341, 252, 'arg_2', 'smallint', 16, 0, 1, 2); 1007
1010 insert into sys.functions values (253, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1010 ! 1008 insert into sys.functions values (253, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1008
1011 insert into sys.args values (32344, 253, 'res_0', 'int', 32, 0, 0, 0); 1011 ! 1009 insert into sys.args values (32342, 253, 'res_0', 'int', 32, 0, 0, 0); 1009
1012 insert into sys.args values (32345, 253, 'arg_1', 'int', 32, 0, 1, 1); 1012 ! 1010 insert into sys.args values (32343, 253, 'arg_1', 'smallint', 16, 0, 1, 1); 1010
1013 insert into sys.args values (32346, 253, 'arg_2', 'smallint', 16, 0, 1, 2); 1013 ! 1011 insert into sys.args values (32344, 253, 'arg_2', 'int', 32, 0, 1, 2); 1011
1014 insert into sys.functions values (254, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1014 ! 1012 insert into sys.functions values (254, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1012
1015 insert into sys.args values (32347, 254, 'res_0', 'bigint', 64, 0, 0, 0); 1015 ! 1013 insert into sys.args values (32345, 254, 'res_0', 'int', 32, 0, 0, 0); 1013
1016 insert into sys.args values (32348, 254, 'arg_1', 'bigint', 64, 0, 1, 1); 1016 ! 1014 insert into sys.args values (32346, 254, 'arg_1', 'int', 32, 0, 1, 1); 1014
1017 insert into sys.args values (32349, 254, 'arg_2', 'tinyint', 8, 0, 1, 2); 1017 ! 1015 insert into sys.args values (32347, 254, 'arg_2', 'smallint', 16, 0, 1, 2); 1015
1018 insert into sys.functions values (255, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1018 1016 insert into sys.functions values (255, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1016
1019 insert into sys.args values (32350, 255, 'res_0', 'bigint', 64, 0, 0, 0); 1019 ! 1017 insert into sys.args values (32348, 255, 'res_0', 'bigint', 64, 0, 0, 0); 1017
1020 insert into sys.args values (32351, 255, 'arg_1', 'tinyint', 8, 0, 1, 1); 1020 ! 1018 insert into sys.args values (32349, 255, 'arg_1', 'bigint', 64, 0, 1, 1); 1018
1021 insert into sys.args values (32352, 255, 'arg_2', 'bigint', 64, 0, 1, 2); 1021 ! 1019 insert into sys.args values (32350, 255, 'arg_2', 'tinyint', 8, 0, 1, 2); 1019
1022 insert into sys.functions values (256, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1022 ! 1020 insert into sys.functions values (256, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1020
1023 insert into sys.args values (32353, 256, 'res_0', 'bigint', 64, 0, 0, 0); 1023 ! 1021 insert into sys.args values (32351, 256, 'res_0', 'bigint', 64, 0, 0, 0); 1021
1024 insert into sys.args values (32354, 256, 'arg_1', 'bigint', 64, 0, 1, 1); 1024 ! 1022 insert into sys.args values (32352, 256, 'arg_1', 'tinyint', 8, 0, 1, 1); 1022
1025 insert into sys.args values (32355, 256, 'arg_2', 'tinyint', 8, 0, 1, 2); 1025 ! 1023 insert into sys.args values (32353, 256, 'arg_2', 'bigint', 64, 0, 1, 2); 1023
1026 insert into sys.functions values (257, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1026 ! 1024 insert into sys.functions values (257, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1024
1027 insert into sys.args values (32356, 257, 'res_0', 'bigint', 64, 0, 0, 0); 1027 ! 1025 insert into sys.args values (32354, 257, 'res_0', 'bigint', 64, 0, 0, 0); 1025
1028 insert into sys.args values (32357, 257, 'arg_1', 'bigint', 64, 0, 1, 1); 1028 ! 1026 insert into sys.args values (32355, 257, 'arg_1', 'bigint', 64, 0, 1, 1); 1026
1029 insert into sys.args values (32358, 257, 'arg_2', 'smallint', 16, 0, 1, 2); 1029 ! 1027 insert into sys.args values (32356, 257, 'arg_2', 'tinyint', 8, 0, 1, 2); 1027
1030 insert into sys.functions values (258, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1030 1028 insert into sys.functions values (258, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1028
1031 insert into sys.args values (32359, 258, 'res_0', 'bigint', 64, 0, 0, 0); 1031 ! 1029 insert into sys.args values (32357, 258, 'res_0', 'bigint', 64, 0, 0, 0); 1029
1032 insert into sys.args values (32360, 258, 'arg_1', 'smallint', 16, 0, 1, 1); 1032 ! 1030 insert into sys.args values (32358, 258, 'arg_1', 'bigint', 64, 0, 1, 1); 1030
1033 insert into sys.args values (32361, 258, 'arg_2', 'bigint', 64, 0, 1, 2); 1033 ! 1031 insert into sys.args values (32359, 258, 'arg_2', 'smallint', 16, 0, 1, 2); 1031
1034 insert into sys.functions values (259, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1034 ! 1032 insert into sys.functions values (259, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1032
1035 insert into sys.args values (32362, 259, 'res_0', 'bigint', 64, 0, 0, 0); 1035 ! 1033 insert into sys.args values (32360, 259, 'res_0', 'bigint', 64, 0, 0, 0); 1033
1036 insert into sys.args values (32363, 259, 'arg_1', 'bigint', 64, 0, 1, 1); 1036 ! 1034 insert into sys.args values (32361, 259, 'arg_1', 'smallint', 16, 0, 1, 1); 1034
1037 insert into sys.args values (32364, 259, 'arg_2', 'smallint', 16, 0, 1, 2); 1037 ! 1035 insert into sys.args values (32362, 259, 'arg_2', 'bigint', 64, 0, 1, 2); 1035
1038 insert into sys.functions values (260, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1038 ! 1036 insert into sys.functions values (260, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1036
1039 insert into sys.args values (32365, 260, 'res_0', 'bigint', 64, 0, 0, 0); 1039 ! 1037 insert into sys.args values (32363, 260, 'res_0', 'bigint', 64, 0, 0, 0); 1037
1040 insert into sys.args values (32366, 260, 'arg_1', 'bigint', 64, 0, 1, 1); 1040 ! 1038 insert into sys.args values (32364, 260, 'arg_1', 'bigint', 64, 0, 1, 1); 1038
1041 insert into sys.args values (32367, 260, 'arg_2', 'int', 32, 0, 1, 2); 1041 ! 1039 insert into sys.args values (32365, 260, 'arg_2', 'smallint', 16, 0, 1, 2); 1039
1042 insert into sys.functions values (261, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1042 1040 insert into sys.functions values (261, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1040
1043 insert into sys.args values (32368, 261, 'res_0', 'bigint', 64, 0, 0, 0); 1043 ! 1041 insert into sys.args values (32366, 261, 'res_0', 'bigint', 64, 0, 0, 0); 1041
1044 insert into sys.args values (32369, 261, 'arg_1', 'int', 32, 0, 1, 1); 1044 ! 1042 insert into sys.args values (32367, 261, 'arg_1', 'bigint', 64, 0, 1, 1); 1042
1045 insert into sys.args values (32370, 261, 'arg_2', 'bigint', 64, 0, 1, 2); 1045 ! 1043 insert into sys.args values (32368, 261, 'arg_2', 'int', 32, 0, 1, 2); 1043
1046 insert into sys.functions values (262, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1046 ! 1044 insert into sys.functions values (262, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1044
1047 insert into sys.args values (32371, 262, 'res_0', 'bigint', 64, 0, 0, 0); 1047 ! 1045 insert into sys.args values (32369, 262, 'res_0', 'bigint', 64, 0, 0, 0); 1045
1048 insert into sys.args values (32372, 262, 'arg_1', 'bigint', 64, 0, 1, 1); 1048 ! 1046 insert into sys.args values (32370, 262, 'arg_1', 'int', 32, 0, 1, 1); 1046
1049 insert into sys.args values (32373, 262, 'arg_2', 'int', 32, 0, 1, 2); 1049 ! 1047 insert into sys.args values (32371, 262, 'arg_2', 'bigint', 64, 0, 1, 2); 1047
1050 insert into sys.functions values (263, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1050 ! 1048 insert into sys.functions values (263, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1048
1051 insert into sys.args values (32374, 263, 'res_0', 'decimal', 4, 0, 0, 0); 1051 ! 1049 insert into sys.args values (32372, 263, 'res_0', 'bigint', 64, 0, 0, 0); 1049
1052 insert into sys.args values (32375, 263, 'arg_1', 'decimal', 4, 0, 1, 1); 1052 ! 1050 insert into sys.args values (32373, 263, 'arg_1', 'bigint', 64, 0, 1, 1); 1050
1053 insert into sys.args values (32376, 263, 'arg_2', 'tinyint', 8, 0, 1, 2); 1053 ! 1051 insert into sys.args values (32374, 263, 'arg_2', 'int', 32, 0, 1, 2); 1051
1054 insert into sys.functions values (264, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1054 1052 insert into sys.functions values (264, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1052
1055 insert into sys.args values (32377, 264, 'res_0', 'decimal', 4, 0, 0, 0); 1055 ! 1053 insert into sys.args values (32375, 264, 'res_0', 'decimal', 4, 0, 0, 0); 1053
1056 insert into sys.args values (32378, 264, 'arg_1', 'tinyint', 8, 0, 1, 1); 1056 ! 1054 insert into sys.args values (32376, 264, 'arg_1', 'decimal', 4, 0, 1, 1); 1054
1057 insert into sys.args values (32379, 264, 'arg_2', 'decimal', 4, 0, 1, 2); 1057 ! 1055 insert into sys.args values (32377, 264, 'arg_2', 'tinyint', 8, 0, 1, 2); 1055
1058 insert into sys.functions values (265, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1058 ! 1056 insert into sys.functions values (265, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1056
1059 insert into sys.args values (32380, 265, 'res_0', 'decimal', 4, 0, 0, 0); 1059 ! 1057 insert into sys.args values (32378, 265, 'res_0', 'decimal', 4, 0, 0, 0); 1057
1060 insert into sys.args values (32381, 265, 'arg_1', 'decimal', 4, 0, 1, 1); 1060 ! 1058 insert into sys.args values (32379, 265, 'arg_1', 'tinyint', 8, 0, 1, 1); 1058
1061 insert into sys.args values (32382, 265, 'arg_2', 'tinyint', 8, 0, 1, 2); 1061 ! 1059 insert into sys.args values (32380, 265, 'arg_2', 'decimal', 4, 0, 1, 2); 1059
1062 insert into sys.functions values (266, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1062 ! 1060 insert into sys.functions values (266, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1060
1063 insert into sys.args values (32383, 266, 'res_0', 'decimal', 9, 0, 0, 0); 1063 ! 1061 insert into sys.args values (32381, 266, 'res_0', 'decimal', 4, 0, 0, 0); 1061
1064 insert into sys.args values (32384, 266, 'arg_1', 'decimal', 9, 0, 1, 1); 1064 ! 1062 insert into sys.args values (32382, 266, 'arg_1', 'decimal', 4, 0, 1, 1); 1062
1065 insert into sys.args values (32385, 266, 'arg_2', 'tinyint', 8, 0, 1, 2); 1065 ! 1063 insert into sys.args values (32383, 266, 'arg_2', 'tinyint', 8, 0, 1, 2); 1063
1066 insert into sys.functions values (267, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1066 1064 insert into sys.functions values (267, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1064
1067 insert into sys.args values (32386, 267, 'res_0', 'decimal', 9, 0, 0, 0); 1067 ! 1065 insert into sys.args values (32384, 267, 'res_0', 'decimal', 9, 0, 0, 0); 1065
1068 insert into sys.args values (32387, 267, 'arg_1', 'tinyint', 8, 0, 1, 1); 1068 ! 1066 insert into sys.args values (32385, 267, 'arg_1', 'decimal', 9, 0, 1, 1); 1066
1069 insert into sys.args values (32388, 267, 'arg_2', 'decimal', 9, 0, 1, 2); 1069 ! 1067 insert into sys.args values (32386, 267, 'arg_2', 'tinyint', 8, 0, 1, 2); 1067
1070 insert into sys.functions values (268, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1070 ! 1068 insert into sys.functions values (268, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1068
1071 insert into sys.args values (32389, 268, 'res_0', 'decimal', 9, 0, 0, 0); 1071 ! 1069 insert into sys.args values (32387, 268, 'res_0', 'decimal', 9, 0, 0, 0); 1069
1072 insert into sys.args values (32390, 268, 'arg_1', 'decimal', 9, 0, 1, 1); 1072 ! 1070 insert into sys.args values (32388, 268, 'arg_1', 'tinyint', 8, 0, 1, 1); 1070
1073 insert into sys.args values (32391, 268, 'arg_2', 'tinyint', 8, 0, 1, 2); 1073 ! 1071 insert into sys.args values (32389, 268, 'arg_2', 'decimal', 9, 0, 1, 2); 1071
1074 insert into sys.functions values (269, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1074 ! 1072 insert into sys.functions values (269, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1072
1075 insert into sys.args values (32392, 269, 'res_0', 'decimal', 9, 0, 0, 0); 1075 ! 1073 insert into sys.args values (32390, 269, 'res_0', 'decimal', 9, 0, 0, 0); 1073
1076 insert into sys.args values (32393, 269, 'arg_1', 'decimal', 9, 0, 1, 1); 1076 ! 1074 insert into sys.args values (32391, 269, 'arg_1', 'decimal', 9, 0, 1, 1); 1074
1077 insert into sys.args values (32394, 269, 'arg_2', 'smallint', 16, 0, 1, 2); 1077 ! 1075 insert into sys.args values (32392, 269, 'arg_2', 'tinyint', 8, 0, 1, 2); 1075
1078 insert into sys.functions values (270, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1078 1076 insert into sys.functions values (270, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1076
1079 insert into sys.args values (32395, 270, 'res_0', 'decimal', 9, 0, 0, 0); 1079 ! 1077 insert into sys.args values (32393, 270, 'res_0', 'decimal', 9, 0, 0, 0); 1077
1080 insert into sys.args values (32396, 270, 'arg_1', 'smallint', 16, 0, 1, 1); 1080 ! 1078 insert into sys.args values (32394, 270, 'arg_1', 'decimal', 9, 0, 1, 1); 1078
1081 insert into sys.args values (32397, 270, 'arg_2', 'decimal', 9, 0, 1, 2); 1081 ! 1079 insert into sys.args values (32395, 270, 'arg_2', 'smallint', 16, 0, 1, 2); 1079
1082 insert into sys.functions values (271, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1082 ! 1080 insert into sys.functions values (271, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1080
1083 insert into sys.args values (32398, 271, 'res_0', 'decimal', 9, 0, 0, 0); 1083 ! 1081 insert into sys.args values (32396, 271, 'res_0', 'decimal', 9, 0, 0, 0); 1081
1084 insert into sys.args values (32399, 271, 'arg_1', 'decimal', 9, 0, 1, 1); 1084 ! 1082 insert into sys.args values (32397, 271, 'arg_1', 'smallint', 16, 0, 1, 1); 1082
1085 insert into sys.args values (32400, 271, 'arg_2', 'smallint', 16, 0, 1, 2); 1085 ! 1083 insert into sys.args values (32398, 271, 'arg_2', 'decimal', 9, 0, 1, 2); 1083
1086 insert into sys.functions values (272, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1086 ! 1084 insert into sys.functions values (272, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1084
1087 insert into sys.args values (32401, 272, 'res_0', 'decimal', 18, 0, 0, 0); 1087 ! 1085 insert into sys.args values (32399, 272, 'res_0', 'decimal', 9, 0, 0, 0); 1085
1088 insert into sys.args values (32402, 272, 'arg_1', 'decimal', 18, 0, 1, 1); 1088 ! 1086 insert into sys.args values (32400, 272, 'arg_1', 'decimal', 9, 0, 1, 1); 1086
1089 insert into sys.args values (32403, 272, 'arg_2', 'tinyint', 8, 0, 1, 2); 1089 ! 1087 insert into sys.args values (32401, 272, 'arg_2', 'smallint', 16, 0, 1, 2); 1087
1090 insert into sys.functions values (273, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1090 1088 insert into sys.functions values (273, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1088
1091 insert into sys.args values (32404, 273, 'res_0', 'decimal', 18, 0, 0, 0); 1091 ! 1089 insert into sys.args values (32402, 273, 'res_0', 'decimal', 18, 0, 0, 0); 1089
1092 insert into sys.args values (32405, 273, 'arg_1', 'tinyint', 8, 0, 1, 1); 1092 ! 1090 insert into sys.args values (32403, 273, 'arg_1', 'decimal', 18, 0, 1, 1); 1090
1093 insert into sys.args values (32406, 273, 'arg_2', 'decimal', 18, 0, 1, 2); 1093 ! 1091 insert into sys.args values (32404, 273, 'arg_2', 'tinyint', 8, 0, 1, 2); 1091
1094 insert into sys.functions values (274, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1094 ! 1092 insert into sys.functions values (274, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1092
1095 insert into sys.args values (32407, 274, 'res_0', 'decimal', 18, 0, 0, 0); 1095 ! 1093 insert into sys.args values (32405, 274, 'res_0', 'decimal', 18, 0, 0, 0); 1093
1096 insert into sys.args values (32408, 274, 'arg_1', 'decimal', 18, 0, 1, 1); 1096 ! 1094 insert into sys.args values (32406, 274, 'arg_1', 'tinyint', 8, 0, 1, 1); 1094
1097 insert into sys.args values (32409, 274, 'arg_2', 'tinyint', 8, 0, 1, 2); 1097 ! 1095 insert into sys.args values (32407, 274, 'arg_2', 'decimal', 18, 0, 1, 2); 1095
1098 insert into sys.functions values (275, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1098 ! 1096 insert into sys.functions values (275, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1096
1099 insert into sys.args values (32410, 275, 'res_0', 'decimal', 18, 0, 0, 0); 1099 ! 1097 insert into sys.args values (32408, 275, 'res_0', 'decimal', 18, 0, 0, 0); 1097
1100 insert into sys.args values (32411, 275, 'arg_1', 'decimal', 18, 0, 1, 1); 1100 ! 1098 insert into sys.args values (32409, 275, 'arg_1', 'decimal', 18, 0, 1, 1); 1098
1101 insert into sys.args values (32412, 275, 'arg_2', 'smallint', 16, 0, 1, 2); 1101 ! 1099 insert into sys.args values (32410, 275, 'arg_2', 'tinyint', 8, 0, 1, 2); 1099
1102 insert into sys.functions values (276, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1102 1100 insert into sys.functions values (276, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1100
1103 insert into sys.args values (32413, 276, 'res_0', 'decimal', 18, 0, 0, 0); 1103 ! 1101 insert into sys.args values (32411, 276, 'res_0', 'decimal', 18, 0, 0, 0); 1101
1104 insert into sys.args values (32414, 276, 'arg_1', 'smallint', 16, 0, 1, 1); 1104 ! 1102 insert into sys.args values (32412, 276, 'arg_1', 'decimal', 18, 0, 1, 1); 1102
1105 insert into sys.args values (32415, 276, 'arg_2', 'decimal', 18, 0, 1, 2); 1105 ! 1103 insert into sys.args values (32413, 276, 'arg_2', 'smallint', 16, 0, 1, 2); 1103
1106 insert into sys.functions values (277, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1106 ! 1104 insert into sys.functions values (277, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1104
1107 insert into sys.args values (32416, 277, 'res_0', 'decimal', 18, 0, 0, 0); 1107 ! 1105 insert into sys.args values (32414, 277, 'res_0', 'decimal', 18, 0, 0, 0); 1105
1108 insert into sys.args values (32417, 277, 'arg_1', 'decimal', 18, 0, 1, 1); 1108 ! 1106 insert into sys.args values (32415, 277, 'arg_1', 'smallint', 16, 0, 1, 1); 1106
1109 insert into sys.args values (32418, 277, 'arg_2', 'smallint', 16, 0, 1, 2); 1109 ! 1107 insert into sys.args values (32416, 277, 'arg_2', 'decimal', 18, 0, 1, 2); 1107
1110 insert into sys.functions values (278, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1110 ! 1108 insert into sys.functions values (278, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1108
1111 insert into sys.args values (32419, 278, 'res_0', 'decimal', 18, 0, 0, 0); 1111 ! 1109 insert into sys.args values (32417, 278, 'res_0', 'decimal', 18, 0, 0, 0); 1109
1112 insert into sys.args values (32420, 278, 'arg_1', 'decimal', 18, 0, 1, 1); 1112 ! 1110 insert into sys.args values (32418, 278, 'arg_1', 'decimal', 18, 0, 1, 1); 1110
1113 insert into sys.args values (32421, 278, 'arg_2', 'int', 32, 0, 1, 2); 1113 ! 1111 insert into sys.args values (32419, 278, 'arg_2', 'smallint', 16, 0, 1, 2); 1111
1114 insert into sys.functions values (279, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1114 1112 insert into sys.functions values (279, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1112
1115 insert into sys.args values (32422, 279, 'res_0', 'decimal', 18, 0, 0, 0); 1115 ! 1113 insert into sys.args values (32420, 279, 'res_0', 'decimal', 18, 0, 0, 0); 1113
1116 insert into sys.args values (32423, 279, 'arg_1', 'int', 32, 0, 1, 1); 1116 ! 1114 insert into sys.args values (32421, 279, 'arg_1', 'decimal', 18, 0, 1, 1); 1114
1117 insert into sys.args values (32424, 279, 'arg_2', 'decimal', 18, 0, 1, 2); 1117 ! 1115 insert into sys.args values (32422, 279, 'arg_2', 'int', 32, 0, 1, 2); 1115
1118 insert into sys.functions values (280, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1118 ! 1116 insert into sys.functions values (280, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1116
1119 insert into sys.args values (32425, 280, 'res_0', 'decimal', 18, 0, 0, 0); 1119 ! 1117 insert into sys.args values (32423, 280, 'res_0', 'decimal', 18, 0, 0, 0); 1117
1120 insert into sys.args values (32426, 280, 'arg_1', 'decimal', 18, 0, 1, 1); 1120 ! 1118 insert into sys.args values (32424, 280, 'arg_1', 'int', 32, 0, 1, 1); 1118
1121 insert into sys.args values (32427, 280, 'arg_2', 'int', 32, 0, 1, 2); 1121 ! 1119 insert into sys.args values (32425, 280, 'arg_2', 'decimal', 18, 0, 1, 2); 1119
1122 insert into sys.functions values (281, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1122 ! 1120 insert into sys.functions values (281, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1120
1123 insert into sys.args values (32428, 281, 'res_0', 'decimal', 9, 0, 0, 0); 1123 ! 1121 insert into sys.args values (32426, 281, 'res_0', 'decimal', 18, 0, 0, 0); 1121
1124 insert into sys.args values (32429, 281, 'arg_1', 'decimal', 9, 0, 1, 1); 1124 ! 1122 insert into sys.args values (32427, 281, 'arg_1', 'decimal', 18, 0, 1, 1); 1122
1125 insert into sys.args values (32430, 281, 'arg_2', 'decimal', 4, 0, 1, 2); 1125 ! 1123 insert into sys.args values (32428, 281, 'arg_2', 'int', 32, 0, 1, 2); 1123
1126 insert into sys.functions values (282, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1126 ! 1124 insert into sys.functions values (282, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1124
1127 insert into sys.args values (32431, 282, 'res_0', 'decimal', 9, 0, 0, 0); 1127 ! 1125 insert into sys.args values (32429, 282, 'res_0', 'decimal', 9, 0, 0, 0); 1125
1128 insert into sys.args values (32432, 282, 'arg_1', 'decimal', 9, 0, 1, 1); 1128 ! 1126 insert into sys.args values (32430, 282, 'arg_1', 'decimal', 9, 0, 1, 1); 1126
1129 insert into sys.args values (32433, 282, 'arg_2', 'decimal', 4, 0, 1, 2); 1129 ! 1127 insert into sys.args values (32431, 282, 'arg_2', 'decimal', 4, 0, 1, 2); 1127
1130 insert into sys.functions values (283, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1130 ! 1128 insert into sys.functions values (283, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1128
1131 insert into sys.args values (32434, 283, 'res_0', 'decimal', 18, 0, 0, 0); 1131 ! 1129 insert into sys.args values (32432, 283, 'res_0', 'decimal', 9, 0, 0, 0); 1129
1132 insert into sys.args values (32435, 283, 'arg_1', 'decimal', 18, 0, 1, 1); 1132 ! 1130 insert into sys.args values (32433, 283, 'arg_1', 'decimal', 9, 0, 1, 1); 1130
1133 insert into sys.args values (32436, 283, 'arg_2', 'decimal', 4, 0, 1, 2); 1133 ! 1131 insert into sys.args values (32434, 283, 'arg_2', 'decimal', 4, 0, 1, 2); 1131
1134 insert into sys.functions values (284, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1134 ! 1132 insert into sys.functions values (284, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1132
1135 insert into sys.args values (32437, 284, 'res_0', 'decimal', 18, 0, 0, 0); 1135 ! 1133 insert into sys.args values (32435, 284, 'res_0', 'decimal', 18, 0, 0, 0); 1133
1136 insert into sys.args values (32438, 284, 'arg_1', 'decimal', 18, 0, 1, 1); 1136 ! 1134 insert into sys.args values (32436, 284, 'arg_1', 'decimal', 18, 0, 1, 1); 1134
1137 insert into sys.args values (32439, 284, 'arg_2', 'decimal', 4, 0, 1, 2); 1137 ! 1135 insert into sys.args values (32437, 284, 'arg_2', 'decimal', 4, 0, 1, 2); 1135
1138 insert into sys.functions values (285, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1138 ! 1136 insert into sys.functions values (285, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1136
1139 insert into sys.args values (32440, 285, 'res_0', 'decimal', 18, 0, 0, 0); 1139 ! 1137 insert into sys.args values (32438, 285, 'res_0', 'decimal', 18, 0, 0, 0); 1137
1140 insert into sys.args values (32441, 285, 'arg_1', 'decimal', 18, 0, 1, 1); 1140 ! 1138 insert into sys.args values (32439, 285, 'arg_1', 'decimal', 18, 0, 1, 1); 1138
1141 insert into sys.args values (32442, 285, 'arg_2', 'decimal', 9, 0, 1, 2); 1141 ! 1139 insert into sys.args values (32440, 285, 'arg_2', 'decimal', 4, 0, 1, 2); 1139
1142 insert into sys.functions values (286, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1142 ! 1140 insert into sys.functions values (286, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1140
1143 insert into sys.args values (32443, 286, 'res_0', 'decimal', 18, 0, 0, 0); 1143 ! 1141 insert into sys.args values (32441, 286, 'res_0', 'decimal', 18, 0, 0, 0); 1141
1144 insert into sys.args values (32444, 286, 'arg_1', 'decimal', 18, 0, 1, 1); 1144 ! 1142 insert into sys.args values (32442, 286, 'arg_1', 'decimal', 18, 0, 1, 1); 1142
1145 insert into sys.args values (32445, 286, 'arg_2', 'decimal', 9, 0, 1, 2); 1145 ! 1143 insert into sys.args values (32443, 286, 'arg_2', 'decimal', 9, 0, 1, 2); 1143
1146 insert into sys.functions values (287, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1146 ! 1144 insert into sys.functions values (287, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1144
1147 insert into sys.args values (32446, 287, 'res_0', 'oid', 63, 0, 0, 0); 1147 ! 1145 insert into sys.args values (32444, 287, 'res_0', 'decimal', 18, 0, 0, 0); 1145
1148 insert into sys.args values (32447, 287, 'arg_1', 'oid', 63, 0, 1, 1); 1148 ! 1146 insert into sys.args values (32445, 287, 'arg_1', 'decimal', 18, 0, 1, 1); 1146
1149 insert into sys.args values (32448, 287, 'arg_2', 'oid', 63, 0, 1, 2); 1149 ! 1147 insert into sys.args values (32446, 287, 'arg_2', 'decimal', 9, 0, 1, 2); 1147
1150 insert into sys.functions values (288, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1150 ! 1148 insert into sys.functions values (288, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1148
1151 insert into sys.args values (32449, 288, 'res_0', 'oid', 63, 0, 0, 0); 1151 ! 1149 insert into sys.args values (32447, 288, 'res_0', 'oid', 63, 0, 0, 0); 1149
1152 insert into sys.args values (32450, 288, 'arg_1', 'oid', 63, 0, 1, 1); 1152 ! 1150 insert into sys.args values (32448, 288, 'arg_1', 'oid', 63, 0, 1, 1); 1150
1153 insert into sys.args values (32451, 288, 'arg_2', 'oid', 63, 0, 1, 2); 1153 ! 1151 insert into sys.args values (32449, 288, 'arg_2', 'oid', 63, 0, 1, 2); 1151
1154 insert into sys.functions values (289, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1154 ! 1152 insert into sys.functions values (289, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1152
1155 insert into sys.args values (32452, 289, 'res_0', 'oid', 63, 0, 0, 0); 1155 ! 1153 insert into sys.args values (32450, 289, 'res_0', 'oid', 63, 0, 0, 0); 1153
1156 insert into sys.args values (32453, 289, 'arg_1', 'oid', 63, 0, 1, 1); 1156 ! 1154 insert into sys.args values (32451, 289, 'arg_1', 'oid', 63, 0, 1, 1); 1154
1157 insert into sys.args values (32454, 289, 'arg_2', 'oid', 63, 0, 1, 2); 1157 ! 1155 insert into sys.args values (32452, 289, 'arg_2', 'oid', 63, 0, 1, 2); 1155
1158 insert into sys.functions values (290, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1158 ! 1156 insert into sys.functions values (290, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1156
1159 insert into sys.args values (32455, 290, 'res_0', 'oid', 63, 0, 0, 0); 1159 ! 1157 insert into sys.args values (32453, 290, 'res_0', 'oid', 63, 0, 0, 0); 1157
1160 insert into sys.args values (32456, 290, 'arg_1', 'oid', 63, 0, 1, 1); 1160 ! 1158 insert into sys.args values (32454, 290, 'arg_1', 'oid', 63, 0, 1, 1); 1158
1161 insert into sys.args values (32457, 290, 'arg_2', 'oid', 63, 0, 1, 2); 1161 ! 1159 insert into sys.args values (32455, 290, 'arg_2', 'oid', 63, 0, 1, 2); 1159
1162 insert into sys.functions values (291, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1162 ! 1160 insert into sys.functions values (291, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1160
1163 insert into sys.args values (32458, 291, 'res_0', 'oid', 63, 0, 0, 0); 1163 ! 1161 insert into sys.args values (32456, 291, 'res_0', 'oid', 63, 0, 0, 0); 1161
1164 insert into sys.args values (32459, 291, 'arg_1', 'oid', 63, 0, 1, 1); 1164 ! 1162 insert into sys.args values (32457, 291, 'arg_1', 'oid', 63, 0, 1, 1); 1162
1165 insert into sys.args values (32460, 291, 'arg_2', 'oid', 63, 0, 1, 2); 1165 ! 1163 insert into sys.args values (32458, 291, 'arg_2', 'oid', 63, 0, 1, 2); 1163
1166 insert into sys.functions values (292, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1166 ! 1164 insert into sys.functions values (292, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1164
1167 insert into sys.args values (32461, 292, 'res_0', 'oid', 63, 0, 0, 0); 1167 ! 1165 insert into sys.args values (32459, 292, 'res_0', 'oid', 63, 0, 0, 0); 1165
1168 insert into sys.args values (32462, 292, 'arg_1', 'oid', 63, 0, 1, 1); 1168 ! 1166 insert into sys.args values (32460, 292, 'arg_1', 'oid', 63, 0, 1, 1); 1166
1169 insert into sys.args values (32463, 292, 'arg_2', 'oid', 63, 0, 1, 2); 1169 ! 1167 insert into sys.args values (32461, 292, 'arg_2', 'oid', 63, 0, 1, 2); 1167
1170 insert into sys.functions values (293, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1170 ! 1168 insert into sys.functions values (293, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1168
1171 insert into sys.args values (32464, 293, 'res_0', 'oid', 63, 0, 0, 0); 1171 ! 1169 insert into sys.args values (32462, 293, 'res_0', 'oid', 63, 0, 0, 0); 1169
1172 insert into sys.args values (32465, 293, 'arg_1', 'oid', 63, 0, 1, 1); 1172 ! 1170 insert into sys.args values (32463, 293, 'arg_1', 'oid', 63, 0, 1, 1); 1170
1173 insert into sys.args values (32466, 293, 'arg_2', 'oid', 63, 0, 1, 2); 1173 ! 1171 insert into sys.args values (32464, 293, 'arg_2', 'oid', 63, 0, 1, 2); 1171
1174 insert into sys.functions values (294, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1174 ! 1172 insert into sys.functions values (294, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1172
1175 insert into sys.args values (32467, 294, 'res_0', 'oid', 63, 0, 0, 0); 1175 ! 1173 insert into sys.args values (32465, 294, 'res_0', 'oid', 63, 0, 0, 0); 1173
1176 insert into sys.args values (32468, 294, 'arg_1', 'oid', 63, 0, 1, 1); 1176 ! 1174 insert into sys.args values (32466, 294, 'arg_1', 'oid', 63, 0, 1, 1); 1174
1177 insert into sys.functions values (295, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1177 ! 1175 insert into sys.args values (32467, 294, 'arg_2', 'oid', 63, 0, 1, 2); 1175
1178 insert into sys.args values (32469, 295, 'res_0', 'oid', 63, 0, 0, 0); 1178 ! 1176 insert into sys.functions values (295, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1176
1179 insert into sys.args values (32470, 295, 'arg_1', 'oid', 63, 0, 1, 1); 1179 ! 1177 insert into sys.args values (32468, 295, 'res_0', 'oid', 63, 0, 0, 0); 1177
1180 insert into sys.args values (32471, 295, 'arg_2', 'int', 32, 0, 1, 2); 1180 ! 1178 insert into sys.args values (32469, 295, 'arg_1', 'oid', 63, 0, 1, 1); 1178
1181 insert into sys.functions values (296, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1181 ! 1179 insert into sys.functions values (296, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1179
1182 insert into sys.args values (32472, 296, 'res_0', 'oid', 63, 0, 0, 0); 1182 ! 1180 insert into sys.args values (32470, 296, 'res_0', 'oid', 63, 0, 0, 0); 1180
1183 insert into sys.args values (32473, 296, 'arg_1', 'oid', 63, 0, 1, 1); 1183 ! 1181 insert into sys.args values (32471, 296, 'arg_1', 'oid', 63, 0, 1, 1); 1181
1184 insert into sys.args values (32474, 296, 'arg_2', 'int', 32, 0, 1, 2); 1184 ! 1182 insert into sys.args values (32472, 296, 'arg_2', 'int', 32, 0, 1, 2); 1182
1185 insert into sys.functions values (297, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1185 ! 1183 insert into sys.functions values (297, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1183
1186 insert into sys.args values (32475, 297, 'res_0', 'oid', 63, 0, 0, 0); 1186 ! 1184 insert into sys.args values (32473, 297, 'res_0', 'oid', 63, 0, 0, 0); 1184
1187 insert into sys.args values (32476, 297, 'arg_1', 'oid', 63, 0, 1, 1); 1187 ! 1185 insert into sys.args values (32474, 297, 'arg_1', 'oid', 63, 0, 1, 1); 1185
insert into sys. + 1186 insert into sys.args values (32475, 297, 'arg_2', 'int', 32, 0, 1, 2); 1186
1188 functions values (298, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1188 ! 1187 insert into sys.functions values (298, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1187
1189 insert into sys.args values (32477, 298, 'res_0', 'oid', 63, 0, 0, 0); 1189 ! 1188 insert into sys.args values (32476, 298, 'res_0', 'oid', 63, 0, 0, 0); 1188
1190 insert into sys.args values (32478, 298, 'arg_1', 'oid', 63, 0, 1, 1); 1190 ! 1189 insert into sys.args values (32477, 298, 'arg_1', 'oid', 63, 0, 1, 1); 1189
1191 insert into sys.functions values (299, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1191 ! 1190 insert into sys.functions values (299, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1190
1192 insert into sys.args values (32479, 299, 'res_0', 'tinyint', 8, 0, 0, 0); 1192 ! 1191 insert into sys.args values (32478, 299, 'res_0', 'oid', 63, 0, 0, 0); 1191
1193 insert into sys.args values (32480, 299, 'arg_1', 'oid', 63, 0, 1, 1); 1193 ! 1192 insert into sys.args values (32479, 299, 'arg_1', 'oid', 63, 0, 1, 1); 1192
1194 insert into sys.functions values (300, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1194 ! 1193 insert into sys.functions values (300, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1193
1195 insert into sys.args values (32481, 300, 'res_0', 'oid', 63, 0, 0, 0); 1195 -
1196 insert into sys.args values (32482, 300, 'arg_1', 'oid', 63, 0, 1, 1); 1196 ! 1194 insert into sys.args values (32480, 300, 'res_0', 'tinyint', 8, 0, 0, 0); 1194
1197 insert into sys.args values (32483, 300, 'arg_2', 'oid', 63, 0, 1, 2); 1197 ! 1195 insert into sys.args values (32481, 300, 'arg_1', 'oid', 63, 0, 1, 1); 1195
1198 insert into sys.functions values (301, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1198 ! 1196 insert into sys.functions values (301, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1196
1199 insert into sys.args values (32484, 301, 'res_0', 'oid', 63, 0, 0, 0); 1199 ! 1197 insert into sys.args values (32482, 301, 'res_0', 'oid', 63, 0, 0, 0); 1197
1200 insert into sys.args values (32485, 301, 'arg_1', 'oid', 63, 0, 1, 1); 1200 ! 1198 insert into sys.args values (32483, 301, 'arg_1', 'oid', 63, 0, 1, 1); 1198
1201 insert into sys.args values (32486, 301, 'arg_2', 'oid', 63, 0, 1, 2); 1201 ! 1199 insert into sys.args values (32484, 301, 'arg_2', 'oid', 63, 0, 1, 2); 1199
1202 insert into sys.functions values (302, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1202 ! 1200 insert into sys.functions values (302, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1200
1203 insert into sys.args values (32487, 302, 'res_0', 'month_interval', 32, 0, 0, 0); 1203 ! 1201 insert into sys.args values (32485, 302, 'res_0', 'oid', 63, 0, 0, 0); 1201
1204 insert into sys.args values (32488, 302, 'arg_1', 'month_interval', 32, 0, 1, 1); 1204 ! 1202 insert into sys.args values (32486, 302, 'arg_1', 'oid', 63, 0, 1, 1); 1202
1205 insert into sys.args values (32489, 302, 'arg_2', 'oid', 63, 0, 1, 2); 1205 ! 1203 insert into sys.args values (32487, 302, 'arg_2', 'oid', 63, 0, 1, 2); 1203
1206 insert into sys.functions values (303, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1206 ! 1204 insert into sys.functions values (303, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1204
1207 insert into sys.args values (32490, 303, 'res_0', 'month_interval', 32, 0, 0, 0); 1207 ! 1205 insert into sys.args values (32488, 303, 'res_0', 'month_interval', 32, 0, 0, 0); 1205
1208 insert into sys.args values (32491, 303, 'arg_1', 'month_interval', 32, 0, 1, 1); 1208 ! 1206 insert into sys.args values (32489, 303, 'arg_1', 'month_interval', 32, 0, 1, 1); 1206
1209 insert into sys.args values (32492, 303, 'arg_2', 'oid', 63, 0, 1, 2); 1209 ! 1207 insert into sys.args values (32490, 303, 'arg_2', 'oid', 63, 0, 1, 2); 1207
1210 insert into sys.functions values (304, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1210 ! 1208 insert into sys.functions values (304, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1208
1211 insert into sys.args values (32493, 304, 'res_0', 'sec_interval', 13, 0, 0, 0); 1211 ! 1209 insert into sys.args values (32491, 304, 'res_0', 'month_interval', 32, 0, 0, 0); 1209
1212 insert into sys.args values (32494, 304, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1212 ! 1210 insert into sys.args values (32492, 304, 'arg_1', 'month_interval', 32, 0, 1, 1); 1210
1213 insert into sys.args values (32495, 304, 'arg_2', 'oid', 63, 0, 1, 2); 1213 ! 1211 insert into sys.args values (32493, 304, 'arg_2', 'oid', 63, 0, 1, 2); 1211
1214 insert into sys.functions values (305, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1214 ! 1212 insert into sys.functions values (305, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1212
1215 insert into sys.args values (32496, 305, 'res_0', 'sec_interval', 13, 0, 0, 0); 1215 ! 1213 insert into sys.args values (32494, 305, 'res_0', 'sec_interval', 13, 0, 0, 0); 1213
1216 insert into sys.args values (32497, 305, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1216 ! 1214 insert into sys.args values (32495, 305, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1214
1217 insert into sys.args values (32498, 305, 'arg_2', 'oid', 63, 0, 1, 2); 1217 ! 1215 insert into sys.args values (32496, 305, 'arg_2', 'oid', 63, 0, 1, 2); 1215
1218 insert into sys.functions values (306, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1218 ! 1216 insert into sys.functions values (306, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1216
1219 insert into sys.args values (32499, 306, 'res_0', 'tinyint', 8, 0, 0, 0); 1219 ! 1217 insert into sys.args values (32497, 306, 'res_0', 'sec_interval', 13, 0, 0, 0); 1217
1220 insert into sys.args values (32500, 306, 'arg_1', 'tinyint', 8, 0, 1, 1); 1220 ! 1218 insert into sys.args values (32498, 306, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1218
1221 insert into sys.args values (32501, 306, 'arg_2', 'tinyint', 8, 0, 1, 2); 1221 ! 1219 insert into sys.args values (32499, 306, 'arg_2', 'oid', 63, 0, 1, 2); 1219
1222 insert into sys.functions values (307, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1222 ! 1220 insert into sys.functions values (307, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1220
1223 insert into sys.args values (32502, 307, 'res_0', 'tinyint', 8, 0, 0, 0); 1223 ! 1221 insert into sys.args values (32500, 307, 'res_0', 'tinyint', 8, 0, 0, 0); 1221
1224 insert into sys.args values (32503, 307, 'arg_1', 'tinyint', 8, 0, 1, 1); 1224 ! 1222 insert into sys.args values (32501, 307, 'arg_1', 'tinyint', 8, 0, 1, 1); 1222
1225 insert into sys.args values (32504, 307, 'arg_2', 'tinyint', 8, 0, 1, 2); 1225 ! 1223 insert into sys.args values (32502, 307, 'arg_2', 'tinyint', 8, 0, 1, 2); 1223
1226 insert into sys.functions values (308, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1226 ! 1224 insert into sys.functions values (308, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1224
1227 insert into sys.args values (32505, 308, 'res_0', 'tinyint', 8, 0, 0, 0); 1227 ! 1225 insert into sys.args values (32503, 308, 'res_0', 'tinyint', 8, 0, 0, 0); 1225
1228 insert into sys.args values (32506, 308, 'arg_1', 'tinyint', 8, 0, 1, 1); 1228 ! 1226 insert into sys.args values (32504, 308, 'arg_1', 'tinyint', 8, 0, 1, 1); 1226
1229 insert into sys.args values (32507, 308, 'arg_2', 'tinyint', 8, 0, 1, 2); 1229 ! 1227 insert into sys.args values (32505, 308, 'arg_2', 'tinyint', 8, 0, 1, 2); 1227
1230 insert into sys.functions values (309, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1230 ! 1228 insert into sys.functions values (309, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1228
1231 insert into sys.args values (32508, 309, 'res_0', 'tinyint', 8, 0, 0, 0); 1231 ! 1229 insert into sys.args values (32506, 309, 'res_0', 'tinyint', 8, 0, 0, 0); 1229
1232 insert into sys.args values (32509, 309, 'arg_1', 'tinyint', 8, 0, 1, 1); 1232 ! 1230 insert into sys.args values (32507, 309, 'arg_1', 'tinyint', 8, 0, 1, 1); 1230
1233 insert into sys.args values (32510, 309, 'arg_2', 'tinyint', 8, 0, 1, 2); 1233 ! 1231 insert into sys.args values (32508, 309, 'arg_2', 'tinyint', 8, 0, 1, 2); 1231
1234 insert into sys.functions values (310, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1234 ! 1232 insert into sys.functions values (310, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1232
1235 insert into sys.args values (32511, 310, 'res_0', 'tinyint', 8, 0, 0, 0); 1235 ! 1233 insert into sys.args values (32509, 310, 'res_0', 'tinyint', 8, 0, 0, 0); 1233
1236 insert into sys.args values (32512, 310, 'arg_1', 'tinyint', 8, 0, 1, 1); 1236 ! 1234 insert into sys.args values (32510, 310, 'arg_1', 'tinyint', 8, 0, 1, 1); 1234
1237 insert into sys.args values (32513, 310, 'arg_2', 'tinyint', 8, 0, 1, 2); 1237 ! 1235 insert into sys.args values (32511, 310, 'arg_2', 'tinyint', 8, 0, 1, 2); 1235
1238 insert into sys.functions values (311, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1238 ! 1236 insert into sys.functions values (311, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1236
1239 insert into sys.args values (32514, 311, 'res_0', 'tinyint', 8, 0, 0, 0); 1239 ! 1237 insert into sys.args values (32512, 311, 'res_0', 'tinyint', 8, 0, 0, 0); 1237
1240 insert into sys.args values (32515, 311, 'arg_1', 'tinyint', 8, 0, 1, 1); 1240 ! 1238 insert into sys.args values (32513, 311, 'arg_1', 'tinyint', 8, 0, 1, 1); 1238
1241 insert into sys.args values (32516, 311, 'arg_2', 'tinyint', 8, 0, 1, 2); 1241 ! 1239 insert into sys.args values (32514, 311, 'arg_2', 'tinyint', 8, 0, 1, 2); 1239
1242 insert into sys.functions values (312, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1242 ! 1240 insert into sys.functions values (312, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1240
1243 insert into sys.args values (32517, 312, 'res_0', 'tinyint', 8, 0, 0, 0); 1243 ! 1241 insert into sys.args values (32515, 312, 'res_0', 'tinyint', 8, 0, 0, 0); 1241
1244 insert into sys.args values (32518, 312, 'arg_1', 'tinyint', 8, 0, 1, 1); 1244 ! 1242 insert into sys.args values (32516, 312, 'arg_1', 'tinyint', 8, 0, 1, 1); 1242
1245 insert into sys.args values (32519, 312, 'arg_2', 'tinyint', 8, 0, 1, 2); 1245 ! 1243 insert into sys.args values (32517, 312, 'arg_2', 'tinyint', 8, 0, 1, 2); 1243
1246 insert into sys.functions values (313, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1246 ! 1244 insert into sys.functions values (313, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1244
1247 insert into sys.args values (32520, 313, 'res_0', 'tinyint', 8, 0, 0, 0); 1247 ! 1245 insert into sys.args values (32518, 313, 'res_0', 'tinyint', 8, 0, 0, 0); 1245
1248 insert into sys.args values (32521, 313, 'arg_1', 'tinyint', 8, 0, 1, 1); 1248 ! 1246 insert into sys.args values (32519, 313, 'arg_1', 'tinyint', 8, 0, 1, 1); 1246
1249 insert into sys.functions values (314, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1249 ! 1247 insert into sys.args values (32520, 313, 'arg_2', 'tinyint', 8, 0, 1, 2); 1247
1250 insert into sys.args values (32522, 314, 'res_0', 'tinyint', 8, 0, 0, 0); 1250 ! 1248 insert into sys.functions values (314, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1248
1251 insert into sys.args values (32523, 314, 'arg_1', 'tinyint', 8, 0, 1, 1); 1251 ! 1249 insert into sys.args values (32521, 314, 'res_0', 'tinyint', 8, 0, 0, 0); 1249
1252 insert into sys.args values (32524, 314, 'arg_2', 'int', 32, 0, 1, 2); 1252 ! 1250 insert into sys.args values (32522, 314, 'arg_1', 'tinyint', 8, 0, 1, 1); 1250
1253 insert into sys.functions values (315, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1253 ! 1251 insert into sys.functions values (315, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1251
1254 insert into sys.args values (32525, 315, 'res_0', 'tinyint', 8, 0, 0, 0); 1254 ! 1252 insert into sys.args values (32523, 315, 'res_0', 'tinyint', 8, 0, 0, 0); 1252
1255 insert into sys.args values (32526, 315, 'arg_1', 'tinyint', 8, 0, 1, 1); 1255 ! 1253 insert into sys.args values (32524, 315, 'arg_1', 'tinyint', 8, 0, 1, 1); 1253
1256 insert into sys.args values (32527, 315, 'arg_2', 'int', 32, 0, 1, 2); 1256 ! 1254 insert into sys.args values (32525, 315, 'arg_2', 'int', 32, 0, 1, 2); 1254
1257 insert into sys.functions values (316, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1257 ! 1255 insert into sys.functions values (316, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1255
1258 insert into sys.args values (32528, 316, 'res_0', 'tinyint', 8, 0, 0, 0); 1258 ! 1256 insert into sys.args values (32526, 316, 'res_0', 'tinyint', 8, 0, 0, 0); 1256
1259 insert into sys.args values (32529, 316, 'arg_1', 'tinyint', 8, 0, 1, 1); 1259 ! 1257 insert into sys.args values (32527, 316, 'arg_1', 'tinyint', 8, 0, 1, 1); 1257
insert into sys. + 1258 insert into sys.args values (32528, 316, 'arg_2', 'int', 32, 0, 1, 2); 1258
1260 functions values (317, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1260 ! 1259 insert into sys.functions values (317, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1259
1261 insert into sys.args values (32530, 317, 'res_0', 'tinyint', 8, 0, 0, 0); 1261 ! 1260 insert into sys.args values (32529, 317, 'res_0', 'tinyint', 8, 0, 0, 0); 1260
1262 insert into sys.args values (32531, 317, 'arg_1', 'tinyint', 8, 0, 1, 1); 1262 ! 1261 insert into sys.args values (32530, 317, 'arg_1', 'tinyint', 8, 0, 1, 1); 1261
1263 insert into sys.functions values (318, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1263 ! 1262 insert into sys.functions values (318, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1262
1264 insert into sys.args values (32532, 318, 'res_0', 'tinyint', 8, 0, 0, 0); 1264 ! 1263 insert into sys.args values (32531, 318, 'res_0', 'tinyint', 8, 0, 0, 0); 1263
1265 insert into sys.args values (32533, 318, 'arg_1', 'tinyint', 8, 0, 1, 1); 1265 ! 1264 insert into sys.args values (32532, 318, 'arg_1', 'tinyint', 8, 0, 1, 1); 1264
1266 insert into sys.functions values (319, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1266 ! 1265 insert into sys.functions values (319, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1265
1267 insert into sys.args values (32534, 319, 'res_0', 'tinyint', 8, 0, 0, 0); 1267 -
1268 insert into sys.args values (32535, 319, 'arg_1', 'tinyint', 8, 0, 1, 1); 1268 ! 1266 insert into sys.args values (32533, 319, 'res_0', 'tinyint', 8, 0, 0, 0); 1266
1269 insert into sys.args values (32536, 319, 'arg_2', 'tinyint', 8, 0, 1, 2); 1269 ! 1267 insert into sys.args values (32534, 319, 'arg_1', 'tinyint', 8, 0, 1, 1); 1267
1270 insert into sys.functions values (320, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1270 ! 1268 insert into sys.functions values (320, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1268
1271 insert into sys.args values (32537, 320, 'res_0', 'tinyint', 8, 0, 0, 0); 1271 ! 1269 insert into sys.args values (32535, 320, 'res_0', 'tinyint', 8, 0, 0, 0); 1269
1272 insert into sys.args values (32538, 320, 'arg_1', 'tinyint', 8, 0, 1, 1); 1272 ! 1270 insert into sys.args values (32536, 320, 'arg_1', 'tinyint', 8, 0, 1, 1); 1270
1273 insert into sys.args values (32539, 320, 'arg_2', 'tinyint', 8, 0, 1, 2); 1273 ! 1271 insert into sys.args values (32537, 320, 'arg_2', 'tinyint', 8, 0, 1, 2); 1271
1274 insert into sys.functions values (321, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1274 ! 1272 insert into sys.functions values (321, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1272
1275 insert into sys.args values (32540, 321, 'res_0', 'month_interval', 32, 0, 0, 0); 1275 ! 1273 insert into sys.args values (32538, 321, 'res_0', 'tinyint', 8, 0, 0, 0); 1273
1276 insert into sys.args values (32541, 321, 'arg_1', 'month_interval', 32, 0, 1, 1); 1276 ! 1274 insert into sys.args values (32539, 321, 'arg_1', 'tinyint', 8, 0, 1, 1); 1274
1277 insert into sys.args values (32542, 321, 'arg_2', 'tinyint', 8, 0, 1, 2); 1277 ! 1275 insert into sys.args values (32540, 321, 'arg_2', 'tinyint', 8, 0, 1, 2); 1275
1278 insert into sys.functions values (322, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1278 ! 1276 insert into sys.functions values (322, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1276
1279 insert into sys.args values (32543, 322, 'res_0', 'month_interval', 32, 0, 0, 0); 1279 ! 1277 insert into sys.args values (32541, 322, 'res_0', 'month_interval', 32, 0, 0, 0); 1277
1280 insert into sys.args values (32544, 322, 'arg_1', 'month_interval', 32, 0, 1, 1); 1280 ! 1278 insert into sys.args values (32542, 322, 'arg_1', 'month_interval', 32, 0, 1, 1); 1278
1281 insert into sys.args values (32545, 322, 'arg_2', 'tinyint', 8, 0, 1, 2); 1281 ! 1279 insert into sys.args values (32543, 322, 'arg_2', 'tinyint', 8, 0, 1, 2); 1279
1282 insert into sys.functions values (323, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1282 ! 1280 insert into sys.functions values (323, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1280
1283 insert into sys.args values (32546, 323, 'res_0', 'sec_interval', 13, 0, 0, 0); 1283 ! 1281 insert into sys.args values (32544, 323, 'res_0', 'month_interval', 32, 0, 0, 0); 1281
1284 insert into sys.args values (32547, 323, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1284 ! 1282 insert into sys.args values (32545, 323, 'arg_1', 'month_interval', 32, 0, 1, 1); 1282
1285 insert into sys.args values (32548, 323, 'arg_2', 'tinyint', 8, 0, 1, 2); 1285 ! 1283 insert into sys.args values (32546, 323, 'arg_2', 'tinyint', 8, 0, 1, 2); 1283
1286 insert into sys.functions values (324, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1286 ! 1284 insert into sys.functions values (324, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1284
1287 insert into sys.args values (32549, 324, 'res_0', 'sec_interval', 13, 0, 0, 0); 1287 ! 1285 insert into sys.args values (32547, 324, 'res_0', 'sec_interval', 13, 0, 0, 0); 1285
1288 insert into sys.args values (32550, 324, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1288 ! 1286 insert into sys.args values (32548, 324, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1286
1289 insert into sys.args values (32551, 324, 'arg_2', 'tinyint', 8, 0, 1, 2); 1289 ! 1287 insert into sys.args values (32549, 324, 'arg_2', 'tinyint', 8, 0, 1, 2); 1287
1290 insert into sys.functions values (325, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1290 ! 1288 insert into sys.functions values (325, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1288
1291 insert into sys.args values (32552, 325, 'res_0', 'smallint', 16, 0, 0, 0); 1291 ! 1289 insert into sys.args values (32550, 325, 'res_0', 'sec_interval', 13, 0, 0, 0); 1289
1292 insert into sys.args values (32553, 325, 'arg_1', 'smallint', 16, 0, 1, 1); 1292 ! 1290 insert into sys.args values (32551, 325, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1290
1293 insert into sys.args values (32554, 325, 'arg_2', 'smallint', 16, 0, 1, 2); 1293 ! 1291 insert into sys.args values (32552, 325, 'arg_2', 'tinyint', 8, 0, 1, 2); 1291
1294 insert into sys.functions values (326, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1294 ! 1292 insert into sys.functions values (326, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1292
1295 insert into sys.args values (32555, 326, 'res_0', 'smallint', 16, 0, 0, 0); 1295 ! 1293 insert into sys.args values (32553, 326, 'res_0', 'smallint', 16, 0, 0, 0); 1293
1296 insert into sys.args values (32556, 326, 'arg_1', 'smallint', 16, 0, 1, 1); 1296 ! 1294 insert into sys.args values (32554, 326, 'arg_1', 'smallint', 16, 0, 1, 1); 1294
1297 insert into sys.args values (32557, 326, 'arg_2', 'smallint', 16, 0, 1, 2); 1297 ! 1295 insert into sys.args values (32555, 326, 'arg_2', 'smallint', 16, 0, 1, 2); 1295
1298 insert into sys.functions values (327, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1298 ! 1296 insert into sys.functions values (327, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1296
1299 insert into sys.args values (32558, 327, 'res_0', 'smallint', 16, 0, 0, 0); 1299 ! 1297 insert into sys.args values (32556, 327, 'res_0', 'smallint', 16, 0, 0, 0); 1297
1300 insert into sys.args values (32559, 327, 'arg_1', 'smallint', 16, 0, 1, 1); 1300 ! 1298 insert into sys.args values (32557, 327, 'arg_1', 'smallint', 16, 0, 1, 1); 1298
1301 insert into sys.args values (32560, 327, 'arg_2', 'smallint', 16, 0, 1, 2); 1301 ! 1299 insert into sys.args values (32558, 327, 'arg_2', 'smallint', 16, 0, 1, 2); 1299
1302 insert into sys.functions values (328, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1302 ! 1300 insert into sys.functions values (328, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1300
1303 insert into sys.args values (32561, 328, 'res_0', 'smallint', 16, 0, 0, 0); 1303 ! 1301 insert into sys.args values (32559, 328, 'res_0', 'smallint', 16, 0, 0, 0); 1301
1304 insert into sys.args values (32562, 328, 'arg_1', 'smallint', 16, 0, 1, 1); 1304 ! 1302 insert into sys.args values (32560, 328, 'arg_1', 'smallint', 16, 0, 1, 1); 1302
1305 insert into sys.args values (32563, 328, 'arg_2', 'smallint', 16, 0, 1, 2); 1305 ! 1303 insert into sys.args values (32561, 328, 'arg_2', 'smallint', 16, 0, 1, 2); 1303
1306 insert into sys.functions values (329, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1306 ! 1304 insert into sys.functions values (329, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1304
1307 insert into sys.args values (32564, 329, 'res_0', 'smallint', 16, 0, 0, 0); 1307 ! 1305 insert into sys.args values (32562, 329, 'res_0', 'smallint', 16, 0, 0, 0); 1305
1308 insert into sys.args values (32565, 329, 'arg_1', 'smallint', 16, 0, 1, 1); 1308 ! 1306 insert into sys.args values (32563, 329, 'arg_1', 'smallint', 16, 0, 1, 1); 1306
1309 insert into sys.args values (32566, 329, 'arg_2', 'smallint', 16, 0, 1, 2); 1309 ! 1307 insert into sys.args values (32564, 329, 'arg_2', 'smallint', 16, 0, 1, 2); 1307
1310 insert into sys.functions values (330, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1310 ! 1308 insert into sys.functions values (330, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1308
1311 insert into sys.args values (32567, 330, 'res_0', 'smallint', 16, 0, 0, 0); 1311 ! 1309 insert into sys.args values (32565, 330, 'res_0', 'smallint', 16, 0, 0, 0); 1309
1312 insert into sys.args values (32568, 330, 'arg_1', 'smallint', 16, 0, 1, 1); 1312 ! 1310 insert into sys.args values (32566, 330, 'arg_1', 'smallint', 16, 0, 1, 1); 1310
1313 insert into sys.args values (32569, 330, 'arg_2', 'smallint', 16, 0, 1, 2); 1313 ! 1311 insert into sys.args values (32567, 330, 'arg_2', 'smallint', 16, 0, 1, 2); 1311
1314 insert into sys.functions values (331, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1314 ! 1312 insert into sys.functions values (331, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1312
1315 insert into sys.args values (32570, 331, 'res_0', 'smallint', 16, 0, 0, 0); 1315 ! 1313 insert into sys.args values (32568, 331, 'res_0', 'smallint', 16, 0, 0, 0); 1313
1316 insert into sys.args values (32571, 331, 'arg_1', 'smallint', 16, 0, 1, 1); 1316 ! 1314 insert into sys.args values (32569, 331, 'arg_1', 'smallint', 16, 0, 1, 1); 1314
1317 insert into sys.args values (32572, 331, 'arg_2', 'smallint', 16, 0, 1, 2); 1317 ! 1315 insert into sys.args values (32570, 331, 'arg_2', 'smallint', 16, 0, 1, 2); 1315
1318 insert into sys.functions values (332, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1318 ! 1316 insert into sys.functions values (332, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1316
1319 insert into sys.args values (32573, 332, 'res_0', 'smallint', 16, 0, 0, 0); 1319 ! 1317 insert into sys.args values (32571, 332, 'res_0', 'smallint', 16, 0, 0, 0); 1317
1320 insert into sys.args values (32574, 332, 'arg_1', 'smallint', 16, 0, 1, 1); 1320 ! 1318 insert into sys.args values (32572, 332, 'arg_1', 'smallint', 16, 0, 1, 1); 1318
1321 insert into sys.functions values (333, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1321 ! 1319 insert into sys.args values (32573, 332, 'arg_2', 'smallint', 16, 0, 1, 2); 1319
1322 insert into sys.args values (32575, 333, 'res_0', 'smallint', 16, 0, 0, 0); 1322 ! 1320 insert into sys.functions values (333, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1320
1323 insert into sys.args values (32576, 333, 'arg_1', 'smallint', 16, 0, 1, 1); 1323 ! 1321 insert into sys.args values (32574, 333, 'res_0', 'smallint', 16, 0, 0, 0); 1321
1324 insert into sys.args values (32577, 333, 'arg_2', 'int', 32, 0, 1, 2); 1324 ! 1322 insert into sys.args values (32575, 333, 'arg_1', 'smallint', 16, 0, 1, 1); 1322
1325 insert into sys.functions values (334, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1325 ! 1323 insert into sys.functions values (334, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1323
1326 insert into sys.args values (32578, 334, 'res_0', 'smallint', 16, 0, 0, 0); 1326 ! 1324 insert into sys.args values (32576, 334, 'res_0', 'smallint', 16, 0, 0, 0); 1324
1327 insert into sys.args values (32579, 334, 'arg_1', 'smallint', 16, 0, 1, 1); 1327 ! 1325 insert into sys.args values (32577, 334, 'arg_1', 'smallint', 16, 0, 1, 1); 1325
1328 insert into sys.args values (32580, 334, 'arg_2', 'int', 32, 0, 1, 2); 1328 ! 1326 insert into sys.args values (32578, 334, 'arg_2', 'int', 32, 0, 1, 2); 1326
1329 insert into sys.functions values (335, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1329 ! 1327 insert into sys.functions values (335, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1327
1330 insert into sys.args values (32581, 335, 'res_0', 'smallint', 16, 0, 0, 0); 1330 ! 1328 insert into sys.args values (32579, 335, 'res_0', 'smallint', 16, 0, 0, 0); 1328
1331 insert into sys.args values (32582, 335, 'arg_1', 'smallint', 16, 0, 1, 1); 1331 ! 1329 insert into sys.args values (32580, 335, 'arg_1', 'smallint', 16, 0, 1, 1); 1329
insert into sys. + 1330 insert into sys.args values (32581, 335, 'arg_2', 'int', 32, 0, 1, 2); 1330
1332 functions values (336, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1332 ! 1331 insert into sys.functions values (336, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1331
1333 insert into sys.args values (32583, 336, 'res_0', 'smallint', 16, 0, 0, 0); 1333 ! 1332 insert into sys.args values (32582, 336, 'res_0', 'smallint', 16, 0, 0, 0); 1332
1334 insert into sys.args values (32584, 336, 'arg_1', 'smallint', 16, 0, 1, 1); 1334 ! 1333 insert into sys.args values (32583, 336, 'arg_1', 'smallint', 16, 0, 1, 1); 1333
1335 insert into sys.functions values (337, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1335 ! 1334 insert into sys.functions values (337, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1334
1336 insert into sys.args values (32585, 337, 'res_0', 'tinyint', 8, 0, 0, 0); 1336 ! 1335 insert into sys.args values (32584, 337, 'res_0', 'smallint', 16, 0, 0, 0); 1335
1337 insert into sys.args values (32586, 337, 'arg_1', 'smallint', 16, 0, 1, 1); 1337 ! 1336 insert into sys.args values (32585, 337, 'arg_1', 'smallint', 16, 0, 1, 1); 1336
1338 insert into sys.functions values (338, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1338 ! 1337 insert into sys.functions values (338, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1337
1339 insert into sys.args values (32587, 338, 'res_0', 'smallint', 16, 0, 0, 0); 1339 -
1340 insert into sys.args values (32588, 338, 'arg_1', 'smallint', 16, 0, 1, 1); 1340 ! 1338 insert into sys.args values (32586, 338, 'res_0', 'tinyint', 8, 0, 0, 0); 1338
1341 insert into sys.args values (32589, 338, 'arg_2', 'smallint', 16, 0, 1, 2); 1341 ! 1339 insert into sys.args values (32587, 338, 'arg_1', 'smallint', 16, 0, 1, 1); 1339
1342 insert into sys.functions values (339, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1342 ! 1340 insert into sys.functions values (339, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1340
1343 insert into sys.args values (32590, 339, 'res_0', 'smallint', 16, 0, 0, 0); 1343 ! 1341 insert into sys.args values (32588, 339, 'res_0', 'smallint', 16, 0, 0, 0); 1341
1344 insert into sys.args values (32591, 339, 'arg_1', 'smallint', 16, 0, 1, 1); 1344 ! 1342 insert into sys.args values (32589, 339, 'arg_1', 'smallint', 16, 0, 1, 1); 1342
1345 insert into sys.args values (32592, 339, 'arg_2', 'smallint', 16, 0, 1, 2); 1345 ! 1343 insert into sys.args values (32590, 339, 'arg_2', 'smallint', 16, 0, 1, 2); 1343
1346 insert into sys.functions values (340, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1346 ! 1344 insert into sys.functions values (340, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1344
1347 insert into sys.args values (32593, 340, 'res_0', 'month_interval', 32, 0, 0, 0); 1347 ! 1345 insert into sys.args values (32591, 340, 'res_0', 'smallint', 16, 0, 0, 0); 1345
1348 insert into sys.args values (32594, 340, 'arg_1', 'month_interval', 32, 0, 1, 1); 1348 ! 1346 insert into sys.args values (32592, 340, 'arg_1', 'smallint', 16, 0, 1, 1); 1346
1349 insert into sys.args values (32595, 340, 'arg_2', 'smallint', 16, 0, 1, 2); 1349 ! 1347 insert into sys.args values (32593, 340, 'arg_2', 'smallint', 16, 0, 1, 2); 1347
1350 insert into sys.functions values (341, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1350 ! 1348 insert into sys.functions values (341, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1348
1351 insert into sys.args values (32596, 341, 'res_0', 'month_interval', 32, 0, 0, 0); 1351 ! 1349 insert into sys.args values (32594, 341, 'res_0', 'month_interval', 32, 0, 0, 0); 1349
1352 insert into sys.args values (32597, 341, 'arg_1', 'month_interval', 32, 0, 1, 1); 1352 ! 1350 insert into sys.args values (32595, 341, 'arg_1', 'month_interval', 32, 0, 1, 1); 1350
1353 insert into sys.args values (32598, 341, 'arg_2', 'smallint', 16, 0, 1, 2); 1353 ! 1351 insert into sys.args values (32596, 341, 'arg_2', 'smallint', 16, 0, 1, 2); 1351
1354 insert into sys.functions values (342, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1354 ! 1352 insert into sys.functions values (342, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1352
1355 insert into sys.args values (32599, 342, 'res_0', 'sec_interval', 13, 0, 0, 0); 1355 ! 1353 insert into sys.args values (32597, 342, 'res_0', 'month_interval', 32, 0, 0, 0); 1353
1356 insert into sys.args values (32600, 342, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1356 ! 1354 insert into sys.args values (32598, 342, 'arg_1', 'month_interval', 32, 0, 1, 1); 1354
1357 insert into sys.args values (32601, 342, 'arg_2', 'smallint', 16, 0, 1, 2); 1357 ! 1355 insert into sys.args values (32599, 342, 'arg_2', 'smallint', 16, 0, 1, 2); 1355
1358 insert into sys.functions values (343, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1358 ! 1356 insert into sys.functions values (343, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1356
1359 insert into sys.args values (32602, 343, 'res_0', 'sec_interval', 13, 0, 0, 0); 1359 ! 1357 insert into sys.args values (32600, 343, 'res_0', 'sec_interval', 13, 0, 0, 0); 1357
1360 insert into sys.args values (32603, 343, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1360 ! 1358 insert into sys.args values (32601, 343, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1358
1361 insert into sys.args values (32604, 343, 'arg_2', 'smallint', 16, 0, 1, 2); 1361 ! 1359 insert into sys.args values (32602, 343, 'arg_2', 'smallint', 16, 0, 1, 2); 1359
1362 insert into sys.functions values (344, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1362 ! 1360 insert into sys.functions values (344, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1360
1363 insert into sys.args values (32605, 344, 'res_0', 'int', 32, 0, 0, 0); 1363 ! 1361 insert into sys.args values (32603, 344, 'res_0', 'sec_interval', 13, 0, 0, 0); 1361
1364 insert into sys.args values (32606, 344, 'arg_1', 'int', 32, 0, 1, 1); 1364 ! 1362 insert into sys.args values (32604, 344, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1362
1365 insert into sys.args values (32607, 344, 'arg_2', 'int', 32, 0, 1, 2); 1365 ! 1363 insert into sys.args values (32605, 344, 'arg_2', 'smallint', 16, 0, 1, 2); 1363
1366 insert into sys.functions values (345, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1366 ! 1364 insert into sys.functions values (345, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1364
1367 insert into sys.args values (32608, 345, 'res_0', 'int', 32, 0, 0, 0); 1367 ! 1365 insert into sys.args values (32606, 345, 'res_0', 'int', 32, 0, 0, 0); 1365
1368 insert into sys.args values (32609, 345, 'arg_1', 'int', 32, 0, 1, 1); 1368 ! 1366 insert into sys.args values (32607, 345, 'arg_1', 'int', 32, 0, 1, 1); 1366
1369 insert into sys.args values (32610, 345, 'arg_2', 'int', 32, 0, 1, 2); 1369 ! 1367 insert into sys.args values (32608, 345, 'arg_2', 'int', 32, 0, 1, 2); 1367
1370 insert into sys.functions values (346, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1370 ! 1368 insert into sys.functions values (346, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1368
1371 insert into sys.args values (32611, 346, 'res_0', 'int', 32, 0, 0, 0); 1371 ! 1369 insert into sys.args values (32609, 346, 'res_0', 'int', 32, 0, 0, 0); 1369
1372 insert into sys.args values (32612, 346, 'arg_1', 'int', 32, 0, 1, 1); 1372 ! 1370 insert into sys.args values (32610, 346, 'arg_1', 'int', 32, 0, 1, 1); 1370
1373 insert into sys.args values (32613, 346, 'arg_2', 'int', 32, 0, 1, 2); 1373 ! 1371 insert into sys.args values (32611, 346, 'arg_2', 'int', 32, 0, 1, 2); 1371
1374 insert into sys.functions values (347, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1374 ! 1372 insert into sys.functions values (347, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1372
1375 insert into sys.args values (32614, 347, 'res_0', 'int', 32, 0, 0, 0); 1375 ! 1373 insert into sys.args values (32612, 347, 'res_0', 'int', 32, 0, 0, 0); 1373
1376 insert into sys.args values (32615, 347, 'arg_1', 'int', 32, 0, 1, 1); 1376 ! 1374 insert into sys.args values (32613, 347, 'arg_1', 'int', 32, 0, 1, 1); 1374
1377 insert into sys.args values (32616, 347, 'arg_2', 'int', 32, 0, 1, 2); 1377 ! 1375 insert into sys.args values (32614, 347, 'arg_2', 'int', 32, 0, 1, 2); 1375
1378 insert into sys.functions values (348, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1378 ! 1376 insert into sys.functions values (348, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1376
1379 insert into sys.args values (32617, 348, 'res_0', 'int', 32, 0, 0, 0); 1379 ! 1377 insert into sys.args values (32615, 348, 'res_0', 'int', 32, 0, 0, 0); 1377
1380 insert into sys.args values (32618, 348, 'arg_1', 'int', 32, 0, 1, 1); 1380 ! 1378 insert into sys.args values (32616, 348, 'arg_1', 'int', 32, 0, 1, 1); 1378
1381 insert into sys.args values (32619, 348, 'arg_2', 'int', 32, 0, 1, 2); 1381 ! 1379 insert into sys.args values (32617, 348, 'arg_2', 'int', 32, 0, 1, 2); 1379
1382 insert into sys.functions values (349, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1382 ! 1380 insert into sys.functions values (349, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1380
1383 insert into sys.args values (32620, 349, 'res_0', 'int', 32, 0, 0, 0); 1383 ! 1381 insert into sys.args values (32618, 349, 'res_0', 'int', 32, 0, 0, 0); 1381
1384 insert into sys.args values (32621, 349, 'arg_1', 'int', 32, 0, 1, 1); 1384 ! 1382 insert into sys.args values (32619, 349, 'arg_1', 'int', 32, 0, 1, 1); 1382
1385 insert into sys.args values (32622, 349, 'arg_2', 'int', 32, 0, 1, 2); 1385 ! 1383 insert into sys.args values (32620, 349, 'arg_2', 'int', 32, 0, 1, 2); 1383
1386 insert into sys.functions values (350, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1386 ! 1384 insert into sys.functions values (350, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1384
1387 insert into sys.args values (32623, 350, 'res_0', 'int', 32, 0, 0, 0); 1387 ! 1385 insert into sys.args values (32621, 350, 'res_0', 'int', 32, 0, 0, 0); 1385
1388 insert into sys.args values (32624, 350, 'arg_1', 'int', 32, 0, 1, 1); 1388 ! 1386 insert into sys.args values (32622, 350, 'arg_1', 'int', 32, 0, 1, 1); 1386
1389 insert into sys.args values (32625, 350, 'arg_2', 'int', 32, 0, 1, 2); 1389 ! 1387 insert into sys.args values (32623, 350, 'arg_2', 'int', 32, 0, 1, 2); 1387
1390 insert into sys.functions values (351, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1390 ! 1388 insert into sys.functions values (351, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1388
1391 insert into sys.args values (32626, 351, 'res_0', 'int', 32, 0, 0, 0); 1391 ! 1389 insert into sys.args values (32624, 351, 'res_0', 'int', 32, 0, 0, 0); 1389
1392 insert into sys.args values (32627, 351, 'arg_1', 'int', 32, 0, 1, 1); 1392 ! 1390 insert into sys.args values (32625, 351, 'arg_1', 'int', 32, 0, 1, 1); 1390
1393 insert into sys.functions values (352, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1393 ! 1391 insert into sys.args values (32626, 351, 'arg_2', 'int', 32, 0, 1, 2); 1391
1394 insert into sys.args values (32628, 352, 'res_0', 'int', 32, 0, 0, 0); 1394 ! 1392 insert into sys.functions values (352, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1392
1395 insert into sys.args values (32629, 352, 'arg_1', 'int', 32, 0, 1, 1); 1395 ! 1393 insert into sys.args values (32627, 352, 'res_0', 'int', 32, 0, 0, 0); 1393
1396 insert into sys.args values (32630, 352, 'arg_2', 'int', 32, 0, 1, 2); 1396 ! 1394 insert into sys.args values (32628, 352, 'arg_1', 'int', 32, 0, 1, 1); 1394
1397 insert into sys.functions values (353, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1397 ! 1395 insert into sys.functions values (353, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1395
1398 insert into sys.args values (32631, 353, 'res_0', 'int', 32, 0, 0, 0); 1398 ! 1396 insert into sys.args values (32629, 353, 'res_0', 'int', 32, 0, 0, 0); 1396
1399 insert into sys.args values (32632, 353, 'arg_1', 'int', 32, 0, 1, 1); 1399 ! 1397 insert into sys.args values (32630, 353, 'arg_1', 'int', 32, 0, 1, 1); 1397
1400 insert into sys.args values (32633, 353, 'arg_2', 'int', 32, 0, 1, 2); 1400 ! 1398 insert into sys.args values (32631, 353, 'arg_2', 'int', 32, 0, 1, 2); 1398
1401 insert into sys.functions values (354, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1401 ! 1399 insert into sys.functions values (354, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1399
1402 insert into sys.args values (32634, 354, 'res_0', 'int', 32, 0, 0, 0); 1402 ! 1400 insert into sys.args values (32632, 354, 'res_0', 'int', 32, 0, 0, 0); 1400
1403 insert into sys.args values (32635, 354, 'arg_1', 'int', 32, 0, 1, 1); 1403 ! 1401 insert into sys.args values (32633, 354, 'arg_1', 'int', 32, 0, 1, 1); 1401
insert into sys. + 1402 insert into sys.args values (32634, 354, 'arg_2', 'int', 32, 0, 1, 2); 1402
1404 functions values (355, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1404 ! 1403 insert into sys.functions values (355, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1403
1405 insert into sys.args values (32636, 355, 'res_0', 'int', 32, 0, 0, 0); 1405 ! 1404 insert into sys.args values (32635, 355, 'res_0', 'int', 32, 0, 0, 0); 1404
1406 insert into sys.args values (32637, 355, 'arg_1', 'int', 32, 0, 1, 1); 1406 ! 1405 insert into sys.args values (32636, 355, 'arg_1', 'int', 32, 0, 1, 1); 1405
1407 insert into sys.functions values (356, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1407 ! 1406 insert into sys.functions values (356, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1406
1408 insert into sys.args values (32638, 356, 'res_0', 'tinyint', 8, 0, 0, 0); 1408 ! 1407 insert into sys.args values (32637, 356, 'res_0', 'int', 32, 0, 0, 0); 1407
1409 insert into sys.args values (32639, 356, 'arg_1', 'int', 32, 0, 1, 1); 1409 ! 1408 insert into sys.args values (32638, 356, 'arg_1', 'int', 32, 0, 1, 1); 1408
1410 insert into sys.functions values (357, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1410 ! 1409 insert into sys.functions values (357, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1409
1411 insert into sys.args values (32640, 357, 'res_0', 'int', 32, 0, 0, 0); 1411 -
1412 insert into sys.args values (32641, 357, 'arg_1', 'int', 32, 0, 1, 1); 1412 ! 1410 insert into sys.args values (32639, 357, 'res_0', 'tinyint', 8, 0, 0, 0); 1410
1413 insert into sys.args values (32642, 357, 'arg_2', 'int', 32, 0, 1, 2); 1413 ! 1411 insert into sys.args values (32640, 357, 'arg_1', 'int', 32, 0, 1, 1); 1411
1414 insert into sys.functions values (358, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1414 ! 1412 insert into sys.functions values (358, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1412
1415 insert into sys.args values (32643, 358, 'res_0', 'int', 32, 0, 0, 0); 1415 ! 1413 insert into sys.args values (32641, 358, 'res_0', 'int', 32, 0, 0, 0); 1413
1416 insert into sys.args values (32644, 358, 'arg_1', 'int', 32, 0, 1, 1); 1416 ! 1414 insert into sys.args values (32642, 358, 'arg_1', 'int', 32, 0, 1, 1); 1414
1417 insert into sys.args values (32645, 358, 'arg_2', 'int', 32, 0, 1, 2); 1417 ! 1415 insert into sys.args values (32643, 358, 'arg_2', 'int', 32, 0, 1, 2); 1415
1418 insert into sys.functions values (359, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1418 ! 1416 insert into sys.functions values (359, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1416
1419 insert into sys.args values (32646, 359, 'res_0', 'month_interval', 32, 0, 0, 0); 1419 ! 1417 insert into sys.args values (32644, 359, 'res_0', 'int', 32, 0, 0, 0); 1417
1420 insert into sys.args values (32647, 359, 'arg_1', 'month_interval', 32, 0, 1, 1); 1420 ! 1418 insert into sys.args values (32645, 359, 'arg_1', 'int', 32, 0, 1, 1); 1418
1421 insert into sys.args values (32648, 359, 'arg_2', 'int', 32, 0, 1, 2); 1421 ! 1419 insert into sys.args values (32646, 359, 'arg_2', 'int', 32, 0, 1, 2); 1419
1422 insert into sys.functions values (360, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1422 ! 1420 insert into sys.functions values (360, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1420
1423 insert into sys.args values (32649, 360, 'res_0', 'month_interval', 32, 0, 0, 0); 1423 ! 1421 insert into sys.args values (32647, 360, 'res_0', 'month_interval', 32, 0, 0, 0); 1421
1424 insert into sys.args values (32650, 360, 'arg_1', 'month_interval', 32, 0, 1, 1); 1424 ! 1422 insert into sys.args values (32648, 360, 'arg_1', 'month_interval', 32, 0, 1, 1); 1422
1425 insert into sys.args values (32651, 360, 'arg_2', 'int', 32, 0, 1, 2); 1425 ! 1423 insert into sys.args values (32649, 360, 'arg_2', 'int', 32, 0, 1, 2); 1423
1426 insert into sys.functions values (361, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1426 ! 1424 insert into sys.functions values (361, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1424
1427 insert into sys.args values (32652, 361, 'res_0', 'sec_interval', 13, 0, 0, 0); 1427 ! 1425 insert into sys.args values (32650, 361, 'res_0', 'month_interval', 32, 0, 0, 0); 1425
1428 insert into sys.args values (32653, 361, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1428 ! 1426 insert into sys.args values (32651, 361, 'arg_1', 'month_interval', 32, 0, 1, 1); 1426
1429 insert into sys.args values (32654, 361, 'arg_2', 'int', 32, 0, 1, 2); 1429 ! 1427 insert into sys.args values (32652, 361, 'arg_2', 'int', 32, 0, 1, 2); 1427
1430 insert into sys.functions values (362, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1430 ! 1428 insert into sys.functions values (362, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1428
1431 insert into sys.args values (32655, 362, 'res_0', 'sec_interval', 13, 0, 0, 0); 1431 ! 1429 insert into sys.args values (32653, 362, 'res_0', 'sec_interval', 13, 0, 0, 0); 1429
1432 insert into sys.args values (32656, 362, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1432 ! 1430 insert into sys.args values (32654, 362, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1430
1433 insert into sys.args values (32657, 362, 'arg_2', 'int', 32, 0, 1, 2); 1433 ! 1431 insert into sys.args values (32655, 362, 'arg_2', 'int', 32, 0, 1, 2); 1431
1434 insert into sys.functions values (363, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1434 ! 1432 insert into sys.functions values (363, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1432
1435 insert into sys.args values (32658, 363, 'res_0', 'bigint', 64, 0, 0, 0); 1435 ! 1433 insert into sys.args values (32656, 363, 'res_0', 'sec_interval', 13, 0, 0, 0); 1433
1436 insert into sys.args values (32659, 363, 'arg_1', 'bigint', 64, 0, 1, 1); 1436 ! 1434 insert into sys.args values (32657, 363, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1434
1437 insert into sys.args values (32660, 363, 'arg_2', 'bigint', 64, 0, 1, 2); 1437 ! 1435 insert into sys.args values (32658, 363, 'arg_2', 'int', 32, 0, 1, 2); 1435
1438 insert into sys.functions values (364, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1438 ! 1436 insert into sys.functions values (364, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1436
1439 insert into sys.args values (32661, 364, 'res_0', 'bigint', 64, 0, 0, 0); 1439 ! 1437 insert into sys.args values (32659, 364, 'res_0', 'bigint', 64, 0, 0, 0); 1437
1440 insert into sys.args values (32662, 364, 'arg_1', 'bigint', 64, 0, 1, 1); 1440 ! 1438 insert into sys.args values (32660, 364, 'arg_1', 'bigint', 64, 0, 1, 1); 1438
1441 insert into sys.args values (32663, 364, 'arg_2', 'bigint', 64, 0, 1, 2); 1441 ! 1439 insert into sys.args values (32661, 364, 'arg_2', 'bigint', 64, 0, 1, 2); 1439
1442 insert into sys.functions values (365, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1442 ! 1440 insert into sys.functions values (365, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1440
1443 insert into sys.args values (32664, 365, 'res_0', 'bigint', 64, 0, 0, 0); 1443 ! 1441 insert into sys.args values (32662, 365, 'res_0', 'bigint', 64, 0, 0, 0); 1441
1444 insert into sys.args values (32665, 365, 'arg_1', 'bigint', 64, 0, 1, 1); 1444 ! 1442 insert into sys.args values (32663, 365, 'arg_1', 'bigint', 64, 0, 1, 1); 1442
1445 insert into sys.args values (32666, 365, 'arg_2', 'bigint', 64, 0, 1, 2); 1445 ! 1443 insert into sys.args values (32664, 365, 'arg_2', 'bigint', 64, 0, 1, 2); 1443
1446 insert into sys.functions values (366, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1446 ! 1444 insert into sys.functions values (366, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1444
1447 insert into sys.args values (32667, 366, 'res_0', 'bigint', 64, 0, 0, 0); 1447 ! 1445 insert into sys.args values (32665, 366, 'res_0', 'bigint', 64, 0, 0, 0); 1445
1448 insert into sys.args values (32668, 366, 'arg_1', 'bigint', 64, 0, 1, 1); 1448 ! 1446 insert into sys.args values (32666, 366, 'arg_1', 'bigint', 64, 0, 1, 1); 1446
1449 insert into sys.args values (32669, 366, 'arg_2', 'bigint', 64, 0, 1, 2); 1449 ! 1447 insert into sys.args values (32667, 366, 'arg_2', 'bigint', 64, 0, 1, 2); 1447
1450 insert into sys.functions values (367, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1450 ! 1448 insert into sys.functions values (367, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1448
1451 insert into sys.args values (32670, 367, 'res_0', 'bigint', 64, 0, 0, 0); 1451 ! 1449 insert into sys.args values (32668, 367, 'res_0', 'bigint', 64, 0, 0, 0); 1449
1452 insert into sys.args values (32671, 367, 'arg_1', 'bigint', 64, 0, 1, 1); 1452 ! 1450 insert into sys.args values (32669, 367, 'arg_1', 'bigint', 64, 0, 1, 1); 1450
1453 insert into sys.args values (32672, 367, 'arg_2', 'bigint', 64, 0, 1, 2); 1453 ! 1451 insert into sys.args values (32670, 367, 'arg_2', 'bigint', 64, 0, 1, 2); 1451
1454 insert into sys.functions values (368, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1454 ! 1452 insert into sys.functions values (368, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1452
1455 insert into sys.args values (32673, 368, 'res_0', 'bigint', 64, 0, 0, 0); 1455 ! 1453 insert into sys.args values (32671, 368, 'res_0', 'bigint', 64, 0, 0, 0); 1453
1456 insert into sys.args values (32674, 368, 'arg_1', 'bigint', 64, 0, 1, 1); 1456 ! 1454 insert into sys.args values (32672, 368, 'arg_1', 'bigint', 64, 0, 1, 1); 1454
1457 insert into sys.args values (32675, 368, 'arg_2', 'bigint', 64, 0, 1, 2); 1457 ! 1455 insert into sys.args values (32673, 368, 'arg_2', 'bigint', 64, 0, 1, 2); 1455
1458 insert into sys.functions values (369, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1458 ! 1456 insert into sys.functions values (369, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1456
1459 insert into sys.args values (32676, 369, 'res_0', 'bigint', 64, 0, 0, 0); 1459 ! 1457 insert into sys.args values (32674, 369, 'res_0', 'bigint', 64, 0, 0, 0); 1457
1460 insert into sys.args values (32677, 369, 'arg_1', 'bigint', 64, 0, 1, 1); 1460 ! 1458 insert into sys.args values (32675, 369, 'arg_1', 'bigint', 64, 0, 1, 1); 1458
1461 insert into sys.args values (32678, 369, 'arg_2', 'bigint', 64, 0, 1, 2); 1461 ! 1459 insert into sys.args values (32676, 369, 'arg_2', 'bigint', 64, 0, 1, 2); 1459
1462 insert into sys.functions values (370, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1462 ! 1460 insert into sys.functions values (370, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1460
1463 insert into sys.args values (32679, 370, 'res_0', 'bigint', 64, 0, 0, 0); 1463 ! 1461 insert into sys.args values (32677, 370, 'res_0', 'bigint', 64, 0, 0, 0); 1461
1464 insert into sys.args values (32680, 370, 'arg_1', 'bigint', 64, 0, 1, 1); 1464 ! 1462 insert into sys.args values (32678, 370, 'arg_1', 'bigint', 64, 0, 1, 1); 1462
1465 insert into sys.functions values (371, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1465 ! 1463 insert into sys.args values (32679, 370, 'arg_2', 'bigint', 64, 0, 1, 2); 1463
1466 insert into sys.args values (32681, 371, 'res_0', 'bigint', 64, 0, 0, 0); 1466 ! 1464 insert into sys.functions values (371, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1464
1467 insert into sys.args values (32682, 371, 'arg_1', 'bigint', 64, 0, 1, 1); 1467 ! 1465 insert into sys.args values (32680, 371, 'res_0', 'bigint', 64, 0, 0, 0); 1465
1468 insert into sys.args values (32683, 371, 'arg_2', 'int', 32, 0, 1, 2); 1468 ! 1466 insert into sys.args values (32681, 371, 'arg_1', 'bigint', 64, 0, 1, 1); 1466
1469 insert into sys.functions values (372, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1469 ! 1467 insert into sys.functions values (372, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1467
1470 insert into sys.args values (32684, 372, 'res_0', 'bigint', 64, 0, 0, 0); 1470 ! 1468 insert into sys.args values (32682, 372, 'res_0', 'bigint', 64, 0, 0, 0); 1468
1471 insert into sys.args values (32685, 372, 'arg_1', 'bigint', 64, 0, 1, 1); 1471 ! 1469 insert into sys.args values (32683, 372, 'arg_1', 'bigint', 64, 0, 1, 1); 1469
1472 insert into sys.args values (32686, 372, 'arg_2', 'int', 32, 0, 1, 2); 1472 ! 1470 insert into sys.args values (32684, 372, 'arg_2', 'int', 32, 0, 1, 2); 1470
1473 insert into sys.functions values (373, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1473 ! 1471 insert into sys.functions values (373, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1471
1474 insert into sys.args values (32687, 373, 'res_0', 'bigint', 64, 0, 0, 0); 1474 ! 1472 insert into sys.args values (32685, 373, 'res_0', 'bigint', 64, 0, 0, 0); 1472
1475 insert into sys.args values (32688, 373, 'arg_1', 'bigint', 64, 0, 1, 1); 1475 ! 1473 insert into sys.args values (32686, 373, 'arg_1', 'bigint', 64, 0, 1, 1); 1473
insert into sys. + 1474 insert into sys.args values (32687, 373, 'arg_2', 'int', 32, 0, 1, 2); 1474
1476 functions values (374, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1476 ! 1475 insert into sys.functions values (374, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1475
1477 insert into sys.args values (32689, 374, 'res_0', 'bigint', 64, 0, 0, 0); 1477 ! 1476 insert into sys.args values (32688, 374, 'res_0', 'bigint', 64, 0, 0, 0); 1476
1478 insert into sys.args values (32690, 374, 'arg_1', 'bigint', 64, 0, 1, 1); 1478 ! 1477 insert into sys.args values (32689, 374, 'arg_1', 'bigint', 64, 0, 1, 1); 1477
1479 insert into sys.functions values (375, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1479 ! 1478 insert into sys.functions values (375, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1478
1480 insert into sys.args values (32691, 375, 'res_0', 'tinyint', 8, 0, 0, 0); 1480 ! 1479 insert into sys.args values (32690, 375, 'res_0', 'bigint', 64, 0, 0, 0); 1479
1481 insert into sys.args values (32692, 375, 'arg_1', 'bigint', 64, 0, 1, 1); 1481 ! 1480 insert into sys.args values (32691, 375, 'arg_1', 'bigint', 64, 0, 1, 1); 1480
1482 insert into sys.functions values (376, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1482 ! 1481 insert into sys.functions values (376, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1481
1483 insert into sys.args values (32693, 376, 'res_0', 'bigint', 64, 0, 0, 0); 1483 -
1484 insert into sys.args values (32694, 376, 'arg_1', 'bigint', 64, 0, 1, 1); 1484 ! 1482 insert into sys.args values (32692, 376, 'res_0', 'tinyint', 8, 0, 0, 0); 1482
1485 insert into sys.args values (32695, 376, 'arg_2', 'bigint', 64, 0, 1, 2); 1485 ! 1483 insert into sys.args values (32693, 376, 'arg_1', 'bigint', 64, 0, 1, 1); 1483
1486 insert into sys.functions values (377, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1486 ! 1484 insert into sys.functions values (377, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1484
1487 insert into sys.args values (32696, 377, 'res_0', 'bigint', 64, 0, 0, 0); 1487 ! 1485 insert into sys.args values (32694, 377, 'res_0', 'bigint', 64, 0, 0, 0); 1485
1488 insert into sys.args values (32697, 377, 'arg_1', 'bigint', 64, 0, 1, 1); 1488 ! 1486 insert into sys.args values (32695, 377, 'arg_1', 'bigint', 64, 0, 1, 1); 1486
1489 insert into sys.args values (32698, 377, 'arg_2', 'bigint', 64, 0, 1, 2); 1489 ! 1487 insert into sys.args values (32696, 377, 'arg_2', 'bigint', 64, 0, 1, 2); 1487
1490 insert into sys.functions values (378, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1490 ! 1488 insert into sys.functions values (378, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1488
1491 insert into sys.args values (32699, 378, 'res_0', 'month_interval', 32, 0, 0, 0); 1491 ! 1489 insert into sys.args values (32697, 378, 'res_0', 'bigint', 64, 0, 0, 0); 1489
1492 insert into sys.args values (32700, 378, 'arg_1', 'month_interval', 32, 0, 1, 1); 1492 ! 1490 insert into sys.args values (32698, 378, 'arg_1', 'bigint', 64, 0, 1, 1); 1490
1493 insert into sys.args values (32701, 378, 'arg_2', 'bigint', 64, 0, 1, 2); 1493 ! 1491 insert into sys.args values (32699, 378, 'arg_2', 'bigint', 64, 0, 1, 2); 1491
1494 insert into sys.functions values (379, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1494 ! 1492 insert into sys.functions values (379, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1492
1495 insert into sys.args values (32702, 379, 'res_0', 'month_interval', 32, 0, 0, 0); 1495 ! 1493 insert into sys.args values (32700, 379, 'res_0', 'month_interval', 32, 0, 0, 0); 1493
1496 insert into sys.args values (32703, 379, 'arg_1', 'month_interval', 32, 0, 1, 1); 1496 ! 1494 insert into sys.args values (32701, 379, 'arg_1', 'month_interval', 32, 0, 1, 1); 1494
1497 insert into sys.args values (32704, 379, 'arg_2', 'bigint', 64, 0, 1, 2); 1497 ! 1495 insert into sys.args values (32702, 379, 'arg_2', 'bigint', 64, 0, 1, 2); 1495
1498 insert into sys.functions values (380, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1498 ! 1496 insert into sys.functions values (380, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1496
1499 insert into sys.args values (32705, 380, 'res_0', 'sec_interval', 13, 0, 0, 0); 1499 ! 1497 insert into sys.args values (32703, 380, 'res_0', 'month_interval', 32, 0, 0, 0); 1497
1500 insert into sys.args values (32706, 380, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1500 ! 1498 insert into sys.args values (32704, 380, 'arg_1', 'month_interval', 32, 0, 1, 1); 1498
1501 insert into sys.args values (32707, 380, 'arg_2', 'bigint', 64, 0, 1, 2); 1501 ! 1499 insert into sys.args values (32705, 380, 'arg_2', 'bigint', 64, 0, 1, 2); 1499
1502 insert into sys.functions values (381, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1502 ! 1500 insert into sys.functions values (381, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1500
1503 insert into sys.args values (32708, 381, 'res_0', 'sec_interval', 13, 0, 0, 0); 1503 ! 1501 insert into sys.args values (32706, 381, 'res_0', 'sec_interval', 13, 0, 0, 0); 1501
1504 insert into sys.args values (32709, 381, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1504 ! 1502 insert into sys.args values (32707, 381, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1502
1505 insert into sys.args values (32710, 381, 'arg_2', 'bigint', 64, 0, 1, 2); 1505 ! 1503 insert into sys.args values (32708, 381, 'arg_2', 'bigint', 64, 0, 1, 2); 1503
1506 insert into sys.functions values (382, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1506 ! 1504 insert into sys.functions values (382, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1504
1507 insert into sys.args values (32711, 382, 'res_0', 'decimal', 2, 0, 0, 0); 1507 ! 1505 insert into sys.args values (32709, 382, 'res_0', 'sec_interval', 13, 0, 0, 0); 1505
1508 insert into sys.args values (32712, 382, 'arg_1', 'decimal', 2, 0, 1, 1); 1508 ! 1506 insert into sys.args values (32710, 382, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1506
1509 insert into sys.args values (32713, 382, 'arg_2', 'decimal', 2, 0, 1, 2); 1509 ! 1507 insert into sys.args values (32711, 382, 'arg_2', 'bigint', 64, 0, 1, 2); 1507
1510 insert into sys.functions values (383, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1510 ! 1508 insert into sys.functions values (383, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1508
1511 insert into sys.args values (32714, 383, 'res_0', 'decimal', 2, 0, 0, 0); 1511 ! 1509 insert into sys.args values (32712, 383, 'res_0', 'decimal', 2, 0, 0, 0); 1509
1512 insert into sys.args values (32715, 383, 'arg_1', 'decimal', 2, 0, 1, 1); 1512 ! 1510 insert into sys.args values (32713, 383, 'arg_1', 'decimal', 2, 0, 1, 1); 1510
1513 insert into sys.args values (32716, 383, 'arg_2', 'decimal', 2, 0, 1, 2); 1513 ! 1511 insert into sys.args values (32714, 383, 'arg_2', 'decimal', 2, 0, 1, 2); 1511
1514 insert into sys.functions values (384, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1514 ! 1512 insert into sys.functions values (384, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1512
1515 insert into sys.args values (32717, 384, 'res_0', 'decimal', 2, 0, 0, 0); 1515 ! 1513 insert into sys.args values (32715, 384, 'res_0', 'decimal', 2, 0, 0, 0); 1513
1516 insert into sys.args values (32718, 384, 'arg_1', 'decimal', 2, 0, 1, 1); 1516 ! 1514 insert into sys.args values (32716, 384, 'arg_1', 'decimal', 2, 0, 1, 1); 1514
1517 insert into sys.args values (32719, 384, 'arg_2', 'decimal', 2, 0, 1, 2); 1517 ! 1515 insert into sys.args values (32717, 384, 'arg_2', 'decimal', 2, 0, 1, 2); 1515
1518 insert into sys.functions values (385, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1518 ! 1516 insert into sys.functions values (385, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1516
1519 insert into sys.args values (32720, 385, 'res_0', 'decimal', 2, 0, 0, 0); 1519 ! 1517 insert into sys.args values (32718, 385, 'res_0', 'decimal', 2, 0, 0, 0); 1517
1520 insert into sys.args values (32721, 385, 'arg_1', 'decimal', 2, 0, 1, 1); 1520 ! 1518 insert into sys.args values (32719, 385, 'arg_1', 'decimal', 2, 0, 1, 1); 1518
1521 insert into sys.args values (32722, 385, 'arg_2', 'decimal', 2, 0, 1, 2); 1521 ! 1519 insert into sys.args values (32720, 385, 'arg_2', 'decimal', 2, 0, 1, 2); 1519
1522 insert into sys.functions values (386, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1522 ! 1520 insert into sys.functions values (386, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1520
1523 insert into sys.args values (32723, 386, 'res_0', 'decimal', 2, 0, 0, 0); 1523 ! 1521 insert into sys.args values (32721, 386, 'res_0', 'decimal', 2, 0, 0, 0); 1521
1524 insert into sys.args values (32724, 386, 'arg_1', 'decimal', 2, 0, 1, 1); 1524 ! 1522 insert into sys.args values (32722, 386, 'arg_1', 'decimal', 2, 0, 1, 1); 1522
1525 insert into sys.args values (32725, 386, 'arg_2', 'decimal', 2, 0, 1, 2); 1525 ! 1523 insert into sys.args values (32723, 386, 'arg_2', 'decimal', 2, 0, 1, 2); 1523
1526 insert into sys.functions values (387, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1526 ! 1524 insert into sys.functions values (387, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1524
1527 insert into sys.args values (32726, 387, 'res_0', 'decimal', 2, 0, 0, 0); 1527 ! 1525 insert into sys.args values (32724, 387, 'res_0', 'decimal', 2, 0, 0, 0); 1525
1528 insert into sys.args values (32727, 387, 'arg_1', 'decimal', 2, 0, 1, 1); 1528 ! 1526 insert into sys.args values (32725, 387, 'arg_1', 'decimal', 2, 0, 1, 1); 1526
1529 insert into sys.args values (32728, 387, 'arg_2', 'decimal', 2, 0, 1, 2); 1529 ! 1527 insert into sys.args values (32726, 387, 'arg_2', 'decimal', 2, 0, 1, 2); 1527
1530 insert into sys.functions values (388, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1530 ! 1528 insert into sys.functions values (388, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1528
1531 insert into sys.args values (32729, 388, 'res_0', 'decimal', 2, 0, 0, 0); 1531 ! 1529 insert into sys.args values (32727, 388, 'res_0', 'decimal', 2, 0, 0, 0); 1529
1532 insert into sys.args values (32730, 388, 'arg_1', 'decimal', 2, 0, 1, 1); 1532 ! 1530 insert into sys.args values (32728, 388, 'arg_1', 'decimal', 2, 0, 1, 1); 1530
1533 insert into sys.args values (32731, 388, 'arg_2', 'decimal', 2, 0, 1, 2); 1533 ! 1531 insert into sys.args values (32729, 388, 'arg_2', 'decimal', 2, 0, 1, 2); 1531
1534 insert into sys.functions values (389, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1534 ! 1532 insert into sys.functions values (389, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1532
1535 insert into sys.args values (32732, 389, 'res_0', 'decimal', 2, 0, 0, 0); 1535 ! 1533 insert into sys.args values (32730, 389, 'res_0', 'decimal', 2, 0, 0, 0); 1533
1536 insert into sys.args values (32733, 389, 'arg_1', 'decimal', 2, 0, 1, 1); 1536 ! 1534 insert into sys.args values (32731, 389, 'arg_1', 'decimal', 2, 0, 1, 1); 1534
1537 insert into sys.functions values (390, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1537 ! 1535 insert into sys.args values (32732, 389, 'arg_2', 'decimal', 2, 0, 1, 2); 1535
1538 insert into sys.args values (32734, 390, 'res_0', 'decimal', 2, 0, 0, 0); 1538 ! 1536 insert into sys.functions values (390, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1536
1539 insert into sys.args values (32735, 390, 'arg_1', 'decimal', 2, 0, 1, 1); 1539 ! 1537 insert into sys.args values (32733, 390, 'res_0', 'decimal', 2, 0, 0, 0); 1537
1540 insert into sys.args values (32736, 390, 'arg_2', 'int', 32, 0, 1, 2); 1540 ! 1538 insert into sys.args values (32734, 390, 'arg_1', 'decimal', 2, 0, 1, 1); 1538
1541 insert into sys.functions values (391, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1541 ! 1539 insert into sys.functions values (391, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1539
1542 insert into sys.args values (32737, 391, 'res_0', 'decimal', 2, 0, 0, 0); 1542 ! 1540 insert into sys.args values (32735, 391, 'res_0', 'decimal', 2, 0, 0, 0); 1540
1543 insert into sys.args values (32738, 391, 'arg_1', 'decimal', 2, 0, 1, 1); 1543 ! 1541 insert into sys.args values (32736, 391, 'arg_1', 'decimal', 2, 0, 1, 1); 1541
1544 insert into sys.args values (32739, 391, 'arg_2', 'int', 32, 0, 1, 2); 1544 ! 1542 insert into sys.args values (32737, 391, 'arg_2', 'int', 32, 0, 1, 2); 1542
1545 insert into sys.functions values (392, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1545 ! 1543 insert into sys.functions values (392, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1543
1546 insert into sys.args values (32740, 392, 'res_0', 'decimal', 2, 0, 0, 0); 1546 ! 1544 insert into sys.args values (32738, 392, 'res_0', 'decimal', 2, 0, 0, 0); 1544
1547 insert into sys.args values (32741, 392, 'arg_1', 'decimal', 2, 0, 1, 1); 1547 ! 1545 insert into sys.args values (32739, 392, 'arg_1', 'decimal', 2, 0, 1, 1); 1545
insert into sys. + 1546 insert into sys.args values (32740, 392, 'arg_2', 'int', 32, 0, 1, 2); 1546
1548 functions values (393, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1548 ! 1547 insert into sys.functions values (393, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1547
1549 insert into sys.args values (32742, 393, 'res_0', 'decimal', 2, 0, 0, 0); 1549 ! 1548 insert into sys.args values (32741, 393, 'res_0', 'decimal', 2, 0, 0, 0); 1548
1550 insert into sys.args values (32743, 393, 'arg_1', 'decimal', 2, 0, 1, 1); 1550 ! 1549 insert into sys.args values (32742, 393, 'arg_1', 'decimal', 2, 0, 1, 1); 1549
1551 insert into sys.functions values (394, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1551 ! 1550 insert into sys.functions values (394, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1550
1552 insert into sys.args values (32744, 394, 'res_0', 'tinyint', 8, 0, 0, 0); 1552 ! 1551 insert into sys.args values (32743, 394, 'res_0', 'decimal', 2, 0, 0, 0); 1551
1553 insert into sys.args values (32745, 394, 'arg_1', 'decimal', 2, 0, 1, 1); 1553 ! 1552 insert into sys.args values (32744, 394, 'arg_1', 'decimal', 2, 0, 1, 1); 1552
1554 insert into sys.functions values (395, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1554 ! 1553 insert into sys.functions values (395, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1553
1555 insert into sys.args values (32746, 395, 'res_0', 'decimal', 2, 0, 0, 0); 1555 -
1556 insert into sys.args values (32747, 395, 'arg_1', 'decimal', 2, 0, 1, 1); 1556 ! 1554 insert into sys.args values (32745, 395, 'res_0', 'tinyint', 8, 0, 0, 0); 1554
1557 insert into sys.args values (32748, 395, 'arg_2', 'tinyint', 8, 0, 1, 2); 1557 ! 1555 insert into sys.args values (32746, 395, 'arg_1', 'decimal', 2, 0, 1, 1); 1555
1558 insert into sys.functions values (396, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1558 ! 1556 insert into sys.functions values (396, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1556
1559 insert into sys.args values (32749, 396, 'res_0', 'decimal', 2, 0, 0, 0); 1559 ! 1557 insert into sys.args values (32747, 396, 'res_0', 'decimal', 2, 0, 0, 0); 1557
1560 insert into sys.args values (32750, 396, 'arg_1', 'decimal', 2, 0, 1, 1); 1560 ! 1558 insert into sys.args values (32748, 396, 'arg_1', 'decimal', 2, 0, 1, 1); 1558
1561 insert into sys.args values (32751, 396, 'arg_2', 'tinyint', 8, 0, 1, 2); 1561 ! 1559 insert into sys.args values (32749, 396, 'arg_2', 'tinyint', 8, 0, 1, 2); 1559
1562 insert into sys.functions values (397, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1562 ! 1560 insert into sys.functions values (397, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1560
1563 insert into sys.args values (32752, 397, 'res_0', 'month_interval', 32, 0, 0, 0); 1563 ! 1561 insert into sys.args values (32750, 397, 'res_0', 'decimal', 2, 0, 0, 0); 1561
1564 insert into sys.args values (32753, 397, 'arg_1', 'month_interval', 32, 0, 1, 1); 1564 ! 1562 insert into sys.args values (32751, 397, 'arg_1', 'decimal', 2, 0, 1, 1); 1562
1565 insert into sys.args values (32754, 397, 'arg_2', 'decimal', 2, 0, 1, 2); 1565 ! 1563 insert into sys.args values (32752, 397, 'arg_2', 'tinyint', 8, 0, 1, 2); 1563
1566 insert into sys.functions values (398, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1566 ! 1564 insert into sys.functions values (398, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1564
1567 insert into sys.args values (32755, 398, 'res_0', 'month_interval', 32, 0, 0, 0); 1567 ! 1565 insert into sys.args values (32753, 398, 'res_0', 'month_interval', 32, 0, 0, 0); 1565
1568 insert into sys.args values (32756, 398, 'arg_1', 'month_interval', 32, 0, 1, 1); 1568 ! 1566 insert into sys.args values (32754, 398, 'arg_1', 'month_interval', 32, 0, 1, 1); 1566
1569 insert into sys.args values (32757, 398, 'arg_2', 'decimal', 2, 0, 1, 2); 1569 ! 1567 insert into sys.args values (32755, 398, 'arg_2', 'decimal', 2, 0, 1, 2); 1567
1570 insert into sys.functions values (399, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1570 ! 1568 insert into sys.functions values (399, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1568
1571 insert into sys.args values (32758, 399, 'res_0', 'sec_interval', 13, 0, 0, 0); 1571 ! 1569 insert into sys.args values (32756, 399, 'res_0', 'month_interval', 32, 0, 0, 0); 1569
1572 insert into sys.args values (32759, 399, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1572 ! 1570 insert into sys.args values (32757, 399, 'arg_1', 'month_interval', 32, 0, 1, 1); 1570
1573 insert into sys.args values (32760, 399, 'arg_2', 'decimal', 2, 0, 1, 2); 1573 ! 1571 insert into sys.args values (32758, 399, 'arg_2', 'decimal', 2, 0, 1, 2); 1571
1574 insert into sys.functions values (400, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1574 ! 1572 insert into sys.functions values (400, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1572
1575 insert into sys.args values (32761, 400, 'res_0', 'sec_interval', 13, 0, 0, 0); 1575 ! 1573 insert into sys.args values (32759, 400, 'res_0', 'sec_interval', 13, 0, 0, 0); 1573
1576 insert into sys.args values (32762, 400, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1576 ! 1574 insert into sys.args values (32760, 400, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1574
1577 insert into sys.args values (32763, 400, 'arg_2', 'decimal', 2, 0, 1, 2); 1577 ! 1575 insert into sys.args values (32761, 400, 'arg_2', 'decimal', 2, 0, 1, 2); 1575
1578 insert into sys.functions values (401, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1578 ! 1576 insert into sys.functions values (401, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1576
1579 insert into sys.args values (32764, 401, 'res_0', 'decimal', 4, 0, 0, 0); 1579 ! 1577 insert into sys.args values (32762, 401, 'res_0', 'sec_interval', 13, 0, 0, 0); 1577
1580 insert into sys.args values (32765, 401, 'arg_1', 'decimal', 4, 0, 1, 1); 1580 ! 1578 insert into sys.args values (32763, 401, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1578
1581 insert into sys.args values (32766, 401, 'arg_2', 'decimal', 4, 0, 1, 2); 1581 ! 1579 insert into sys.args values (32764, 401, 'arg_2', 'decimal', 2, 0, 1, 2); 1579
1582 insert into sys.functions values (402, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1582 ! 1580 insert into sys.functions values (402, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1580
1583 insert into sys.args values (32767, 402, 'res_0', 'decimal', 4, 0, 0, 0); 1583 ! 1581 insert into sys.args values (32765, 402, 'res_0', 'decimal', 4, 0, 0, 0); 1581
1584 insert into sys.args values (32768, 402, 'arg_1', 'decimal', 4, 0, 1, 1); 1584 ! 1582 insert into sys.args values (32766, 402, 'arg_1', 'decimal', 4, 0, 1, 1); 1582
1585 insert into sys.args values (32769, 402, 'arg_2', 'decimal', 4, 0, 1, 2); 1585 ! 1583 insert into sys.args values (32767, 402, 'arg_2', 'decimal', 4, 0, 1, 2); 1583
1586 insert into sys.functions values (403, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1586 ! 1584 insert into sys.functions values (403, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1584
1587 insert into sys.args values (32770, 403, 'res_0', 'decimal', 4, 0, 0, 0); 1587 ! 1585 insert into sys.args values (32768, 403, 'res_0', 'decimal', 4, 0, 0, 0); 1585
1588 insert into sys.args values (32771, 403, 'arg_1', 'decimal', 4, 0, 1, 1); 1588 ! 1586 insert into sys.args values (32769, 403, 'arg_1', 'decimal', 4, 0, 1, 1); 1586
1589 insert into sys.args values (32772, 403, 'arg_2', 'decimal', 4, 0, 1, 2); 1589 ! 1587 insert into sys.args values (32770, 403, 'arg_2', 'decimal', 4, 0, 1, 2); 1587
1590 insert into sys.functions values (404, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1590 ! 1588 insert into sys.functions values (404, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1588
1591 insert into sys.args values (32773, 404, 'res_0', 'decimal', 4, 0, 0, 0); 1591 ! 1589 insert into sys.args values (32771, 404, 'res_0', 'decimal', 4, 0, 0, 0); 1589
1592 insert into sys.args values (32774, 404, 'arg_1', 'decimal', 4, 0, 1, 1); 1592 ! 1590 insert into sys.args values (32772, 404, 'arg_1', 'decimal', 4, 0, 1, 1); 1590
1593 insert into sys.args values (32775, 404, 'arg_2', 'decimal', 4, 0, 1, 2); 1593 ! 1591 insert into sys.args values (32773, 404, 'arg_2', 'decimal', 4, 0, 1, 2); 1591
1594 insert into sys.functions values (405, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1594 ! 1592 insert into sys.functions values (405, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1592
1595 insert into sys.args values (32776, 405, 'res_0', 'decimal', 4, 0, 0, 0); 1595 ! 1593 insert into sys.args values (32774, 405, 'res_0', 'decimal', 4, 0, 0, 0); 1593
1596 insert into sys.args values (32777, 405, 'arg_1', 'decimal', 4, 0, 1, 1); 1596 ! 1594 insert into sys.args values (32775, 405, 'arg_1', 'decimal', 4, 0, 1, 1); 1594
1597 insert into sys.args values (32778, 405, 'arg_2', 'decimal', 4, 0, 1, 2); 1597 ! 1595 insert into sys.args values (32776, 405, 'arg_2', 'decimal', 4, 0, 1, 2); 1595
1598 insert into sys.functions values (406, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1598 ! 1596 insert into sys.functions values (406, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1596
1599 insert into sys.args values (32779, 406, 'res_0', 'decimal', 4, 0, 0, 0); 1599 ! 1597 insert into sys.args values (32777, 406, 'res_0', 'decimal', 4, 0, 0, 0); 1597
1600 insert into sys.args values (32780, 406, 'arg_1', 'decimal', 4, 0, 1, 1); 1600 ! 1598 insert into sys.args values (32778, 406, 'arg_1', 'decimal', 4, 0, 1, 1); 1598
1601 insert into sys.args values (32781, 406, 'arg_2', 'decimal', 4, 0, 1, 2); 1601 ! 1599 insert into sys.args values (32779, 406, 'arg_2', 'decimal', 4, 0, 1, 2); 1599
1602 insert into sys.functions values (407, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1602 ! 1600 insert into sys.functions values (407, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1600
1603 insert into sys.args values (32782, 407, 'res_0', 'decimal', 4, 0, 0, 0); 1603 ! 1601 insert into sys.args values (32780, 407, 'res_0', 'decimal', 4, 0, 0, 0); 1601
1604 insert into sys.args values (32783, 407, 'arg_1', 'decimal', 4, 0, 1, 1); 1604 ! 1602 insert into sys.args values (32781, 407, 'arg_1', 'decimal', 4, 0, 1, 1); 1602
1605 insert into sys.args values (32784, 407, 'arg_2', 'decimal', 4, 0, 1, 2); 1605 ! 1603 insert into sys.args values (32782, 407, 'arg_2', 'decimal', 4, 0, 1, 2); 1603
1606 insert into sys.functions values (408, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1606 ! 1604 insert into sys.functions values (408, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1604
1607 insert into sys.args values (32785, 408, 'res_0', 'decimal', 4, 0, 0, 0); 1607 ! 1605 insert into sys.args values (32783, 408, 'res_0', 'decimal', 4, 0, 0, 0); 1605
1608 insert into sys.args values (32786, 408, 'arg_1', 'decimal', 4, 0, 1, 1); 1608 ! 1606 insert into sys.args values (32784, 408, 'arg_1', 'decimal', 4, 0, 1, 1); 1606
1609 insert into sys.functions values (409, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1609 ! 1607 insert into sys.args values (32785, 408, 'arg_2', 'decimal', 4, 0, 1, 2); 1607
1610 insert into sys.args values (32787, 409, 'res_0', 'decimal', 4, 0, 0, 0); 1610 ! 1608 insert into sys.functions values (409, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1608
1611 insert into sys.args values (32788, 409, 'arg_1', 'decimal', 4, 0, 1, 1); 1611 ! 1609 insert into sys.args values (32786, 409, 'res_0', 'decimal', 4, 0, 0, 0); 1609
1612 insert into sys.args values (32789, 409, 'arg_2', 'int', 32, 0, 1, 2); 1612 ! 1610 insert into sys.args values (32787, 409, 'arg_1', 'decimal', 4, 0, 1, 1); 1610
1613 insert into sys.functions values (410, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1613 ! 1611 insert into sys.functions values (410, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1611
1614 insert into sys.args values (32790, 410, 'res_0', 'decimal', 4, 0, 0, 0); 1614 ! 1612 insert into sys.args values (32788, 410, 'res_0', 'decimal', 4, 0, 0, 0); 1612
1615 insert into sys.args values (32791, 410, 'arg_1', 'decimal', 4, 0, 1, 1); 1615 ! 1613 insert into sys.args values (32789, 410, 'arg_1', 'decimal', 4, 0, 1, 1); 1613
1616 insert into sys.args values (32792, 410, 'arg_2', 'int', 32, 0, 1, 2); 1616 ! 1614 insert into sys.args values (32790, 410, 'arg_2', 'int', 32, 0, 1, 2); 1614
1617 insert into sys.functions values (411, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1617 ! 1615 insert into sys.functions values (411, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1615
1618 insert into sys.args values (32793, 411, 'res_0', 'decimal', 4, 0, 0, 0); 1618 ! 1616 insert into sys.args values (32791, 411, 'res_0', 'decimal', 4, 0, 0, 0); 1616
1619 insert into sys.args values (32794, 411, 'arg_1', 'decimal', 4, 0, 1, 1); 1619 ! 1617 insert into sys.args values (32792, 411, 'arg_1', 'decimal', 4, 0, 1, 1); 1617
insert into sys. + 1618 insert into sys.args values (32793, 411, 'arg_2', 'int', 32, 0, 1, 2); 1618
1620 functions values (412, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1620 ! 1619 insert into sys.functions values (412, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1619
1621 insert into sys.args values (32795, 412, 'res_0', 'decimal', 4, 0, 0, 0); 1621 ! 1620 insert into sys.args values (32794, 412, 'res_0', 'decimal', 4, 0, 0, 0); 1620
1622 insert into sys.args values (32796, 412, 'arg_1', 'decimal', 4, 0, 1, 1); 1622 ! 1621 insert into sys.args values (32795, 412, 'arg_1', 'decimal', 4, 0, 1, 1); 1621
1623 insert into sys.functions values (413, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1623 ! 1622 insert into sys.functions values (413, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1622
1624 insert into sys.args values (32797, 413, 'res_0', 'tinyint', 8, 0, 0, 0); 1624 ! 1623 insert into sys.args values (32796, 413, 'res_0', 'decimal', 4, 0, 0, 0); 1623
1625 insert into sys.args values (32798, 413, 'arg_1', 'decimal', 4, 0, 1, 1); 1625 ! 1624 insert into sys.args values (32797, 413, 'arg_1', 'decimal', 4, 0, 1, 1); 1624
1626 insert into sys.functions values (414, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1626 ! 1625 insert into sys.functions values (414, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1625
1627 insert into sys.args values (32799, 414, 'res_0', 'decimal', 4, 0, 0, 0); 1627 -
1628 insert into sys.args values (32800, 414, 'arg_1', 'decimal', 4, 0, 1, 1); 1628 ! 1626 insert into sys.args values (32798, 414, 'res_0', 'tinyint', 8, 0, 0, 0); 1626
1629 insert into sys.args values (32801, 414, 'arg_2', 'smallint', 16, 0, 1, 2); 1629 ! 1627 insert into sys.args values (32799, 414, 'arg_1', 'decimal', 4, 0, 1, 1); 1627
1630 insert into sys.functions values (415, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1630 ! 1628 insert into sys.functions values (415, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1628
1631 insert into sys.args values (32802, 415, 'res_0', 'decimal', 4, 0, 0, 0); 1631 ! 1629 insert into sys.args values (32800, 415, 'res_0', 'decimal', 4, 0, 0, 0); 1629
1632 insert into sys.args values (32803, 415, 'arg_1', 'decimal', 4, 0, 1, 1); 1632 ! 1630 insert into sys.args values (32801, 415, 'arg_1', 'decimal', 4, 0, 1, 1); 1630
1633 insert into sys.args values (32804, 415, 'arg_2', 'smallint', 16, 0, 1, 2); 1633 ! 1631 insert into sys.args values (32802, 415, 'arg_2', 'smallint', 16, 0, 1, 2); 1631
1634 insert into sys.functions values (416, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1634 ! 1632 insert into sys.functions values (416, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1632
1635 insert into sys.args values (32805, 416, 'res_0', 'month_interval', 32, 0, 0, 0); 1635 ! 1633 insert into sys.args values (32803, 416, 'res_0', 'decimal', 4, 0, 0, 0); 1633
1636 insert into sys.args values (32806, 416, 'arg_1', 'month_interval', 32, 0, 1, 1); 1636 ! 1634 insert into sys.args values (32804, 416, 'arg_1', 'decimal', 4, 0, 1, 1); 1634
1637 insert into sys.args values (32807, 416, 'arg_2', 'decimal', 4, 0, 1, 2); 1637 ! 1635 insert into sys.args values (32805, 416, 'arg_2', 'smallint', 16, 0, 1, 2); 1635
1638 insert into sys.functions values (417, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1638 ! 1636 insert into sys.functions values (417, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1636
1639 insert into sys.args values (32808, 417, 'res_0', 'month_interval', 32, 0, 0, 0); 1639 ! 1637 insert into sys.args values (32806, 417, 'res_0', 'month_interval', 32, 0, 0, 0); 1637
1640 insert into sys.args values (32809, 417, 'arg_1', 'month_interval', 32, 0, 1, 1); 1640 ! 1638 insert into sys.args values (32807, 417, 'arg_1', 'month_interval', 32, 0, 1, 1); 1638
1641 insert into sys.args values (32810, 417, 'arg_2', 'decimal', 4, 0, 1, 2); 1641 ! 1639 insert into sys.args values (32808, 417, 'arg_2', 'decimal', 4, 0, 1, 2); 1639
1642 insert into sys.functions values (418, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1642 ! 1640 insert into sys.functions values (418, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1640
1643 insert into sys.args values (32811, 418, 'res_0', 'sec_interval', 13, 0, 0, 0); 1643 ! 1641 insert into sys.args values (32809, 418, 'res_0', 'month_interval', 32, 0, 0, 0); 1641
1644 insert into sys.args values (32812, 418, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1644 ! 1642 insert into sys.args values (32810, 418, 'arg_1', 'month_interval', 32, 0, 1, 1); 1642
1645 insert into sys.args values (32813, 418, 'arg_2', 'decimal', 4, 0, 1, 2); 1645 ! 1643 insert into sys.args values (32811, 418, 'arg_2', 'decimal', 4, 0, 1, 2); 1643
1646 insert into sys.functions values (419, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1646 ! 1644 insert into sys.functions values (419, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1644
1647 insert into sys.args values (32814, 419, 'res_0', 'sec_interval', 13, 0, 0, 0); 1647 ! 1645 insert into sys.args values (32812, 419, 'res_0', 'sec_interval', 13, 0, 0, 0); 1645
1648 insert into sys.args values (32815, 419, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1648 ! 1646 insert into sys.args values (32813, 419, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1646
1649 insert into sys.args values (32816, 419, 'arg_2', 'decimal', 4, 0, 1, 2); 1649 ! 1647 insert into sys.args values (32814, 419, 'arg_2', 'decimal', 4, 0, 1, 2); 1647
1650 insert into sys.functions values (420, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1650 ! 1648 insert into sys.functions values (420, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1648
1651 insert into sys.args values (32817, 420, 'res_0', 'decimal', 9, 0, 0, 0); 1651 ! 1649 insert into sys.args values (32815, 420, 'res_0', 'sec_interval', 13, 0, 0, 0); 1649
1652 insert into sys.args values (32818, 420, 'arg_1', 'decimal', 9, 0, 1, 1); 1652 ! 1650 insert into sys.args values (32816, 420, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1650
1653 insert into sys.args values (32819, 420, 'arg_2', 'decimal', 9, 0, 1, 2); 1653 ! 1651 insert into sys.args values (32817, 420, 'arg_2', 'decimal', 4, 0, 1, 2); 1651
1654 insert into sys.functions values (421, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1654 ! 1652 insert into sys.functions values (421, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1652
1655 insert into sys.args values (32820, 421, 'res_0', 'decimal', 9, 0, 0, 0); 1655 ! 1653 insert into sys.args values (32818, 421, 'res_0', 'decimal', 9, 0, 0, 0); 1653
1656 insert into sys.args values (32821, 421, 'arg_1', 'decimal', 9, 0, 1, 1); 1656 ! 1654 insert into sys.args values (32819, 421, 'arg_1', 'decimal', 9, 0, 1, 1); 1654
1657 insert into sys.args values (32822, 421, 'arg_2', 'decimal', 9, 0, 1, 2); 1657 ! 1655 insert into sys.args values (32820, 421, 'arg_2', 'decimal', 9, 0, 1, 2); 1655
1658 insert into sys.functions values (422, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1658 ! 1656 insert into sys.functions values (422, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1656
1659 insert into sys.args values (32823, 422, 'res_0', 'decimal', 9, 0, 0, 0); 1659 ! 1657 insert into sys.args values (32821, 422, 'res_0', 'decimal', 9, 0, 0, 0); 1657
1660 insert into sys.args values (32824, 422, 'arg_1', 'decimal', 9, 0, 1, 1); 1660 ! 1658 insert into sys.args values (32822, 422, 'arg_1', 'decimal', 9, 0, 1, 1); 1658
1661 insert into sys.args values (32825, 422, 'arg_2', 'decimal', 9, 0, 1, 2); 1661 ! 1659 insert into sys.args values (32823, 422, 'arg_2', 'decimal', 9, 0, 1, 2); 1659
1662 insert into sys.functions values (423, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1662 ! 1660 insert into sys.functions values (423, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1660
1663 insert into sys.args values (32826, 423, 'res_0', 'decimal', 9, 0, 0, 0); 1663 ! 1661 insert into sys.args values (32824, 423, 'res_0', 'decimal', 9, 0, 0, 0); 1661
1664 insert into sys.args values (32827, 423, 'arg_1', 'decimal', 9, 0, 1, 1); 1664 ! 1662 insert into sys.args values (32825, 423, 'arg_1', 'decimal', 9, 0, 1, 1); 1662
1665 insert into sys.args values (32828, 423, 'arg_2', 'decimal', 9, 0, 1, 2); 1665 ! 1663 insert into sys.args values (32826, 423, 'arg_2', 'decimal', 9, 0, 1, 2); 1663
1666 insert into sys.functions values (424, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1666 ! 1664 insert into sys.functions values (424, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1664
1667 insert into sys.args values (32829, 424, 'res_0', 'decimal', 9, 0, 0, 0); 1667 ! 1665 insert into sys.args values (32827, 424, 'res_0', 'decimal', 9, 0, 0, 0); 1665
1668 insert into sys.args values (32830, 424, 'arg_1', 'decimal', 9, 0, 1, 1); 1668 ! 1666 insert into sys.args values (32828, 424, 'arg_1', 'decimal', 9, 0, 1, 1); 1666
1669 insert into sys.args values (32831, 424, 'arg_2', 'decimal', 9, 0, 1, 2); 1669 ! 1667 insert into sys.args values (32829, 424, 'arg_2', 'decimal', 9, 0, 1, 2); 1667
1670 insert into sys.functions values (425, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1670 ! 1668 insert into sys.functions values (425, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1668
1671 insert into sys.args values (32832, 425, 'res_0', 'decimal', 9, 0, 0, 0); 1671 ! 1669 insert into sys.args values (32830, 425, 'res_0', 'decimal', 9, 0, 0, 0); 1669
1672 insert into sys.args values (32833, 425, 'arg_1', 'decimal', 9, 0, 1, 1); 1672 ! 1670 insert into sys.args values (32831, 425, 'arg_1', 'decimal', 9, 0, 1, 1); 1670
1673 insert into sys.args values (32834, 425, 'arg_2', 'decimal', 9, 0, 1, 2); 1673 ! 1671 insert into sys.args values (32832, 425, 'arg_2', 'decimal', 9, 0, 1, 2); 1671
1674 insert into sys.functions values (426, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1674 ! 1672 insert into sys.functions values (426, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1672
1675 insert into sys.args values (32835, 426, 'res_0', 'decimal', 9, 0, 0, 0); 1675 ! 1673 insert into sys.args values (32833, 426, 'res_0', 'decimal', 9, 0, 0, 0); 1673
1676 insert into sys.args values (32836, 426, 'arg_1', 'decimal', 9, 0, 1, 1); 1676 ! 1674 insert into sys.args values (32834, 426, 'arg_1', 'decimal', 9, 0, 1, 1); 1674
1677 insert into sys.args values (32837, 426, 'arg_2', 'decimal', 9, 0, 1, 2); 1677 ! 1675 insert into sys.args values (32835, 426, 'arg_2', 'decimal', 9, 0, 1, 2); 1675
1678 insert into sys.functions values (427, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1678 ! 1676 insert into sys.functions values (427, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1676
1679 insert into sys.args values (32838, 427, 'res_0', 'decimal', 9, 0, 0, 0); 1679 ! 1677 insert into sys.args values (32836, 427, 'res_0', 'decimal', 9, 0, 0, 0); 1677
1680 insert into sys.args values (32839, 427, 'arg_1', 'decimal', 9, 0, 1, 1); 1680 ! 1678 insert into sys.args values (32837, 427, 'arg_1', 'decimal', 9, 0, 1, 1); 1678
1681 insert into sys.functions values (428, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1681 ! 1679 insert into sys.args values (32838, 427, 'arg_2', 'decimal', 9, 0, 1, 2); 1679
1682 insert into sys.args values (32840, 428, 'res_0', 'decimal', 9, 0, 0, 0); 1682 ! 1680 insert into sys.functions values (428, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1680
1683 insert into sys.args values (32841, 428, 'arg_1', 'decimal', 9, 0, 1, 1); 1683 ! 1681 insert into sys.args values (32839, 428, 'res_0', 'decimal', 9, 0, 0, 0); 1681
1684 insert into sys.args values (32842, 428, 'arg_2', 'int', 32, 0, 1, 2); 1684 ! 1682 insert into sys.args values (32840, 428, 'arg_1', 'decimal', 9, 0, 1, 1); 1682
1685 insert into sys.functions values (429, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1685 ! 1683 insert into sys.functions values (429, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1683
1686 insert into sys.args values (32843, 429, 'res_0', 'decimal', 9, 0, 0, 0); 1686 ! 1684 insert into sys.args values (32841, 429, 'res_0', 'decimal', 9, 0, 0, 0); 1684
1687 insert into sys.args values (32844, 429, 'arg_1', 'decimal', 9, 0, 1, 1); 1687 ! 1685 insert into sys.args values (32842, 429, 'arg_1', 'decimal', 9, 0, 1, 1); 1685
1688 insert into sys.args values (32845, 429, 'arg_2', 'int', 32, 0, 1, 2); 1688 ! 1686 insert into sys.args values (32843, 429, 'arg_2', 'int', 32, 0, 1, 2); 1686
1689 insert into sys.functions values (430, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1689 ! 1687 insert into sys.functions values (430, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1687
1690 insert into sys.args values (32846, 430, 'res_0', 'decimal', 9, 0, 0, 0); 1690 ! 1688 insert into sys.args values (32844, 430, 'res_0', 'decimal', 9, 0, 0, 0); 1688
1691 insert into sys.args values (32847, 430, 'arg_1', 'decimal', 9, 0, 1, 1); 1691 ! 1689 insert into sys.args values (32845, 430, 'arg_1', 'decimal', 9, 0, 1, 1); 1689
insert into sys. + 1690 insert into sys.args values (32846, 430, 'arg_2', 'int', 32, 0, 1, 2); 1690
1692 functions values (431, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1692 ! 1691 insert into sys.functions values (431, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1691
1693 insert into sys.args values (32848, 431, 'res_0', 'decimal', 9, 0, 0, 0); 1693 ! 1692 insert into sys.args values (32847, 431, 'res_0', 'decimal', 9, 0, 0, 0); 1692
1694 insert into sys.args values (32849, 431, 'arg_1', 'decimal', 9, 0, 1, 1); 1694 ! 1693 insert into sys.args values (32848, 431, 'arg_1', 'decimal', 9, 0, 1, 1); 1693
1695 insert into sys.functions values (432, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1695 ! 1694 insert into sys.functions values (432, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1694
1696 insert into sys.args values (32850, 432, 'res_0', 'tinyint', 8, 0, 0, 0); 1696 ! 1695 insert into sys.args values (32849, 432, 'res_0', 'decimal', 9, 0, 0, 0); 1695
1697 insert into sys.args values (32851, 432, 'arg_1', 'decimal', 9, 0, 1, 1); 1697 ! 1696 insert into sys.args values (32850, 432, 'arg_1', 'decimal', 9, 0, 1, 1); 1696
1698 insert into sys.functions values (433, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1698 ! 1697 insert into sys.functions values (433, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1697
1699 insert into sys.args values (32852, 433, 'res_0', 'decimal', 9, 0, 0, 0); 1699 -
1700 insert into sys.args values (32853, 433, 'arg_1', 'decimal', 9, 0, 1, 1); 1700 ! 1698 insert into sys.args values (32851, 433, 'res_0', 'tinyint', 8, 0, 0, 0); 1698
1701 insert into sys.args values (32854, 433, 'arg_2', 'int', 32, 0, 1, 2); 1701 ! 1699 insert into sys.args values (32852, 433, 'arg_1', 'decimal', 9, 0, 1, 1); 1699
1702 insert into sys.functions values (434, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1702 ! 1700 insert into sys.functions values (434, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1700
1703 insert into sys.args values (32855, 434, 'res_0', 'decimal', 9, 0, 0, 0); 1703 ! 1701 insert into sys.args values (32853, 434, 'res_0', 'decimal', 9, 0, 0, 0); 1701
1704 insert into sys.args values (32856, 434, 'arg_1', 'decimal', 9, 0, 1, 1); 1704 ! 1702 insert into sys.args values (32854, 434, 'arg_1', 'decimal', 9, 0, 1, 1); 1702
1705 insert into sys.args values (32857, 434, 'arg_2', 'int', 32, 0, 1, 2); 1705 ! 1703 insert into sys.args values (32855, 434, 'arg_2', 'int', 32, 0, 1, 2); 1703
1706 insert into sys.functions values (435, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1706 ! 1704 insert into sys.functions values (435, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1704
1707 insert into sys.args values (32858, 435, 'res_0', 'month_interval', 32, 0, 0, 0); 1707 ! 1705 insert into sys.args values (32856, 435, 'res_0', 'decimal', 9, 0, 0, 0); 1705
1708 insert into sys.args values (32859, 435, 'arg_1', 'month_interval', 32, 0, 1, 1); 1708 ! 1706 insert into sys.args values (32857, 435, 'arg_1', 'decimal', 9, 0, 1, 1); 1706
1709 insert into sys.args values (32860, 435, 'arg_2', 'decimal', 9, 0, 1, 2); 1709 ! 1707 insert into sys.args values (32858, 435, 'arg_2', 'int', 32, 0, 1, 2); 1707
1710 insert into sys.functions values (436, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1710 ! 1708 insert into sys.functions values (436, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1708
1711 insert into sys.args values (32861, 436, 'res_0', 'month_interval', 32, 0, 0, 0); 1711 ! 1709 insert into sys.args values (32859, 436, 'res_0', 'month_interval', 32, 0, 0, 0); 1709
1712 insert into sys.args values (32862, 436, 'arg_1', 'month_interval', 32, 0, 1, 1); 1712 ! 1710 insert into sys.args values (32860, 436, 'arg_1', 'month_interval', 32, 0, 1, 1); 1710
1713 insert into sys.args values (32863, 436, 'arg_2', 'decimal', 9, 0, 1, 2); 1713 ! 1711 insert into sys.args values (32861, 436, 'arg_2', 'decimal', 9, 0, 1, 2); 1711
1714 insert into sys.functions values (437, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1714 ! 1712 insert into sys.functions values (437, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1712
1715 insert into sys.args values (32864, 437, 'res_0', 'sec_interval', 13, 0, 0, 0); 1715 ! 1713 insert into sys.args values (32862, 437, 'res_0', 'month_interval', 32, 0, 0, 0); 1713
1716 insert into sys.args values (32865, 437, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1716 ! 1714 insert into sys.args values (32863, 437, 'arg_1', 'month_interval', 32, 0, 1, 1); 1714
1717 insert into sys.args values (32866, 437, 'arg_2', 'decimal', 9, 0, 1, 2); 1717 ! 1715 insert into sys.args values (32864, 437, 'arg_2', 'decimal', 9, 0, 1, 2); 1715
1718 insert into sys.functions values (438, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1718 ! 1716 insert into sys.functions values (438, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1716
1719 insert into sys.args values (32867, 438, 'res_0', 'sec_interval', 13, 0, 0, 0); 1719 ! 1717 insert into sys.args values (32865, 438, 'res_0', 'sec_interval', 13, 0, 0, 0); 1717
1720 insert into sys.args values (32868, 438, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1720 ! 1718 insert into sys.args values (32866, 438, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1718
1721 insert into sys.args values (32869, 438, 'arg_2', 'decimal', 9, 0, 1, 2); 1721 ! 1719 insert into sys.args values (32867, 438, 'arg_2', 'decimal', 9, 0, 1, 2); 1719
1722 insert into sys.functions values (439, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1722 ! 1720 insert into sys.functions values (439, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1720
1723 insert into sys.args values (32870, 439, 'res_0', 'decimal', 18, 0, 0, 0); 1723 ! 1721 insert into sys.args values (32868, 439, 'res_0', 'sec_interval', 13, 0, 0, 0); 1721
1724 insert into sys.args values (32871, 439, 'arg_1', 'decimal', 18, 0, 1, 1); 1724 ! 1722 insert into sys.args values (32869, 439, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1722
1725 insert into sys.args values (32872, 439, 'arg_2', 'decimal', 18, 0, 1, 2); 1725 ! 1723 insert into sys.args values (32870, 439, 'arg_2', 'decimal', 9, 0, 1, 2); 1723
1726 insert into sys.functions values (440, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1726 ! 1724 insert into sys.functions values (440, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1724
1727 insert into sys.args values (32873, 440, 'res_0', 'decimal', 18, 0, 0, 0); 1727 ! 1725 insert into sys.args values (32871, 440, 'res_0', 'decimal', 18, 0, 0, 0); 1725
1728 insert into sys.args values (32874, 440, 'arg_1', 'decimal', 18, 0, 1, 1); 1728 ! 1726 insert into sys.args values (32872, 440, 'arg_1', 'decimal', 18, 0, 1, 1); 1726
1729 insert into sys.args values (32875, 440, 'arg_2', 'decimal', 18, 0, 1, 2); 1729 ! 1727 insert into sys.args values (32873, 440, 'arg_2', 'decimal', 18, 0, 1, 2); 1727
1730 insert into sys.functions values (441, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1730 ! 1728 insert into sys.functions values (441, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1728
1731 insert into sys.args values (32876, 441, 'res_0', 'decimal', 18, 0, 0, 0); 1731 ! 1729 insert into sys.args values (32874, 441, 'res_0', 'decimal', 18, 0, 0, 0); 1729
1732 insert into sys.args values (32877, 441, 'arg_1', 'decimal', 18, 0, 1, 1); 1732 ! 1730 insert into sys.args values (32875, 441, 'arg_1', 'decimal', 18, 0, 1, 1); 1730
1733 insert into sys.args values (32878, 441, 'arg_2', 'decimal', 18, 0, 1, 2); 1733 ! 1731 insert into sys.args values (32876, 441, 'arg_2', 'decimal', 18, 0, 1, 2); 1731
1734 insert into sys.functions values (442, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1734 ! 1732 insert into sys.functions values (442, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1732
1735 insert into sys.args values (32879, 442, 'res_0', 'decimal', 18, 0, 0, 0); 1735 ! 1733 insert into sys.args values (32877, 442, 'res_0', 'decimal', 18, 0, 0, 0); 1733
1736 insert into sys.args values (32880, 442, 'arg_1', 'decimal', 18, 0, 1, 1); 1736 ! 1734 insert into sys.args values (32878, 442, 'arg_1', 'decimal', 18, 0, 1, 1); 1734
1737 insert into sys.args values (32881, 442, 'arg_2', 'decimal', 18, 0, 1, 2); 1737 ! 1735 insert into sys.args values (32879, 442, 'arg_2', 'decimal', 18, 0, 1, 2); 1735
1738 insert into sys.functions values (443, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1738 ! 1736 insert into sys.functions values (443, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1736
1739 insert into sys.args values (32882, 443, 'res_0', 'decimal', 18, 0, 0, 0); 1739 ! 1737 insert into sys.args values (32880, 443, 'res_0', 'decimal', 18, 0, 0, 0); 1737
1740 insert into sys.args values (32883, 443, 'arg_1', 'decimal', 18, 0, 1, 1); 1740 ! 1738 insert into sys.args values (32881, 443, 'arg_1', 'decimal', 18, 0, 1, 1); 1738
1741 insert into sys.args values (32884, 443, 'arg_2', 'decimal', 18, 0, 1, 2); 1741 ! 1739 insert into sys.args values (32882, 443, 'arg_2', 'decimal', 18, 0, 1, 2); 1739
1742 insert into sys.functions values (444, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1742 ! 1740 insert into sys.functions values (444, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1740
1743 insert into sys.args values (32885, 444, 'res_0', 'decimal', 18, 0, 0, 0); 1743 ! 1741 insert into sys.args values (32883, 444, 'res_0', 'decimal', 18, 0, 0, 0); 1741
1744 insert into sys.args values (32886, 444, 'arg_1', 'decimal', 18, 0, 1, 1); 1744 ! 1742 insert into sys.args values (32884, 444, 'arg_1', 'decimal', 18, 0, 1, 1); 1742
1745 insert into sys.args values (32887, 444, 'arg_2', 'decimal', 18, 0, 1, 2); 1745 ! 1743 insert into sys.args values (32885, 444, 'arg_2', 'decimal', 18, 0, 1, 2); 1743
1746 insert into sys.functions values (445, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1746 ! 1744 insert into sys.functions values (445, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1744
1747 insert into sys.args values (32888, 445, 'res_0', 'decimal', 18, 0, 0, 0); 1747 ! 1745 insert into sys.args values (32886, 445, 'res_0', 'decimal', 18, 0, 0, 0); 1745
1748 insert into sys.args values (32889, 445, 'arg_1', 'decimal', 18, 0, 1, 1); 1748 ! 1746 insert into sys.args values (32887, 445, 'arg_1', 'decimal', 18, 0, 1, 1); 1746
1749 insert into sys.args values (32890, 445, 'arg_2', 'decimal', 18, 0, 1, 2); 1749 ! 1747 insert into sys.args values (32888, 445, 'arg_2', 'decimal', 18, 0, 1, 2); 1747
1750 insert into sys.functions values (446, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1750 ! 1748 insert into sys.functions values (446, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1748
1751 insert into sys.args values (32891, 446, 'res_0', 'decimal', 18, 0, 0, 0); 1751 ! 1749 insert into sys.args values (32889, 446, 'res_0', 'decimal', 18, 0, 0, 0); 1749
1752 insert into sys.args values (32892, 446, 'arg_1', 'decimal', 18, 0, 1, 1); 1752 ! 1750 insert into sys.args values (32890, 446, 'arg_1', 'decimal', 18, 0, 1, 1); 1750
1753 insert into sys.functions values (447, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1753 ! 1751 insert into sys.args values (32891, 446, 'arg_2', 'decimal', 18, 0, 1, 2); 1751
1754 insert into sys.args values (32893, 447, 'res_0', 'decimal', 18, 0, 0, 0); 1754 ! 1752 insert into sys.functions values (447, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1752
1755 insert into sys.args values (32894, 447, 'arg_1', 'decimal', 18, 0, 1, 1); 1755 ! 1753 insert into sys.args values (32892, 447, 'res_0', 'decimal', 18, 0, 0, 0); 1753
1756 insert into sys.args values (32895, 447, 'arg_2', 'int', 32, 0, 1, 2); 1756 ! 1754 insert into sys.args values (32893, 447, 'arg_1', 'decimal', 18, 0, 1, 1); 1754
1757 insert into sys.functions values (448, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1757 ! 1755 insert into sys.functions values (448, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1755
1758 insert into sys.args values (32896, 448, 'res_0', 'decimal', 18, 0, 0, 0); 1758 ! 1756 insert into sys.args values (32894, 448, 'res_0', 'decimal', 18, 0, 0, 0); 1756
1759 insert into sys.args values (32897, 448, 'arg_1', 'decimal', 18, 0, 1, 1); 1759 ! 1757 insert into sys.args values (32895, 448, 'arg_1', 'decimal', 18, 0, 1, 1); 1757
1760 insert into sys.args values (32898, 448, 'arg_2', 'int', 32, 0, 1, 2); 1760 ! 1758 insert into sys.args values (32896, 448, 'arg_2', 'int', 32, 0, 1, 2); 1758
1761 insert into sys.functions values (449, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1761 ! 1759 insert into sys.functions values (449, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1759
1762 insert into sys.args values (32899, 449, 'res_0', 'decimal', 18, 0, 0, 0); 1762 ! 1760 insert into sys.args values (32897, 449, 'res_0', 'decimal', 18, 0, 0, 0); 1760
1763 insert into sys.args values (32900, 449, 'arg_1', 'decimal', 18, 0, 1, 1); 1763 ! 1761 insert into sys.args values (32898, 449, 'arg_1', 'decimal', 18, 0, 1, 1); 1761
insert into sys. + 1762 insert into sys.args values (32899, 449, 'arg_2', 'int', 32, 0, 1, 2); 1762
1764 functions values (450, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1764 ! 1763 insert into sys.functions values (450, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1763
1765 insert into sys.args values (32901, 450, 'res_0', 'decimal', 18, 0, 0, 0); 1765 ! 1764 insert into sys.args values (32900, 450, 'res_0', 'decimal', 18, 0, 0, 0); 1764
1766 insert into sys.args values (32902, 450, 'arg_1', 'decimal', 18, 0, 1, 1); 1766 ! 1765 insert into sys.args values (32901, 450, 'arg_1', 'decimal', 18, 0, 1, 1); 1765
1767 insert into sys.functions values (451, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1767 ! 1766 insert into sys.functions values (451, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1766
1768 insert into sys.args values (32903, 451, 'res_0', 'tinyint', 8, 0, 0, 0); 1768 ! 1767 insert into sys.args values (32902, 451, 'res_0', 'decimal', 18, 0, 0, 0); 1767
1769 insert into sys.args values (32904, 451, 'arg_1', 'decimal', 18, 0, 1, 1); 1769 ! 1768 insert into sys.args values (32903, 451, 'arg_1', 'decimal', 18, 0, 1, 1); 1768
1770 insert into sys.functions values (452, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1770 ! 1769 insert into sys.functions values (452, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1769
1771 insert into sys.args values (32905, 452, 'res_0', 'decimal', 18, 0, 0, 0); 1771 -
1772 insert into sys.args values (32906, 452, 'arg_1', 'decimal', 18, 0, 1, 1); 1772 ! 1770 insert into sys.args values (32904, 452, 'res_0', 'tinyint', 8, 0, 0, 0); 1770
1773 insert into sys.args values (32907, 452, 'arg_2', 'bigint', 64, 0, 1, 2); 1773 ! 1771 insert into sys.args values (32905, 452, 'arg_1', 'decimal', 18, 0, 1, 1); 1771
1774 insert into sys.functions values (453, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1774 ! 1772 insert into sys.functions values (453, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1772
1775 insert into sys.args values (32908, 453, 'res_0', 'decimal', 18, 0, 0, 0); 1775 ! 1773 insert into sys.args values (32906, 453, 'res_0', 'decimal', 18, 0, 0, 0); 1773
1776 insert into sys.args values (32909, 453, 'arg_1', 'decimal', 18, 0, 1, 1); 1776 ! 1774 insert into sys.args values (32907, 453, 'arg_1', 'decimal', 18, 0, 1, 1); 1774
1777 insert into sys.args values (32910, 453, 'arg_2', 'bigint', 64, 0, 1, 2); 1777 ! 1775 insert into sys.args values (32908, 453, 'arg_2', 'bigint', 64, 0, 1, 2); 1775
1778 insert into sys.functions values (454, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1778 ! 1776 insert into sys.functions values (454, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1776
1779 insert into sys.args values (32911, 454, 'res_0', 'month_interval', 32, 0, 0, 0); 1779 ! 1777 insert into sys.args values (32909, 454, 'res_0', 'decimal', 18, 0, 0, 0); 1777
1780 insert into sys.args values (32912, 454, 'arg_1', 'month_interval', 32, 0, 1, 1); 1780 ! 1778 insert into sys.args values (32910, 454, 'arg_1', 'decimal', 18, 0, 1, 1); 1778
1781 insert into sys.args values (32913, 454, 'arg_2', 'decimal', 18, 0, 1, 2); 1781 ! 1779 insert into sys.args values (32911, 454, 'arg_2', 'bigint', 64, 0, 1, 2); 1779
1782 insert into sys.functions values (455, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1782 ! 1780 insert into sys.functions values (455, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1780
1783 insert into sys.args values (32914, 455, 'res_0', 'month_interval', 32, 0, 0, 0); 1783 ! 1781 insert into sys.args values (32912, 455, 'res_0', 'month_interval', 32, 0, 0, 0); 1781
1784 insert into sys.args values (32915, 455, 'arg_1', 'month_interval', 32, 0, 1, 1); 1784 ! 1782 insert into sys.args values (32913, 455, 'arg_1', 'month_interval', 32, 0, 1, 1); 1782
1785 insert into sys.args values (32916, 455, 'arg_2', 'decimal', 18, 0, 1, 2); 1785 ! 1783 insert into sys.args values (32914, 455, 'arg_2', 'decimal', 18, 0, 1, 2); 1783
1786 insert into sys.functions values (456, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1786 ! 1784 insert into sys.functions values (456, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1784
1787 insert into sys.args values (32917, 456, 'res_0', 'sec_interval', 13, 0, 0, 0); 1787 ! 1785 insert into sys.args values (32915, 456, 'res_0', 'month_interval', 32, 0, 0, 0); 1785
1788 insert into sys.args values (32918, 456, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1788 ! 1786 insert into sys.args values (32916, 456, 'arg_1', 'month_interval', 32, 0, 1, 1); 1786
1789 insert into sys.args values (32919, 456, 'arg_2', 'decimal', 18, 0, 1, 2); 1789 ! 1787 insert into sys.args values (32917, 456, 'arg_2', 'decimal', 18, 0, 1, 2); 1787
1790 insert into sys.functions values (457, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1790 ! 1788 insert into sys.functions values (457, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1788
1791 insert into sys.args values (32920, 457, 'res_0', 'sec_interval', 13, 0, 0, 0); 1791 ! 1789 insert into sys.args values (32918, 457, 'res_0', 'sec_interval', 13, 0, 0, 0); 1789
1792 insert into sys.args values (32921, 457, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1792 ! 1790 insert into sys.args values (32919, 457, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1790
1793 insert into sys.args values (32922, 457, 'arg_2', 'decimal', 18, 0, 1, 2); 1793 ! 1791 insert into sys.args values (32920, 457, 'arg_2', 'decimal', 18, 0, 1, 2); 1791
1794 insert into sys.functions values (458, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1794 ! 1792 insert into sys.functions values (458, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1792
1795 insert into sys.args values (32923, 458, 'res_0', 'real', 24, 0, 0, 0); 1795 ! 1793 insert into sys.args values (32921, 458, 'res_0', 'sec_interval', 13, 0, 0, 0); 1793
1796 insert into sys.args values (32924, 458, 'arg_1', 'real', 24, 0, 1, 1); 1796 ! 1794 insert into sys.args values (32922, 458, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1794
1797 insert into sys.args values (32925, 458, 'arg_2', 'real', 24, 0, 1, 2); 1797 ! 1795 insert into sys.args values (32923, 458, 'arg_2', 'decimal', 18, 0, 1, 2); 1795
1798 insert into sys.functions values (459, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1798 ! 1796 insert into sys.functions values (459, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1796
1799 insert into sys.args values (32926, 459, 'res_0', 'real', 24, 0, 0, 0); 1799 ! 1797 insert into sys.args values (32924, 459, 'res_0', 'real', 24, 0, 0, 0); 1797
1800 insert into sys.args values (32927, 459, 'arg_1', 'real', 24, 0, 1, 1); 1800 ! 1798 insert into sys.args values (32925, 459, 'arg_1', 'real', 24, 0, 1, 1); 1798
1801 insert into sys.args values (32928, 459, 'arg_2', 'real', 24, 0, 1, 2); 1801 ! 1799 insert into sys.args values (32926, 459, 'arg_2', 'real', 24, 0, 1, 2); 1799
1802 insert into sys.functions values (460, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1802 ! 1800 insert into sys.functions values (460, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1800
1803 insert into sys.args values (32929, 460, 'res_0', 'real', 24, 0, 0, 0); 1803 ! 1801 insert into sys.args values (32927, 460, 'res_0', 'real', 24, 0, 0, 0); 1801
1804 insert into sys.args values (32930, 460, 'arg_1', 'real', 24, 0, 1, 1); 1804 ! 1802 insert into sys.args values (32928, 460, 'arg_1', 'real', 24, 0, 1, 1); 1802
1805 insert into sys.args values (32931, 460, 'arg_2', 'real', 24, 0, 1, 2); 1805 ! 1803 insert into sys.args values (32929, 460, 'arg_2', 'real', 24, 0, 1, 2); 1803
1806 insert into sys.functions values (461, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1806 ! 1804 insert into sys.functions values (461, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1804
1807 insert into sys.args values (32932, 461, 'res_0', 'real', 24, 0, 0, 0); 1807 ! 1805 insert into sys.args values (32930, 461, 'res_0', 'real', 24, 0, 0, 0); 1805
1808 insert into sys.args values (32933, 461, 'arg_1', 'real', 24, 0, 1, 1); 1808 ! 1806 insert into sys.args values (32931, 461, 'arg_1', 'real', 24, 0, 1, 1); 1806
1809 insert into sys.args values (32934, 461, 'arg_2', 'real', 24, 0, 1, 2); 1809 ! 1807 insert into sys.args values (32932, 461, 'arg_2', 'real', 24, 0, 1, 2); 1807
1810 insert into sys.functions values (462, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1810 ! 1808 insert into sys.functions values (462, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1808
1811 insert into sys.args values (32935, 462, 'res_0', 'real', 24, 0, 0, 0); 1811 ! 1809 insert into sys.args values (32933, 462, 'res_0', 'real', 24, 0, 0, 0); 1809
1812 insert into sys.args values (32936, 462, 'arg_1', 'real', 24, 0, 1, 1); 1812 ! 1810 insert into sys.args values (32934, 462, 'arg_1', 'real', 24, 0, 1, 1); 1810
insert into sys. + 1811 insert into sys.args values (32935, 462, 'arg_2', 'real', 24, 0, 1, 2); 1811
1813 functions values (463, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1813 ! 1812 insert into sys.functions values (463, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1812
1814 insert into sys.args values (32937, 463, 'res_0', 'real', 24, 0, 0, 0); 1814 ! 1813 insert into sys.args values (32936, 463, 'res_0', 'real', 24, 0, 0, 0); 1813
1815 insert into sys.args values (32938, 463, 'arg_1', 'real', 24, 0, 1, 1); 1815 ! 1814 insert into sys.args values (32937, 463, 'arg_1', 'real', 24, 0, 1, 1); 1814
1816 insert into sys.functions values (464, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1816 ! 1815 insert into sys.functions values (464, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1815
1817 insert into sys.args values (32939, 464, 'res_0', 'tinyint', 8, 0, 0, 0); 1817 ! 1816 insert into sys.args values (32938, 464, 'res_0', 'real', 24, 0, 0, 0); 1816
1818 insert into sys.args values (32940, 464, 'arg_1', 'real', 24, 0, 1, 1); 1818 ! 1817 insert into sys.args values (32939, 464, 'arg_1', 'real', 24, 0, 1, 1); 1817
1819 insert into sys.functions values (465, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1819 ! 1818 insert into sys.functions values (465, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1818
1820 insert into sys.args values (32941, 465, 'res_0', 'real', 24, 0, 0, 0); 1820 -
1821 insert into sys.args values (32942, 465, 'arg_1', 'real', 24, 0, 1, 1); 1821 ! 1819 insert into sys.args values (32940, 465, 'res_0', 'tinyint', 8, 0, 0, 0); 1819
1822 insert into sys.args values (32943, 465, 'arg_2', 'real', 24, 0, 1, 2); 1822 ! 1820 insert into sys.args values (32941, 465, 'arg_1', 'real', 24, 0, 1, 1); 1820
1823 insert into sys.functions values (466, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1823 ! 1821 insert into sys.functions values (466, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1821
1824 insert into sys.args values (32944, 466, 'res_0', 'real', 24, 0, 0, 0); 1824 ! 1822 insert into sys.args values (32942, 466, 'res_0', 'real', 24, 0, 0, 0); 1822
1825 insert into sys.args values (32945, 466, 'arg_1', 'real', 24, 0, 1, 1); 1825 ! 1823 insert into sys.args values (32943, 466, 'arg_1', 'real', 24, 0, 1, 1); 1823
1826 insert into sys.args values (32946, 466, 'arg_2', 'real', 24, 0, 1, 2); 1826 ! 1824 insert into sys.args values (32944, 466, 'arg_2', 'real', 24, 0, 1, 2); 1824
1827 insert into sys.functions values (467, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1827 ! 1825 insert into sys.functions values (467, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1825
1828 insert into sys.args values (32947, 467, 'res_0', 'month_interval', 32, 0, 0, 0); 1828 ! 1826 insert into sys.args values (32945, 467, 'res_0', 'real', 24, 0, 0, 0); 1826
1829 insert into sys.args values (32948, 467, 'arg_1', 'month_interval', 32, 0, 1, 1); 1829 ! 1827 insert into sys.args values (32946, 467, 'arg_1', 'real', 24, 0, 1, 1); 1827
1830 insert into sys.args values (32949, 467, 'arg_2', 'real', 24, 0, 1, 2); 1830 ! 1828 insert into sys.args values (32947, 467, 'arg_2', 'real', 24, 0, 1, 2); 1828
1831 insert into sys.functions values (468, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1831 ! 1829 insert into sys.functions values (468, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1829
1832 insert into sys.args values (32950, 468, 'res_0', 'month_interval', 32, 0, 0, 0); 1832 ! 1830 insert into sys.args values (32948, 468, 'res_0', 'month_interval', 32, 0, 0, 0); 1830
1833 insert into sys.args values (32951, 468, 'arg_1', 'month_interval', 32, 0, 1, 1); 1833 ! 1831 insert into sys.args values (32949, 468, 'arg_1', 'month_interval', 32, 0, 1, 1); 1831
1834 insert into sys.args values (32952, 468, 'arg_2', 'real', 24, 0, 1, 2); 1834 ! 1832 insert into sys.args values (32950, 468, 'arg_2', 'real', 24, 0, 1, 2); 1832
1835 insert into sys.functions values (469, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1835 ! 1833 insert into sys.functions values (469, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1833
1836 insert into sys.args values (32953, 469, 'res_0', 'sec_interval', 13, 0, 0, 0); 1836 ! 1834 insert into sys.args values (32951, 469, 'res_0', 'month_interval', 32, 0, 0, 0); 1834
1837 insert into sys.args values (32954, 469, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1837 ! 1835 insert into sys.args values (32952, 469, 'arg_1', 'month_interval', 32, 0, 1, 1); 1835
1838 insert into sys.args values (32955, 469, 'arg_2', 'real', 24, 0, 1, 2); 1838 ! 1836 insert into sys.args values (32953, 469, 'arg_2', 'real', 24, 0, 1, 2); 1836
1839 insert into sys.functions values (470, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1839 ! 1837 insert into sys.functions values (470, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1837
1840 insert into sys.args values (32956, 470, 'res_0', 'sec_interval', 13, 0, 0, 0); 1840 ! 1838 insert into sys.args values (32954, 470, 'res_0', 'sec_interval', 13, 0, 0, 0); 1838
1841 insert into sys.args values (32957, 470, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1841 ! 1839 insert into sys.args values (32955, 470, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1839
1842 insert into sys.args values (32958, 470, 'arg_2', 'real', 24, 0, 1, 2); 1842 ! 1840 insert into sys.args values (32956, 470, 'arg_2', 'real', 24, 0, 1, 2); 1840
1843 insert into sys.functions values (471, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1843 ! 1841 insert into sys.functions values (471, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1841
1844 insert into sys.args values (32959, 471, 'res_0', 'double', 53, 0, 0, 0); 1844 ! 1842 insert into sys.args values (32957, 471, 'res_0', 'sec_interval', 13, 0, 0, 0); 1842
1845 insert into sys.args values (32960, 471, 'arg_1', 'double', 53, 0, 1, 1); 1845 ! 1843 insert into sys.args values (32958, 471, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1843
1846 insert into sys.args values (32961, 471, 'arg_2', 'double', 53, 0, 1, 2); 1846 ! 1844 insert into sys.args values (32959, 471, 'arg_2', 'real', 24, 0, 1, 2); 1844
1847 insert into sys.functions values (472, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1847 ! 1845 insert into sys.functions values (472, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1845
1848 insert into sys.args values (32962, 472, 'res_0', 'double', 53, 0, 0, 0); 1848 ! 1846 insert into sys.args values (32960, 472, 'res_0', 'double', 53, 0, 0, 0); 1846
1849 insert into sys.args values (32963, 472, 'arg_1', 'double', 53, 0, 1, 1); 1849 ! 1847 insert into sys.args values (32961, 472, 'arg_1', 'double', 53, 0, 1, 1); 1847
1850 insert into sys.args values (32964, 472, 'arg_2', 'double', 53, 0, 1, 2); 1850 ! 1848 insert into sys.args values (32962, 472, 'arg_2', 'double', 53, 0, 1, 2); 1848
1851 insert into sys.functions values (473, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1851 ! 1849 insert into sys.functions values (473, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1849
1852 insert into sys.args values (32965, 473, 'res_0', 'double', 53, 0, 0, 0); 1852 ! 1850 insert into sys.args values (32963, 473, 'res_0', 'double', 53, 0, 0, 0); 1850
1853 insert into sys.args values (32966, 473, 'arg_1', 'double', 53, 0, 1, 1); 1853 ! 1851 insert into sys.args values (32964, 473, 'arg_1', 'double', 53, 0, 1, 1); 1851
1854 insert into sys.args values (32967, 473, 'arg_2', 'double', 53, 0, 1, 2); 1854 ! 1852 insert into sys.args values (32965, 473, 'arg_2', 'double', 53, 0, 1, 2); 1852
1855 insert into sys.functions values (474, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1855 ! 1853 insert into sys.functions values (474, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1853
1856 insert into sys.args values (32968, 474, 'res_0', 'double', 53, 0, 0, 0); 1856 ! 1854 insert into sys.args values (32966, 474, 'res_0', 'double', 53, 0, 0, 0); 1854
1857 insert into sys.args values (32969, 474, 'arg_1', 'double', 53, 0, 1, 1); 1857 ! 1855 insert into sys.args values (32967, 474, 'arg_1', 'double', 53, 0, 1, 1); 1855
1858 insert into sys.args values (32970, 474, 'arg_2', 'double', 53, 0, 1, 2); 1858 ! 1856 insert into sys.args values (32968, 474, 'arg_2', 'double', 53, 0, 1, 2); 1856
1859 insert into sys.functions values (475, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1859 ! 1857 insert into sys.functions values (475, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1857
1860 insert into sys.args values (32971, 475, 'res_0', 'double', 53, 0, 0, 0); 1860 ! 1858 insert into sys.args values (32969, 475, 'res_0', 'double', 53, 0, 0, 0); 1858
1861 insert into sys.args values (32972, 475, 'arg_1', 'double', 53, 0, 1, 1); 1861 ! 1859 insert into sys.args values (32970, 475, 'arg_1', 'double', 53, 0, 1, 1); 1859
insert into sys. + 1860 insert into sys.args values (32971, 475, 'arg_2', 'double', 53, 0, 1, 2); 1860
1862 functions values (476, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1862 ! 1861 insert into sys.functions values (476, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1861
1863 insert into sys.args values (32973, 476, 'res_0', 'double', 53, 0, 0, 0); 1863 ! 1862 insert into sys.args values (32972, 476, 'res_0', 'double', 53, 0, 0, 0); 1862
1864 insert into sys.args values (32974, 476, 'arg_1', 'double', 53, 0, 1, 1); 1864 ! 1863 insert into sys.args values (32973, 476, 'arg_1', 'double', 53, 0, 1, 1); 1863
1865 insert into sys.functions values (477, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1865 ! 1864 insert into sys.functions values (477, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1864
1866 insert into sys.args values (32975, 477, 'res_0', 'tinyint', 8, 0, 0, 0); 1866 ! 1865 insert into sys.args values (32974, 477, 'res_0', 'double', 53, 0, 0, 0); 1865
1867 insert into sys.args values (32976, 477, 'arg_1', 'double', 53, 0, 1, 1); 1867 ! 1866 insert into sys.args values (32975, 477, 'arg_1', 'double', 53, 0, 1, 1); 1866
1868 insert into sys.functions values (478, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1868 ! 1867 insert into sys.functions values (478, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1867
1869 insert into sys.args values (32977, 478, 'res_0', 'double', 53, 0, 0, 0); 1869 -
1870 insert into sys.args values (32978, 478, 'arg_1', 'double', 53, 0, 1, 1); 1870 ! 1868 insert into sys.args values (32976, 478, 'res_0', 'tinyint', 8, 0, 0, 0); 1868
1871 insert into sys.args values (32979, 478, 'arg_2', 'double', 53, 0, 1, 2); 1871 ! 1869 insert into sys.args values (32977, 478, 'arg_1', 'double', 53, 0, 1, 1); 1869
1872 insert into sys.functions values (479, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1872 ! 1870 insert into sys.functions values (479, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1870
1873 insert into sys.args values (32980, 479, 'res_0', 'double', 53, 0, 0, 0); 1873 ! 1871 insert into sys.args values (32978, 479, 'res_0', 'double', 53, 0, 0, 0); 1871
1874 insert into sys.args values (32981, 479, 'arg_1', 'double', 53, 0, 1, 1); 1874 ! 1872 insert into sys.args values (32979, 479, 'arg_1', 'double', 53, 0, 1, 1); 1872
1875 insert into sys.args values (32982, 479, 'arg_2', 'double', 53, 0, 1, 2); 1875 ! 1873 insert into sys.args values (32980, 479, 'arg_2', 'double', 53, 0, 1, 2); 1873
1876 insert into sys.functions values (480, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1876 ! 1874 insert into sys.functions values (480, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1874
1877 insert into sys.args values (32983, 480, 'res_0', 'month_interval', 32, 0, 0, 0); 1877 ! 1875 insert into sys.args values (32981, 480, 'res_0', 'double', 53, 0, 0, 0); 1875
1878 insert into sys.args values (32984, 480, 'arg_1', 'month_interval', 32, 0, 1, 1); 1878 ! 1876 insert into sys.args values (32982, 480, 'arg_1', 'double', 53, 0, 1, 1); 1876
1879 insert into sys.args values (32985, 480, 'arg_2', 'double', 53, 0, 1, 2); 1879 ! 1877 insert into sys.args values (32983, 480, 'arg_2', 'double', 53, 0, 1, 2); 1877
1880 insert into sys.functions values (481, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1880 ! 1878 insert into sys.functions values (481, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1878
1881 insert into sys.args values (32986, 481, 'res_0', 'month_interval', 32, 0, 0, 0); 1881 ! 1879 insert into sys.args values (32984, 481, 'res_0', 'month_interval', 32, 0, 0, 0); 1879
1882 insert into sys.args values (32987, 481, 'arg_1', 'month_interval', 32, 0, 1, 1); 1882 ! 1880 insert into sys.args values (32985, 481, 'arg_1', 'month_interval', 32, 0, 1, 1); 1880
1883 insert into sys.args values (32988, 481, 'arg_2', 'double', 53, 0, 1, 2); 1883 ! 1881 insert into sys.args values (32986, 481, 'arg_2', 'double', 53, 0, 1, 2); 1881
1884 insert into sys.functions values (482, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1884 ! 1882 insert into sys.functions values (482, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1882
1885 insert into sys.args values (32989, 482, 'res_0', 'sec_interval', 13, 0, 0, 0); 1885 ! 1883 insert into sys.args values (32987, 482, 'res_0', 'month_interval', 32, 0, 0, 0); 1883
1886 insert into sys.args values (32990, 482, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1886 ! 1884 insert into sys.args values (32988, 482, 'arg_1', 'month_interval', 32, 0, 1, 1); 1884
1887 insert into sys.args values (32991, 482, 'arg_2', 'double', 53, 0, 1, 2); 1887 ! 1885 insert into sys.args values (32989, 482, 'arg_2', 'double', 53, 0, 1, 2); 1885
1888 insert into sys.functions values (483, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1888 ! 1886 insert into sys.functions values (483, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1886
1889 insert into sys.args values (32992, 483, 'res_0', 'sec_interval', 13, 0, 0, 0); 1889 ! 1887 insert into sys.args values (32990, 483, 'res_0', 'sec_interval', 13, 0, 0, 0); 1887
1890 insert into sys.args values (32993, 483, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1890 ! 1888 insert into sys.args values (32991, 483, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1888
1891 insert into sys.args values (32994, 483, 'arg_2', 'double', 53, 0, 1, 2); 1891 ! 1889 insert into sys.args values (32992, 483, 'arg_2', 'double', 53, 0, 1, 2); 1889
1892 insert into sys.functions values (484, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1892 ! 1890 insert into sys.functions values (484, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1890
1893 insert into sys.args values (32995, 484, 'res_0', 'month_interval', 32, 0, 0, 0); 1893 ! 1891 insert into sys.args values (32993, 484, 'res_0', 'sec_interval', 13, 0, 0, 0); 1891
1894 insert into sys.args values (32996, 484, 'arg_1', 'month_interval', 32, 0, 1, 1); 1894 ! 1892 insert into sys.args values (32994, 484, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1892
1895 insert into sys.args values (32997, 484, 'arg_2', 'month_interval', 32, 0, 1, 2); 1895 ! 1893 insert into sys.args values (32995, 484, 'arg_2', 'double', 53, 0, 1, 2); 1893
1896 insert into sys.functions values (485, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1896 ! 1894 insert into sys.functions values (485, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1894
1897 insert into sys.args values (32998, 485, 'res_0', 'month_interval', 32, 0, 0, 0); 1897 ! 1895 insert into sys.args values (32996, 485, 'res_0', 'month_interval', 32, 0, 0, 0); 1895
1898 insert into sys.args values (32999, 485, 'arg_1', 'month_interval', 32, 0, 1, 1); 1898 ! 1896 insert into sys.args values (32997, 485, 'arg_1', 'month_interval', 32, 0, 1, 1); 1896
1899 insert into sys.args values (33000, 485, 'arg_2', 'month_interval', 32, 0, 1, 2); 1899 ! 1897 insert into sys.args values (32998, 485, 'arg_2', 'month_interval', 32, 0, 1, 2); 1897
1900 insert into sys.functions values (486, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1900 ! 1898 insert into sys.functions values (486, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1898
1901 insert into sys.args values (33001, 486, 'res_0', 'month_interval', 32, 0, 0, 0); 1901 ! 1899 insert into sys.args values (32999, 486, 'res_0', 'month_interval', 32, 0, 0, 0); 1899
1902 insert into sys.args values (33002, 486, 'arg_1', 'month_interval', 32, 0, 1, 1); 1902 ! 1900 insert into sys.args values (33000, 486, 'arg_1', 'month_interval', 32, 0, 1, 1); 1900
1903 insert into sys.args values (33003, 486, 'arg_2', 'month_interval', 32, 0, 1, 2); 1903 ! 1901 insert into sys.args values (33001, 486, 'arg_2', 'month_interval', 32, 0, 1, 2); 1901
1904 insert into sys.functions values (487, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1904 ! 1902 insert into sys.functions values (487, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1902
1905 insert into sys.args values (33004, 487, 'res_0', 'month_interval', 32, 0, 0, 0); 1905 ! 1903 insert into sys.args values (33002, 487, 'res_0', 'month_interval', 32, 0, 0, 0); 1903
1906 insert into sys.args values (33005, 487, 'arg_1', 'month_interval', 32, 0, 1, 1); 1906 ! 1904 insert into sys.args values (33003, 487, 'arg_1', 'month_interval', 32, 0, 1, 1); 1904
1907 insert into sys.args values (33006, 487, 'arg_2', 'month_interval', 32, 0, 1, 2); 1907 ! 1905 insert into sys.args values (33004, 487, 'arg_2', 'month_interval', 32, 0, 1, 2); 1905
1908 insert into sys.functions values (488, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1908 ! 1906 insert into sys.functions values (488, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1906
1909 insert into sys.args values (33007, 488, 'res_0', 'month_interval', 32, 0, 0, 0); 1909 ! 1907 insert into sys.args values (33005, 488, 'res_0', 'month_interval', 32, 0, 0, 0); 1907
1910 insert into sys.args values (33008, 488, 'arg_1', 'month_interval', 32, 0, 1, 1); 1910 ! 1908 insert into sys.args values (33006, 488, 'arg_1', 'month_interval', 32, 0, 1, 1); 1908
insert into sys. + 1909 insert into sys.args values (33007, 488, 'arg_2', 'month_interval', 32, 0, 1, 2); 1909
1911 functions values (489, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1911 ! 1910 insert into sys.functions values (489, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1910
1912 insert into sys.args values (33009, 489, 'res_0', 'month_interval', 32, 0, 0, 0); 1912 ! 1911 insert into sys.args values (33008, 489, 'res_0', 'month_interval', 32, 0, 0, 0); 1911
1913 insert into sys.args values (33010, 489, 'arg_1', 'month_interval', 32, 0, 1, 1); 1913 ! 1912 insert into sys.args values (33009, 489, 'arg_1', 'month_interval', 32, 0, 1, 1); 1912
1914 insert into sys.functions values (490, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1914 ! 1913 insert into sys.functions values (490, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1913
1915 insert into sys.args values (33011, 490, 'res_0', 'tinyint', 8, 0, 0, 0); 1915 ! 1914 insert into sys.args values (33010, 490, 'res_0', 'month_interval', 32, 0, 0, 0); 1914
1916 insert into sys.args values (33012, 490, 'arg_1', 'month_interval', 32, 0, 1, 1); 1916 ! 1915 insert into sys.args values (33011, 490, 'arg_1', 'month_interval', 32, 0, 1, 1); 1915
1917 insert into sys.functions values (491, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1917 ! 1916 insert into sys.functions values (491, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1916
1918 insert into sys.args values (33013, 491, 'res_0', 'month_interval', 32, 0, 0, 0); 1918 -
1919 insert into sys.args values (33014, 491, 'arg_1', 'month_interval', 32, 0, 1, 1); 1919 ! 1917 insert into sys.args values (33012, 491, 'res_0', 'tinyint', 8, 0, 0, 0); 1917
1920 insert into sys.args values (33015, 491, 'arg_2', 'int', 32, 0, 1, 2); 1920 ! 1918 insert into sys.args values (33013, 491, 'arg_1', 'month_interval', 32, 0, 1, 1); 1918
1921 insert into sys.functions values (492, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1921 ! 1919 insert into sys.functions values (492, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1919
1922 insert into sys.args values (33016, 492, 'res_0', 'month_interval', 32, 0, 0, 0); 1922 ! 1920 insert into sys.args values (33014, 492, 'res_0', 'month_interval', 32, 0, 0, 0); 1920
1923 insert into sys.args values (33017, 492, 'arg_1', 'month_interval', 32, 0, 1, 1); 1923 ! 1921 insert into sys.args values (33015, 492, 'arg_1', 'month_interval', 32, 0, 1, 1); 1921
1924 insert into sys.args values (33018, 492, 'arg_2', 'int', 32, 0, 1, 2); 1924 ! 1922 insert into sys.args values (33016, 492, 'arg_2', 'int', 32, 0, 1, 2); 1922
1925 insert into sys.functions values (493, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1925 ! 1923 insert into sys.functions values (493, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1923
1926 insert into sys.args values (33019, 493, 'res_0', 'sec_interval', 13, 0, 0, 0); 1926 ! 1924 insert into sys.args values (33017, 493, 'res_0', 'month_interval', 32, 0, 0, 0); 1924
1927 insert into sys.args values (33020, 493, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1927 ! 1925 insert into sys.args values (33018, 493, 'arg_1', 'month_interval', 32, 0, 1, 1); 1925
1928 insert into sys.args values (33021, 493, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1928 ! 1926 insert into sys.args values (33019, 493, 'arg_2', 'int', 32, 0, 1, 2); 1926
1929 insert into sys.functions values (494, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1929 ! 1927 insert into sys.functions values (494, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1927
1930 insert into sys.args values (33022, 494, 'res_0', 'sec_interval', 13, 0, 0, 0); 1930 ! 1928 insert into sys.args values (33020, 494, 'res_0', 'sec_interval', 13, 0, 0, 0); 1928
1931 insert into sys.args values (33023, 494, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1931 ! 1929 insert into sys.args values (33021, 494, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1929
1932 insert into sys.args values (33024, 494, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1932 ! 1930 insert into sys.args values (33022, 494, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1930
1933 insert into sys.functions values (495, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1933 ! 1931 insert into sys.functions values (495, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1931
1934 insert into sys.args values (33025, 495, 'res_0', 'sec_interval', 13, 0, 0, 0); 1934 ! 1932 insert into sys.args values (33023, 495, 'res_0', 'sec_interval', 13, 0, 0, 0); 1932
1935 insert into sys.args values (33026, 495, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1935 ! 1933 insert into sys.args values (33024, 495, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1933
1936 insert into sys.args values (33027, 495, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1936 ! 1934 insert into sys.args values (33025, 495, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1934
1937 insert into sys.functions values (496, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1937 ! 1935 insert into sys.functions values (496, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1935
1938 insert into sys.args values (33028, 496, 'res_0', 'sec_interval', 13, 0, 0, 0); 1938 ! 1936 insert into sys.args values (33026, 496, 'res_0', 'sec_interval', 13, 0, 0, 0); 1936
1939 insert into sys.args values (33029, 496, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1939 ! 1937 insert into sys.args values (33027, 496, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1937
1940 insert into sys.args values (33030, 496, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1940 ! 1938 insert into sys.args values (33028, 496, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1938
1941 insert into sys.functions values (497, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1941 ! 1939 insert into sys.functions values (497, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1939
1942 insert into sys.args values (33031, 497, 'res_0', 'sec_interval', 13, 0, 0, 0); 1942 ! 1940 insert into sys.args values (33029, 497, 'res_0', 'sec_interval', 13, 0, 0, 0); 1940
1943 insert into sys.args values (33032, 497, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1943 ! 1941 insert into sys.args values (33030, 497, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1941
insert into sys. + 1942 insert into sys.args values (33031, 497, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1942
1944 functions values (498, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1944 ! 1943 insert into sys.functions values (498, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1943
1945 insert into sys.args values (33033, 498, 'res_0', 'sec_interval', 13, 0, 0, 0); 1945 ! 1944 insert into sys.args values (33032, 498, 'res_0', 'sec_interval', 13, 0, 0, 0); 1944
1946 insert into sys.args values (33034, 498, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1946 ! 1945 insert into sys.args values (33033, 498, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1945
1947 insert into sys.functions values (499, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1947 ! 1946 insert into sys.functions values (499, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1946
1948 insert into sys.args values (33035, 499, 'res_0', 'tinyint', 8, 0, 0, 0); 1948 ! 1947 insert into sys.args values (33034, 499, 'res_0', 'sec_interval', 13, 0, 0, 0); 1947
1949 insert into sys.args values (33036, 499, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1949 ! 1948 insert into sys.args values (33035, 499, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1948
1950 insert into sys.functions values (500, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1950 ! 1949 insert into sys.functions values (500, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1949
1951 insert into sys.args values (33037, 500, 'res_0', 'sec_interval', 13, 0, 0, 0); 1951 -
1952 insert into sys.args values (33038, 500, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1952 ! 1950 insert into sys.args values (33036, 500, 'res_0', 'tinyint', 8, 0, 0, 0); 1950
1953 insert into sys.args values (33039, 500, 'arg_2', 'bigint', 64, 0, 1, 2); 1953 ! 1951 insert into sys.args values (33037, 500, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1951
1954 insert into sys.functions values (501, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1954 ! 1952 insert into sys.functions values (501, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1952
1955 insert into sys.args values (33040, 501, 'res_0', 'sec_interval', 13, 0, 0, 0); 1955 ! 1953 insert into sys.args values (33038, 501, 'res_0', 'sec_interval', 13, 0, 0, 0); 1953
1956 insert into sys.args values (33041, 501, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1956 ! 1954 insert into sys.args values (33039, 501, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1954
1957 insert into sys.args values (33042, 501, 'arg_2', 'bigint', 64, 0, 1, 2); 1957 ! 1955 insert into sys.args values (33040, 501, 'arg_2', 'bigint', 64, 0, 1, 2); 1955
1958 insert into sys.functions values (502, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1958 ! 1956 insert into sys.functions values (502, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1956
1959 insert into sys.args values (33043, 502, 'res_0', 'decimal', 4, 0, 0, 0); 1959 ! 1957 insert into sys.args values (33041, 502, 'res_0', 'sec_interval', 13, 0, 0, 0); 1957
1960 insert into sys.args values (33044, 502, 'arg_1', 'decimal', 4, 0, 1, 1); 1960 ! 1958 insert into sys.args values (33042, 502, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1958
1961 insert into sys.args values (33045, 502, 'arg_2', 'tinyint', 8, 0, 1, 2); 1961 ! 1959 insert into sys.args values (33043, 502, 'arg_2', 'bigint', 64, 0, 1, 2); 1959
1962 insert into sys.functions values (503, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1962 1960 insert into sys.functions values (503, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1960
1963 insert into sys.args values (33046, 503, 'res_0', 'decimal', 4, 0, 0, 0); 1963 ! 1961 insert into sys.args values (33044, 503, 'res_0', 'decimal', 4, 0, 0, 0); 1961
1964 insert into sys.args values (33047, 503, 'arg_1', 'tinyint', 8, 0, 1, 1); 1964 ! 1962 insert into sys.args values (33045, 503, 'arg_1', 'decimal', 4, 0, 1, 1); 1962
1965 insert into sys.args values (33048, 503, 'arg_2', 'decimal', 4, 0, 1, 2); 1965 ! 1963 insert into sys.args values (33046, 503, 'arg_2', 'tinyint', 8, 0, 1, 2); 1963
1966 insert into sys.functions values (504, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1966 1964 insert into sys.functions values (504, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1964
1967 insert into sys.args values (33049, 504, 'res_0', 'decimal', 4, 0, 0, 0); 1967 ! 1965 insert into sys.args values (33047, 504, 'res_0', 'decimal', 4, 0, 0, 0); 1965
1968 insert into sys.args values (33050, 504, 'arg_1', 'decimal', 4, 0, 1, 1); 1968 ! 1966 insert into sys.args values (33048, 504, 'arg_1', 'tinyint', 8, 0, 1, 1); 1966
1969 insert into sys.args values (33051, 504, 'arg_2', 'decimal', 2, 0, 1, 2); 1969 ! 1967 insert into sys.args values (33049, 504, 'arg_2', 'decimal', 4, 0, 1, 2); 1967
1970 insert into sys.functions values (505, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1970 1968 insert into sys.functions values (505, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1968
1971 insert into sys.args values (33052, 505, 'res_0', 'decimal', 4, 0, 0, 0); 1971 ! 1969 insert into sys.args values (33050, 505, 'res_0', 'decimal', 4, 0, 0, 0); 1969
1972 insert into sys.args values (33053, 505, 'arg_1', 'decimal', 2, 0, 1, 1); 1972 ! 1970 insert into sys.args values (33051, 505, 'arg_1', 'decimal', 4, 0, 1, 1); 1970
1973 insert into sys.args values (33054, 505, 'arg_2', 'decimal', 4, 0, 1, 2); 1973 ! 1971 insert into sys.args values (33052, 505, 'arg_2', 'decimal', 2, 0, 1, 2); 1971
1974 insert into sys.functions values (506, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1974 1972 insert into sys.functions values (506, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1972
1975 insert into sys.args values (33055, 506, 'res_0', 'decimal', 9, 0, 0, 0); 1975 ! 1973 insert into sys.args values (33053, 506, 'res_0', 'decimal', 4, 0, 0, 0); 1973
1976 insert into sys.args values (33056, 506, 'arg_1', 'decimal', 9, 0, 1, 1); 1976 ! 1974 insert into sys.args values (33054, 506, 'arg_1', 'decimal', 2, 0, 1, 1); 1974
1977 insert into sys.args values (33057, 506, 'arg_2', 'tinyint', 8, 0, 1, 2); 1977 ! 1975 insert into sys.args values (33055, 506, 'arg_2', 'decimal', 4, 0, 1, 2); 1975
1978 insert into sys.functions values (507, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1978 1976 insert into sys.functions values (507, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1976
1979 insert into sys.args values (33058, 507, 'res_0', 'decimal', 9, 0, 0, 0); 1979 ! 1977 insert into sys.args values (33056, 507, 'res_0', 'decimal', 9, 0, 0, 0); 1977
1980 insert into sys.args values (33059, 507, 'arg_1', 'tinyint', 8, 0, 1, 1); 1980 ! 1978 insert into sys.args values (33057, 507, 'arg_1', 'decimal', 9, 0, 1, 1); 1978
1981 insert into sys.args values (33060, 507, 'arg_2', 'decimal', 9, 0, 1, 2); 1981 ! 1979 insert into sys.args values (33058, 507, 'arg_2', 'tinyint', 8, 0, 1, 2); 1979
1982 insert into sys.functions values (508, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1982 1980 insert into sys.functions values (508, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1980
1983 insert into sys.args values (33061, 508, 'res_0', 'decimal', 9, 0, 0, 0); 1983 ! 1981 insert into sys.args values (33059, 508, 'res_0', 'decimal', 9, 0, 0, 0); 1981
1984 insert into sys.args values (33062, 508, 'arg_1', 'decimal', 9, 0, 1, 1); 1984 ! 1982 insert into sys.args values (33060, 508, 'arg_1', 'tinyint', 8, 0, 1, 1); 1982
1985 insert into sys.args values (33063, 508, 'arg_2', 'smallint', 16, 0, 1, 2); 1985 ! 1983 insert into sys.args values (33061, 508, 'arg_2', 'decimal', 9, 0, 1, 2); 1983
1986 insert into sys.functions values (509, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1986 1984 insert into sys.functions values (509, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1984
1987 insert into sys.args values (33064, 509, 'res_0', 'decimal', 9, 0, 0, 0); 1987 ! 1985 insert into sys.args values (33062, 509, 'res_0', 'decimal', 9, 0, 0, 0); 1985
1988 insert into sys.args values (33065, 509, 'arg_1', 'smallint', 16, 0, 1, 1); 1988 ! 1986 insert into sys.args values (33063, 509, 'arg_1', 'decimal', 9, 0, 1, 1); 1986
1989 insert into sys.args values (33066, 509, 'arg_2', 'decimal', 9, 0, 1, 2); 1989 ! 1987 insert into sys.args values (33064, 509, 'arg_2', 'smallint', 16, 0, 1, 2); 1987
1990 insert into sys.functions values (510, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1990 1988 insert into sys.functions values (510, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1988
1991 insert into sys.args values (33067, 510, 'res_0', 'decimal', 9, 0, 0, 0); 1991 ! 1989 insert into sys.args values (33065, 510, 'res_0', 'decimal', 9, 0, 0, 0); 1989
1992 insert into sys.args values (33068, 510, 'arg_1', 'decimal', 9, 0, 1, 1); 1992 ! 1990 insert into sys.args values (33066, 510, 'arg_1', 'smallint', 16, 0, 1, 1); 1990
1993 insert into sys.args values (33069, 510, 'arg_2', 'decimal', 2, 0, 1, 2); 1993 ! 1991 insert into sys.args values (33067, 510, 'arg_2', 'decimal', 9, 0, 1, 2); 1991
1994 insert into sys.functions values (511, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1994 1992 insert into sys.functions values (511, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1992
1995 insert into sys.args values (33070, 511, 'res_0', 'decimal', 9, 0, 0, 0); 1995 ! 1993 insert into sys.args values (33068, 511, 'res_0', 'decimal', 9, 0, 0, 0); 1993
1996 insert into sys.args values (33071, 511, 'arg_1', 'decimal', 2, 0, 1, 1); 1996 ! 1994 insert into sys.args values (33069, 511, 'arg_1', 'decimal', 9, 0, 1, 1); 1994
1997 insert into sys.args values (33072, 511, 'arg_2', 'decimal', 9, 0, 1, 2); 1997 ! 1995 insert into sys.args values (33070, 511, 'arg_2', 'decimal', 2, 0, 1, 2); 1995
1998 insert into sys.functions values (512, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1998 1996 insert into sys.functions values (512, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1996
1999 insert into sys.args values (33073, 512, 'res_0', 'decimal', 9, 0, 0, 0); 1999 ! 1997 insert into sys.args values (33071, 512, 'res_0', 'decimal', 9, 0, 0, 0); 1997
2000 insert into sys.args values (33074, 512, 'arg_1', 'decimal', 9, 0, 1, 1); 2000 ! 1998 insert into sys.args values (33072, 512, 'arg_1', 'decimal', 2, 0, 1, 1); 1998
2001 insert into sys.args values (33075, 512, 'arg_2', 'decimal', 4, 0, 1, 2); 2001 ! 1999 insert into sys.args values (33073, 512, 'arg_2', 'decimal', 9, 0, 1, 2); 1999
2002 insert into sys.functions values (513, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2002 2000 insert into sys.functions values (513, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2000
2003 insert into sys.args values (33076, 513, 'res_0', 'decimal', 9, 0, 0, 0); 2003 ! 2001 insert into sys.args values (33074, 513, 'res_0', 'decimal', 9, 0, 0, 0); 2001
2004 insert into sys.args values (33077, 513, 'arg_1', 'decimal', 4, 0, 1, 1); 2004 ! 2002 insert into sys.args values (33075, 513, 'arg_1', 'decimal', 9, 0, 1, 1); 2002
2005 insert into sys.args values (33078, 513, 'arg_2', 'decimal', 9, 0, 1, 2); 2005 ! 2003 insert into sys.args values (33076, 513, 'arg_2', 'decimal', 4, 0, 1, 2); 2003
2006 insert into sys.functions values (514, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2006 2004 insert into sys.functions values (514, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2004
2007 insert into sys.args values (33079, 514, 'res_0', 'decimal', 18, 0, 0, 0); 2007 ! 2005 insert into sys.args values (33077, 514, 'res_0', 'decimal', 9, 0, 0, 0); 2005
2008 insert into sys.args values (33080, 514, 'arg_1', 'decimal', 18, 0, 1, 1); 2008 ! 2006 insert into sys.args values (33078, 514, 'arg_1', 'decimal', 4, 0, 1, 1); 2006
2009 insert into sys.args values (33081, 514, 'arg_2', 'tinyint', 8, 0, 1, 2); 2009 ! 2007 insert into sys.args values (33079, 514, 'arg_2', 'decimal', 9, 0, 1, 2); 2007
2010 insert into sys.functions values (515, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2010 2008 insert into sys.functions values (515, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2008
2011 insert into sys.args values (33082, 515, 'res_0', 'decimal', 18, 0, 0, 0); 2011 ! 2009 insert into sys.args values (33080, 515, 'res_0', 'decimal', 18, 0, 0, 0); 2009
2012 insert into sys.args values (33083, 515, 'arg_1', 'tinyint', 8, 0, 1, 1); 2012 ! 2010 insert into sys.args values (33081, 515, 'arg_1', 'decimal', 18, 0, 1, 1); 2010
2013 insert into sys.args values (33084, 515, 'arg_2', 'decimal', 18, 0, 1, 2); 2013 ! 2011 insert into sys.args values (33082, 515, 'arg_2', 'tinyint', 8, 0, 1, 2); 2011
2014 insert into sys.functions values (516, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2014 2012 insert into sys.functions values (516, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2012
2015 insert into sys.args values (33085, 516, 'res_0', 'decimal', 18, 0, 0, 0); 2015 ! 2013 insert into sys.args values (33083, 516, 'res_0', 'decimal', 18, 0, 0, 0); 2013
2016 insert into sys.args values (33086, 516, 'arg_1', 'decimal', 18, 0, 1, 1); 2016 ! 2014 insert into sys.args values (33084, 516, 'arg_1', 'tinyint', 8, 0, 1, 1); 2014
2017 insert into sys.args values (33087, 516, 'arg_2', 'smallint', 16, 0, 1, 2); 2017 ! 2015 insert into sys.args values (33085, 516, 'arg_2', 'decimal', 18, 0, 1, 2); 2015
2018 insert into sys.functions values (517, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2018 2016 insert into sys.functions values (517, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2016
2019 insert into sys.args values (33088, 517, 'res_0', 'decimal', 18, 0, 0, 0); 2019 ! 2017 insert into sys.args values (33086, 517, 'res_0', 'decimal', 18, 0, 0, 0); 2017
2020 insert into sys.args values (33089, 517, 'arg_1', 'smallint', 16, 0, 1, 1); 2020 ! 2018 insert into sys.args values (33087, 517, 'arg_1', 'decimal', 18, 0, 1, 1); 2018
2021 insert into sys.args values (33090, 517, 'arg_2', 'decimal', 18, 0, 1, 2); 2021 ! 2019 insert into sys.args values (33088, 517, 'arg_2', 'smallint', 16, 0, 1, 2); 2019
2022 insert into sys.functions values (518, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2022 2020 insert into sys.functions values (518, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2020
2023 insert into sys.args values (33091, 518, 'res_0', 'decimal', 18, 0, 0, 0); 2023 ! 2021 insert into sys.args values (33089, 518, 'res_0', 'decimal', 18, 0, 0, 0); 2021
2024 insert into sys.args values (33092, 518, 'arg_1', 'decimal', 18, 0, 1, 1); 2024 ! 2022 insert into sys.args values (33090, 518, 'arg_1', 'smallint', 16, 0, 1, 1); 2022
2025 insert into sys.args values (33093, 518, 'arg_2', 'int', 32, 0, 1, 2); 2025 ! 2023 insert into sys.args values (33091, 518, 'arg_2', 'decimal', 18, 0, 1, 2); 2023
2026 insert into sys.functions values (519, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2026 2024 insert into sys.functions values (519, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2024
2027 insert into sys.args values (33094, 519, 'res_0', 'decimal', 18, 0, 0, 0); 2027 ! 2025 insert into sys.args values (33092, 519, 'res_0', 'decimal', 18, 0, 0, 0); 2025
2028 insert into sys.args values (33095, 519, 'arg_1', 'int', 32, 0, 1, 1); 2028 ! 2026 insert into sys.args values (33093, 519, 'arg_1', 'decimal', 18, 0, 1, 1); 2026
2029 insert into sys.args values (33096, 519, 'arg_2', 'decimal', 18, 0, 1, 2); 2029 ! 2027 insert into sys.args values (33094, 519, 'arg_2', 'int', 32, 0, 1, 2); 2027
2030 insert into sys.functions values (520, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2030 2028 insert into sys.functions values (520, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2028
2031 insert into sys.args values (33097, 520, 'res_0', 'decimal', 18, 0, 0, 0); 2031 ! 2029 insert into sys.args values (33095, 520, 'res_0', 'decimal', 18, 0, 0, 0); 2029
2032 insert into sys.args values (33098, 520, 'arg_1', 'decimal', 18, 0, 1, 1); 2032 ! 2030 insert into sys.args values (33096, 520, 'arg_1', 'int', 32, 0, 1, 1); 2030
2033 insert into sys.args values (33099, 520, 'arg_2', 'decimal', 2, 0, 1, 2); 2033 ! 2031 insert into sys.args values (33097, 520, 'arg_2', 'decimal', 18, 0, 1, 2); 2031
2034 insert into sys.functions values (521, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2034 2032 insert into sys.functions values (521, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2032
2035 insert into sys.args values (33100, 521, 'res_0', 'decimal', 18, 0, 0, 0); 2035 ! 2033 insert into sys.args values (33098, 521, 'res_0', 'decimal', 18, 0, 0, 0); 2033
2036 insert into sys.args values (33101, 521, 'arg_1', 'decimal', 2, 0, 1, 1); 2036 ! 2034 insert into sys.args values (33099, 521, 'arg_1', 'decimal', 18, 0, 1, 1); 2034
2037 insert into sys.args values (33102, 521, 'arg_2', 'decimal', 18, 0, 1, 2); 2037 ! 2035 insert into sys.args values (33100, 521, 'arg_2', 'decimal', 2, 0, 1, 2); 2035
2038 insert into sys.functions values (522, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2038 2036 insert into sys.functions values (522, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2036
2039 insert into sys.args values (33103, 522, 'res_0', 'decimal', 18, 0, 0, 0); 2039 ! 2037 insert into sys.args values (33101, 522, 'res_0', 'decimal', 18, 0, 0, 0); 2037
2040 insert into sys.args values (33104, 522, 'arg_1', 'decimal', 18, 0, 1, 1); 2040 ! 2038 insert into sys.args values (33102, 522, 'arg_1', 'decimal', 2, 0, 1, 1); 2038
2041 insert into sys.args values (33105, 522, 'arg_2', 'decimal', 4, 0, 1, 2); 2041 ! 2039 insert into sys.args values (33103, 522, 'arg_2', 'decimal', 18, 0, 1, 2); 2039
2042 insert into sys.functions values (523, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2042 2040 insert into sys.functions values (523, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2040
2043 insert into sys.args values (33106, 523, 'res_0', 'decimal', 18, 0, 0, 0); 2043 ! 2041 insert into sys.args values (33104, 523, 'res_0', 'decimal', 18, 0, 0, 0); 2041
2044 insert into sys.args values (33107, 523, 'arg_1', 'decimal', 4, 0, 1, 1); 2044 ! 2042 insert into sys.args values (33105, 523, 'arg_1', 'decimal', 18, 0, 1, 1); 2042
2045 insert into sys.args values (33108, 523, 'arg_2', 'decimal', 18, 0, 1, 2); 2045 ! 2043 insert into sys.args values (33106, 523, 'arg_2', 'decimal', 4, 0, 1, 2); 2043
2046 insert into sys.functions values (524, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2046 2044 insert into sys.functions values (524, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2044
2047 insert into sys.args values (33109, 524, 'res_0', 'decimal', 18, 0, 0, 0); 2047 ! 2045 insert into sys.args values (33107, 524, 'res_0', 'decimal', 18, 0, 0, 0); 2045
2048 insert into sys.args values (33110, 524, 'arg_1', 'decimal', 18, 0, 1, 1); 2048 ! 2046 insert into sys.args values (33108, 524, 'arg_1', 'decimal', 4, 0, 1, 1); 2046
2049 insert into sys.args values (33111, 524, 'arg_2', 'decimal', 9, 0, 1, 2); 2049 ! 2047 insert into sys.args values (33109, 524, 'arg_2', 'decimal', 18, 0, 1, 2); 2047
2050 insert into sys.functions values (525, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2050 2048 insert into sys.functions values (525, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2048
2051 insert into sys.args values (33112, 525, 'res_0', 'decimal', 18, 0, 0, 0); 2051 ! 2049 insert into sys.args values (33110, 525, 'res_0', 'decimal', 18, 0, 0, 0); 2049
2052 insert into sys.args values (33113, 525, 'arg_1', 'decimal', 9, 0, 1, 1); 2052 ! 2050 insert into sys.args values (33111, 525, 'arg_1', 'decimal', 18, 0, 1, 1); 2050
2053 insert into sys.args values (33114, 525, 'arg_2', 'decimal', 18, 0, 1, 2); 2053 ! 2051 insert into sys.args values (33112, 525, 'arg_2', 'decimal', 9, 0, 1, 2); 2051
2054 insert into sys.functions values (526, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2054 ! 2052 insert into sys.functions values (526, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2052
2055 insert into sys.args values (33115, 526, 'res_0', 'decimal', 2, 0, 0, 0); 2055 ! 2053 insert into sys.args values (33113, 526, 'res_0', 'decimal', 18, 0, 0, 0); 2053
2056 insert into sys.args values (33116, 526, 'arg_1', 'decimal', 2, 0, 1, 1); 2056 ! 2054 insert into sys.args values (33114, 526, 'arg_1', 'decimal', 9, 0, 1, 1); 2054
2057 insert into sys.args values (33117, 526, 'arg_2', 'tinyint', 8, 0, 1, 2); 2057 ! 2055 insert into sys.args values (33115, 526, 'arg_2', 'decimal', 18, 0, 1, 2); 2055
2058 insert into sys.functions values (527, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2058 2056 insert into sys.functions values (527, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2056
2059 insert into sys.args values (33118, 527, 'res_0', 'decimal', 4, 0, 0, 0); 2059 ! 2057 insert into sys.args values (33116, 527, 'res_0', 'decimal', 2, 0, 0, 0); 2057
2060 insert into sys.args values (33119, 527, 'arg_1', 'decimal', 4, 0, 1, 1); 2060 ! 2058 insert into sys.args values (33117, 527, 'arg_1', 'decimal', 2, 0, 1, 1); 2058
2061 insert into sys.args values (33120, 527, 'arg_2', 'tinyint', 8, 0, 1, 2); 2061 ! 2059 insert into sys.args values (33118, 527, 'arg_2', 'tinyint', 8, 0, 1, 2); 2059
2062 insert into sys.functions values (528, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2062 2060 insert into sys.functions values (528, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2060
2063 insert into sys.args values (33121, 528, 'res_0', 'decimal', 9, 0, 0, 0); 2063 ! 2061 insert into sys.args values (33119, 528, 'res_0', 'decimal', 4, 0, 0, 0); 2061
2064 insert into sys.args values (33122, 528, 'arg_1', 'decimal', 9, 0, 1, 1); 2064 ! 2062 insert into sys.args values (33120, 528, 'arg_1', 'decimal', 4, 0, 1, 1); 2062
2065 insert into sys.args values (33123, 528, 'arg_2', 'tinyint', 8, 0, 1, 2); 2065 ! 2063 insert into sys.args values (33121, 528, 'arg_2', 'tinyint', 8, 0, 1, 2); 2063
2066 insert into sys.functions values (529, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2066 2064 insert into sys.functions values (529, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2064
2067 insert into sys.args values (33124, 529, 'res_0', 'decimal', 18, 0, 0, 0); 2067 ! 2065 insert into sys.args values (33122, 529, 'res_0', 'decimal', 9, 0, 0, 0); 2065
2068 insert into sys.args values (33125, 529, 'arg_1', 'decimal', 18, 0, 1, 1); 2068 ! 2066 insert into sys.args values (33123, 529, 'arg_1', 'decimal', 9, 0, 1, 1); 2066
2069 insert into sys.args values (33126, 529, 'arg_2', 'tinyint', 8, 0, 1, 2); 2069 ! 2067 insert into sys.args values (33124, 529, 'arg_2', 'tinyint', 8, 0, 1, 2); 2067
2070 insert into sys.functions values (530, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2070 2068 insert into sys.functions values (530, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2068
2071 insert into sys.args values (33127, 530, 'res_0', 'real', 24, 0, 0, 0); 2071 ! 2069 insert into sys.args values (33125, 530, 'res_0', 'decimal', 18, 0, 0, 0); 2069
2072 insert into sys.args values (33128, 530, 'arg_1', 'real', 24, 0, 1, 1); 2072 ! 2070 insert into sys.args values (33126, 530, 'arg_1', 'decimal', 18, 0, 1, 1); 2070
2073 insert into sys.args values (33129, 530, 'arg_2', 'tinyint', 8, 0, 1, 2); 2073 ! 2071 insert into sys.args values (33127, 530, 'arg_2', 'tinyint', 8, 0, 1, 2); 2071
2074 insert into sys.functions values (531, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2074 2072 insert into sys.functions values (531, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2072
2075 insert into sys.args values (33130, 531, 'res_0', 'double', 53, 0, 0, 0); 2075 ! 2073 insert into sys.args values (33128, 531, 'res_0', 'real', 24, 0, 0, 0); 2073
2076 insert into sys.args values (33131, 531, 'arg_1', 'double', 53, 0, 1, 1); 2076 ! 2074 insert into sys.args values (33129, 531, 'arg_1', 'real', 24, 0, 1, 1); 2074
2077 insert into sys.args values (33132, 531, 'arg_2', 'tinyint', 8, 0, 1, 2); 2077 ! 2075 insert into sys.args values (33130, 531, 'arg_2', 'tinyint', 8, 0, 1, 2); 2075
2078 insert into sys.functions values (532, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2078 ! 2076 insert into sys.functions values (532, 'round', 'round', 'sql', 0, 1, false, false, false, 2000, true, false); 2076
2079 insert into sys.args values (33133, 532, 'res_0', 'oid', 63, 0, 0, 0); 2079 ! 2077 insert into sys.args values (33131, 532, 'res_0', 'double', 53, 0, 0, 0); 2077
2080 insert into sys.args values (33134, 532, 'arg_1', 'oid', 63, 0, 1, 1); 2080 ! 2078 insert into sys.args values (33132, 532, 'arg_1', 'double', 53, 0, 1, 1); 2078
2081 insert into sys.args values (33135, 532, 'arg_2', 'oid', 63, 0, 1, 2); 2081 ! 2079 insert into sys.args values (33133, 532, 'arg_2', 'tinyint', 8, 0, 1, 2); 2079
2082 insert into sys.functions values (533, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2082 2080 insert into sys.functions values (533, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2080
2083 insert into sys.args values (33136, 533, 'res_0', 'oid', 63, 0, 0, 0); 2083 ! 2081 insert into sys.args values (33134, 533, 'res_0', 'oid', 63, 0, 0, 0); 2081
2084 insert into sys.args values (33137, 533, 'arg_1', 'tinyint', 8, 0, 1, 1); 2084 ! 2082 insert into sys.args values (33135, 533, 'arg_1', 'oid', 63, 0, 1, 1); 2082
2085 insert into sys.args values (33138, 533, 'arg_2', 'oid', 63, 0, 1, 2); 2085 ! 2083 insert into sys.args values (33136, 533, 'arg_2', 'oid', 63, 0, 1, 2); 2083
2086 insert into sys.functions values (534, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2086 2084 insert into sys.functions values (534, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2084
2087 insert into sys.args values (33139, 534, 'res_0', 'oid', 63, 0, 0, 0); 2087 ! 2085 insert into sys.args values (33137, 534, 'res_0', 'oid', 63, 0, 0, 0); 2085
2088 insert into sys.args values (33140, 534, 'arg_1', 'smallint', 16, 0, 1, 1); 2088 ! 2086 insert into sys.args values (33138, 534, 'arg_1', 'tinyint', 8, 0, 1, 1); 2086
2089 insert into sys.args values (33141, 534, 'arg_2', 'oid', 63, 0, 1, 2); 2089 ! 2087 insert into sys.args values (33139, 534, 'arg_2', 'oid', 63, 0, 1, 2); 2087
2090 insert into sys.functions values (535, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2090 2088 insert into sys.functions values (535, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2088
2091 insert into sys.args values (33142, 535, 'res_0', 'oid', 63, 0, 0, 0); 2091 ! 2089 insert into sys.args values (33140, 535, 'res_0', 'oid', 63, 0, 0, 0); 2089
2092 insert into sys.args values (33143, 535, 'arg_1', 'int', 32, 0, 1, 1); 2092 ! 2090 insert into sys.args values (33141, 535, 'arg_1', 'smallint', 16, 0, 1, 1); 2090
2093 insert into sys.args values (33144, 535, 'arg_2', 'oid', 63, 0, 1, 2); 2093 ! 2091 insert into sys.args values (33142, 535, 'arg_2', 'oid', 63, 0, 1, 2); 2091
2094 insert into sys.functions values (536, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2094 2092 insert into sys.functions values (536, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2092
2095 insert into sys.args values (33145, 536, 'res_0', 'oid', 63, 0, 0, 0); 2095 ! 2093 insert into sys.args values (33143, 536, 'res_0', 'oid', 63, 0, 0, 0); 2093
2096 insert into sys.args values (33146, 536, 'arg_1', 'bigint', 64, 0, 1, 1); 2096 ! 2094 insert into sys.args values (33144, 536, 'arg_1', 'int', 32, 0, 1, 1); 2094
2097 insert into sys.args values (33147, 536, 'arg_2', 'oid', 63, 0, 1, 2); 2097 ! 2095 insert into sys.args values (33145, 536, 'arg_2', 'oid', 63, 0, 1, 2); 2095
2098 insert into sys.functions values (537, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2098 2096 insert into sys.functions values (537, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2096
2099 insert into sys.args values (33148, 537, 'res_0', 'oid', 63, 0, 0, 0); 2099 ! 2097 insert into sys.args values (33146, 537, 'res_0', 'oid', 63, 0, 0, 0); 2097
2100 insert into sys.args values (33149, 537, 'arg_1', 'decimal', 2, 0, 1, 1); 2100 ! 2098 insert into sys.args values (33147, 537, 'arg_1', 'bigint', 64, 0, 1, 1); 2098
2101 insert into sys.args values (33150, 537, 'arg_2', 'oid', 63, 0, 1, 2); 2101 ! 2099 insert into sys.args values (33148, 537, 'arg_2', 'oid', 63, 0, 1, 2); 2099
2102 insert into sys.functions values (538, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2102 2100 insert into sys.functions values (538, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2100
2103 insert into sys.args values (33151, 538, 'res_0', 'oid', 63, 0, 0, 0); 2103 ! 2101 insert into sys.args values (33149, 538, 'res_0', 'oid', 63, 0, 0, 0); 2101
2104 insert into sys.args values (33152, 538, 'arg_1', 'decimal', 4, 0, 1, 1); 2104 ! 2102 insert into sys.args values (33150, 538, 'arg_1', 'decimal', 2, 0, 1, 1); 2102
2105 insert into sys.args values (33153, 538, 'arg_2', 'oid', 63, 0, 1, 2); 2105 ! 2103 insert into sys.args values (33151, 538, 'arg_2', 'oid', 63, 0, 1, 2); 2103
2106 insert into sys.functions values (539, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2106 2104 insert into sys.functions values (539, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2104
2107 insert into sys.args values (33154, 539, 'res_0', 'oid', 63, 0, 0, 0); 2107 ! 2105 insert into sys.args values (33152, 539, 'res_0', 'oid', 63, 0, 0, 0); 2105
2108 insert into sys.args values (33155, 539, 'arg_1', 'decimal', 9, 0, 1, 1); 2108 ! 2106 insert into sys.args values (33153, 539, 'arg_1', 'decimal', 4, 0, 1, 1); 2106
2109 insert into sys.args values (33156, 539, 'arg_2', 'oid', 63, 0, 1, 2); 2109 ! 2107 insert into sys.args values (33154, 539, 'arg_2', 'oid', 63, 0, 1, 2); 2107
2110 insert into sys.functions values (540, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2110 2108 insert into sys.functions values (540, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2108
2111 insert into sys.args values (33157, 540, 'res_0', 'oid', 63, 0, 0, 0); 2111 ! 2109 insert into sys.args values (33155, 540, 'res_0', 'oid', 63, 0, 0, 0); 2109
2112 insert into sys.args values (33158, 540, 'arg_1', 'decimal', 18, 0, 1, 1); 2112 ! 2110 insert into sys.args values (33156, 540, 'arg_1', 'decimal', 9, 0, 1, 1); 2110
2113 insert into sys.args values (33159, 540, 'arg_2', 'oid', 63, 0, 1, 2); 2113 ! 2111 insert into sys.args values (33157, 540, 'arg_2', 'oid', 63, 0, 1, 2); 2111
2114 insert into sys.functions values (541, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2114 2112 insert into sys.functions values (541, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2112
2115 insert into sys.args values (33160, 541, 'res_0', 'oid', 63, 0, 0, 0); 2115 ! 2113 insert into sys.args values (33158, 541, 'res_0', 'oid', 63, 0, 0, 0); 2113
2116 insert into sys.args values (33161, 541, 'arg_1', 'real', 24, 0, 1, 1); 2116 ! 2114 insert into sys.args values (33159, 541, 'arg_1', 'decimal', 18, 0, 1, 1); 2114
2117 insert into sys.args values (33162, 541, 'arg_2', 'oid', 63, 0, 1, 2); 2117 ! 2115 insert into sys.args values (33160, 541, 'arg_2', 'oid', 63, 0, 1, 2); 2115
2118 insert into sys.functions values (542, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2118 2116 insert into sys.functions values (542, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2116
2119 insert into sys.args values (33163, 542, 'res_0', 'oid', 63, 0, 0, 0); 2119 ! 2117 insert into sys.args values (33161, 542, 'res_0', 'oid', 63, 0, 0, 0); 2117
2120 insert into sys.args values (33164, 542, 'arg_1', 'double', 53, 0, 1, 1); 2120 ! 2118 insert into sys.args values (33162, 542, 'arg_1', 'real', 24, 0, 1, 1); 2118
2121 insert into sys.args values (33165, 542, 'arg_2', 'oid', 63, 0, 1, 2); 2121 ! 2119 insert into sys.args values (33163, 542, 'arg_2', 'oid', 63, 0, 1, 2); 2119
2122 insert into sys.functions values (543, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2122 2120 insert into sys.functions values (543, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2120
2123 insert into sys.args values (33166, 543, 'res_0', 'oid', 63, 0, 0, 0); 2123 ! 2121 insert into sys.args values (33164, 543, 'res_0', 'oid', 63, 0, 0, 0); 2121
2124 insert into sys.args values (33167, 543, 'arg_1', 'month_interval', 32, 0, 1, 1); 2124 ! 2122 insert into sys.args values (33165, 543, 'arg_1', 'double', 53, 0, 1, 1); 2122
2125 insert into sys.args values (33168, 543, 'arg_2', 'oid', 63, 0, 1, 2); 2125 ! 2123 insert into sys.args values (33166, 543, 'arg_2', 'oid', 63, 0, 1, 2); 2123
2126 insert into sys.functions values (544, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2126 2124 insert into sys.functions values (544, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2124
2127 insert into sys.args values (33169, 544, 'res_0', 'oid', 63, 0, 0, 0); 2127 ! 2125 insert into sys.args values (33167, 544, 'res_0', 'oid', 63, 0, 0, 0); 2125
2128 insert into sys.args values (33170, 544, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2128 ! 2126 insert into sys.args values (33168, 544, 'arg_1', 'month_interval', 32, 0, 1, 1); 2126
2129 insert into sys.args values (33171, 544, 'arg_2', 'oid', 63, 0, 1, 2); 2129 ! 2127 insert into sys.args values (33169, 544, 'arg_2', 'oid', 63, 0, 1, 2); 2127
2130 insert into sys.functions values (545, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2130 2128 insert into sys.functions values (545, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2128
2131 insert into sys.args values (33172, 545, 'res_0', 'oid', 63, 0, 0, 0); 2131 ! 2129 insert into sys.args values (33170, 545, 'res_0', 'oid', 63, 0, 0, 0); 2129
2132 insert into sys.args values (33173, 545, 'arg_1', 'time', 7, 0, 1, 1); 2132 ! 2130 insert into sys.args values (33171, 545, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2130
2133 insert into sys.args values (33174, 545, 'arg_2', 'oid', 63, 0, 1, 2); 2133 ! 2131 insert into sys.args values (33172, 545, 'arg_2', 'oid', 63, 0, 1, 2); 2131
2134 insert into sys.functions values (546, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2134 2132 insert into sys.functions values (546, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2132
2135 insert into sys.args values (33175, 546, 'res_0', 'oid', 63, 0, 0, 0); 2135 ! 2133 insert into sys.args values (33173, 546, 'res_0', 'oid', 63, 0, 0, 0); 2133
2136 insert into sys.args values (33176, 546, 'arg_1', 'timetz', 7, 0, 1, 1); 2136 ! 2134 insert into sys.args values (33174, 546, 'arg_1', 'time', 7, 0, 1, 1); 2134
2137 insert into sys.args values (33177, 546, 'arg_2', 'oid', 63, 0, 1, 2); 2137 ! 2135 insert into sys.args values (33175, 546, 'arg_2', 'oid', 63, 0, 1, 2); 2135
2138 insert into sys.functions values (547, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2138 2136 insert into sys.functions values (547, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2136
2139 insert into sys.args values (33178, 547, 'res_0', 'oid', 63, 0, 0, 0); 2139 ! 2137 insert into sys.args values (33176, 547, 'res_0', 'oid', 63, 0, 0, 0); 2137
2140 insert into sys.args values (33179, 547, 'arg_1', 'date', 0, 0, 1, 1); 2140 ! 2138 insert into sys.args values (33177, 547, 'arg_1', 'timetz', 7, 0, 1, 1); 2138
2141 insert into sys.args values (33180, 547, 'arg_2', 'oid', 63, 0, 1, 2); 2141 ! 2139 insert into sys.args values (33178, 547, 'arg_2', 'oid', 63, 0, 1, 2); 2139
2142 insert into sys.functions values (548, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2142 2140 insert into sys.functions values (548, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2140
2143 insert into sys.args values (33181, 548, 'res_0', 'oid', 63, 0, 0, 0); 2143 ! 2141 insert into sys.args values (33179, 548, 'res_0', 'oid', 63, 0, 0, 0); 2141
2144 insert into sys.args values (33182, 548, 'arg_1', 'timestamp', 7, 0, 1, 1); 2144 ! 2142 insert into sys.args values (33180, 548, 'arg_1', 'date', 0, 0, 1, 1); 2142
2145 insert into sys.args values (33183, 548, 'arg_2', 'oid', 63, 0, 1, 2); 2145 ! 2143 insert into sys.args values (33181, 548, 'arg_2', 'oid', 63, 0, 1, 2); 2143
2146 insert into sys.functions values (549, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2146 2144 insert into sys.functions values (549, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2144
2147 insert into sys.args values (33184, 549, 'res_0', 'oid', 63, 0, 0, 0); 2147 ! 2145 insert into sys.args values (33182, 549, 'res_0', 'oid', 63, 0, 0, 0); 2145
2148 insert into sys.args values (33185, 549, 'arg_1', 'timestamptz', 7, 0, 1, 1); 2148 ! 2146 insert into sys.args values (33183, 549, 'arg_1', 'timestamp', 7, 0, 1, 1); 2146
2149 insert into sys.args values (33186, 549, 'arg_2', 'oid', 63, 0, 1, 2); 2149 ! 2147 insert into sys.args values (33184, 549, 'arg_2', 'oid', 63, 0, 1, 2); 2147
2150 insert into sys.functions values (550, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2150 2148 insert into sys.functions values (550, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2148
2151 insert into sys.args values (33187, 550, 'res_0', 'oid', 63, 0, 0, 0); 2151 ! 2149 insert into sys.args values (33185, 550, 'res_0', 'oid', 63, 0, 0, 0); 2149
2152 insert into sys.args values (33188, 550, 'arg_1', 'blob', 0, 0, 1, 1); 2152 ! 2150 insert into sys.args values (33186, 550, 'arg_1', 'timestamptz', 7, 0, 1, 1); 2150
2153 insert into sys.args values (33189, 550, 'arg_2', 'oid', 63, 0, 1, 2); 2153 ! 2151 insert into sys.args values (33187, 550, 'arg_2', 'oid', 63, 0, 1, 2); 2151
2154 insert into sys.functions values (551, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2154 2152 insert into sys.functions values (551, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2152
2155 insert into sys.args values (33190, 551, 'res_0', 'oid', 63, 0, 0, 0); 2155 ! 2153 insert into sys.args values (33188, 551, 'res_0', 'oid', 63, 0, 0, 0); 2153
2156 insert into sys.args values (33191, 551, 'arg_1', 'geometry', 0, 0, 1, 1); 2156 ! 2154 insert into sys.args values (33189, 551, 'arg_1', 'blob', 0, 0, 1, 1); 2154
2157 insert into sys.args values (33192, 551, 'arg_2', 'oid', 63, 0, 1, 2); 2157 ! 2155 insert into sys.args values (33190, 551, 'arg_2', 'oid', 63, 0, 1, 2); 2155
2158 insert into sys.functions values (552, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2158 2156 insert into sys.functions values (552, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2156
2159 insert into sys.args values (33193, 552, 'res_0', 'oid', 63, 0, 0, 0); 2159 ! 2157 insert into sys.args values (33191, 552, 'res_0', 'oid', 63, 0, 0, 0); 2157
2160 insert into sys.args values (33194, 552, 'arg_1', 'geometrya', 0, 0, 1, 1); 2160 ! 2158 insert into sys.args values (33192, 552, 'arg_1', 'geometry', 0, 0, 1, 1); 2158
2161 insert into sys.args values (33195, 552, 'arg_2', 'oid', 63, 0, 1, 2); 2161 ! 2159 insert into sys.args values (33193, 552, 'arg_2', 'oid', 63, 0, 1, 2); 2159
2162 insert into sys.functions values (553, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2162 2160 insert into sys.functions values (553, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2160
2163 insert into sys.args values (33196, 553, 'res_0', 'oid', 63, 0, 0, 0); 2163 ! 2161 insert into sys.args values (33194, 553, 'res_0', 'oid', 63, 0, 0, 0); 2161
2164 insert into sys.args values (33197, 553, 'arg_1', 'mbr', 0, 0, 1, 1); 2164 ! 2162 insert into sys.args values (33195, 553, 'arg_1', 'geometrya', 0, 0, 1, 1); 2162
2165 insert into sys.args values (33198, 553, 'arg_2', 'oid', 63, 0, 1, 2); 2165 ! 2163 insert into sys.args values (33196, 553, 'arg_2', 'oid', 63, 0, 1, 2); 2163
2166 insert into sys.functions values (554, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2166 2164 insert into sys.functions values (554, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2164
2167 insert into sys.args values (33199, 554, 'res_0', 'tinyint', 8, 0, 0, 0); 2167 ! 2165 insert into sys.args values (33197, 554, 'res_0', 'oid', 63, 0, 0, 0); 2165
2168 insert into sys.args values (33200, 554, 'arg_1', 'oid', 63, 0, 1, 1); 2168 ! 2166 insert into sys.args values (33198, 554, 'arg_1', 'mbr', 0, 0, 1, 1); 2166
2169 insert into sys.args values (33201, 554, 'arg_2', 'tinyint', 8, 0, 1, 2); 2169 ! 2167 insert into sys.args values (33199, 554, 'arg_2', 'oid', 63, 0, 1, 2); 2167
2170 insert into sys.functions values (555, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2170 2168 insert into sys.functions values (555, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2168
2171 insert into sys.args values (33202, 555, 'res_0', 'tinyint', 8, 0, 0, 0); 2171 ! 2169 insert into sys.args values (33200, 555, 'res_0', 'tinyint', 8, 0, 0, 0); 2169
2172 insert into sys.args values (33203, 555, 'arg_1', 'tinyint', 8, 0, 1, 1); 2172 ! 2170 insert into sys.args values (33201, 555, 'arg_1', 'oid', 63, 0, 1, 1); 2170
2173 insert into sys.args values (33204, 555, 'arg_2', 'tinyint', 8, 0, 1, 2); 2173 ! 2171 insert into sys.args values (33202, 555, 'arg_2', 'tinyint', 8, 0, 1, 2); 2171
2174 insert into sys.functions values (556, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2174 2172 insert into sys.functions values (556, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2172
2175 insert into sys.args values (33205, 556, 'res_0', 'tinyint', 8, 0, 0, 0); 2175 ! 2173 insert into sys.args values (33203, 556, 'res_0', 'tinyint', 8, 0, 0, 0); 2173
2176 insert into sys.args values (33206, 556, 'arg_1', 'smallint', 16, 0, 1, 1); 2176 ! 2174 insert into sys.args values (33204, 556, 'arg_1', 'tinyint', 8, 0, 1, 1); 2174
2177 insert into sys.args values (33207, 556, 'arg_2', 'tinyint', 8, 0, 1, 2); 2177 ! 2175 insert into sys.args values (33205, 556, 'arg_2', 'tinyint', 8, 0, 1, 2); 2175
2178 insert into sys.functions values (557, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2178 2176 insert into sys.functions values (557, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2176
2179 insert into sys.args values (33208, 557, 'res_0', 'tinyint', 8, 0, 0, 0); 2179 ! 2177 insert into sys.args values (33206, 557, 'res_0', 'tinyint', 8, 0, 0, 0); 2177
2180 insert into sys.args values (33209, 557, 'arg_1', 'int', 32, 0, 1, 1); 2180 ! 2178 insert into sys.args values (33207, 557, 'arg_1', 'smallint', 16, 0, 1, 1); 2178
2181 insert into sys.args values (33210, 557, 'arg_2', 'tinyint', 8, 0, 1, 2); 2181 ! 2179 insert into sys.args values (33208, 557, 'arg_2', 'tinyint', 8, 0, 1, 2); 2179
2182 insert into sys.functions values (558, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2182 2180 insert into sys.functions values (558, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2180
2183 insert into sys.args values (33211, 558, 'res_0', 'tinyint', 8, 0, 0, 0); 2183 ! 2181 insert into sys.args values (33209, 558, 'res_0', 'tinyint', 8, 0, 0, 0); 2181
2184 insert into sys.args values (33212, 558, 'arg_1', 'bigint', 64, 0, 1, 1); 2184 ! 2182 insert into sys.args values (33210, 558, 'arg_1', 'int', 32, 0, 1, 1); 2182
2185 insert into sys.args values (33213, 558, 'arg_2', 'tinyint', 8, 0, 1, 2); 2185 ! 2183 insert into sys.args values (33211, 558, 'arg_2', 'tinyint', 8, 0, 1, 2); 2183
2186 insert into sys.functions values (559, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2186 2184 insert into sys.functions values (559, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2184
2187 insert into sys.args values (33214, 559, 'res_0', 'tinyint', 8, 0, 0, 0); 2187 ! 2185 insert into sys.args values (33212, 559, 'res_0', 'tinyint', 8, 0, 0, 0); 2185
2188 insert into sys.args values (33215, 559, 'arg_1', 'decimal', 2, 0, 1, 1); 2188 ! 2186 insert into sys.args values (33213, 559, 'arg_1', 'bigint', 64, 0, 1, 1); 2186
2189 insert into sys.args values (33216, 559, 'arg_2', 'tinyint', 8, 0, 1, 2); 2189 ! 2187 insert into sys.args values (33214, 559, 'arg_2', 'tinyint', 8, 0, 1, 2); 2187
2190 insert into sys.functions values (560, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2190 2188 insert into sys.functions values (560, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2188
2191 insert into sys.args values (33217, 560, 'res_0', 'tinyint', 8, 0, 0, 0); 2191 ! 2189 insert into sys.args values (33215, 560, 'res_0', 'tinyint', 8, 0, 0, 0); 2189
2192 insert into sys.args values (33218, 560, 'arg_1', 'decimal', 4, 0, 1, 1); 2192 ! 2190 insert into sys.args values (33216, 560, 'arg_1', 'decimal', 2, 0, 1, 1); 2190
2193 insert into sys.args values (33219, 560, 'arg_2', 'tinyint', 8, 0, 1, 2); 2193 ! 2191 insert into sys.args values (33217, 560, 'arg_2', 'tinyint', 8, 0, 1, 2); 2191
2194 insert into sys.functions values (561, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2194 2192 insert into sys.functions values (561, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2192
2195 insert into sys.args values (33220, 561, 'res_0', 'tinyint', 8, 0, 0, 0); 2195 ! 2193 insert into sys.args values (33218, 561, 'res_0', 'tinyint', 8, 0, 0, 0); 2193
2196 insert into sys.args values (33221, 561, 'arg_1', 'decimal', 9, 0, 1, 1); 2196 ! 2194 insert into sys.args values (33219, 561, 'arg_1', 'decimal', 4, 0, 1, 1); 2194
2197 insert into sys.args values (33222, 561, 'arg_2', 'tinyint', 8, 0, 1, 2); 2197 ! 2195 insert into sys.args values (33220, 561, 'arg_2', 'tinyint', 8, 0, 1, 2); 2195
2198 insert into sys.functions values (562, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2198 2196 insert into sys.functions values (562, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2196
2199 insert into sys.args values (33223, 562, 'res_0', 'tinyint', 8, 0, 0, 0); 2199 ! 2197 insert into sys.args values (33221, 562, 'res_0', 'tinyint', 8, 0, 0, 0); 2197
2200 insert into sys.args values (33224, 562, 'arg_1', 'decimal', 18, 0, 1, 1); 2200 ! 2198 insert into sys.args values (33222, 562, 'arg_1', 'decimal', 9, 0, 1, 1); 2198
2201 insert into sys.args values (33225, 562, 'arg_2', 'tinyint', 8, 0, 1, 2); 2201 ! 2199 insert into sys.args values (33223, 562, 'arg_2', 'tinyint', 8, 0, 1, 2); 2199
2202 insert into sys.functions values (563, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2202 2200 insert into sys.functions values (563, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2200
2203 insert into sys.args values (33226, 563, 'res_0', 'tinyint', 8, 0, 0, 0); 2203 ! 2201 insert into sys.args values (33224, 563, 'res_0', 'tinyint', 8, 0, 0, 0); 2201
2204 insert into sys.args values (33227, 563, 'arg_1', 'real', 24, 0, 1, 1); 2204 ! 2202 insert into sys.args values (33225, 563, 'arg_1', 'decimal', 18, 0, 1, 1); 2202
2205 insert into sys.args values (33228, 563, 'arg_2', 'tinyint', 8, 0, 1, 2); 2205 ! 2203 insert into sys.args values (33226, 563, 'arg_2', 'tinyint', 8, 0, 1, 2); 2203
2206 insert into sys.functions values (564, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2206 2204 insert into sys.functions values (564, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2204
2207 insert into sys.args values (33229, 564, 'res_0', 'tinyint', 8, 0, 0, 0); 2207 ! 2205 insert into sys.args values (33227, 564, 'res_0', 'tinyint', 8, 0, 0, 0); 2205
2208 insert into sys.args values (33230, 564, 'arg_1', 'double', 53, 0, 1, 1); 2208 ! 2206 insert into sys.args values (33228, 564, 'arg_1', 'real', 24, 0, 1, 1); 2206
2209 insert into sys.args values (33231, 564, 'arg_2', 'tinyint', 8, 0, 1, 2); 2209 ! 2207 insert into sys.args values (33229, 564, 'arg_2', 'tinyint', 8, 0, 1, 2); 2207
2210 insert into sys.functions values (565, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2210 2208 insert into sys.functions values (565, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2208
2211 insert into sys.args values (33232, 565, 'res_0', 'tinyint', 8, 0, 0, 0); 2211 ! 2209 insert into sys.args values (33230, 565, 'res_0', 'tinyint', 8, 0, 0, 0); 2209
2212 insert into sys.args values (33233, 565, 'arg_1', 'month_interval', 32, 0, 1, 1); 2212 ! 2210 insert into sys.args values (33231, 565, 'arg_1', 'double', 53, 0, 1, 1); 2210
2213 insert into sys.args values (33234, 565, 'arg_2', 'tinyint', 8, 0, 1, 2); 2213 ! 2211 insert into sys.args values (33232, 565, 'arg_2', 'tinyint', 8, 0, 1, 2); 2211
2214 insert into sys.functions values (566, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2214