Test upgrade.SQL.py (id 2e1b25576c12) (err)
upgrade.stable.out.int128.FILTERED 2020-08-01 19:40:21.679827133 +0200upgrade.test.out.FILTERED 2020-08-01 19:40:21.916828423 +0200
1 Statistics about stdout of test 'upgrade` in directory 'sql/test/testdb-upgrade-hge`: 1 1 Statistics about stdout of test 'upgrade` in directory 'sql/test/testdb-upgrade-hge`: 1
2 5937 lines, 76732 words, 489181 chars in lines not matching '^$|^(\| |)#|^=` 2 ! 2 5945 lines, 76840 words, 489868 chars in lines not matching '^$|^(\| |)#|^=` 2
3 = 5937 lines, 76732 words, 489181 chars in lines not matching '^$|^(\| |)#` 3 ! 3 = 5945 lines, 76840 words, 489868 chars in lines not matching '^$|^(\| |)#` 3
4 # 5972 lines, 76880 words, 490455 chars in all lines 4 ! 4 # 5981 lines, 76994 words, 491153 chars in all lines 4
5 5 5 5
..................
# MonetDB/GIS module loaded
343 insert into sys.args values (9977, 104, 'arg_2', 'any', 0, 0, 1, 2); 343 344 insert into sys.args values (9977, 104, 'arg_2', 'any', 0, 0, 1, 2); 344
344 insert into sys.functions values (105, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 344 ! 345 insert into sys.functions values (105, 'star', '', '', 0, 1, false, false, false, 2000, true, true); 345
345 insert into sys.args values (9978, 105, 'res_0', 'hugeint', 128, 0, 0, 0); 345 ! 346 insert into sys.args values (9978, 105, 'res_0', 'any', 0, 0, 0, 0); 346
346 insert into sys.args values (9979, 105, 'arg_1', 'tinyint', 8, 0, 1, 1); 346 -
347 insert into sys.functions values (106, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 347 347 insert into sys.functions values (106, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 347
348 insert into sys.args values (9980, 106, 'res_0', 'hugeint', 128, 0, 0, 0); 348 ! 348 insert into sys.args values (9979, 106, 'res_0', 'hugeint', 128, 0, 0, 0); 348
349 insert into sys.args values (9981, 106, 'arg_1', 'smallint', 16, 0, 1, 1); 349 ! 349 insert into sys.args values (9980, 106, 'arg_1', 'tinyint', 8, 0, 1, 1); 349
350 insert into sys.functions values (107, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 350 350 insert into sys.functions values (107, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 350
351 insert into sys.args values (9982, 107, 'res_0', 'hugeint', 128, 0, 0, 0); 351 ! 351 insert into sys.args values (9981, 107, 'res_0', 'hugeint', 128, 0, 0, 0); 351
352 insert into sys.args values (9983, 107, 'arg_1', 'int', 32, 0, 1, 1); 352 ! 352 insert into sys.args values (9982, 107, 'arg_1', 'smallint', 16, 0, 1, 1); 352
353 insert into sys.functions values (108, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 353 353 insert into sys.functions values (108, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 353
354 insert into sys.args values (9984, 108, 'res_0', 'hugeint', 128, 0, 0, 0); 354 ! 354 insert into sys.args values (9983, 108, 'res_0', 'hugeint', 128, 0, 0, 0); 354
355 insert into sys.args values (9985, 108, 'arg_1', 'hugeint', 128, 0, 1, 1); 355 ! 355 insert into sys.args values (9984, 108, 'arg_1', 'int', 32, 0, 1, 1); 355
356 insert into sys.functions values (109, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 356 356 insert into sys.functions values (109, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 356
357 insert into sys.args values (9986, 109, 'res_0', 'bigint', 64, 0, 0, 0); 357 ! 357 insert into sys.args values (9985, 109, 'res_0', 'hugeint', 128, 0, 0, 0); 357
358 insert into sys.args values (9987, 109, 'arg_1', 'bigint', 64, 0, 1, 1); 358 ! 358 insert into sys.args values (9986, 109, 'arg_1', 'hugeint', 128, 0, 1, 1); 358
359 insert into sys.functions values (110, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 359 359 insert into sys.functions values (110, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 359
360 insert into sys.args values (9988, 110, 'res_0', 'decimal', 38, 0, 0, 0); 360 ! 360 insert into sys.args values (9987, 110, 'res_0', 'bigint', 64, 0, 0, 0); 360
361 insert into sys.args values (9989, 110, 'arg_1', 'decimal', 2, 0, 1, 1); 361 ! 361 insert into sys.args values (9988, 110, 'arg_1', 'bigint', 64, 0, 1, 1); 361
362 insert into sys.functions values (111, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 362 362 insert into sys.functions values (111, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 362
363 insert into sys.args values (9990, 111, 'res_0', 'decimal', 38, 0, 0, 0); 363 ! 363 insert into sys.args values (9989, 111, 'res_0', 'decimal', 38, 0, 0, 0); 363
364 insert into sys.args values (9991, 111, 'arg_1', 'decimal', 4, 0, 1, 1); 364 ! 364 insert into sys.args values (9990, 111, 'arg_1', 'decimal', 2, 0, 1, 1); 364
365 insert into sys.functions values (112, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 365 365 insert into sys.functions values (112, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 365
366 insert into sys.args values (9992, 112, 'res_0', 'decimal', 38, 0, 0, 0); 366 ! 366 insert into sys.args values (9991, 112, 'res_0', 'decimal', 38, 0, 0, 0); 366
367 insert into sys.args values (9993, 112, 'arg_1', 'decimal', 9, 0, 1, 1); 367 ! 367 insert into sys.args values (9992, 112, 'arg_1', 'decimal', 4, 0, 1, 1); 367
368 insert into sys.functions values (113, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 368 368 insert into sys.functions values (113, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 368
369 insert into sys.args values (9994, 113, 'res_0', 'decimal', 38, 0, 0, 0); 369 ! 369 insert into sys.args values (9993, 113, 'res_0', 'decimal', 38, 0, 0, 0); 369
370 insert into sys.args values (9995, 113, 'arg_1', 'decimal', 18, 0, 1, 1); 370 ! 370 insert into sys.args values (9994, 113, 'arg_1', 'decimal', 9, 0, 1, 1); 370
371 insert into sys.functions values (114, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 371 371 insert into sys.functions values (114, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 371
372 insert into sys.args values (9996, 114, 'res_0', 'decimal', 38, 0, 0, 0); 372 ! 372 insert into sys.args values (9995, 114, 'res_0', 'decimal', 38, 0, 0, 0); 372
373 insert into sys.args values (9997, 114, 'arg_1', 'decimal', 38, 0, 1, 1); 373 ! 373 insert into sys.args values (9996, 114, 'arg_1', 'decimal', 18, 0, 1, 1); 373
374 insert into sys.functions values (115, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 374 ! 374 insert into sys.functions values (115, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 374
375 insert into sys.args values (9998, 115, 'res_0', 'hugeint', 128, 0, 0, 0); 375 ! 375 insert into sys.args values (9997, 115, 'res_0', 'decimal', 38, 0, 0, 0); 375
376 insert into sys.args values (9999, 115, 'arg_1', 'tinyint', 8, 0, 1, 1); 376 ! 376 insert into sys.args values (9998, 115, 'arg_1', 'decimal', 38, 0, 1, 1); 376
377 insert into sys.functions values (116, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 377 377 insert into sys.functions values (116, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 377
378 insert into sys.args values (10000, 116, 'res_0', 'hugeint', 128, 0, 0, 0); 378 ! 378 insert into sys.args values (9999, 116, 'res_0', 'hugeint', 128, 0, 0, 0); 378
379 insert into sys.args values (10001, 116, 'arg_1', 'smallint', 16, 0, 1, 1); 379 ! 379 insert into sys.args values (10000, 116, 'arg_1', 'tinyint', 8, 0, 1, 1); 379
380 insert into sys.functions values (117, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 380 380 insert into sys.functions values (117, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 380
381 insert into sys.args values (10002, 117, 'res_0', 'hugeint', 128, 0, 0, 0); 381 ! 381 insert into sys.args values (10001, 117, 'res_0', 'hugeint', 128, 0, 0, 0); 381
382 insert into sys.args values (10003, 117, 'arg_1', 'int', 32, 0, 1, 1); 382 ! 382 insert into sys.args values (10002, 117, 'arg_1', 'smallint', 16, 0, 1, 1); 382
383 insert into sys.functions values (118, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 383 383 insert into sys.functions values (118, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 383
384 insert into sys.args values (10004, 118, 'res_0', 'hugeint', 128, 0, 0, 0); 384 ! 384 insert into sys.args values (10003, 118, 'res_0', 'hugeint', 128, 0, 0, 0); 384
385 insert into sys.args values (10005, 118, 'arg_1', 'bigint', 64, 0, 1, 1); 385 ! 385 insert into sys.args values (10004, 118, 'arg_1', 'int', 32, 0, 1, 1); 385
386 insert into sys.functions values (119, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 386 386 insert into sys.functions values (119, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 386
387 insert into sys.args values (10006, 119, 'res_0', 'hugeint', 128, 0, 0, 0); 387 ! 387 insert into sys.args values (10005, 119, 'res_0', 'hugeint', 128, 0, 0, 0); 387
388 insert into sys.args values (10007, 119, 'arg_1', 'hugeint', 128, 0, 1, 1); 388 ! 388 insert into sys.args values (10006, 119, 'arg_1', 'bigint', 64, 0, 1, 1); 388
389 insert into sys.functions values (120, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 389 ! 389 insert into sys.functions values (120, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 389
390 insert into sys.args values (10008, 120, 'res_0', 'oid', 63, 0, 0, 0); 390 ! 390 insert into sys.args values (10007, 120, 'res_0', 'hugeint', 128, 0, 0, 0); 390
391 insert into sys.args values (10009, 120, 'arg_1', 'oid', 63, 0, 1, 1); 391 ! 391 insert into sys.args values (10008, 120, 'arg_1', 'hugeint', 128, 0, 1, 1); 391
392 insert into sys.args values (10010, 120, 'arg_2', 'oid', 63, 0, 1, 2); 392 -
393 insert into sys.functions values (121, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 393 392 insert into sys.functions values (121, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 392
394 insert into sys.args values (10011, 121, 'res_0', 'tinyint', 8, 0, 0, 0); 394 ! 393 insert into sys.args values (10009, 121, 'res_0', 'oid', 63, 0, 0, 0); 393
395 insert into sys.args values (10012, 121, 'arg_1', 'tinyint', 8, 0, 1, 1); 395 ! 394 insert into sys.args values (10010, 121, 'arg_1', 'oid', 63, 0, 1, 1); 394
396 insert into sys.args values (10013, 121, 'arg_2', 'tinyint', 8, 0, 1, 2); 396 ! 395 insert into sys.args values (10011, 121, 'arg_2', 'oid', 63, 0, 1, 2); 395
397 insert into sys.functions values (122, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 397 396 insert into sys.functions values (122, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 396
398 insert into sys.args values (10014, 122, 'res_0', 'smallint', 16, 0, 0, 0); 398 ! 397 insert into sys.args values (10012, 122, 'res_0', 'tinyint', 8, 0, 0, 0); 397
399 insert into sys.args values (10015, 122, 'arg_1', 'smallint', 16, 0, 1, 1); 399 ! 398 insert into sys.args values (10013, 122, 'arg_1', 'tinyint', 8, 0, 1, 1); 398
400 insert into sys.args values (10016, 122, 'arg_2', 'smallint', 16, 0, 1, 2); 400 ! 399 insert into sys.args values (10014, 122, 'arg_2', 'tinyint', 8, 0, 1, 2); 399
401 insert into sys.functions values (123, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 401 400 insert into sys.functions values (123, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 400
402 insert into sys.args values (10017, 123, 'res_0', 'int', 32, 0, 0, 0); 402 ! 401 insert into sys.args values (10015, 123, 'res_0', 'smallint', 16, 0, 0, 0); 401
403 insert into sys.args values (10018, 123, 'arg_1', 'int', 32, 0, 1, 1); 403 ! 402 insert into sys.args values (10016, 123, 'arg_1', 'smallint', 16, 0, 1, 1); 402
404 insert into sys.args values (10019, 123, 'arg_2', 'int', 32, 0, 1, 2); 404 ! 403 insert into sys.args values (10017, 123, 'arg_2', 'smallint', 16, 0, 1, 2); 403
405 insert into sys.functions values (124, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 405 404 insert into sys.functions values (124, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 404
406 insert into sys.args values (10020, 124, 'res_0', 'bigint', 64, 0, 0, 0); 406 ! 405 insert into sys.args values (10018, 124, 'res_0', 'int', 32, 0, 0, 0); 405
407 insert into sys.args values (10021, 124, 'arg_1', 'bigint', 64, 0, 1, 1); 407 ! 406 insert into sys.args values (10019, 124, 'arg_1', 'int', 32, 0, 1, 1); 406
408 insert into sys.args values (10022, 124, 'arg_2', 'bigint', 64, 0, 1, 2); 408 ! 407 insert into sys.args values (10020, 124, 'arg_2', 'int', 32, 0, 1, 2); 407
409 insert into sys.functions values (125, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 409 408 insert into sys.functions values (125, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 408
410 insert into sys.args values (10023, 125, 'res_0', 'hugeint', 128, 0, 0, 0); 410 ! 409 insert into sys.args values (10021, 125, 'res_0', 'bigint', 64, 0, 0, 0); 409
411 insert into sys.args values (10024, 125, 'arg_1', 'hugeint', 128, 0, 1, 1); 411 ! 410 insert into sys.args values (10022, 125, 'arg_1', 'bigint', 64, 0, 1, 1); 410
412 insert into sys.args values (10025, 125, 'arg_2', 'hugeint', 128, 0, 1, 2); 412 ! 411 insert into sys.args values (10023, 125, 'arg_2', 'bigint', 64, 0, 1, 2); 411
413 insert into sys.functions values (126, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 413 412 insert into sys.functions values (126, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 412
414 insert into sys.args values (10026, 126, 'res_0', 'decimal', 2, 0, 0, 0); 414 ! 413 insert into sys.args values (10024, 126, 'res_0', 'hugeint', 128, 0, 0, 0); 413
415 insert into sys.args values (10027, 126, 'arg_1', 'decimal', 2, 0, 1, 1); 415 ! 414 insert into sys.args values (10025, 126, 'arg_1', 'hugeint', 128, 0, 1, 1); 414
416 insert into sys.args values (10028, 126, 'arg_2', 'decimal', 2, 0, 1, 2); 416 ! 415 insert into sys.args values (10026, 126, 'arg_2', 'hugeint', 128, 0, 1, 2); 415
417 insert into sys.functions values (127, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 417 416 insert into sys.functions values (127, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 416
418 insert into sys.args values (10029, 127, 'res_0', 'decimal', 4, 0, 0, 0); 418 ! 417 insert into sys.args values (10027, 127, 'res_0', 'decimal', 2, 0, 0, 0); 417
419 insert into sys.args values (10030, 127, 'arg_1', 'decimal', 4, 0, 1, 1); 419 ! 418 insert into sys.args values (10028, 127, 'arg_1', 'decimal', 2, 0, 1, 1); 418
420 insert into sys.args values (10031, 127, 'arg_2', 'decimal', 4, 0, 1, 2); 420 ! 419 insert into sys.args values (10029, 127, 'arg_2', 'decimal', 2, 0, 1, 2); 419
421 insert into sys.functions values (128, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 421 420 insert into sys.functions values (128, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 420
422 insert into sys.args values (10032, 128, 'res_0', 'decimal', 9, 0, 0, 0); 422 ! 421 insert into sys.args values (10030, 128, 'res_0', 'decimal', 4, 0, 0, 0); 421
423 insert into sys.args values (10033, 128, 'arg_1', 'decimal', 9, 0, 1, 1); 423 ! 422 insert into sys.args values (10031, 128, 'arg_1', 'decimal', 4, 0, 1, 1); 422
424 insert into sys.args values (10034, 128, 'arg_2', 'decimal', 9, 0, 1, 2); 424 ! 423 insert into sys.args values (10032, 128, 'arg_2', 'decimal', 4, 0, 1, 2); 423
425 insert into sys.functions values (129, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 425 424 insert into sys.functions values (129, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 424
426 insert into sys.args values (10035, 129, 'res_0', 'decimal', 18, 0, 0, 0); 426 ! 425 insert into sys.args values (10033, 129, 'res_0', 'decimal', 9, 0, 0, 0); 425
427 insert into sys.args values (10036, 129, 'arg_1', 'decimal', 18, 0, 1, 1); 427 ! 426 insert into sys.args values (10034, 129, 'arg_1', 'decimal', 9, 0, 1, 1); 426
428 insert into sys.args values (10037, 129, 'arg_2', 'decimal', 18, 0, 1, 2); 428 ! 427 insert into sys.args values (10035, 129, 'arg_2', 'decimal', 9, 0, 1, 2); 427
429 insert into sys.functions values (130, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 429 428 insert into sys.functions values (130, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 428
430 insert into sys.args values (10038, 130, 'res_0', 'decimal', 38, 0, 0, 0); 430 ! 429 insert into sys.args values (10036, 130, 'res_0', 'decimal', 18, 0, 0, 0); 429
431 insert into sys.args values (10039, 130, 'arg_1', 'decimal', 38, 0, 1, 1); 431 ! 430 insert into sys.args values (10037, 130, 'arg_1', 'decimal', 18, 0, 1, 1); 430
432 insert into sys.args values (10040, 130, 'arg_2', 'decimal', 38, 0, 1, 2); 432 ! 431 insert into sys.args values (10038, 130, 'arg_2', 'decimal', 18, 0, 1, 2); 431
433 insert into sys.functions values (131, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 433 432 insert into sys.functions values (131, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 432
434 insert into sys.args values (10041, 131, 'res_0', 'real', 24, 0, 0, 0); 434 ! 433 insert into sys.args values (10039, 131, 'res_0', 'decimal', 38, 0, 0, 0); 433
435 insert into sys.args values (10042, 131, 'arg_1', 'real', 24, 0, 1, 1); 435 ! 434 insert into sys.args values (10040, 131, 'arg_1', 'decimal', 38, 0, 1, 1); 434
436 insert into sys.args values (10043, 131, 'arg_2', 'real', 24, 0, 1, 2); 436 ! 435 insert into sys.args values (10041, 131, 'arg_2', 'decimal', 38, 0, 1, 2); 435
437 insert into sys.functions values (132, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 437 436 insert into sys.functions values (132, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 436
438 insert into sys.args values (10044, 132, 'res_0', 'double', 53, 0, 0, 0); 438 ! 437 insert into sys.args values (10042, 132, 'res_0', 'real', 24, 0, 0, 0); 437
439 insert into sys.args values (10045, 132, 'arg_1', 'double', 53, 0, 1, 1); 439 ! 438 insert into sys.args values (10043, 132, 'arg_1', 'real', 24, 0, 1, 1); 438
440 insert into sys.args values (10046, 132, 'arg_2', 'double', 53, 0, 1, 2); 440 ! 439 insert into sys.args values (10044, 132, 'arg_2', 'real', 24, 0, 1, 2); 439
441 insert into sys.functions values (133, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 441 ! 440 insert into sys.functions values (133, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 440
442 insert into sys.args values (10047, 133, 'res_0', 'real', 24, 0, 0, 0); 442 ! 441 insert into sys.args values (10045, 133, 'res_0', 'double', 53, 0, 0, 0); 441
443 insert into sys.args values (10048, 133, 'arg_1', 'real', 24, 0, 1, 1); 443 ! 442 insert into sys.args values (10046, 133, 'arg_1', 'double', 53, 0, 1, 1); 442
insert into sys. + 443 insert into sys.args values (10047, 133, 'arg_2', 'double', 53, 0, 1, 2); 443
444 functions values (134, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 444 ! 444 insert into sys.functions values (134, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 444
445 insert into sys.args values (10049, 134, 'res_0', 'real', 24, 0, 0, 0); 445 ! 445 insert into sys.args values (10048, 134, 'res_0', 'real', 24, 0, 0, 0); 445
446 insert into sys.args values (10050, 134, 'arg_1', 'real', 24, 0, 1, 1); 446 ! 446 insert into sys.args values (10049, 134, 'arg_1', 'real', 24, 0, 1, 1); 446
447 insert into sys.functions values (135, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 447 ! 447 insert into sys.functions values (135, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 447
448 insert into sys.args values (10051, 135, 'res_0', 'double', 53, 0, 0, 0); 448 ! 448 insert into sys.args values (10050, 135, 'res_0', 'real', 24, 0, 0, 0); 448
449 insert into sys.args values (10052, 135, 'arg_1', 'double', 53, 0, 1, 1); 449 ! 449 insert into sys.args values (10051, 135, 'arg_1', 'real', 24, 0, 1, 1); 449
450 insert into sys.functions values (136, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 450 ! 450 insert into sys.functions values (136, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 450
451 insert into sys.args values (10053, 136, 'res_0', 'double', 53, 0, 0, 0); 451 ! 451 insert into sys.args values (10052, 136, 'res_0', 'double', 53, 0, 0, 0); 451
452 insert into sys.args values (10054, 136, 'arg_1', 'double', 53, 0, 1, 1); 452 ! 452 insert into sys.args values (10053, 136, 'arg_1', 'double', 53, 0, 1, 1); 452
453 insert into sys.functions values (137, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 453 ! 453 insert into sys.functions values (137, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 453
454 insert into sys.args values (10055, 137, 'res_0', 'month_interval', 32, 0, 0, 0); 454 ! 454 insert into sys.args values (10054, 137, 'res_0', 'double', 53, 0, 0, 0); 454
455 insert into sys.args values (10056, 137, 'arg_1', 'month_interval', 32, 0, 1, 1); 455 ! 455 insert into sys.args values (10055, 137, 'arg_1', 'double', 53, 0, 1, 1); 455
456 insert into sys.functions values (138, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 456 456 insert into sys.functions values (138, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 456
457 insert into sys.args values (10057, 138, 'res_0', 'sec_interval', 13, 0, 0, 0); 457 ! 457 insert into sys.args values (10056, 138, 'res_0', 'month_interval', 32, 0, 0, 0); 457
458 insert into sys.args values (10058, 138, 'arg_1', 'sec_interval', 13, 0, 1, 1); 458 ! 458 insert into sys.args values (10057, 138, 'arg_1', 'month_interval', 32, 0, 1, 1); 458
459 insert into sys.functions values (139, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 459 ! 459 insert into sys.functions values (139, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 459
460 insert into sys.args values (10059, 139, 'res_0', 'double', 53, 0, 0, 0); 460 ! 460 insert into sys.args values (10058, 139, 'res_0', 'sec_interval', 13, 0, 0, 0); 460
461 insert into sys.args values (10060, 139, 'arg_1', 'double', 53, 0, 1, 1); 461 ! 461 insert into sys.args values (10059, 139, 'arg_1', 'sec_interval', 13, 0, 1, 1); 461
462 insert into sys.functions values (140, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 462 462 insert into sys.functions values (140, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 462
463 insert into sys.args values (10061, 140, 'res_0', 'double', 53, 0, 0, 0); 463 ! 463 insert into sys.args values (10060, 140, 'res_0', 'double', 53, 0, 0, 0); 463
464 insert into sys.args values (10062, 140, 'arg_1', 'tinyint', 8, 0, 1, 1); 464 ! 464 insert into sys.args values (10061, 140, 'arg_1', 'double', 53, 0, 1, 1); 464
465 insert into sys.functions values (141, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 465 465 insert into sys.functions values (141, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 465
466 insert into sys.args values (10063, 141, 'res_0', 'double', 53, 0, 0, 0); 466 ! 466 insert into sys.args values (10062, 141, 'res_0', 'double', 53, 0, 0, 0); 466
467 insert into sys.args values (10064, 141, 'arg_1', 'smallint', 16, 0, 1, 1); 467 ! 467 insert into sys.args values (10063, 141, 'arg_1', 'tinyint', 8, 0, 1, 1); 467
468 insert into sys.functions values (142, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 468 468 insert into sys.functions values (142, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 468
469 insert into sys.args values (10065, 142, 'res_0', 'double', 53, 0, 0, 0); 469 ! 469 insert into sys.args values (10064, 142, 'res_0', 'double', 53, 0, 0, 0); 469
470 insert into sys.args values (10066, 142, 'arg_1', 'int', 32, 0, 1, 1); 470 ! 470 insert into sys.args values (10065, 142, 'arg_1', 'smallint', 16, 0, 1, 1); 470
471 insert into sys.functions values (143, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 471 471 insert into sys.functions values (143, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 471
472 insert into sys.args values (10067, 143, 'res_0', 'double', 53, 0, 0, 0); 472 ! 472 insert into sys.args values (10066, 143, 'res_0', 'double', 53, 0, 0, 0); 472
473 insert into sys.args values (10068, 143, 'arg_1', 'bigint', 64, 0, 1, 1); 473 ! 473 insert into sys.args values (10067, 143, 'arg_1', 'int', 32, 0, 1, 1); 473
474 insert into sys.functions values (144, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 474 474 insert into sys.functions values (144, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 474
475 insert into sys.args values (10069, 144, 'res_0', 'double', 53, 0, 0, 0); 475 ! 475 insert into sys.args values (10068, 144, 'res_0', 'double', 53, 0, 0, 0); 475
476 insert into sys.args values (10070, 144, 'arg_1', 'hugeint', 128, 0, 1, 1); 476 ! 476 insert into sys.args values (10069, 144, 'arg_1', 'bigint', 64, 0, 1, 1); 476
477 insert into sys.functions values (145, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 477 477 insert into sys.functions values (145, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 477
478 insert into sys.args values (10071, 145, 'res_0', 'double', 53, 0, 0, 0); 478 ! 478 insert into sys.args values (10070, 145, 'res_0', 'double', 53, 0, 0, 0); 478
479 insert into sys.args values (10072, 145, 'arg_1', 'real', 24, 0, 1, 1); 479 ! 479 insert into sys.args values (10071, 145, 'arg_1', 'hugeint', 128, 0, 1, 1); 479
480 insert into sys.functions values (146, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 480 480 insert into sys.functions values (146, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 480
481 insert into sys.args values (10073, 146, 'res_0', 'decimal', 2, 0, 0, 0); 481 ! 481 insert into sys.args values (10072, 146, 'res_0', 'double', 53, 0, 0, 0); 481
482 insert into sys.args values (10074, 146, 'arg_1', 'decimal', 2, 0, 1, 1); 482 ! 482 insert into sys.args values (10073, 146, 'arg_1', 'real', 24, 0, 1, 1); 482
483 insert into sys.functions values (147, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 483 483 insert into sys.functions values (147, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 483
484 insert into sys.args values (10075, 147, 'res_0', 'decimal', 4, 0, 0, 0); 484 ! 484 insert into sys.args values (10074, 147, 'res_0', 'decimal', 2, 0, 0, 0); 484
485 insert into sys.args values (10076, 147, 'arg_1', 'decimal', 4, 0, 1, 1); 485 ! 485 insert into sys.args values (10075, 147, 'arg_1', 'decimal', 2, 0, 1, 1); 485
486 insert into sys.functions values (148, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 486 486 insert into sys.functions values (148, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 486
487 insert into sys.args values (10077, 148, 'res_0', 'decimal', 9, 0, 0, 0); 487 ! 487 insert into sys.args values (10076, 148, 'res_0', 'decimal', 4, 0, 0, 0); 487
488 insert into sys.args values (10078, 148, 'arg_1', 'decimal', 9, 0, 1, 1); 488 ! 488 insert into sys.args values (10077, 148, 'arg_1', 'decimal', 4, 0, 1, 1); 488
489 insert into sys.functions values (149, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 489 489 insert into sys.functions values (149, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 489
490 insert into sys.args values (10079, 149, 'res_0', 'decimal', 18, 0, 0, 0); 490 ! 490 insert into sys.args values (10078, 149, 'res_0', 'decimal', 9, 0, 0, 0); 490
491 insert into sys.args values (10080, 149, 'arg_1', 'decimal', 18, 0, 1, 1); 491 ! 491 insert into sys.args values (10079, 149, 'arg_1', 'decimal', 9, 0, 1, 1); 491
492 insert into sys.functions values (150, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 492 492 insert into sys.functions values (150, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 492
493 insert into sys.args values (10081, 150, 'res_0', 'decimal', 38, 0, 0, 0); 493 ! 493 insert into sys.args values (10080, 150, 'res_0', 'decimal', 18, 0, 0, 0); 493
494 insert into sys.args values (10082, 150, 'arg_1', 'decimal', 38, 0, 1, 1); 494 ! 494 insert into sys.args values (10081, 150, 'arg_1', 'decimal', 18, 0, 1, 1); 494
495 insert into sys.functions values (151, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 495 495 insert into sys.functions values (151, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 495
496 insert into sys.args values (10083, 151, 'res_0', 'month_interval', 32, 0, 0, 0); 496 ! 496 insert into sys.args values (10082, 151, 'res_0', 'decimal', 38, 0, 0, 0); 496
497 insert into sys.args values (10084, 151, 'arg_1', 'month_interval', 32, 0, 1, 1); 497 ! 497 insert into sys.args values (10083, 151, 'arg_1', 'decimal', 38, 0, 1, 1); 497
498 insert into sys.functions values (152, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 498 498 insert into sys.functions values (152, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 498
499 insert into sys.args values (10085, 152, 'res_0', 'sec_interval', 13, 0, 0, 0); 499 ! 499 insert into sys.args values (10084, 152, 'res_0', 'month_interval', 32, 0, 0, 0); 499
500 insert into sys.args values (10086, 152, 'arg_1', 'sec_interval', 13, 0, 1, 1); 500 ! 500 insert into sys.args values (10085, 152, 'arg_1', 'month_interval', 32, 0, 1, 1); 500
501 insert into sys.functions values (153, 'count_no_nil', 'count_no_nil', 'aggr', 0, 3, false, false, false, 2000, true, true); 501 ! 501 insert into sys.functions values (153, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 501
502 insert into sys.args values (10087, 153, 'res_0', 'bigint', 64, 0, 0, 0); 502 ! 502 insert into sys.args values (10086, 153, 'res_0', 'sec_interval', 13, 0, 0, 0); 502
503 insert into sys.functions values (154, 'count', 'count', 'aggr', 0, 3, false, false, false, 2000, true, true); 503 ! 503 insert into sys.args values (10087, 153, 'arg_1', 'sec_interval', 13, 0, 1, 1); 503
504 insert into sys.args values (10088, 154, 'res_0', 'bigint', 64, 0, 0, 0); 504 -
505 insert into sys.args values (10089, 154, 'arg_1', 'any', 0, 0, 1, 1); 505 ! 504 insert into sys.functions values (154, 'count_no_nil', 'count_no_nil', 'aggr', 0, 3, false, false, false, 2000, true, true); 504
+ 505 insert into sys.args values (10088, 154, 'res_0', 'bigint', 64, 0, 0, 0); 505
506 insert into sys.functions values (155, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 506 ! 506 insert into sys.functions values (155, 'count', 'count', 'aggr', 0, 3, false, false, false, 2000, true, true); 506
507 insert into sys.args values (10090, 155, 'res_0', 'varchar', 0, 0, 0, 0); 507 ! 507 insert into sys.args values (10089, 155, 'res_0', 'bigint', 64, 0, 0, 0); 507
508 insert into sys.args values (10091, 155, 'arg_1', 'varchar', 0, 0, 1, 1); 508 ! 508 insert into sys.args values (10090, 155, 'arg_1', 'any', 0, 0, 1, 1); 508
509 insert into sys.functions values (156, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 509 509 insert into sys.functions values (156, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 509
510 insert into sys.args values (10092, 156, 'res_0', 'varchar', 0, 0, 0, 0); 510 ! 510 insert into sys.args values (10091, 156, 'res_0', 'varchar', 0, 0, 0, 0); 510
511 insert into sys.args values (10093, 156, 'arg_1', 'varchar', 0, 0, 1, 1); 511 ! 511 insert into sys.args values (10092, 156, 'arg_1', 'varchar', 0, 0, 1, 1); 511
512 insert into sys.args values (10094, 156, 'arg_2', 'varchar', 0, 0, 1, 2); 512 ! 512 insert into sys.functions values (157, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 512
513 insert into sys.functions values (157, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 513 ! 513 insert into sys.args values (10093, 157, 'res_0', 'varchar', 0, 0, 0, 0); 513
514 insert into sys.args values (10095, 157, 'res_0', 'boolean', 1, 0, 0, 0); 514 ! 514 insert into sys.args values (10094, 157, 'arg_1', 'varchar', 0, 0, 1, 1); 514
515 insert into sys.args values (10096, 157, 'arg_1', 'any', 0, 0, 1, 1); 515 ! 515 insert into sys.args values (10095, 157, 'arg_2', 'varchar', 0, 0, 1, 2); 515
516 insert into sys.functions values (158, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 516 516 insert into sys.functions values (158, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 516
517 insert into sys.args values (10097, 158, 'res_0', 'boolean', 1, 0, 0, 0); 517 ! 517 insert into sys.args values (10096, 158, 'res_0', 'boolean', 1, 0, 0, 0); 517
518 insert into sys.args values (10098, 158, 'arg_1', 'boolean', 1, 0, 1, 1); 518 ! 518 insert into sys.args values (10097, 158, 'arg_1', 'any', 0, 0, 1, 1); 518
519 insert into sys.args values (10099, 158, 'arg_2', 'any', 0, 0, 1, 2); 519 ! 519 insert into sys.functions values (159, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 519
520 insert into sys.functions values (159, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 520 -
521 insert into sys.args values (10100, 159, 'res_0', 'bigint', 64, 0, 0, 0); 521 ! 520 insert into sys.args values (10098, 159, 'res_0', 'boolean', 1, 0, 0, 0); 520
522 insert into sys.args values (10101, 159, 'arg_1', 'any', 0, 0, 1, 1); 522 ! 521 insert into sys.args values (10099, 159, 'arg_1', 'boolean', 1, 0, 1, 1); 521
523 insert into sys.args values (10102, 159, 'arg_2', 'int', 32, 0, 1, 2); 523 ! 522 insert into sys.args values (10100, 159, 'arg_2', 'any', 0, 0, 1, 2); 522
524 insert into sys.args values (10103, 159, 'arg_3', 'int', 32, 0, 1, 3); 524 -
525 insert into sys.args values (10104, 159, 'arg_4', 'int', 32, 0, 1, 4); 525 -
526 insert into sys.args values (10105, 159, 'arg_5', 'tinyint', 8, 0, 1, 5); 526 -
527 insert into sys.functions values (160, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 527 523 insert into sys.functions values (160, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 523
528 insert into sys.args values (10106, 160, 'res_0', 'bigint', 64, 0, 0, 0); 528 ! 524 insert into sys.args values (10101, 160, 'res_0', 'bigint', 64, 0, 0, 0); 524
529 insert into sys.args values (10107, 160, 'arg_1', 'boolean', 1, 0, 1, 1); 529 ! 525 insert into sys.args values (10102, 160, 'arg_1', 'any', 0, 0, 1, 1); 525
530 insert into sys.args values (10108, 160, 'arg_2', 'any', 0, 0, 1, 2); 530 ! 526 insert into sys.args values (10103, 160, 'arg_2', 'int', 32, 0, 1, 2); 526
531 insert into sys.args values (10109, 160, 'arg_3', 'int', 32, 0, 1, 3); 531 ! 527 insert into sys.args values (10104, 160, 'arg_3', 'int', 32, 0, 1, 3); 527
532 insert into sys.args values (10110, 160, 'arg_4', 'int', 32, 0, 1, 4); 532 ! 528 insert into sys.args values (10105, 160, 'arg_4', 'int', 32, 0, 1, 4); 528
533 insert into sys.args values (10111, 160, 'arg_5', 'int', 32, 0, 1, 5); 533 ! 529 insert into sys.args values (10106, 160, 'arg_5', 'tinyint', 8, 0, 1, 5); 529
534 insert into sys.args values (10112, 160, 'arg_6', 'tinyint', 8, 0, 1, 6); 534 -
535 insert into sys.functions values (161, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 535 530 insert into sys.functions values (161, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 530
536 insert into sys.args values (10113, 161, 'res_0', 'bigint', 64, 0, 0, 0); 536 ! 531 insert into sys.args values (10107, 161, 'res_0', 'bigint', 64, 0, 0, 0); 531
537 insert into sys.args values (10114, 161, 'arg_1', 'any', 0, 0, 1, 1); 537 ! 532 insert into sys.args values (10108, 161, 'arg_1', 'boolean', 1, 0, 1, 1); 532
538 insert into sys.args values (10115, 161, 'arg_2', 'int', 32, 0, 1, 2); 538 ! 533 insert into sys.args values (10109, 161, 'arg_2', 'any', 0, 0, 1, 2); 533
539 insert into sys.args values (10116, 161, 'arg_3', 'int', 32, 0, 1, 3); 539 ! 534 insert into sys.args values (10110, 161, 'arg_3', 'int', 32, 0, 1, 3); 534
540 insert into sys.args values (10117, 161, 'arg_4', 'int', 32, 0, 1, 4); 540 ! 535 insert into sys.args values (10111, 161, 'arg_4', 'int', 32, 0, 1, 4); 535
541 insert into sys.args values (10118, 161, 'arg_5', 'smallint', 16, 0, 1, 5); 541 ! 536 insert into sys.args values (10112, 161, 'arg_5', 'int', 32, 0, 1, 5); 536
+ 537 insert into sys.args values (10113, 161, 'arg_6', 'tinyint', 8, 0, 1, 6); 537
542 insert into sys.functions values (162, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 542 538 insert into sys.functions values (162, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 538
543 insert into sys.args values (10119, 162, 'res_0', 'bigint', 64, 0, 0, 0); 543 ! 539 insert into sys.args values (10114, 162, 'res_0', 'bigint', 64, 0, 0, 0); 539
544 insert into sys.args values (10120, 162, 'arg_1', 'boolean', 1, 0, 1, 1); 544 ! 540 insert into sys.args values (10115, 162, 'arg_1', 'any', 0, 0, 1, 1); 540
545 insert into sys.args values (10121, 162, 'arg_2', 'any', 0, 0, 1, 2); 545 ! 541 insert into sys.args values (10116, 162, 'arg_2', 'int', 32, 0, 1, 2); 541
546 insert into sys.args values (10122, 162, 'arg_3', 'int', 32, 0, 1, 3); 546 ! 542 insert into sys.args values (10117, 162, 'arg_3', 'int', 32, 0, 1, 3); 542
547 insert into sys.args values (10123, 162, 'arg_4', 'int', 32, 0, 1, 4); 547 ! 543 insert into sys.args values (10118, 162, 'arg_4', 'int', 32, 0, 1, 4); 543
548 insert into sys.args values (10124, 162, 'arg_5', 'int', 32, 0, 1, 5); 548 ! 544 insert into sys.args values (10119, 162, 'arg_5', 'smallint', 16, 0, 1, 5); 544
549 insert into sys.args values (10125, 162, 'arg_6', 'smallint', 16, 0, 1, 6); 549 -
550 insert into sys.functions values (163, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 550 545 insert into sys.functions values (163, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 545
551 insert into sys.args values (10126, 163, 'res_0', 'bigint', 64, 0, 0, 0); 551 ! 546 insert into sys.args values (10120, 163, 'res_0', 'bigint', 64, 0, 0, 0); 546
552 insert into sys.args values (10127, 163, 'arg_1', 'any', 0, 0, 1, 1); 552 ! 547 insert into sys.args values (10121, 163, 'arg_1', 'boolean', 1, 0, 1, 1); 547
553 insert into sys.args values (10128, 163, 'arg_2', 'int', 32, 0, 1, 2); 553 ! 548 insert into sys.args values (10122, 163, 'arg_2', 'any', 0, 0, 1, 2); 548
554 insert into sys.args values (10129, 163, 'arg_3', 'int', 32, 0, 1, 3); 554 ! 549 insert into sys.args values (10123, 163, 'arg_3', 'int', 32, 0, 1, 3); 549
555 insert into sys.args values (10130, 163, 'arg_4', 'int', 32, 0, 1, 4); 555 ! 550 insert into sys.args values (10124, 163, 'arg_4', 'int', 32, 0, 1, 4); 550
556 insert into sys.args values (10131, 163, 'arg_5', 'int', 32, 0, 1, 5); 556 ! 551 insert into sys.args values (10125, 163, 'arg_5', 'int', 32, 0, 1, 5); 551
+ 552 insert into sys.args values (10126, 163, 'arg_6', 'smallint', 16, 0, 1, 6); 552
557 insert into sys.functions values (164, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 557 553 insert into sys.functions values (164, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 553
558 insert into sys.args values (10132, 164, 'res_0', 'bigint', 64, 0, 0, 0); 558 ! 554 insert into sys.args values (10127, 164, 'res_0', 'bigint', 64, 0, 0, 0); 554
559 insert into sys.args values (10133, 164, 'arg_1', 'boolean', 1, 0, 1, 1); 559 ! 555 insert into sys.args values (10128, 164, 'arg_1', 'any', 0, 0, 1, 1); 555
560 insert into sys.args values (10134, 164, 'arg_2', 'any', 0, 0, 1, 2); 560 ! 556 insert into sys.args values (10129, 164, 'arg_2', 'int', 32, 0, 1, 2); 556
561 insert into sys.args values (10135, 164, 'arg_3', 'int', 32, 0, 1, 3); 561 ! 557 insert into sys.args values (10130, 164, 'arg_3', 'int', 32, 0, 1, 3); 557
562 insert into sys.args values (10136, 164, 'arg_4', 'int', 32, 0, 1, 4); 562 ! 558 insert into sys.args values (10131, 164, 'arg_4', 'int', 32, 0, 1, 4); 558
563 insert into sys.args values (10137, 164, 'arg_5', 'int', 32, 0, 1, 5); 563 ! 559 insert into sys.args values (10132, 164, 'arg_5', 'int', 32, 0, 1, 5); 559
564 insert into sys.args values (10138, 164, 'arg_6', 'int', 32, 0, 1, 6); 564 -
565 insert into sys.functions values (165, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 565 560 insert into sys.functions values (165, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 560
566 insert into sys.args values (10139, 165, 'res_0', 'bigint', 64, 0, 0, 0); 566 ! 561 insert into sys.args values (10133, 165, 'res_0', 'bigint', 64, 0, 0, 0); 561
567 insert into sys.args values (10140, 165, 'arg_1', 'any', 0, 0, 1, 1); 567 ! 562 insert into sys.args values (10134, 165, 'arg_1', 'boolean', 1, 0, 1, 1); 562
568 insert into sys.args values (10141, 165, 'arg_2', 'int', 32, 0, 1, 2); 568 ! 563 insert into sys.args values (10135, 165, 'arg_2', 'any', 0, 0, 1, 2); 563
569 insert into sys.args values (10142, 165, 'arg_3', 'int', 32, 0, 1, 3); 569 ! 564 insert into sys.args values (10136, 165, 'arg_3', 'int', 32, 0, 1, 3); 564
570 insert into sys.args values (10143, 165, 'arg_4', 'int', 32, 0, 1, 4); 570 ! 565 insert into sys.args values (10137, 165, 'arg_4', 'int', 32, 0, 1, 4); 565
571 insert into sys.args values (10144, 165, 'arg_5', 'bigint', 64, 0, 1, 5); 571 ! 566 insert into sys.args values (10138, 165, 'arg_5', 'int', 32, 0, 1, 5); 566
+ 567 insert into sys.args values (10139, 165, 'arg_6', 'int', 32, 0, 1, 6); 567
572 insert into sys.functions values (166, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 572 568 insert into sys.functions values (166, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 568
573 insert into sys.args values (10145, 166, 'res_0', 'bigint', 64, 0, 0, 0); 573 ! 569 insert into sys.args values (10140, 166, 'res_0', 'bigint', 64, 0, 0, 0); 569
574 insert into sys.args values (10146, 166, 'arg_1', 'boolean', 1, 0, 1, 1); 574 ! 570 insert into sys.args values (10141, 166, 'arg_1', 'any', 0, 0, 1, 1); 570
575 insert into sys.args values (10147, 166, 'arg_2', 'any', 0, 0, 1, 2); 575 ! 571 insert into sys.args values (10142, 166, 'arg_2', 'int', 32, 0, 1, 2); 571
576 insert into sys.args values (10148, 166, 'arg_3', 'int', 32, 0, 1, 3); 576 ! 572 insert into sys.args values (10143, 166, 'arg_3', 'int', 32, 0, 1, 3); 572
577 insert into sys.args values (10149, 166, 'arg_4', 'int', 32, 0, 1, 4); 577 ! 573 insert into sys.args values (10144, 166, 'arg_4', 'int', 32, 0, 1, 4); 573
578 insert into sys.args values (10150, 166, 'arg_5', 'int', 32, 0, 1, 5); 578 ! 574 insert into sys.args values (10145, 166, 'arg_5', 'bigint', 64, 0, 1, 5); 574
579 insert into sys.args values (10151, 166, 'arg_6', 'bigint', 64, 0, 1, 6); 579 -
580 insert into sys.functions values (167, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 580 575 insert into sys.functions values (167, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 575
581 insert into sys.args values (10152, 167, 'res_0', 'bigint', 64, 0, 0, 0); 581 ! 576 insert into sys.args values (10146, 167, 'res_0', 'bigint', 64, 0, 0, 0); 576
582 insert into sys.args values (10153, 167, 'arg_1', 'any', 0, 0, 1, 1); 582 ! 577 insert into sys.args values (10147, 167, 'arg_1', 'boolean', 1, 0, 1, 1); 577
583 insert into sys.args values (10154, 167, 'arg_2', 'int', 32, 0, 1, 2); 583 ! 578 insert into sys.args values (10148, 167, 'arg_2', 'any', 0, 0, 1, 2); 578
584 insert into sys.args values (10155, 167, 'arg_3', 'int', 32, 0, 1, 3); 584 ! 579 insert into sys.args values (10149, 167, 'arg_3', 'int', 32, 0, 1, 3); 579
585 insert into sys.args values (10156, 167, 'arg_4', 'int', 32, 0, 1, 4); 585 ! 580 insert into sys.args values (10150, 167, 'arg_4', 'int', 32, 0, 1, 4); 580
586 insert into sys.args values (10157, 167, 'arg_5', 'real', 24, 0, 1, 5); 586 ! 581 insert into sys.args values (10151, 167, 'arg_5', 'int', 32, 0, 1, 5); 581
+ 582 insert into sys.args values (10152, 167, 'arg_6', 'bigint', 64, 0, 1, 6); 582
587 insert into sys.functions values (168, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 587 583 insert into sys.functions values (168, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 583
588 insert into sys.args values (10158, 168, 'res_0', 'bigint', 64, 0, 0, 0); 588 ! 584 insert into sys.args values (10153, 168, 'res_0', 'bigint', 64, 0, 0, 0); 584
589 insert into sys.args values (10159, 168, 'arg_1', 'boolean', 1, 0, 1, 1); 589 ! 585 insert into sys.args values (10154, 168, 'arg_1', 'any', 0, 0, 1, 1); 585
590 insert into sys.args values (10160, 168, 'arg_2', 'any', 0, 0, 1, 2); 590 ! 586 insert into sys.args values (10155, 168, 'arg_2', 'int', 32, 0, 1, 2); 586
591 insert into sys.args values (10161, 168, 'arg_3', 'int', 32, 0, 1, 3); 591 ! 587 insert into sys.args values (10156, 168, 'arg_3', 'int', 32, 0, 1, 3); 587
592 insert into sys.args values (10162, 168, 'arg_4', 'int', 32, 0, 1, 4); 592 ! 588 insert into sys.args values (10157, 168, 'arg_4', 'int', 32, 0, 1, 4); 588
593 insert into sys.args values (10163, 168, 'arg_5', 'int', 32, 0, 1, 5); 593 ! 589 insert into sys.args values (10158, 168, 'arg_5', 'real', 24, 0, 1, 5); 589
594 insert into sys.args values (10164, 168, 'arg_6', 'real', 24, 0, 1, 6); 594 -
595 insert into sys.functions values (169, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 595 590 insert into sys.functions values (169, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 590
596 insert into sys.args values (10165, 169, 'res_0', 'bigint', 64, 0, 0, 0); 596 ! 591 insert into sys.args values (10159, 169, 'res_0', 'bigint', 64, 0, 0, 0); 591
597 insert into sys.args values (10166, 169, 'arg_1', 'any', 0, 0, 1, 1); 597 ! 592 insert into sys.args values (10160, 169, 'arg_1', 'boolean', 1, 0, 1, 1); 592
598 insert into sys.args values (10167, 169, 'arg_2', 'int', 32, 0, 1, 2); 598 ! 593 insert into sys.args values (10161, 169, 'arg_2', 'any', 0, 0, 1, 2); 593
599 insert into sys.args values (10168, 169, 'arg_3', 'int', 32, 0, 1, 3); 599 ! 594 insert into sys.args values (10162, 169, 'arg_3', 'int', 32, 0, 1, 3); 594
600 insert into sys.args values (10169, 169, 'arg_4', 'int', 32, 0, 1, 4); 600 ! 595 insert into sys.args values (10163, 169, 'arg_4', 'int', 32, 0, 1, 4); 595
601 insert into sys.args values (10170, 169, 'arg_5', 'double', 53, 0, 1, 5); 601 ! 596 insert into sys.args values (10164, 169, 'arg_5', 'int', 32, 0, 1, 5); 596
+ 597 insert into sys.args values (10165, 169, 'arg_6', 'real', 24, 0, 1, 6); 597
602 insert into sys.functions values (170, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 602 598 insert into sys.functions values (170, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 598
603 insert into sys.args values (10171, 170, 'res_0', 'bigint', 64, 0, 0, 0); 603 ! 599 insert into sys.args values (10166, 170, 'res_0', 'bigint', 64, 0, 0, 0); 599
604 insert into sys.args values (10172, 170, 'arg_1', 'boolean', 1, 0, 1, 1); 604 ! 600 insert into sys.args values (10167, 170, 'arg_1', 'any', 0, 0, 1, 1); 600
605 insert into sys.args values (10173, 170, 'arg_2', 'any', 0, 0, 1, 2); 605 ! 601 insert into sys.args values (10168, 170, 'arg_2', 'int', 32, 0, 1, 2); 601
606 insert into sys.args values (10174, 170, 'arg_3', 'int', 32, 0, 1, 3); 606 ! 602 insert into sys.args values (10169, 170, 'arg_3', 'int', 32, 0, 1, 3); 602
607 insert into sys.args values (10175, 170, 'arg_4', 'int', 32, 0, 1, 4); 607 ! 603 insert into sys.args values (10170, 170, 'arg_4', 'int', 32, 0, 1, 4); 603
608 insert into sys.args values (10176, 170, 'arg_5', 'int', 32, 0, 1, 5); 608 ! 604 insert into sys.args values (10171, 170, 'arg_5', 'double', 53, 0, 1, 5); 604
609 insert into sys.args values (10177, 170, 'arg_6', 'double', 53, 0, 1, 6); 609 -
610 insert into sys.functions values (171, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 610 605 insert into sys.functions values (171, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 605
611 insert into sys.args values (10178, 171, 'res_0', 'bigint', 64, 0, 0, 0); 611 ! 606 insert into sys.args values (10172, 171, 'res_0', 'bigint', 64, 0, 0, 0); 606
612 insert into sys.args values (10179, 171, 'arg_1', 'any', 0, 0, 1, 1); 612 ! 607 insert into sys.args values (10173, 171, 'arg_1', 'boolean', 1, 0, 1, 1); 607
613 insert into sys.args values (10180, 171, 'arg_2', 'int', 32, 0, 1, 2); 613 ! 608 insert into sys.args values (10174, 171, 'arg_2', 'any', 0, 0, 1, 2); 608
614 insert into sys.args values (10181, 171, 'arg_3', 'int', 32, 0, 1, 3); 614 ! 609 insert into sys.args values (10175, 171, 'arg_3', 'int', 32, 0, 1, 3); 609
615 insert into sys.args values (10182, 171, 'arg_4', 'int', 32, 0, 1, 4); 615 ! 610 insert into sys.args values (10176, 171, 'arg_4', 'int', 32, 0, 1, 4); 610
616 insert into sys.args values (10183, 171, 'arg_5', 'hugeint', 128, 0, 1, 5); 616 ! 611 insert into sys.args values (10177, 171, 'arg_5', 'int', 32, 0, 1, 5); 611
+ 612 insert into sys.args values (10178, 171, 'arg_6', 'double', 53, 0, 1, 6); 612
617 insert into sys.functions values (172, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 617 613 insert into sys.functions values (172, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 613
618 insert into sys.args values (10184, 172, 'res_0', 'bigint', 64, 0, 0, 0); 618 ! 614 insert into sys.args values (10179, 172, 'res_0', 'bigint', 64, 0, 0, 0); 614
619 insert into sys.args values (10185, 172, 'arg_1', 'boolean', 1, 0, 1, 1); 619 ! 615 insert into sys.args values (10180, 172, 'arg_1', 'any', 0, 0, 1, 1); 615
620 insert into sys.args values (10186, 172, 'arg_2', 'any', 0, 0, 1, 2); 620 ! 616 insert into sys.args values (10181, 172, 'arg_2', 'int', 32, 0, 1, 2); 616
621 insert into sys.args values (10187, 172, 'arg_3', 'int', 32, 0, 1, 3); 621 ! 617 insert into sys.args values (10182, 172, 'arg_3', 'int', 32, 0, 1, 3); 617
622 insert into sys.args values (10188, 172, 'arg_4', 'int', 32, 0, 1, 4); 622 ! 618 insert into sys.args values (10183, 172, 'arg_4', 'int', 32, 0, 1, 4); 618
623 insert into sys.args values (10189, 172, 'arg_5', 'int', 32, 0, 1, 5); 623 ! 619 insert into sys.args values (10184, 172, 'arg_5', 'hugeint', 128, 0, 1, 5); 619
624 insert into sys.args values (10190, 172, 'arg_6', 'hugeint', 128, 0, 1, 6); 624 -
625 insert into sys.functions values (173, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 625 620 insert into sys.functions values (173, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 620
626 insert into sys.args values (10191, 173, 'res_0', 'bigint', 64, 0, 0, 0); 626 ! 621 insert into sys.args values (10185, 173, 'res_0', 'bigint', 64, 0, 0, 0); 621
627 insert into sys.args values (10192, 173, 'arg_1', 'any', 0, 0, 1, 1); 627 ! 622 insert into sys.args values (10186, 173, 'arg_1', 'boolean', 1, 0, 1, 1); 622
628 insert into sys.args values (10193, 173, 'arg_2', 'int', 32, 0, 1, 2); 628 ! 623 insert into sys.args values (10187, 173, 'arg_2', 'any', 0, 0, 1, 2); 623
629 insert into sys.args values (10194, 173, 'arg_3', 'int', 32, 0, 1, 3); 629 ! 624 insert into sys.args values (10188, 173, 'arg_3', 'int', 32, 0, 1, 3); 624
630 insert into sys.args values (10195, 173, 'arg_4', 'int', 32, 0, 1, 4); 630 ! 625 insert into sys.args values (10189, 173, 'arg_4', 'int', 32, 0, 1, 4); 625
631 insert into sys.args values (10196, 173, 'arg_5', 'decimal', 2, 0, 1, 5); 631 ! 626 insert into sys.args values (10190, 173, 'arg_5', 'int', 32, 0, 1, 5); 626
+ 627 insert into sys.args values (10191, 173, 'arg_6', 'hugeint', 128, 0, 1, 6); 627
632 insert into sys.functions values (174, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 632 628 insert into sys.functions values (174, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 628
633 insert into sys.args values (10197, 174, 'res_0', 'bigint', 64, 0, 0, 0); 633 ! 629 insert into sys.args values (10192, 174, 'res_0', 'bigint', 64, 0, 0, 0); 629
634 insert into sys.args values (10198, 174, 'arg_1', 'boolean', 1, 0, 1, 1); 634 ! 630 insert into sys.args values (10193, 174, 'arg_1', 'any', 0, 0, 1, 1); 630
635 insert into sys.args values (10199, 174, 'arg_2', 'any', 0, 0, 1, 2); 635 ! 631 insert into sys.args values (10194, 174, 'arg_2', 'int', 32, 0, 1, 2); 631
636 insert into sys.args values (10200, 174, 'arg_3', 'int', 32, 0, 1, 3); 636 ! 632 insert into sys.args values (10195, 174, 'arg_3', 'int', 32, 0, 1, 3); 632
637 insert into sys.args values (10201, 174, 'arg_4', 'int', 32, 0, 1, 4); 637 ! 633 insert into sys.args values (10196, 174, 'arg_4', 'int', 32, 0, 1, 4); 633
638 insert into sys.args values (10202, 174, 'arg_5', 'int', 32, 0, 1, 5); 638 ! 634 insert into sys.args values (10197, 174, 'arg_5', 'decimal', 2, 0, 1, 5); 634
639 insert into sys.args values (10203, 174, 'arg_6', 'decimal', 2, 0, 1, 6); 639 -
640 insert into sys.functions values (175, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 640 635 insert into sys.functions values (175, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 635
641 insert into sys.args values (10204, 175, 'res_0', 'bigint', 64, 0, 0, 0); 641 ! 636 insert into sys.args values (10198, 175, 'res_0', 'bigint', 64, 0, 0, 0); 636
642 insert into sys.args values (10205, 175, 'arg_1', 'any', 0, 0, 1, 1); 642 ! 637 insert into sys.args values (10199, 175, 'arg_1', 'boolean', 1, 0, 1, 1); 637
643 insert into sys.args values (10206, 175, 'arg_2', 'int', 32, 0, 1, 2); 643 ! 638 insert into sys.args values (10200, 175, 'arg_2', 'any', 0, 0, 1, 2); 638
644 insert into sys.args values (10207, 175, 'arg_3', 'int', 32, 0, 1, 3); 644 ! 639 insert into sys.args values (10201, 175, 'arg_3', 'int', 32, 0, 1, 3); 639
645 insert into sys.args values (10208, 175, 'arg_4', 'int', 32, 0, 1, 4); 645 ! 640 insert into sys.args values (10202, 175, 'arg_4', 'int', 32, 0, 1, 4); 640
646 insert into sys.args values (10209, 175, 'arg_5', 'decimal', 4, 0, 1, 5); 646 ! 641 insert into sys.args values (10203, 175, 'arg_5', 'int', 32, 0, 1, 5); 641
+ 642 insert into sys.args values (10204, 175, 'arg_6', 'decimal', 2, 0, 1, 6); 642
647 insert into sys.functions values (176, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 647 643 insert into sys.functions values (176, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 643
648 insert into sys.args values (10210, 176, 'res_0', 'bigint', 64, 0, 0, 0); 648 ! 644 insert into sys.args values (10205, 176, 'res_0', 'bigint', 64, 0, 0, 0); 644
649 insert into sys.args values (10211, 176, 'arg_1', 'boolean', 1, 0, 1, 1); 649 ! 645 insert into sys.args values (10206, 176, 'arg_1', 'any', 0, 0, 1, 1); 645
650 insert into sys.args values (10212, 176, 'arg_2', 'any', 0, 0, 1, 2); 650 ! 646 insert into sys.args values (10207, 176, 'arg_2', 'int', 32, 0, 1, 2); 646
651 insert into sys.args values (10213, 176, 'arg_3', 'int', 32, 0, 1, 3); 651 ! 647 insert into sys.args values (10208, 176, 'arg_3', 'int', 32, 0, 1, 3); 647
652 insert into sys.args values (10214, 176, 'arg_4', 'int', 32, 0, 1, 4); 652 ! 648 insert into sys.args values (10209, 176, 'arg_4', 'int', 32, 0, 1, 4); 648
653 insert into sys.args values (10215, 176, 'arg_5', 'int', 32, 0, 1, 5); 653 ! 649 insert into sys.args values (10210, 176, 'arg_5', 'decimal', 4, 0, 1, 5); 649
654 insert into sys.args values (10216, 176, 'arg_6', 'decimal', 4, 0, 1, 6); 654 -
655 insert into sys.functions values (177, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 655 650 insert into sys.functions values (177, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 650
656 insert into sys.args values (10217, 177, 'res_0', 'bigint', 64, 0, 0, 0); 656 ! 651 insert into sys.args values (10211, 177, 'res_0', 'bigint', 64, 0, 0, 0); 651
657 insert into sys.args values (10218, 177, 'arg_1', 'any', 0, 0, 1, 1); 657 ! 652 insert into sys.args values (10212, 177, 'arg_1', 'boolean', 1, 0, 1, 1); 652
658 insert into sys.args values (10219, 177, 'arg_2', 'int', 32, 0, 1, 2); 658 ! 653 insert into sys.args values (10213, 177, 'arg_2', 'any', 0, 0, 1, 2); 653
659 insert into sys.args values (10220, 177, 'arg_3', 'int', 32, 0, 1, 3); 659 ! 654 insert into sys.args values (10214, 177, 'arg_3', 'int', 32, 0, 1, 3); 654
660 insert into sys.args values (10221, 177, 'arg_4', 'int', 32, 0, 1, 4); 660 ! 655 insert into sys.args values (10215, 177, 'arg_4', 'int', 32, 0, 1, 4); 655
661 insert into sys.args values (10222, 177, 'arg_5', 'decimal', 9, 0, 1, 5); 661 ! 656 insert into sys.args values (10216, 177, 'arg_5', 'int', 32, 0, 1, 5); 656
+ 657 insert into sys.args values (10217, 177, 'arg_6', 'decimal', 4, 0, 1, 6); 657
662 insert into sys.functions values (178, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 662 658 insert into sys.functions values (178, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 658
663 insert into sys.args values (10223, 178, 'res_0', 'bigint', 64, 0, 0, 0); 663 ! 659 insert into sys.args values (10218, 178, 'res_0', 'bigint', 64, 0, 0, 0); 659
664 insert into sys.args values (10224, 178, 'arg_1', 'boolean', 1, 0, 1, 1); 664 ! 660 insert into sys.args values (10219, 178, 'arg_1', 'any', 0, 0, 1, 1); 660
665 insert into sys.args values (10225, 178, 'arg_2', 'any', 0, 0, 1, 2); 665 ! 661 insert into sys.args values (10220, 178, 'arg_2', 'int', 32, 0, 1, 2); 661
666 insert into sys.args values (10226, 178, 'arg_3', 'int', 32, 0, 1, 3); 666 ! 662 insert into sys.args values (10221, 178, 'arg_3', 'int', 32, 0, 1, 3); 662
667 insert into sys.args values (10227, 178, 'arg_4', 'int', 32, 0, 1, 4); 667 ! 663 insert into sys.args values (10222, 178, 'arg_4', 'int', 32, 0, 1, 4); 663
668 insert into sys.args values (10228, 178, 'arg_5', 'int', 32, 0, 1, 5); 668 ! 664 insert into sys.args values (10223, 178, 'arg_5', 'decimal', 9, 0, 1, 5); 664
669 insert into sys.args values (10229, 178, 'arg_6', 'decimal', 9, 0, 1, 6); 669 -
670 insert into sys.functions values (179, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 670 665 insert into sys.functions values (179, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 665
671 insert into sys.args values (10230, 179, 'res_0', 'bigint', 64, 0, 0, 0); 671 ! 666 insert into sys.args values (10224, 179, 'res_0', 'bigint', 64, 0, 0, 0); 666
672 insert into sys.args values (10231, 179, 'arg_1', 'any', 0, 0, 1, 1); 672 ! 667 insert into sys.args values (10225, 179, 'arg_1', 'boolean', 1, 0, 1, 1); 667
673 insert into sys.args values (10232, 179, 'arg_2', 'int', 32, 0, 1, 2); 673 ! 668 insert into sys.args values (10226, 179, 'arg_2', 'any', 0, 0, 1, 2); 668
674 insert into sys.args values (10233, 179, 'arg_3', 'int', 32, 0, 1, 3); 674 ! 669 insert into sys.args values (10227, 179, 'arg_3', 'int', 32, 0, 1, 3); 669
675 insert into sys.args values (10234, 179, 'arg_4', 'int', 32, 0, 1, 4); 675 ! 670 insert into sys.args values (10228, 179, 'arg_4', 'int', 32, 0, 1, 4); 670
676 insert into sys.args values (10235, 179, 'arg_5', 'decimal', 18, 0, 1, 5); 676 ! 671 insert into sys.args values (10229, 179, 'arg_5', 'int', 32, 0, 1, 5); 671
+ 672 insert into sys.args values (10230, 179, 'arg_6', 'decimal', 9, 0, 1, 6); 672
677 insert into sys.functions values (180, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 677 673 insert into sys.functions values (180, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 673
678 insert into sys.args values (10236, 180, 'res_0', 'bigint', 64, 0, 0, 0); 678 ! 674 insert into sys.args values (10231, 180, 'res_0', 'bigint', 64, 0, 0, 0); 674
679 insert into sys.args values (10237, 180, 'arg_1', 'boolean', 1, 0, 1, 1); 679 ! 675 insert into sys.args values (10232, 180, 'arg_1', 'any', 0, 0, 1, 1); 675
680 insert into sys.args values (10238, 180, 'arg_2', 'any', 0, 0, 1, 2); 680 ! 676 insert into sys.args values (10233, 180, 'arg_2', 'int', 32, 0, 1, 2); 676
681 insert into sys.args values (10239, 180, 'arg_3', 'int', 32, 0, 1, 3); 681 ! 677 insert into sys.args values (10234, 180, 'arg_3', 'int', 32, 0, 1, 3); 677
682 insert into sys.args values (10240, 180, 'arg_4', 'int', 32, 0, 1, 4); 682 ! 678 insert into sys.args values (10235, 180, 'arg_4', 'int', 32, 0, 1, 4); 678
683 insert into sys.args values (10241, 180, 'arg_5', 'int', 32, 0, 1, 5); 683 ! 679 insert into sys.args values (10236, 180, 'arg_5', 'decimal', 18, 0, 1, 5); 679
684 insert into sys.args values (10242, 180, 'arg_6', 'decimal', 18, 0, 1, 6); 684 -
685 insert into sys.functions values (181, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 685 680 insert into sys.functions values (181, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 680
686 insert into sys.args values (10243, 181, 'res_0', 'bigint', 64, 0, 0, 0); 686 ! 681 insert into sys.args values (10237, 181, 'res_0', 'bigint', 64, 0, 0, 0); 681
687 insert into sys.args values (10244, 181, 'arg_1', 'any', 0, 0, 1, 1); 687 ! 682 insert into sys.args values (10238, 181, 'arg_1', 'boolean', 1, 0, 1, 1); 682
688 insert into sys.args values (10245, 181, 'arg_2', 'int', 32, 0, 1, 2); 688 ! 683 insert into sys.args values (10239, 181, 'arg_2', 'any', 0, 0, 1, 2); 683
689 insert into sys.args values (10246, 181, 'arg_3', 'int', 32, 0, 1, 3); 689 ! 684 insert into sys.args values (10240, 181, 'arg_3', 'int', 32, 0, 1, 3); 684
690 insert into sys.args values (10247, 181, 'arg_4', 'int', 32, 0, 1, 4); 690 ! 685 insert into sys.args values (10241, 181, 'arg_4', 'int', 32, 0, 1, 4); 685
691 insert into sys.args values (10248, 181, 'arg_5', 'decimal', 38, 0, 1, 5); 691 ! 686 insert into sys.args values (10242, 181, 'arg_5', 'int', 32, 0, 1, 5); 686
+ 687 insert into sys.args values (10243, 181, 'arg_6', 'decimal', 18, 0, 1, 6); 687
692 insert into sys.functions values (182, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 692 688 insert into sys.functions values (182, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 688
693 insert into sys.args values (10249, 182, 'res_0', 'bigint', 64, 0, 0, 0); 693 ! 689 insert into sys.args values (10244, 182, 'res_0', 'bigint', 64, 0, 0, 0); 689
694 insert into sys.args values (10250, 182, 'arg_1', 'boolean', 1, 0, 1, 1); 694 ! 690 insert into sys.args values (10245, 182, 'arg_1', 'any', 0, 0, 1, 1); 690
695 insert into sys.args values (10251, 182, 'arg_2', 'any', 0, 0, 1, 2); 695 ! 691 insert into sys.args values (10246, 182, 'arg_2', 'int', 32, 0, 1, 2); 691
696 insert into sys.args values (10252, 182, 'arg_3', 'int', 32, 0, 1, 3); 696 ! 692 insert into sys.args values (10247, 182, 'arg_3', 'int', 32, 0, 1, 3); 692
697 insert into sys.args values (10253, 182, 'arg_4', 'int', 32, 0, 1, 4); 697 ! 693 insert into sys.args values (10248, 182, 'arg_4', 'int', 32, 0, 1, 4); 693
698 insert into sys.args values (10254, 182, 'arg_5', 'int', 32, 0, 1, 5); 698 ! 694 insert into sys.args values (10249, 182, 'arg_5', 'decimal', 38, 0, 1, 5); 694
699 insert into sys.args values (10255, 182, 'arg_6', 'decimal', 38, 0, 1, 6); 699 -
700 insert into sys.functions values (183, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 700 695 insert into sys.functions values (183, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 695
701 insert into sys.args values (10256, 183, 'res_0', 'bigint', 64, 0, 0, 0); 701 ! 696 insert into sys.args values (10250, 183, 'res_0', 'bigint', 64, 0, 0, 0); 696
702 insert into sys.args values (10257, 183, 'arg_1', 'any', 0, 0, 1, 1); 702 ! 697 insert into sys.args values (10251, 183, 'arg_1', 'boolean', 1, 0, 1, 1); 697
703 insert into sys.args values (10258, 183, 'arg_2', 'int', 32, 0, 1, 2); 703 ! 698 insert into sys.args values (10252, 183, 'arg_2', 'any', 0, 0, 1, 2); 698
704 insert into sys.args values (10259, 183, 'arg_3', 'int', 32, 0, 1, 3); 704 ! 699 insert into sys.args values (10253, 183, 'arg_3', 'int', 32, 0, 1, 3); 699
705 insert into sys.args values (10260, 183, 'arg_4', 'int', 32, 0, 1, 4); 705 ! 700 insert into sys.args values (10254, 183, 'arg_4', 'int', 32, 0, 1, 4); 700
706 insert into sys.args values (10261, 183, 'arg_5', 'month_interval', 32, 0, 1, 5); 706 ! 701 insert into sys.args values (10255, 183, 'arg_5', 'int', 32, 0, 1, 5); 701
+ 702 insert into sys.args values (10256, 183, 'arg_6', 'decimal', 38, 0, 1, 6); 702
707 insert into sys.functions values (184, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 707 703 insert into sys.functions values (184, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 703
708 insert into sys.args values (10262, 184, 'res_0', 'bigint', 64, 0, 0, 0); 708 ! 704 insert into sys.args values (10257, 184, 'res_0', 'bigint', 64, 0, 0, 0); 704
709 insert into sys.args values (10263, 184, 'arg_1', 'boolean', 1, 0, 1, 1); 709 ! 705 insert into sys.args values (10258, 184, 'arg_1', 'any', 0, 0, 1, 1); 705
710 insert into sys.args values (10264, 184, 'arg_2', 'any', 0, 0, 1, 2); 710 ! 706 insert into sys.args values (10259, 184, 'arg_2', 'int', 32, 0, 1, 2); 706
711 insert into sys.args values (10265, 184, 'arg_3', 'int', 32, 0, 1, 3); 711 ! 707 insert into sys.args values (10260, 184, 'arg_3', 'int', 32, 0, 1, 3); 707
712 insert into sys.args values (10266, 184, 'arg_4', 'int', 32, 0, 1, 4); 712 ! 708 insert into sys.args values (10261, 184, 'arg_4', 'int', 32, 0, 1, 4); 708
713 insert into sys.args values (10267, 184, 'arg_5', 'int', 32, 0, 1, 5); 713 ! 709 insert into sys.args values (10262, 184, 'arg_5', 'month_interval', 32, 0, 1, 5); 709
714 insert into sys.args values (10268, 184, 'arg_6', 'month_interval', 32, 0, 1, 6); 714 -
715 insert into sys.functions values (185, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 715 710 insert into sys.functions values (185, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 710
716 insert into sys.args values (10269, 185, 'res_0', 'bigint', 64, 0, 0, 0); 716 ! 711 insert into sys.args values (10263, 185, 'res_0', 'bigint', 64, 0, 0, 0); 711
717 insert into sys.args values (10270, 185, 'arg_1', 'any', 0, 0, 1, 1); 717 ! 712 insert into sys.args values (10264, 185, 'arg_1', 'boolean', 1, 0, 1, 1); 712
718 insert into sys.args values (10271, 185, 'arg_2', 'int', 32, 0, 1, 2); 718 ! 713 insert into sys.args values (10265, 185, 'arg_2', 'any', 0, 0, 1, 2); 713
719 insert into sys.args values (10272, 185, 'arg_3', 'int', 32, 0, 1, 3); 719 ! 714 insert into sys.args values (10266, 185, 'arg_3', 'int', 32, 0, 1, 3); 714
720 insert into sys.args values (10273, 185, 'arg_4', 'int', 32, 0, 1, 4); 720 ! 715 insert into sys.args values (10267, 185, 'arg_4', 'int', 32, 0, 1, 4); 715
721 insert into sys.args values (10274, 185, 'arg_5', 'sec_interval', 13, 0, 1, 5); 721 ! 716 insert into sys.args values (10268, 185, 'arg_5', 'int', 32, 0, 1, 5); 716
+ 717 insert into sys.args values (10269, 185, 'arg_6', 'month_interval', 32, 0, 1, 6); 717
722 insert into sys.functions values (186, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 722 718 insert into sys.functions values (186, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 718
723 insert into sys.args values (10275, 186, 'res_0', 'bigint', 64, 0, 0, 0); 723 ! 719 insert into sys.args values (10270, 186, 'res_0', 'bigint', 64, 0, 0, 0); 719
724 insert into sys.args values (10276, 186, 'arg_1', 'boolean', 1, 0, 1, 1); 724 ! 720 insert into sys.args values (10271, 186, 'arg_1', 'any', 0, 0, 1, 1); 720
725 insert into sys.args values (10277, 186, 'arg_2', 'any', 0, 0, 1, 2); 725 ! 721 insert into sys.args values (10272, 186, 'arg_2', 'int', 32, 0, 1, 2); 721
726 insert into sys.args values (10278, 186, 'arg_3', 'int', 32, 0, 1, 3); 726 ! 722 insert into sys.args values (10273, 186, 'arg_3', 'int', 32, 0, 1, 3); 722
727 insert into sys.args values (10279, 186, 'arg_4', 'int', 32, 0, 1, 4); 727 ! 723 insert into sys.args values (10274, 186, 'arg_4', 'int', 32, 0, 1, 4); 723
728 insert into sys.args values (10280, 186, 'arg_5', 'int', 32, 0, 1, 5); 728 ! 724 insert into sys.args values (10275, 186, 'arg_5', 'sec_interval', 13, 0, 1, 5); 724
729 insert into sys.args values (10281, 186, 'arg_6', 'sec_interval', 13, 0, 1, 6); 729 ! 725 insert into sys.functions values (187, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 725
730 insert into sys.functions values (187, 'rank', 'rank', 'sql', 0, 6, false, false, false, 2000, true, true); 730 ! 726 insert into sys.args values (10276, 187, 'res_0', 'bigint', 64, 0, 0, 0); 726
731 insert into sys.args values (10282, 187, 'res_0', 'int', 32, 0, 0, 0); 731 ! 727 insert into sys.args values (10277, 187, 'arg_1', 'boolean', 1, 0, 1, 1); 727
732 insert into sys.args values (10283, 187, 'arg_1', 'any', 0, 0, 1, 1); 732 ! 728 insert into sys.args values (10278, 187, 'arg_2', 'any', 0, 0, 1, 2); 728
733 insert into sys.args values (10284, 187, 'arg_2', 'boolean', 1, 0, 1, 2); 733 ! 729 insert into sys.args values (10279, 187, 'arg_3', 'int', 32, 0, 1, 3); 729
734 insert into sys.args values (10285, 187, 'arg_3', 'boolean', 1, 0, 1, 3); 734 ! 730 insert into sys.args values (10280, 187, 'arg_4', 'int', 32, 0, 1, 4); 730
insert into sys. + 731 insert into sys.args values (10281, 187, 'arg_5', 'int', 32, 0, 1, 5); 731
+ 732 insert into sys.args values (10282, 187, 'arg_6', 'sec_interval', 13, 0, 1, 6); 732
735 functions values (188, 'dense_rank', 'dense_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 735 ! 733 insert into sys.functions values (188, 'rank', 'rank', 'sql', 0, 6, false, false, false, 2000, true, true); 733
736 insert into sys.args values (10286, 188, 'res_0', 'int', 32, 0, 0, 0); 736 ! 734 insert into sys.args values (10283, 188, 'res_0', 'int', 32, 0, 0, 0); 734
737 insert into sys.args values (10287, 188, 'arg_1', 'any', 0, 0, 1, 1); 737 ! 735 insert into sys.args values (10284, 188, 'arg_1', 'any', 0, 0, 1, 1); 735
738 insert into sys.args values (10288, 188, 'arg_2', 'boolean', 1, 0, 1, 2); 738 ! 736 insert into sys.args values (10285, 188, 'arg_2', 'boolean', 1, 0, 1, 2); 736
739 insert into sys.args values (10289, 188, 'arg_3', 'boolean', 1, 0, 1, 3); 739 ! 737 insert into sys.args values (10286, 188, 'arg_3', 'boolean', 1, 0, 1, 3); 737
740 insert into sys.functions values (189, 'row_number', 'row_number', 'sql', 0, 6, false, false, false, 2000, true, true); 740 ! 738 insert into sys.functions values (189, 'dense_rank', 'dense_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 738
741 insert into sys.args values (10290, 189, 'res_0', 'int', 32, 0, 0, 0); 741 ! 739 insert into sys.args values (10287, 189, 'res_0', 'int', 32, 0, 0, 0); 739
742 insert into sys.args values (10291, 189, 'arg_1', 'any', 0, 0, 1, 1); 742 ! 740 insert into sys.args values (10288, 189, 'arg_1', 'any', 0, 0, 1, 1); 740
743 insert into sys.args values (10292, 189, 'arg_2', 'boolean', 1, 0, 1, 2); 743 ! 741 insert into sys.args values (10289, 189, 'arg_2', 'boolean', 1, 0, 1, 2); 741
744 insert into sys.args values (10293, 189, 'arg_3', 'boolean', 1, 0, 1, 3); 744 ! 742 insert into sys.args values (10290, 189, 'arg_3', 'boolean', 1, 0, 1, 3); 742
745 insert into sys.functions values (190, 'percent_rank', 'percent_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 745 ! 743 insert into sys.functions values (190, 'row_number', 'row_number', 'sql', 0, 6, false, false, false, 2000, true, true); 743
746 insert into sys.args values (10294, 190, 'res_0', 'double', 53, 0, 0, 0); 746 ! 744 insert into sys.args values (10291, 190, 'res_0', 'int', 32, 0, 0, 0); 744
747 insert into sys.args values (10295, 190, 'arg_1', 'any', 0, 0, 1, 1); 747 ! 745 insert into sys.args values (10292, 190, 'arg_1', 'any', 0, 0, 1, 1); 745
748 insert into sys.args values (10296, 190, 'arg_2', 'boolean', 1, 0, 1, 2); 748 ! 746 insert into sys.args values (10293, 190, 'arg_2', 'boolean', 1, 0, 1, 2); 746
749 insert into sys.args values (10297, 190, 'arg_3', 'boolean', 1, 0, 1, 3); 749 ! 747 insert into sys.args values (10294, 190, 'arg_3', 'boolean', 1, 0, 1, 3); 747
750 insert into sys.functions values (191, 'cume_dist', 'cume_dist', 'sql', 0, 6, false, false, false, 2000, true, true); 750 ! 748 insert into sys.functions values (191, 'percent_rank', 'percent_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 748
751 insert into sys.args values (10298, 191, 'res_0', 'double', 53, 0, 0, 0); 751 ! 749 insert into sys.args values (10295, 191, 'res_0', 'double', 53, 0, 0, 0); 749
752 insert into sys.args values (10299, 191, 'arg_1', 'any', 0, 0, 1, 1); 752 ! 750 insert into sys.args values (10296, 191, 'arg_1', 'any', 0, 0, 1, 1); 750
753 insert into sys.args values (10300, 191, 'arg_2', 'boolean', 1, 0, 1, 2); 753 ! 751 insert into sys.args values (10297, 191, 'arg_2', 'boolean', 1, 0, 1, 2); 751
754 insert into sys.args values (10301, 191, 'arg_3', 'boolean', 1, 0, 1, 3); 754 ! 752 insert into sys.args values (10298, 191, 'arg_3', 'boolean', 1, 0, 1, 3); 752
755 insert into sys.functions values (192, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 755 ! 753 insert into sys.functions values (192, 'cume_dist', 'cume_dist', 'sql', 0, 6, false, false, false, 2000, true, true); 753
756 insert into sys.args values (10302, 192, 'res_0', 'tinyint', 8, 0, 0, 0); 756 ! 754 insert into sys.args values (10299, 192, 'res_0', 'double', 53, 0, 0, 0); 754
757 insert into sys.args values (10303, 192, 'arg_1', 'any', 0, 0, 1, 1); 757 ! 755 insert into sys.args values (10300, 192, 'arg_1', 'any', 0, 0, 1, 1); 755
758 insert into sys.args values (10304, 192, 'arg_2', 'tinyint', 8, 0, 1, 2); 758 ! 756 insert into sys.args values (10301, 192, 'arg_2', 'boolean', 1, 0, 1, 2); 756
759 insert into sys.args values (10305, 192, 'arg_3', 'boolean', 1, 0, 1, 3); 759 ! 757 insert into sys.args values (10302, 192, 'arg_3', 'boolean', 1, 0, 1, 3); 757
760 insert into sys.args values (10306, 192, 'arg_4', 'boolean', 1, 0, 1, 4); 760 -
761 insert into sys.functions values (193, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 761 758 insert into sys.functions values (193, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 758
762 insert into sys.args values (10307, 193, 'res_0', 'smallint', 16, 0, 0, 0); 762 ! 759 insert into sys.args values (10303, 193, 'res_0', 'tinyint', 8, 0, 0, 0); 759
763 insert into sys.args values (10308, 193, 'arg_1', 'any', 0, 0, 1, 1); 763 ! 760 insert into sys.args values (10304, 193, 'arg_1', 'any', 0, 0, 1, 1); 760
764 insert into sys.args values (10309, 193, 'arg_2', 'smallint', 16, 0, 1, 2); 764 ! 761 insert into sys.args values (10305, 193, 'arg_2', 'tinyint', 8, 0, 1, 2); 761
765 insert into sys.args values (10310, 193, 'arg_3', 'boolean', 1, 0, 1, 3); 765 ! 762 insert into sys.args values (10306, 193, 'arg_3', 'boolean', 1, 0, 1, 3); 762
766 insert into sys.args values (10311, 193, 'arg_4', 'boolean', 1, 0, 1, 4); 766 ! 763 insert into sys.args values (10307, 193, 'arg_4', 'boolean', 1, 0, 1, 4); 763
767 insert into sys.functions values (194, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 767 764 insert into sys.functions values (194, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 764
768 insert into sys.args values (10312, 194, 'res_0', 'int', 32, 0, 0, 0); 768 ! 765 insert into sys.args values (10308, 194, 'res_0', 'smallint', 16, 0, 0, 0); 765
769 insert into sys.args values (10313, 194, 'arg_1', 'any', 0, 0, 1, 1); 769 ! 766 insert into sys.args values (10309, 194, 'arg_1', 'any', 0, 0, 1, 1); 766
770 insert into sys.args values (10314, 194, 'arg_2', 'int', 32, 0, 1, 2); 770 ! 767 insert into sys.args values (10310, 194, 'arg_2', 'smallint', 16, 0, 1, 2); 767
771 insert into sys.args values (10315, 194, 'arg_3', 'boolean', 1, 0, 1, 3); 771 ! 768 insert into sys.args values (10311, 194, 'arg_3', 'boolean', 1, 0, 1, 3); 768
772 insert into sys.args values (10316, 194, 'arg_4', 'boolean', 1, 0, 1, 4); 772 ! 769 insert into sys.args values (10312, 194, 'arg_4', 'boolean', 1, 0, 1, 4); 769
773 insert into sys.functions values (195, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 773 770 insert into sys.functions values (195, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 770
774 insert into sys.args values (10317, 195, 'res_0', 'bigint', 64, 0, 0, 0); 774 ! 771 insert into sys.args values (10313, 195, 'res_0', 'int', 32, 0, 0, 0); 771
775 insert into sys.args values (10318, 195, 'arg_1', 'any', 0, 0, 1, 1); 775 ! 772 insert into sys.args values (10314, 195, 'arg_1', 'any', 0, 0, 1, 1); 772
776 insert into sys.args values (10319, 195, 'arg_2', 'bigint', 64, 0, 1, 2); 776 ! 773 insert into sys.args values (10315, 195, 'arg_2', 'int', 32, 0, 1, 2); 773
777 insert into sys.args values (10320, 195, 'arg_3', 'boolean', 1, 0, 1, 3); 777 ! 774 insert into sys.args values (10316, 195, 'arg_3', 'boolean', 1, 0, 1, 3); 774
778 insert into sys.args values (10321, 195, 'arg_4', 'boolean', 1, 0, 1, 4); 778 ! 775 insert into sys.args values (10317, 195, 'arg_4', 'boolean', 1, 0, 1, 4); 775
779 insert into sys.functions values (196, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 779 776 insert into sys.functions values (196, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 776
780 insert into sys.args values (10322, 196, 'res_0', 'hugeint', 128, 0, 0, 0); 780 ! 777 insert into sys.args values (10318, 196, 'res_0', 'bigint', 64, 0, 0, 0); 777
781 insert into sys.args values (10323, 196, 'arg_1', 'any', 0, 0, 1, 1); 781 ! 778 insert into sys.args values (10319, 196, 'arg_1', 'any', 0, 0, 1, 1); 778
782 insert into sys.args values (10324, 196, 'arg_2', 'hugeint', 128, 0, 1, 2); 782 ! 779 insert into sys.args values (10320, 196, 'arg_2', 'bigint', 64, 0, 1, 2); 779
783 insert into sys.args values (10325, 196, 'arg_3', 'boolean', 1, 0, 1, 3); 783 ! 780 insert into sys.args values (10321, 196, 'arg_3', 'boolean', 1, 0, 1, 3); 780
784 insert into sys.args values (10326, 196, 'arg_4', 'boolean', 1, 0, 1, 4); 784 ! 781 insert into sys.args values (10322, 196, 'arg_4', 'boolean', 1, 0, 1, 4); 781
785 insert into sys.functions values (197, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 785 ! 782 insert into sys.functions values (197, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 782
786 insert into sys.args values (10327, 197, 'res_0', 'any', 0, 0, 0, 0); 786 ! 783 insert into sys.args values (10323, 197, 'res_0', 'hugeint', 128, 0, 0, 0); 783
787 insert into sys.args values (10328, 197, 'arg_1', 'any', 0, 0, 1, 1); 787 ! 784 insert into sys.args values (10324, 197, 'arg_1', 'any', 0, 0, 1, 1); 784
788 insert into sys.args values (10329, 197, 'arg_2', 'boolean', 1, 0, 1, 2); 788 ! 785 insert into sys.args values (10325, 197, 'arg_2', 'hugeint', 128, 0, 1, 2); 785
789 insert into sys.args values (10330, 197, 'arg_3', 'boolean', 1, 0, 1, 3); 789 ! 786 insert into sys.args values (10326, 197, 'arg_3', 'boolean', 1, 0, 1, 3); 786
+ 787 insert into sys.args values (10327, 197, 'arg_4', 'boolean', 1, 0, 1, 4); 787
790 insert into sys.functions values (198, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 790 788 insert into sys.functions values (198, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 788
791 insert into sys.args values (10331, 198, 'res_0', 'any', 0, 0, 0, 0); 791 ! 789 insert into sys.args values (10328, 198, 'res_0', 'any', 0, 0, 0, 0); 789
792 insert into sys.args values (10332, 198, 'arg_1', 'any', 0, 0, 1, 1); 792 ! 790 insert into sys.args values (10329, 198, 'arg_1', 'any', 0, 0, 1, 1); 790
793 insert into sys.args values (10333, 198, 'arg_2', 'tinyint', 8, 0, 1, 2); 793 ! 791 insert into sys.args values (10330, 198, 'arg_2', 'boolean', 1, 0, 1, 2); 791
794 insert into sys.args values (10334, 198, 'arg_3', 'boolean', 1, 0, 1, 3); 794 ! 792 insert into sys.args values (10331, 198, 'arg_3', 'boolean', 1, 0, 1, 3); 792
795 insert into sys.args values (10335, 198, 'arg_4', 'boolean', 1, 0, 1, 4); 795 -
796 insert into sys.functions values (199, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 796 793 insert into sys.functions values (199, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 793
797 insert into sys.args values (10336, 199, 'res_0', 'any', 0, 0, 0, 0); 797 ! 794 insert into sys.args values (10332, 199, 'res_0', 'any', 0, 0, 0, 0); 794
798 insert into sys.args values (10337, 199, 'arg_1', 'any', 0, 0, 1, 1); 798 ! 795 insert into sys.args values (10333, 199, 'arg_1', 'any', 0, 0, 1, 1); 795
799 insert into sys.args values (10338, 199, 'arg_2', 'smallint', 16, 0, 1, 2); 799 ! 796 insert into sys.args values (10334, 199, 'arg_2', 'tinyint', 8, 0, 1, 2); 796
800 insert into sys.args values (10339, 199, 'arg_3', 'boolean', 1, 0, 1, 3); 800 ! 797 insert into sys.args values (10335, 199, 'arg_3', 'boolean', 1, 0, 1, 3); 797
801 insert into sys.args values (10340, 199, 'arg_4', 'boolean', 1, 0, 1, 4); 801 ! 798 insert into sys.args values (10336, 199, 'arg_4', 'boolean', 1, 0, 1, 4); 798
802 insert into sys.functions values (200, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 802 799 insert into sys.functions values (200, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 799
803 insert into sys.args values (10341, 200, 'res_0', 'any', 0, 0, 0, 0); 803 ! 800 insert into sys.args values (10337, 200, 'res_0', 'any', 0, 0, 0, 0); 800
804 insert into sys.args values (10342, 200, 'arg_1', 'any', 0, 0, 1, 1); 804 ! 801 insert into sys.args values (10338, 200, 'arg_1', 'any', 0, 0, 1, 1); 801
805 insert into sys.args values (10343, 200, 'arg_2', 'int', 32, 0, 1, 2); 805 ! 802 insert into sys.args values (10339, 200, 'arg_2', 'smallint', 16, 0, 1, 2); 802
806 insert into sys.args values (10344, 200, 'arg_3', 'boolean', 1, 0, 1, 3); 806 ! 803 insert into sys.args values (10340, 200, 'arg_3', 'boolean', 1, 0, 1, 3); 803
807 insert into sys.args values (10345, 200, 'arg_4', 'boolean', 1, 0, 1, 4); 807 ! 804 insert into sys.args values (10341, 200, 'arg_4', 'boolean', 1, 0, 1, 4); 804
808 insert into sys.functions values (201, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 808 805 insert into sys.functions values (201, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 805
809 insert into sys.args values (10346, 201, 'res_0', 'any', 0, 0, 0, 0); 809 ! 806 insert into sys.args values (10342, 201, 'res_0', 'any', 0, 0, 0, 0); 806
810 insert into sys.args values (10347, 201, 'arg_1', 'any', 0, 0, 1, 1); 810 ! 807 insert into sys.args values (10343, 201, 'arg_1', 'any', 0, 0, 1, 1); 807
811 insert into sys.args values (10348, 201, 'arg_2', 'bigint', 64, 0, 1, 2); 811 ! 808 insert into sys.args values (10344, 201, 'arg_2', 'int', 32, 0, 1, 2); 808
812 insert into sys.args values (10349, 201, 'arg_3', 'boolean', 1, 0, 1, 3); 812 ! 809 insert into sys.args values (10345, 201, 'arg_3', 'boolean', 1, 0, 1, 3); 809
813 insert into sys.args values (10350, 201, 'arg_4', 'boolean', 1, 0, 1, 4); 813 ! 810 insert into sys.args values (10346, 201, 'arg_4', 'boolean', 1, 0, 1, 4); 810
814 insert into sys.functions values (202, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 814 811 insert into sys.functions values (202, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 811
815 insert into sys.args values (10351, 202, 'res_0', 'any', 0, 0, 0, 0); 815 ! 812 insert into sys.args values (10347, 202, 'res_0', 'any', 0, 0, 0, 0); 812
816 insert into sys.args values (10352, 202, 'arg_1', 'any', 0, 0, 1, 1); 816 ! 813 insert into sys.args values (10348, 202, 'arg_1', 'any', 0, 0, 1, 1); 813
817 insert into sys.args values (10353, 202, 'arg_2', 'hugeint', 128, 0, 1, 2); 817 ! 814 insert into sys.args values (10349, 202, 'arg_2', 'bigint', 64, 0, 1, 2); 814
818 insert into sys.args values (10354, 202, 'arg_3', 'boolean', 1, 0, 1, 3); 818 ! 815 insert into sys.args values (10350, 202, 'arg_3', 'boolean', 1, 0, 1, 3); 815
819 insert into sys.args values (10355, 202, 'arg_4', 'boolean', 1, 0, 1, 4); 819 ! 816 insert into sys.args values (10351, 202, 'arg_4', 'boolean', 1, 0, 1, 4); 816
820 insert into sys.functions values (203, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 820 817 insert into sys.functions values (203, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 817
821 insert into sys.args values (10356, 203, 'res_0', 'any', 0, 0, 0, 0); 821 ! 818 insert into sys.args values (10352, 203, 'res_0', 'any', 0, 0, 0, 0); 818
822 insert into sys.args values (10357, 203, 'arg_1', 'any', 0, 0, 1, 1); 822 ! 819 insert into sys.args values (10353, 203, 'arg_1', 'any', 0, 0, 1, 1); 819
823 insert into sys.args values (10358, 203, 'arg_2', 'tinyint', 8, 0, 1, 2); 823 ! 820 insert into sys.args values (10354, 203, 'arg_2', 'hugeint', 128, 0, 1, 2); 820
824 insert into sys.args values (10359, 203, 'arg_3', 'any', 0, 0, 1, 3); 824 ! 821 insert into sys.args values (10355, 203, 'arg_3', 'boolean', 1, 0, 1, 3); 821
825 insert into sys.args values (10360, 203, 'arg_4', 'boolean', 1, 0, 1, 4); 825 ! 822 insert into sys.args values (10356, 203, 'arg_4', 'boolean', 1, 0, 1, 4); 822
826 insert into sys.args values (10361, 203, 'arg_5', 'boolean', 1, 0, 1, 5); 826 -
827 insert into sys.functions values (204, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 827 823 insert into sys.functions values (204, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 823
828 insert into sys.args values (10362, 204, 'res_0', 'any', 0, 0, 0, 0); 828 ! 824 insert into sys.args values (10357, 204, 'res_0', 'any', 0, 0, 0, 0); 824
829 insert into sys.args values (10363, 204, 'arg_1', 'any', 0, 0, 1, 1); 829 ! 825 insert into sys.args values (10358, 204, 'arg_1', 'any', 0, 0, 1, 1); 825
830 insert into sys.args values (10364, 204, 'arg_2', 'smallint', 16, 0, 1, 2); 830 ! 826 insert into sys.args values (10359, 204, 'arg_2', 'tinyint', 8, 0, 1, 2); 826
831 insert into sys.args values (10365, 204, 'arg_3', 'any', 0, 0, 1, 3); 831 ! 827 insert into sys.args values (10360, 204, 'arg_3', 'any', 0, 0, 1, 3); 827
832 insert into sys.args values (10366, 204, 'arg_4', 'boolean', 1, 0, 1, 4); 832 ! 828 insert into sys.args values (10361, 204, 'arg_4', 'boolean', 1, 0, 1, 4); 828
833 insert into sys.args values (10367, 204, 'arg_5', 'boolean', 1, 0, 1, 5); 833 ! 829 insert into sys.args values (10362, 204, 'arg_5', 'boolean', 1, 0, 1, 5); 829
834 insert into sys.functions values (205, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 834 830 insert into sys.functions values (205, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 830
835 insert into sys.args values (10368, 205, 'res_0', 'any', 0, 0, 0, 0); 835 ! 831 insert into sys.args values (10363, 205, 'res_0', 'any', 0, 0, 0, 0); 831
836 insert into sys.args values (10369, 205, 'arg_1', 'any', 0, 0, 1, 1); 836 ! 832 insert into sys.args values (10364, 205, 'arg_1', 'any', 0, 0, 1, 1); 832
837 insert into sys.args values (10370, 205, 'arg_2', 'int', 32, 0, 1, 2); 837 ! 833 insert into sys.args values (10365, 205, 'arg_2', 'smallint', 16, 0, 1, 2); 833
838 insert into sys.args values (10371, 205, 'arg_3', 'any', 0, 0, 1, 3); 838 ! 834 insert into sys.args values (10366, 205, 'arg_3', 'any', 0, 0, 1, 3); 834
839 insert into sys.args values (10372, 205, 'arg_4', 'boolean', 1, 0, 1, 4); 839 ! 835 insert into sys.args values (10367, 205, 'arg_4', 'boolean', 1, 0, 1, 4); 835
840 insert into sys.args values (10373, 205, 'arg_5', 'boolean', 1, 0, 1, 5); 840 ! 836 insert into sys.args values (10368, 205, 'arg_5', 'boolean', 1, 0, 1, 5); 836
841 insert into sys.functions values (206, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 841 837 insert into sys.functions values (206, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 837
842 insert into sys.args values (10374, 206, 'res_0', 'any', 0, 0, 0, 0); 842 ! 838 insert into sys.args values (10369, 206, 'res_0', 'any', 0, 0, 0, 0); 838
843 insert into sys.args values (10375, 206, 'arg_1', 'any', 0, 0, 1, 1); 843 ! 839 insert into sys.args values (10370, 206, 'arg_1', 'any', 0, 0, 1, 1); 839
844 insert into sys.args values (10376, 206, 'arg_2', 'bigint', 64, 0, 1, 2); 844 ! 840 insert into sys.args values (10371, 206, 'arg_2', 'int', 32, 0, 1, 2); 840
845 insert into sys.args values (10377, 206, 'arg_3', 'any', 0, 0, 1, 3); 845 ! 841 insert into sys.args values (10372, 206, 'arg_3', 'any', 0, 0, 1, 3); 841
846 insert into sys.args values (10378, 206, 'arg_4', 'boolean', 1, 0, 1, 4); 846 ! 842 insert into sys.args values (10373, 206, 'arg_4', 'boolean', 1, 0, 1, 4); 842
847 insert into sys.args values (10379, 206, 'arg_5', 'boolean', 1, 0, 1, 5); 847 ! 843 insert into sys.args values (10374, 206, 'arg_5', 'boolean', 1, 0, 1, 5); 843
848 insert into sys.functions values (207, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 848 844 insert into sys.functions values (207, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 844
849 insert into sys.args values (10380, 207, 'res_0', 'any', 0, 0, 0, 0); 849 ! 845 insert into sys.args values (10375, 207, 'res_0', 'any', 0, 0, 0, 0); 845
850 insert into sys.args values (10381, 207, 'arg_1', 'any', 0, 0, 1, 1); 850 ! 846 insert into sys.args values (10376, 207, 'arg_1', 'any', 0, 0, 1, 1); 846
851 insert into sys.args values (10382, 207, 'arg_2', 'hugeint', 128, 0, 1, 2); 851 ! 847 insert into sys.args values (10377, 207, 'arg_2', 'bigint', 64, 0, 1, 2); 847
852 insert into sys.args values (10383, 207, 'arg_3', 'any', 0, 0, 1, 3); 852 ! 848 insert into sys.args values (10378, 207, 'arg_3', 'any', 0, 0, 1, 3); 848
853 insert into sys.args values (10384, 207, 'arg_4', 'boolean', 1, 0, 1, 4); 853 ! 849 insert into sys.args values (10379, 207, 'arg_4', 'boolean', 1, 0, 1, 4); 849
854 insert into sys.args values (10385, 207, 'arg_5', 'boolean', 1, 0, 1, 5); 854 ! 850 insert into sys.args values (10380, 207, 'arg_5', 'boolean', 1, 0, 1, 5); 850
855 insert into sys.functions values (208, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 855 ! 851 insert into sys.functions values (208, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 851
856 insert into sys.args values (10386, 208, 'res_0', 'any', 0, 0, 0, 0); 856 ! 852 insert into sys.args values (10381, 208, 'res_0', 'any', 0, 0, 0, 0); 852
857 insert into sys.args values (10387, 208, 'arg_1', 'any', 0, 0, 1, 1); 857 ! 853 insert into sys.args values (10382, 208, 'arg_1', 'any', 0, 0, 1, 1); 853
858 insert into sys.args values (10388, 208, 'arg_2', 'boolean', 1, 0, 1, 2); 858 ! 854 insert into sys.args values (10383, 208, 'arg_2', 'hugeint', 128, 0, 1, 2); 854
859 insert into sys.args values (10389, 208, 'arg_3', 'boolean', 1, 0, 1, 3); 859 ! 855 insert into sys.args values (10384, 208, 'arg_3', 'any', 0, 0, 1, 3); 855
+ 856 insert into sys.args values (10385, 208, 'arg_4', 'boolean', 1, 0, 1, 4); 856
+ 857 insert into sys.args values (10386, 208, 'arg_5', 'boolean', 1, 0, 1, 5); 857
860 insert into sys.functions values (209, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 860 858 insert into sys.functions values (209, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 858
861 insert into sys.args values (10390, 209, 'res_0', 'any', 0, 0, 0, 0); 861 ! 859 insert into sys.args values (10387, 209, 'res_0', 'any', 0, 0, 0, 0); 859
862 insert into sys.args values (10391, 209, 'arg_1', 'any', 0, 0, 1, 1); 862 ! 860 insert into sys.args values (10388, 209, 'arg_1', 'any', 0, 0, 1, 1); 860
863 insert into sys.args values (10392, 209, 'arg_2', 'tinyint', 8, 0, 1, 2); 863 ! 861 insert into sys.args values (10389, 209, 'arg_2', 'boolean', 1, 0, 1, 2); 861
864 insert into sys.args values (10393, 209, 'arg_3', 'boolean', 1, 0, 1, 3); 864 ! 862 insert into sys.args values (10390, 209, 'arg_3', 'boolean', 1, 0, 1, 3); 862
865 insert into sys.args values (10394, 209, 'arg_4', 'boolean', 1, 0, 1, 4); 865 -
866 insert into sys.functions values (210, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 866 863 insert into sys.functions values (210, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 863
867 insert into sys.args values (10395, 210, 'res_0', 'any', 0, 0, 0, 0); 867 ! 864 insert into sys.args values (10391, 210, 'res_0', 'any', 0, 0, 0, 0); 864
868 insert into sys.args values (10396, 210, 'arg_1', 'any', 0, 0, 1, 1); 868 ! 865 insert into sys.args values (10392, 210, 'arg_1', 'any', 0, 0, 1, 1); 865
869 insert into sys.args values (10397, 210, 'arg_2', 'smallint', 16, 0, 1, 2); 869 ! 866 insert into sys.args values (10393, 210, 'arg_2', 'tinyint', 8, 0, 1, 2); 866
870 insert into sys.args values (10398, 210, 'arg_3', 'boolean', 1, 0, 1, 3); 870 ! 867 insert into sys.args values (10394, 210, 'arg_3', 'boolean', 1, 0, 1, 3); 867
871 insert into sys.args values (10399, 210, 'arg_4', 'boolean', 1, 0, 1, 4); 871 ! 868 insert into sys.args values (10395, 210, 'arg_4', 'boolean', 1, 0, 1, 4); 868
872 insert into sys.functions values (211, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 872 869 insert into sys.functions values (211, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 869
873 insert into sys.args values (10400, 211, 'res_0', 'any', 0, 0, 0, 0); 873 ! 870 insert into sys.args values (10396, 211, 'res_0', 'any', 0, 0, 0, 0); 870
874 insert into sys.args values (10401, 211, 'arg_1', 'any', 0, 0, 1, 1); 874 ! 871 insert into sys.args values (10397, 211, 'arg_1', 'any', 0, 0, 1, 1); 871
875 insert into sys.args values (10402, 211, 'arg_2', 'int', 32, 0, 1, 2); 875 ! 872 insert into sys.args values (10398, 211, 'arg_2', 'smallint', 16, 0, 1, 2); 872
876 insert into sys.args values (10403, 211, 'arg_3', 'boolean', 1, 0, 1, 3); 876 ! 873 insert into sys.args values (10399, 211, 'arg_3', 'boolean', 1, 0, 1, 3); 873
877 insert into sys.args values (10404, 211, 'arg_4', 'boolean', 1, 0, 1, 4); 877 ! 874 insert into sys.args values (10400, 211, 'arg_4', 'boolean', 1, 0, 1, 4); 874
878 insert into sys.functions values (212, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 878 875 insert into sys.functions values (212, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 875
879 insert into sys.args values (10405, 212, 'res_0', 'any', 0, 0, 0, 0); 879 ! 876 insert into sys.args values (10401, 212, 'res_0', 'any', 0, 0, 0, 0); 876
880 insert into sys.args values (10406, 212, 'arg_1', 'any', 0, 0, 1, 1); 880 ! 877 insert into sys.args values (10402, 212, 'arg_1', 'any', 0, 0, 1, 1); 877
881 insert into sys.args values (10407, 212, 'arg_2', 'bigint', 64, 0, 1, 2); 881 ! 878 insert into sys.args values (10403, 212, 'arg_2', 'int', 32, 0, 1, 2); 878
882 insert into sys.args values (10408, 212, 'arg_3', 'boolean', 1, 0, 1, 3); 882 ! 879 insert into sys.args values (10404, 212, 'arg_3', 'boolean', 1, 0, 1, 3); 879
883 insert into sys.args values (10409, 212, 'arg_4', 'boolean', 1, 0, 1, 4); 883 ! 880 insert into sys.args values (10405, 212, 'arg_4', 'boolean', 1, 0, 1, 4); 880
884 insert into sys.functions values (213, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 884 881 insert into sys.functions values (213, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 881
885 insert into sys.args values (10410, 213, 'res_0', 'any', 0, 0, 0, 0); 885 ! 882 insert into sys.args values (10406, 213, 'res_0', 'any', 0, 0, 0, 0); 882
886 insert into sys.args values (10411, 213, 'arg_1', 'any', 0, 0, 1, 1); 886 ! 883 insert into sys.args values (10407, 213, 'arg_1', 'any', 0, 0, 1, 1); 883
887 insert into sys.args values (10412, 213, 'arg_2', 'hugeint', 128, 0, 1, 2); 887 ! 884 insert into sys.args values (10408, 213, 'arg_2', 'bigint', 64, 0, 1, 2); 884
888 insert into sys.args values (10413, 213, 'arg_3', 'boolean', 1, 0, 1, 3); 888 ! 885 insert into sys.args values (10409, 213, 'arg_3', 'boolean', 1, 0, 1, 3); 885
889 insert into sys.args values (10414, 213, 'arg_4', 'boolean', 1, 0, 1, 4); 889 ! 886 insert into sys.args values (10410, 213, 'arg_4', 'boolean', 1, 0, 1, 4); 886
890 insert into sys.functions values (214, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 890 887 insert into sys.functions values (214, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 887
891 insert into sys.args values (10415, 214, 'res_0', 'any', 0, 0, 0, 0); 891 ! 888 insert into sys.args values (10411, 214, 'res_0', 'any', 0, 0, 0, 0); 888
892 insert into sys.args values (10416, 214, 'arg_1', 'any', 0, 0, 1, 1); 892 ! 889 insert into sys.args values (10412, 214, 'arg_1', 'any', 0, 0, 1, 1); 889
893 insert into sys.args values (10417, 214, 'arg_2', 'tinyint', 8, 0, 1, 2); 893 ! 890 insert into sys.args values (10413, 214, 'arg_2', 'hugeint', 128, 0, 1, 2); 890
894 insert into sys.args values (10418, 214, 'arg_3', 'any', 0, 0, 1, 3); 894 ! 891 insert into sys.args values (10414, 214, 'arg_3', 'boolean', 1, 0, 1, 3); 891
895 insert into sys.args values (10419, 214, 'arg_4', 'boolean', 1, 0, 1, 4); 895 ! 892 insert into sys.args values (10415, 214, 'arg_4', 'boolean', 1, 0, 1, 4); 892
896 insert into sys.args values (10420, 214, 'arg_5', 'boolean', 1, 0, 1, 5); 896 -
897 insert into sys.functions values (215, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 897 893 insert into sys.functions values (215, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 893
898 insert into sys.args values (10421, 215, 'res_0', 'any', 0, 0, 0, 0); 898 ! 894 insert into sys.args values (10416, 215, 'res_0', 'any', 0, 0, 0, 0); 894
899 insert into sys.args values (10422, 215, 'arg_1', 'any', 0, 0, 1, 1); 899 ! 895 insert into sys.args values (10417, 215, 'arg_1', 'any', 0, 0, 1, 1); 895
900 insert into sys.args values (10423, 215, 'arg_2', 'smallint', 16, 0, 1, 2); 900 ! 896 insert into sys.args values (10418, 215, 'arg_2', 'tinyint', 8, 0, 1, 2); 896
901 insert into sys.args values (10424, 215, 'arg_3', 'any', 0, 0, 1, 3); 901 ! 897 insert into sys.args values (10419, 215, 'arg_3', 'any', 0, 0, 1, 3); 897
902 insert into sys.args values (10425, 215, 'arg_4', 'boolean', 1, 0, 1, 4); 902 ! 898 insert into sys.args values (10420, 215, 'arg_4', 'boolean', 1, 0, 1, 4); 898
903 insert into sys.args values (10426, 215, 'arg_5', 'boolean', 1, 0, 1, 5); 903 ! 899 insert into sys.args values (10421, 215, 'arg_5', 'boolean', 1, 0, 1, 5); 899
904 insert into sys.functions values (216, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 904 900 insert into sys.functions values (216, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 900
905 insert into sys.args values (10427, 216, 'res_0', 'any', 0, 0, 0, 0); 905 ! 901 insert into sys.args values (10422, 216, 'res_0', 'any', 0, 0, 0, 0); 901
906 insert into sys.args values (10428, 216, 'arg_1', 'any', 0, 0, 1, 1); 906 ! 902 insert into sys.args values (10423, 216, 'arg_1', 'any', 0, 0, 1, 1); 902
907 insert into sys.args values (10429, 216, 'arg_2', 'int', 32, 0, 1, 2); 907 ! 903 insert into sys.args values (10424, 216, 'arg_2', 'smallint', 16, 0, 1, 2); 903
908 insert into sys.args values (10430, 216, 'arg_3', 'any', 0, 0, 1, 3); 908 ! 904 insert into sys.args values (10425, 216, 'arg_3', 'any', 0, 0, 1, 3); 904
909 insert into sys.args values (10431, 216, 'arg_4', 'boolean', 1, 0, 1, 4); 909 ! 905 insert into sys.args values (10426, 216, 'arg_4', 'boolean', 1, 0, 1, 4); 905
910 insert into sys.args values (10432, 216, 'arg_5', 'boolean', 1, 0, 1, 5); 910 ! 906 insert into sys.args values (10427, 216, 'arg_5', 'boolean', 1, 0, 1, 5); 906
911 insert into sys.functions values (217, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 911 907 insert into sys.functions values (217, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 907
912 insert into sys.args values (10433, 217, 'res_0', 'any', 0, 0, 0, 0); 912 ! 908 insert into sys.args values (10428, 217, 'res_0', 'any', 0, 0, 0, 0); 908
913 insert into sys.args values (10434, 217, 'arg_1', 'any', 0, 0, 1, 1); 913 ! 909 insert into sys.args values (10429, 217, 'arg_1', 'any', 0, 0, 1, 1); 909
914 insert into sys.args values (10435, 217, 'arg_2', 'bigint', 64, 0, 1, 2); 914 ! 910 insert into sys.args values (10430, 217, 'arg_2', 'int', 32, 0, 1, 2); 910
915 insert into sys.args values (10436, 217, 'arg_3', 'any', 0, 0, 1, 3); 915 ! 911 insert into sys.args values (10431, 217, 'arg_3', 'any', 0, 0, 1, 3); 911
916 insert into sys.args values (10437, 217, 'arg_4', 'boolean', 1, 0, 1, 4); 916 ! 912 insert into sys.args values (10432, 217, 'arg_4', 'boolean', 1, 0, 1, 4); 912
917 insert into sys.args values (10438, 217, 'arg_5', 'boolean', 1, 0, 1, 5); 917 ! 913 insert into sys.args values (10433, 217, 'arg_5', 'boolean', 1, 0, 1, 5); 913
918 insert into sys.functions values (218, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 918 914 insert into sys.functions values (218, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 914
919 insert into sys.args values (10439, 218, 'res_0', 'any', 0, 0, 0, 0); 919 ! 915 insert into sys.args values (10434, 218, 'res_0', 'any', 0, 0, 0, 0); 915
920 insert into sys.args values (10440, 218, 'arg_1', 'any', 0, 0, 1, 1); 920 ! 916 insert into sys.args values (10435, 218, 'arg_1', 'any', 0, 0, 1, 1); 916
921 insert into sys.args values (10441, 218, 'arg_2', 'hugeint', 128, 0, 1, 2); 921 ! 917 insert into sys.args values (10436, 218, 'arg_2', 'bigint', 64, 0, 1, 2); 917
922 insert into sys.args values (10442, 218, 'arg_3', 'any', 0, 0, 1, 3); 922 ! 918 insert into sys.args values (10437, 218, 'arg_3', 'any', 0, 0, 1, 3); 918
923 insert into sys.args values (10443, 218, 'arg_4', 'boolean', 1, 0, 1, 4); 923 ! 919 insert into sys.args values (10438, 218, 'arg_4', 'boolean', 1, 0, 1, 4); 919
924 insert into sys.args values (10444, 218, 'arg_5', 'boolean', 1, 0, 1, 5); 924 ! 920 insert into sys.args values (10439, 218, 'arg_5', 'boolean', 1, 0, 1, 5); 920
925 insert into sys.functions values (219, 'first_value', 'first_value', 'sql', 0, 6, false, false, false, 2000, true, true); 925 ! 921 insert into sys.functions values (219, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 921
926 insert into sys.args values (10445, 219, 'res_0', 'any', 0, 0, 0, 0); 926 ! 922 insert into sys.args values (10440, 219, 'res_0', 'any', 0, 0, 0, 0); 922
927 insert into sys.args values (10446, 219, 'arg_1', 'any', 0, 0, 1, 1); 927 ! 923 insert into sys.args values (10441, 219, 'arg_1', 'any', 0, 0, 1, 1); 923
928 insert into sys.functions values (220, 'last_value', 'last_value', 'sql', 0, 6, false, false, false, 2000, true, true); 928 ! 924 insert into sys.args values (10442, 219, 'arg_2', 'hugeint', 128, 0, 1, 2); 924
929 insert into sys.args values (10447, 220, 'res_0', 'any', 0, 0, 0, 0); 929 ! 925 insert into sys.args values (10443, 219, 'arg_3', 'any', 0, 0, 1, 3); 925
930 insert into sys.args values (10448, 220, 'arg_1', 'any', 0, 0, 1, 1); 930 ! 926 insert into sys.args values (10444, 219, 'arg_4', 'boolean', 1, 0, 1, 4); 926
insert into sys. + 927 insert into sys.args values (10445, 219, 'arg_5', 'boolean', 1, 0, 1, 5); 927
931 functions values (221, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 931 ! 928 insert into sys.functions values (220, 'first_value', 'first_value', 'sql', 0, 6, false, false, false, 2000, true, true); 928
932 insert into sys.args values (10449, 221, 'res_0', 'any', 0, 0, 0, 0); 932 ! 929 insert into sys.args values (10446, 220, 'res_0', 'any', 0, 0, 0, 0); 929
933 insert into sys.args values (10450, 221, 'arg_1', 'any', 0, 0, 1, 1); 933 ! 930 insert into sys.args values (10447, 220, 'arg_1', 'any', 0, 0, 1, 1); 930
934 insert into sys.args values (10451, 221, 'arg_2', 'tinyint', 8, 0, 1, 2); 934 ! 931 insert into sys.functions values (221, 'last_value', 'last_value', 'sql', 0, 6, false, false, false, 2000, true, true); 931
+ 932 insert into sys.args values (10448, 221, 'res_0', 'any', 0, 0, 0, 0); 932
+ 933 insert into sys.args values (10449, 221, 'arg_1', 'any', 0, 0, 1, 1); 933
935 insert into sys.functions values (222, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 935 934 insert into sys.functions values (222, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 934
936 insert into sys.args values (10452, 222, 'res_0', 'any', 0, 0, 0, 0); 936 ! 935 insert into sys.args values (10450, 222, 'res_0', 'any', 0, 0, 0, 0); 935
937 insert into sys.args values (10453, 222, 'arg_1', 'any', 0, 0, 1, 1); 937 ! 936 insert into sys.args values (10451, 222, 'arg_1', 'any', 0, 0, 1, 1); 936
938 insert into sys.args values (10454, 222, 'arg_2', 'smallint', 16, 0, 1, 2); 938 ! 937 insert into sys.args values (10452, 222, 'arg_2', 'tinyint', 8, 0, 1, 2); 937
939 insert into sys.functions values (223, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 939 938 insert into sys.functions values (223, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 938
940 insert into sys.args values (10455, 223, 'res_0', 'any', 0, 0, 0, 0); 940 ! 939 insert into sys.args values (10453, 223, 'res_0', 'any', 0, 0, 0, 0); 939
941 insert into sys.args values (10456, 223, 'arg_1', 'any', 0, 0, 1, 1); 941 ! 940 insert into sys.args values (10454, 223, 'arg_1', 'any', 0, 0, 1, 1); 940
942 insert into sys.args values (10457, 223, 'arg_2', 'int', 32, 0, 1, 2); 942 ! 941 insert into sys.args values (10455, 223, 'arg_2', 'smallint', 16, 0, 1, 2); 941
943 insert into sys.functions values (224, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 943 942 insert into sys.functions values (224, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 942
944 insert into sys.args values (10458, 224, 'res_0', 'any', 0, 0, 0, 0); 944 ! 943 insert into sys.args values (10456, 224, 'res_0', 'any', 0, 0, 0, 0); 943
945 insert into sys.args values (10459, 224, 'arg_1', 'any', 0, 0, 1, 1); 945 ! 944 insert into sys.args values (10457, 224, 'arg_1', 'any', 0, 0, 1, 1); 944
946 insert into sys.args values (10460, 224, 'arg_2', 'bigint', 64, 0, 1, 2); 946 ! 945 insert into sys.args values (10458, 224, 'arg_2', 'int', 32, 0, 1, 2); 945
947 insert into sys.functions values (225, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 947 946 insert into sys.functions values (225, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 946
948 insert into sys.args values (10461, 225, 'res_0', 'any', 0, 0, 0, 0); 948 ! 947 insert into sys.args values (10459, 225, 'res_0', 'any', 0, 0, 0, 0); 947
949 insert into sys.args values (10462, 225, 'arg_1', 'any', 0, 0, 1, 1); 949 ! 948 insert into sys.args values (10460, 225, 'arg_1', 'any', 0, 0, 1, 1); 948
950 insert into sys.args values (10463, 225, 'arg_2', 'hugeint', 128, 0, 1, 2); 950 ! 949 insert into sys.args values (10461, 225, 'arg_2', 'bigint', 64, 0, 1, 2); 949
951 insert into sys.functions values (226, 'count', 'count', 'sql', 0, 6, false, false, false, 2000, true, true); 951 ! 950 insert into sys.functions values (226, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 950
952 insert into sys.args values (10464, 226, 'res_0', 'bigint', 64, 0, 0, 0); 952 ! 951 insert into sys.args values (10462, 226, 'res_0', 'any', 0, 0, 0, 0); 951
953 insert into sys.args values (10465, 226, 'arg_1', 'any', 0, 0, 1, 1); 953 ! 952 insert into sys.args values (10463, 226, 'arg_1', 'any', 0, 0, 1, 1); 952
954 insert into sys.args values (10466, 226, 'arg_2', 'boolean', 1, 0, 1, 2); 954 ! 953 insert into sys.args values (10464, 226, 'arg_2', 'hugeint', 128, 0, 1, 2); 953
955 insert into sys.functions values (227, 'min', 'min', 'sql', 0, 6, false, false, false, 2000, true, true); 955 ! 954 insert into sys.functions values (227, 'count', 'count', 'sql', 0, 6, false, false, false, 2000, true, true); 954
956 insert into sys.args values (10467, 227, 'res_0', 'any', 0, 0, 0, 0); 956 ! 955 insert into sys.args values (10465, 227, 'res_0', 'bigint', 64, 0, 0, 0); 955
957 insert into sys.args values (10468, 227, 'arg_1', 'any', 0, 0, 1, 1); 957 ! 956 insert into sys.args values (10466, 227, 'arg_1', 'any', 0, 0, 1, 1); 956
insert into sys. + 957 insert into sys.args values (10467, 227, 'arg_2', 'boolean', 1, 0, 1, 2); 957
958 functions values (228, 'max', 'max', 'sql', 0, 6, false, false, false, 2000, true, true); 958 ! 958 insert into sys.functions values (228, 'min', 'min', 'sql', 0, 6, false, false, false, 2000, true, true); 958
959 insert into sys.args values (10469, 228, 'res_0', 'any', 0, 0, 0, 0); 959 ! 959 insert into sys.args values (10468, 228, 'res_0', 'any', 0, 0, 0, 0); 959
960 insert into sys.args values (10470, 228, 'arg_1', 'any', 0, 0, 1, 1); 960 ! 960 insert into sys.args values (10469, 228, 'arg_1', 'any', 0, 0, 1, 1); 960
961 insert into sys.functions values (229, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 961 ! 961 insert into sys.functions values (229, 'max', 'max', 'sql', 0, 6, false, false, false, 2000, true, true); 961
962 insert into sys.args values (10471, 229, 'res_0', 'hugeint', 128, 0, 0, 0); 962 ! 962 insert into sys.args values (10470, 229, 'res_0', 'any', 0, 0, 0, 0); 962
963 insert into sys.args values (10472, 229, 'arg_1', 'tinyint', 8, 0, 1, 1); 963 ! 963 insert into sys.args values (10471, 229, 'arg_1', 'any', 0, 0, 1, 1); 963
964 insert into sys.functions values (230, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 964 964 insert into sys.functions values (230, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 964
965 insert into sys.args values (10473, 230, 'res_0', 'hugeint', 128, 0, 0, 0); 965 ! 965 insert into sys.args values (10472, 230, 'res_0', 'hugeint', 128, 0, 0, 0); 965
966 insert into sys.args values (10474, 230, 'arg_1', 'smallint', 16, 0, 1, 1); 966 ! 966 insert into sys.args values (10473, 230, 'arg_1', 'tinyint', 8, 0, 1, 1); 966
967 insert into sys.functions values (231, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 967 967 insert into sys.functions values (231, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 967
968 insert into sys.args values (10475, 231, 'res_0', 'hugeint', 128, 0, 0, 0); 968 ! 968 insert into sys.args values (10474, 231, 'res_0', 'hugeint', 128, 0, 0, 0); 968
969 insert into sys.args values (10476, 231, 'arg_1', 'int', 32, 0, 1, 1); 969 ! 969 insert into sys.args values (10475, 231, 'arg_1', 'smallint', 16, 0, 1, 1); 969
970 insert into sys.functions values (232, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 970 970 insert into sys.functions values (232, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 970
971 insert into sys.args values (10477, 232, 'res_0', 'hugeint', 128, 0, 0, 0); 971 ! 971 insert into sys.args values (10476, 232, 'res_0', 'hugeint', 128, 0, 0, 0); 971
972 insert into sys.args values (10478, 232, 'arg_1', 'bigint', 64, 0, 1, 1); 972 ! 972 insert into sys.args values (10477, 232, 'arg_1', 'int', 32, 0, 1, 1); 972
973 insert into sys.functions values (233, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 973 973 insert into sys.functions values (233, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 973
974 insert into sys.args values (10479, 233, 'res_0', 'hugeint', 128, 0, 0, 0); 974 ! 974 insert into sys.args values (10478, 233, 'res_0', 'hugeint', 128, 0, 0, 0); 974
975 insert into sys.args values (10480, 233, 'arg_1', 'hugeint', 128, 0, 1, 1); 975 ! 975 insert into sys.args values (10479, 233, 'arg_1', 'bigint', 64, 0, 1, 1); 975
976 insert into sys.functions values (234, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 976 976 insert into sys.functions values (234, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 976
977 insert into sys.args values (10481, 234, 'res_0', 'decimal', 38, 0, 0, 0); 977 ! 977 insert into sys.args values (10480, 234, 'res_0', 'hugeint', 128, 0, 0, 0); 977
978 insert into sys.args values (10482, 234, 'arg_1', 'decimal', 2, 0, 1, 1); 978 ! 978 insert into sys.args values (10481, 234, 'arg_1', 'hugeint', 128, 0, 1, 1); 978
979 insert into sys.functions values (235, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 979 979 insert into sys.functions values (235, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 979
980 insert into sys.args values (10483, 235, 'res_0', 'decimal', 38, 0, 0, 0); 980 ! 980 insert into sys.args values (10482, 235, 'res_0', 'decimal', 38, 0, 0, 0); 980
981 insert into sys.args values (10484, 235, 'arg_1', 'decimal', 4, 0, 1, 1); 981 ! 981 insert into sys.args values (10483, 235, 'arg_1', 'decimal', 2, 0, 1, 1); 981
982 insert into sys.functions values (236, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 982 982 insert into sys.functions values (236, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 982
983 insert into sys.args values (10485, 236, 'res_0', 'decimal', 38, 0, 0, 0); 983 ! 983 insert into sys.args values (10484, 236, 'res_0', 'decimal', 38, 0, 0, 0); 983
984 insert into sys.args values (10486, 236, 'arg_1', 'decimal', 9, 0, 1, 1); 984 ! 984 insert into sys.args values (10485, 236, 'arg_1', 'decimal', 4, 0, 1, 1); 984
985 insert into sys.functions values (237, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 985 985 insert into sys.functions values (237, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 985
986 insert into sys.args values (10487, 237, 'res_0', 'decimal', 38, 0, 0, 0); 986 ! 986 insert into sys.args values (10486, 237, 'res_0', 'decimal', 38, 0, 0, 0); 986
987 insert into sys.args values (10488, 237, 'arg_1', 'decimal', 18, 0, 1, 1); 987 ! 987 insert into sys.args values (10487, 237, 'arg_1', 'decimal', 9, 0, 1, 1); 987
988 insert into sys.functions values (238, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 988 988 insert into sys.functions values (238, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 988
989 insert into sys.args values (10489, 238, 'res_0', 'decimal', 38, 0, 0, 0); 989 ! 989 insert into sys.args values (10488, 238, 'res_0', 'decimal', 38, 0, 0, 0); 989
990 insert into sys.args values (10490, 238, 'arg_1', 'decimal', 38, 0, 1, 1); 990 ! 990 insert into sys.args values (10489, 238, 'arg_1', 'decimal', 18, 0, 1, 1); 990
991 insert into sys.functions values (239, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 991 ! 991 insert into sys.functions values (239, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 991
992 insert into sys.args values (10491, 239, 'res_0', 'hugeint', 128, 0, 0, 0); 992 ! 992 insert into sys.args values (10490, 239, 'res_0', 'decimal', 38, 0, 0, 0); 992
993 insert into sys.args values (10492, 239, 'arg_1', 'tinyint', 8, 0, 1, 1); 993 ! 993 insert into sys.args values (10491, 239, 'arg_1', 'decimal', 38, 0, 1, 1); 993
994 insert into sys.functions values (240, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 994 994 insert into sys.functions values (240, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 994
995 insert into sys.args values (10493, 240, 'res_0', 'hugeint', 128, 0, 0, 0); 995 ! 995 insert into sys.args values (10492, 240, 'res_0', 'hugeint', 128, 0, 0, 0); 995
996 insert into sys.args values (10494, 240, 'arg_1', 'smallint', 16, 0, 1, 1); 996 ! 996 insert into sys.args values (10493, 240, 'arg_1', 'tinyint', 8, 0, 1, 1); 996
997 insert into sys.functions values (241, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 997 997 insert into sys.functions values (241, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 997
998 insert into sys.args values (10495, 241, 'res_0', 'hugeint', 128, 0, 0, 0); 998 ! 998 insert into sys.args values (10494, 241, 'res_0', 'hugeint', 128, 0, 0, 0); 998
999 insert into sys.args values (10496, 241, 'arg_1', 'int', 32, 0, 1, 1); 999 ! 999 insert into sys.args values (10495, 241, 'arg_1', 'smallint', 16, 0, 1, 1); 999
1000 insert into sys.functions values (242, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1000 1000 insert into sys.functions values (242, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1000
1001 insert into sys.args values (10497, 242, 'res_0', 'hugeint', 128, 0, 0, 0); 1001 ! 1001 insert into sys.args values (10496, 242, 'res_0', 'hugeint', 128, 0, 0, 0); 1001
1002 insert into sys.args values (10498, 242, 'arg_1', 'bigint', 64, 0, 1, 1); 1002 ! 1002 insert into sys.args values (10497, 242, 'arg_1', 'int', 32, 0, 1, 1); 1002
1003 insert into sys.functions values (243, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1003 1003 insert into sys.functions values (243, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1003
1004 insert into sys.args values (10499, 243, 'res_0', 'hugeint', 128, 0, 0, 0); 1004 ! 1004 insert into sys.args values (10498, 243, 'res_0', 'hugeint', 128, 0, 0, 0); 1004
1005 insert into sys.args values (10500, 243, 'arg_1', 'hugeint', 128, 0, 1, 1); 1005 ! 1005 insert into sys.args values (10499, 243, 'arg_1', 'bigint', 64, 0, 1, 1); 1005
1006 insert into sys.functions values (244, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1006 ! 1006 insert into sys.functions values (244, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1006
1007 insert into sys.args values (10501, 244, 'res_0', 'real', 24, 0, 0, 0); 1007 ! 1007 insert into sys.args values (10500, 244, 'res_0', 'hugeint', 128, 0, 0, 0); 1007
1008 insert into sys.args values (10502, 244, 'arg_1', 'real', 24, 0, 1, 1); 1008 ! 1008 insert into sys.args values (10501, 244, 'arg_1', 'hugeint', 128, 0, 1, 1); 1008
1009 insert into sys.functions values (245, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1009 ! 1009 insert into sys.functions values (245, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1009
1010 insert into sys.args values (10503, 245, 'res_0', 'real', 24, 0, 0, 0); 1010 ! 1010 insert into sys.args values (10502, 245, 'res_0', 'real', 24, 0, 0, 0); 1010
1011 insert into sys.args values (10504, 245, 'arg_1', 'real', 24, 0, 1, 1); 1011 ! 1011 insert into sys.args values (10503, 245, 'arg_1', 'real', 24, 0, 1, 1); 1011
1012 insert into sys.functions values (246, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1012 ! 1012 insert into sys.functions values (246, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1012
1013 insert into sys.args values (10505, 246, 'res_0', 'double', 53, 0, 0, 0); 1013 ! 1013 insert into sys.args values (10504, 246, 'res_0', 'real', 24, 0, 0, 0); 1013
1014 insert into sys.args values (10506, 246, 'arg_1', 'double', 53, 0, 1, 1); 1014 ! 1014 insert into sys.args values (10505, 246, 'arg_1', 'real', 24, 0, 1, 1); 1014
1015 insert into sys.functions values (247, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1015 ! 1015 insert into sys.functions values (247, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1015
1016 insert into sys.args values (10507, 247, 'res_0', 'double', 53, 0, 0, 0); 1016 ! 1016 insert into sys.args values (10506, 247, 'res_0', 'double', 53, 0, 0, 0); 1016
1017 insert into sys.args values (10508, 247, 'arg_1', 'double', 53, 0, 1, 1); 1017 ! 1017 insert into sys.args values (10507, 247, 'arg_1', 'double', 53, 0, 1, 1); 1017
1018 insert into sys.functions values (248, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1018 ! 1018 insert into sys.functions values (248, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1018
1019 insert into sys.args values (10509, 248, 'res_0', 'month_interval', 32, 0, 0, 0); 1019 ! 1019 insert into sys.args values (10508, 248, 'res_0', 'double', 53, 0, 0, 0); 1019
1020 insert into sys.args values (10510, 248, 'arg_1', 'month_interval', 32, 0, 1, 1); 1020 ! 1020 insert into sys.args values (10509, 248, 'arg_1', 'double', 53, 0, 1, 1); 1020
1021 insert into sys.functions values (249, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1021 1021 insert into sys.functions values (249, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1021
1022 insert into sys.args values (10511, 249, 'res_0', 'sec_interval', 13, 0, 0, 0); 1022 ! 1022 insert into sys.args values (10510, 249, 'res_0', 'month_interval', 32, 0, 0, 0); 1022
1023 insert into sys.args values (10512, 249, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1023 ! 1023 insert into sys.args values (10511, 249, 'arg_1', 'month_interval', 32, 0, 1, 1); 1023
1024 insert into sys.functions values (250, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1024 ! 1024 insert into sys.functions values (250, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1024
1025 insert into sys.args values (10513, 250, 'res_0', 'double', 53, 0, 0, 0); 1025 ! 1025 insert into sys.args values (10512, 250, 'res_0', 'sec_interval', 13, 0, 0, 0); 1025
1026 insert into sys.args values (10514, 250, 'arg_1', 'double', 53, 0, 1, 1); 1026 ! 1026 insert into sys.args values (10513, 250, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1026
1027 insert into sys.functions values (251, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1027 1027 insert into sys.functions values (251, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1027
1028 insert into sys.args values (10515, 251, 'res_0', 'double', 53, 0, 0, 0); 1028 ! 1028 insert into sys.args values (10514, 251, 'res_0', 'double', 53, 0, 0, 0); 1028
1029 insert into sys.args values (10516, 251, 'arg_1', 'tinyint', 8, 0, 1, 1); 1029 ! 1029 insert into sys.args values (10515, 251, 'arg_1', 'double', 53, 0, 1, 1); 1029
1030 insert into sys.functions values (252, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1030 1030 insert into sys.functions values (252, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1030
1031 insert into sys.args values (10517, 252, 'res_0', 'double', 53, 0, 0, 0); 1031 ! 1031 insert into sys.args values (10516, 252, 'res_0', 'double', 53, 0, 0, 0); 1031
1032 insert into sys.args values (10518, 252, 'arg_1', 'smallint', 16, 0, 1, 1); 1032 ! 1032 insert into sys.args values (10517, 252, 'arg_1', 'tinyint', 8, 0, 1, 1); 1032
1033 insert into sys.functions values (253, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1033 1033 insert into sys.functions values (253, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1033
1034 insert into sys.args values (10519, 253, 'res_0', 'double', 53, 0, 0, 0); 1034 ! 1034 insert into sys.args values (10518, 253, 'res_0', 'double', 53, 0, 0, 0); 1034
1035 insert into sys.args values (10520, 253, 'arg_1', 'int', 32, 0, 1, 1); 1035 ! 1035 insert into sys.args values (10519, 253, 'arg_1', 'smallint', 16, 0, 1, 1); 1035
1036 insert into sys.functions values (254, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1036 1036 insert into sys.functions values (254, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1036
1037 insert into sys.args values (10521, 254, 'res_0', 'double', 53, 0, 0, 0); 1037 ! 1037 insert into sys.args values (10520, 254, 'res_0', 'double', 53, 0, 0, 0); 1037
1038 insert into sys.args values (10522, 254, 'arg_1', 'bigint', 64, 0, 1, 1); 1038 ! 1038 insert into sys.args values (10521, 254, 'arg_1', 'int', 32, 0, 1, 1); 1038
1039 insert into sys.functions values (255, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1039 1039 insert into sys.functions values (255, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1039
1040 insert into sys.args values (10523, 255, 'res_0', 'double', 53, 0, 0, 0); 1040 ! 1040 insert into sys.args values (10522, 255, 'res_0', 'double', 53, 0, 0, 0); 1040
1041 insert into sys.args values (10524, 255, 'arg_1', 'hugeint', 128, 0, 1, 1); 1041 ! 1041 insert into sys.args values (10523, 255, 'arg_1', 'bigint', 64, 0, 1, 1); 1041
1042 insert into sys.functions values (256, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1042 1042 insert into sys.functions values (256, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1042
1043 insert into sys.args values (10525, 256, 'res_0', 'double', 53, 0, 0, 0); 1043 ! 1043 insert into sys.args values (10524, 256, 'res_0', 'double', 53, 0, 0, 0); 1043
1044 insert into sys.args values (10526, 256, 'arg_1', 'real', 24, 0, 1, 1); 1044 ! 1044 insert into sys.args values (10525, 256, 'arg_1', 'hugeint', 128, 0, 1, 1); 1044
1045 insert into sys.functions values (257, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1045 1045 insert into sys.functions values (257, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1045
1046 insert into sys.args values (10527, 257, 'res_0', 'decimal', 2, 0, 0, 0); 1046 ! 1046 insert into sys.args values (10526, 257, 'res_0', 'double', 53, 0, 0, 0); 1046
1047 insert into sys.args values (10528, 257, 'arg_1', 'decimal', 2, 0, 1, 1); 1047 ! 1047 insert into sys.args values (10527, 257, 'arg_1', 'real', 24, 0, 1, 1); 1047
1048 insert into sys.functions values (258, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1048 1048 insert into sys.functions values (258, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1048
1049 insert into sys.args values (10529, 258, 'res_0', 'decimal', 4, 0, 0, 0); 1049 ! 1049 insert into sys.args values (10528, 258, 'res_0', 'decimal', 2, 0, 0, 0); 1049
1050 insert into sys.args values (10530, 258, 'arg_1', 'decimal', 4, 0, 1, 1); 1050 ! 1050 insert into sys.args values (10529, 258, 'arg_1', 'decimal', 2, 0, 1, 1); 1050
1051 insert into sys.functions values (259, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1051 1051 insert into sys.functions values (259, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1051
1052 insert into sys.args values (10531, 259, 'res_0', 'decimal', 9, 0, 0, 0); 1052 ! 1052 insert into sys.args values (10530, 259, 'res_0', 'decimal', 4, 0, 0, 0); 1052
1053 insert into sys.args values (10532, 259, 'arg_1', 'decimal', 9, 0, 1, 1); 1053 ! 1053 insert into sys.args values (10531, 259, 'arg_1', 'decimal', 4, 0, 1, 1); 1053
1054 insert into sys.functions values (260, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1054 1054 insert into sys.functions values (260, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1054
1055 insert into sys.args values (10533, 260, 'res_0', 'decimal', 18, 0, 0, 0); 1055 ! 1055 insert into sys.args values (10532, 260, 'res_0', 'decimal', 9, 0, 0, 0); 1055
1056 insert into sys.args values (10534, 260, 'arg_1', 'decimal', 18, 0, 1, 1); 1056 ! 1056 insert into sys.args values (10533, 260, 'arg_1', 'decimal', 9, 0, 1, 1); 1056
1057 insert into sys.functions values (261, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1057 1057 insert into sys.functions values (261, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1057
1058 insert into sys.args values (10535, 261, 'res_0', 'decimal', 38, 0, 0, 0); 1058 ! 1058 insert into sys.args values (10534, 261, 'res_0', 'decimal', 18, 0, 0, 0); 1058
1059 insert into sys.args values (10536, 261, 'arg_1', 'decimal', 38, 0, 1, 1); 1059 ! 1059 insert into sys.args values (10535, 261, 'arg_1', 'decimal', 18, 0, 1, 1); 1059
1060 insert into sys.functions values (262, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1060 1060 insert into sys.functions values (262, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1060
1061 insert into sys.args values (10537, 262, 'res_0', 'month_interval', 32, 0, 0, 0); 1061 ! 1061 insert into sys.args values (10536, 262, 'res_0', 'decimal', 38, 0, 0, 0); 1061
1062 insert into sys.args values (10538, 262, 'arg_1', 'month_interval', 32, 0, 1, 1); 1062 ! 1062 insert into sys.args values (10537, 262, 'arg_1', 'decimal', 38, 0, 1, 1); 1062
1063 insert into sys.functions values (263, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1063 1063 insert into sys.functions values (263, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1063
1064 insert into sys.args values (10539, 263, 'res_0', 'sec_interval', 13, 0, 0, 0); 1064 ! 1064 insert into sys.args values (10538, 263, 'res_0', 'month_interval', 32, 0, 0, 0); 1064
1065 insert into sys.args values (10540, 263, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1065 ! 1065 insert into sys.args values (10539, 263, 'arg_1', 'month_interval', 32, 0, 1, 1); 1065
1066 insert into sys.functions values (264, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1066 ! 1066 insert into sys.functions values (264, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1066
1067 insert into sys.args values (10541, 264, 'res_0', 'varchar', 0, 0, 0, 0); 1067 ! 1067 insert into sys.args values (10540, 264, 'res_0', 'sec_interval', 13, 0, 0, 0); 1067
1068 insert into sys.args values (10542, 264, 'arg_1', 'varchar', 0, 0, 1, 1); 1068 ! 1068 insert into sys.args values (10541, 264, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1068
1069 insert into sys.functions values (265, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1069 1069 insert into sys.functions values (265, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1069
1070 insert into sys.args values (10543, 265, 'res_0', 'varchar', 0, 0, 0, 0); 1070 ! 1070 insert into sys.args values (10542, 265, 'res_0', 'varchar', 0, 0, 0, 0); 1070
1071 insert into sys.args values (10544, 265, 'arg_1', 'varchar', 0, 0, 1, 1); 1071 ! 1071 insert into sys.args values (10543, 265, 'arg_1', 'varchar', 0, 0, 1, 1); 1071
1072 insert into sys.args values (10545, 265, 'arg_2', 'varchar', 0, 0, 1, 2); 1072 ! 1072 insert into sys.functions values (266, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1072
1073 insert into sys.functions values (266, 'and', 'and', 'calc', 0, 1, false, false, false, 2000, true, true); 1073 -
1074 insert into sys.args values (10546, 266, 'res_0', 'boolean', 1, 0, 0, 0); 1074 ! 1073 insert into sys.args values (10544, 266, 'res_0', 'varchar', 0, 0, 0, 0); 1073
1075 insert into sys.args values (10547, 266, 'arg_1', 'boolean', 1, 0, 1, 1); 1075 ! 1074 insert into sys.args values (10545, 266, 'arg_1', 'varchar', 0, 0, 1, 1); 1074
1076 insert into sys.args values (10548, 266, 'arg_2', 'boolean', 1, 0, 1, 2); 1076 ! 1075 insert into sys.args values (10546, 266, 'arg_2', 'varchar', 0, 0, 1, 2); 1075
1077 insert into sys.functions values (267, 'or', 'or', 'calc', 0, 1, false, false, false, 2000, true, true); 1077 ! 1076 insert into sys.functions values (267, 'and', 'and', 'calc', 0, 1, false, false, false, 2000, true, true); 1076
1078 insert into sys.args values (10549, 267, 'res_0', 'boolean', 1, 0, 0, 0); 1078 ! 1077 insert into sys.args values (10547, 267, 'res_0', 'boolean', 1, 0, 0, 0); 1077
1079 insert into sys.args values (10550, 267, 'arg_1', 'boolean', 1, 0, 1, 1); 1079 ! 1078 insert into sys.args values (10548, 267, 'arg_1', 'boolean', 1, 0, 1, 1); 1078
1080 insert into sys.args values (10551, 267, 'arg_2', 'boolean', 1, 0, 1, 2); 1080 ! 1079 insert into sys.args values (10549, 267, 'arg_2', 'boolean', 1, 0, 1, 2); 1079
1081 insert into sys.functions values (268, 'xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1081 ! 1080 insert into sys.functions values (268, 'or', 'or', 'calc', 0, 1, false, false, false, 2000, true, true); 1080
1082 insert into sys.args values (10552, 268, 'res_0', 'boolean', 1, 0, 0, 0); 1082 ! 1081 insert into sys.args values (10550, 268, 'res_0', 'boolean', 1, 0, 0, 0); 1081
1083 insert into sys.args values (10553, 268, 'arg_1', 'boolean', 1, 0, 1, 1); 1083 ! 1082 insert into sys.args values (10551, 268, 'arg_1', 'boolean', 1, 0, 1, 1); 1082
1084 insert into sys.args values (10554, 268, 'arg_2', 'boolean', 1, 0, 1, 2); 1084 ! 1083 insert into sys.args values (10552, 268, 'arg_2', 'boolean', 1, 0, 1, 2); 1083
1085 insert into sys.functions values (269, 'not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1085 ! 1084 insert into sys.functions values (269, 'xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1084
+ 1085 insert into sys.args values (10553, 269, 'res_0', 'boolean', 1, 0, 0, 0); 1085
1086 insert into sys.args values (10555, 269, 'res_0', 'boolean', 1, 0, 0, 0); 1086 ! 1086 insert into sys.args values (10554, 269, 'arg_1', 'boolean', 1, 0, 1, 1); 1086
1087 insert into sys.args values (10556, 269, 'arg_1', 'boolean', 1, 0, 1, 1); 1087 ! 1087 insert into sys.args values (10555, 269, 'arg_2', 'boolean', 1, 0, 1, 2); 1087
1088 insert into sys.functions values (270, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1088 ! 1088 insert into sys.functions values (270, 'not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1088
1089 insert into sys.args values (10557, 270, 'res_0', 'smallint', 16, 0, 0, 0); 1089 ! 1089 insert into sys.args values (10556, 270, 'res_0', 'boolean', 1, 0, 0, 0); 1089
1090 insert into sys.args values (10558, 270, 'arg_1', 'smallint', 16, 0, 1, 1); 1090 ! 1090 insert into sys.args values (10557, 270, 'arg_1', 'boolean', 1, 0, 1, 1); 1090
1091 insert into sys.args values (10559, 270, 'arg_2', 'tinyint', 8, 0, 1, 2); 1091 -
1092 insert into sys.functions values (271, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1092 1091 insert into sys.functions values (271, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1091
1093 insert into sys.args values (10560, 271, 'res_0', 'smallint', 16, 0, 0, 0); 1093 ! 1092 insert into sys.args values (10558, 271, 'res_0', 'smallint', 16, 0, 0, 0); 1092
1094 insert into sys.args values (10561, 271, 'arg_1', 'tinyint', 8, 0, 1, 1); 1094 ! 1093 insert into sys.args values (10559, 271, 'arg_1', 'smallint', 16, 0, 1, 1); 1093
1095 insert into sys.args values (10562, 271, 'arg_2', 'smallint', 16, 0, 1, 2); 1095 ! 1094 insert into sys.args values (10560, 271, 'arg_2', 'tinyint', 8, 0, 1, 2); 1094
1096 insert into sys.functions values (272, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1096 ! 1095 insert into sys.functions values (272, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1095
1097 insert into sys.args values (10563, 272, 'res_0', 'smallint', 16, 0, 0, 0); 1097 ! 1096 insert into sys.args values (10561, 272, 'res_0', 'smallint', 16, 0, 0, 0); 1096
1098 insert into sys.args values (10564, 272, 'arg_1', 'smallint', 16, 0, 1, 1); 1098 ! 1097 insert into sys.args values (10562, 272, 'arg_1', 'tinyint', 8, 0, 1, 1); 1097
1099 insert into sys.args values (10565, 272, 'arg_2', 'tinyint', 8, 0, 1, 2); 1099 ! 1098 insert into sys.args values (10563, 272, 'arg_2', 'smallint', 16, 0, 1, 2); 1098
1100 insert into sys.functions values (273, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1100 ! 1099 insert into sys.functions values (273, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1099
1101 insert into sys.args values (10566, 273, 'res_0', 'int', 32, 0, 0, 0); 1101 ! 1100 insert into sys.args values (10564, 273, 'res_0', 'smallint', 16, 0, 0, 0); 1100
1102 insert into sys.args values (10567, 273, 'arg_1', 'int', 32, 0, 1, 1); 1102 ! 1101 insert into sys.args values (10565, 273, 'arg_1', 'smallint', 16, 0, 1, 1); 1101
1103 insert into sys.args values (10568, 273, 'arg_2', 'tinyint', 8, 0, 1, 2); 1103 ! 1102 insert into sys.args values (10566, 273, 'arg_2', 'tinyint', 8, 0, 1, 2); 1102
1104 insert into sys.functions values (274, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1104 1103 insert into sys.functions values (274, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1103
1105 insert into sys.args values (10569, 274, 'res_0', 'int', 32, 0, 0, 0); 1105 ! 1104 insert into sys.args values (10567, 274, 'res_0', 'int', 32, 0, 0, 0); 1104
1106 insert into sys.args values (10570, 274, 'arg_1', 'tinyint', 8, 0, 1, 1); 1106 ! 1105 insert into sys.args values (10568, 274, 'arg_1', 'int', 32, 0, 1, 1); 1105
1107 insert into sys.args values (10571, 274, 'arg_2', 'int', 32, 0, 1, 2); 1107 ! 1106 insert into sys.args values (10569, 274, 'arg_2', 'tinyint', 8, 0, 1, 2); 1106
1108 insert into sys.functions values (275, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1108 ! 1107 insert into sys.functions values (275, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1107
1109 insert into sys.args values (10572, 275, 'res_0', 'int', 32, 0, 0, 0); 1109 ! 1108 insert into sys.args values (10570, 275, 'res_0', 'int', 32, 0, 0, 0); 1108
1110 insert into sys.args values (10573, 275, 'arg_1', 'int', 32, 0, 1, 1); 1110 ! 1109 insert into sys.args values (10571, 275, 'arg_1', 'tinyint', 8, 0, 1, 1); 1109
1111 insert into sys.args values (10574, 275, 'arg_2', 'tinyint', 8, 0, 1, 2); 1111 ! 1110 insert into sys.args values (10572, 275, 'arg_2', 'int', 32, 0, 1, 2); 1110
1112 insert into sys.functions values (276, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1112 ! 1111 insert into sys.functions values (276, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1111
1113 insert into sys.args values (10575, 276, 'res_0', 'int', 32, 0, 0, 0); 1113 ! 1112 insert into sys.args values (10573, 276, 'res_0', 'int', 32, 0, 0, 0); 1112
1114 insert into sys.args values (10576, 276, 'arg_1', 'int', 32, 0, 1, 1); 1114 ! 1113 insert into sys.args values (10574, 276, 'arg_1', 'int', 32, 0, 1, 1); 1113
1115 insert into sys.args values (10577, 276, 'arg_2', 'smallint', 16, 0, 1, 2); 1115 ! 1114 insert into sys.args values (10575, 276, 'arg_2', 'tinyint', 8, 0, 1, 2); 1114
1116 insert into sys.functions values (277, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1116 1115 insert into sys.functions values (277, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1115
1117 insert into sys.args values (10578, 277, 'res_0', 'int', 32, 0, 0, 0); 1117 ! 1116 insert into sys.args values (10576, 277, 'res_0', 'int', 32, 0, 0, 0); 1116
1118 insert into sys.args values (10579, 277, 'arg_1', 'smallint', 16, 0, 1, 1); 1118 ! 1117 insert into sys.args values (10577, 277, 'arg_1', 'int', 32, 0, 1, 1); 1117
1119 insert into sys.args values (10580, 277, 'arg_2', 'int', 32, 0, 1, 2); 1119 ! 1118 insert into sys.args values (10578, 277, 'arg_2', 'smallint', 16, 0, 1, 2); 1118
1120 insert into sys.functions values (278, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1120 ! 1119 insert into sys.functions values (278, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1119
1121 insert into sys.args values (10581, 278, 'res_0', 'int', 32, 0, 0, 0); 1121 ! 1120 insert into sys.args values (10579, 278, 'res_0', 'int', 32, 0, 0, 0); 1120
1122 insert into sys.args values (10582, 278, 'arg_1', 'int', 32, 0, 1, 1); 1122 ! 1121 insert into sys.args values (10580, 278, 'arg_1', 'smallint', 16, 0, 1, 1); 1121
1123 insert into sys.args values (10583, 278, 'arg_2', 'smallint', 16, 0, 1, 2); 1123 ! 1122 insert into sys.args values (10581, 278, 'arg_2', 'int', 32, 0, 1, 2); 1122
1124 insert into sys.functions values (279, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1124 ! 1123 insert into sys.functions values (279, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1123
1125 insert into sys.args values (10584, 279, 'res_0', 'bigint', 64, 0, 0, 0); 1125 ! 1124 insert into sys.args values (10582, 279, 'res_0', 'int', 32, 0, 0, 0); 1124
1126 insert into sys.args values (10585, 279, 'arg_1', 'bigint', 64, 0, 1, 1); 1126 ! 1125 insert into sys.args values (10583, 279, 'arg_1', 'int', 32, 0, 1, 1); 1125
1127 insert into sys.args values (10586, 279, 'arg_2', 'tinyint', 8, 0, 1, 2); 1127 ! 1126 insert into sys.args values (10584, 279, 'arg_2', 'smallint', 16, 0, 1, 2); 1126
1128 insert into sys.functions values (280, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1128 1127 insert into sys.functions values (280, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1127
1129 insert into sys.args values (10587, 280, 'res_0', 'bigint', 64, 0, 0, 0); 1129 ! 1128 insert into sys.args values (10585, 280, 'res_0', 'bigint', 64, 0, 0, 0); 1128
1130 insert into sys.args values (10588, 280, 'arg_1', 'tinyint', 8, 0, 1, 1); 1130 ! 1129 insert into sys.args values (10586, 280, 'arg_1', 'bigint', 64, 0, 1, 1); 1129
1131 insert into sys.args values (10589, 280, 'arg_2', 'bigint', 64, 0, 1, 2); 1131 ! 1130 insert into sys.args values (10587, 280, 'arg_2', 'tinyint', 8, 0, 1, 2); 1130
1132 insert into sys.functions values (281, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1132 ! 1131 insert into sys.functions values (281, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1131
1133 insert into sys.args values (10590, 281, 'res_0', 'bigint', 64, 0, 0, 0); 1133 ! 1132 insert into sys.args values (10588, 281, 'res_0', 'bigint', 64, 0, 0, 0); 1132
1134 insert into sys.args values (10591, 281, 'arg_1', 'bigint', 64, 0, 1, 1); 1134 ! 1133 insert into sys.args values (10589, 281, 'arg_1', 'tinyint', 8, 0, 1, 1); 1133
1135 insert into sys.args values (10592, 281, 'arg_2', 'tinyint', 8, 0, 1, 2); 1135 ! 1134 insert into sys.args values (10590, 281, 'arg_2', 'bigint', 64, 0, 1, 2); 1134
1136 insert into sys.functions values (282, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1136 ! 1135 insert into sys.functions values (282, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1135
1137 insert into sys.args values (10593, 282, 'res_0', 'bigint', 64, 0, 0, 0); 1137 ! 1136 insert into sys.args values (10591, 282, 'res_0', 'bigint', 64, 0, 0, 0); 1136
1138 insert into sys.args values (10594, 282, 'arg_1', 'bigint', 64, 0, 1, 1); 1138 ! 1137 insert into sys.args values (10592, 282, 'arg_1', 'bigint', 64, 0, 1, 1); 1137
1139 insert into sys.args values (10595, 282, 'arg_2', 'smallint', 16, 0, 1, 2); 1139 ! 1138 insert into sys.args values (10593, 282, 'arg_2', 'tinyint', 8, 0, 1, 2); 1138
1140 insert into sys.functions values (283, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1140 1139 insert into sys.functions values (283, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1139
1141 insert into sys.args values (10596, 283, 'res_0', 'bigint', 64, 0, 0, 0); 1141 ! 1140 insert into sys.args values (10594, 283, 'res_0', 'bigint', 64, 0, 0, 0); 1140
1142 insert into sys.args values (10597, 283, 'arg_1', 'smallint', 16, 0, 1, 1); 1142 ! 1141 insert into sys.args values (10595, 283, 'arg_1', 'bigint', 64, 0, 1, 1); 1141
1143 insert into sys.args values (10598, 283, 'arg_2', 'bigint', 64, 0, 1, 2); 1143 ! 1142 insert into sys.args values (10596, 283, 'arg_2', 'smallint', 16, 0, 1, 2); 1142
1144 insert into sys.functions values (284, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1144 ! 1143 insert into sys.functions values (284, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1143
1145 insert into sys.args values (10599, 284, 'res_0', 'bigint', 64, 0, 0, 0); 1145 ! 1144 insert into sys.args values (10597, 284, 'res_0', 'bigint', 64, 0, 0, 0); 1144
1146 insert into sys.args values (10600, 284, 'arg_1', 'bigint', 64, 0, 1, 1); 1146 ! 1145 insert into sys.args values (10598, 284, 'arg_1', 'smallint', 16, 0, 1, 1); 1145
1147 insert into sys.args values (10601, 284, 'arg_2', 'smallint', 16, 0, 1, 2); 1147 ! 1146 insert into sys.args values (10599, 284, 'arg_2', 'bigint', 64, 0, 1, 2); 1146
1148 insert into sys.functions values (285, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1148 ! 1147 insert into sys.functions values (285, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1147
1149 insert into sys.args values (10602, 285, 'res_0', 'bigint', 64, 0, 0, 0); 1149 ! 1148 insert into sys.args values (10600, 285, 'res_0', 'bigint', 64, 0, 0, 0); 1148
1150 insert into sys.args values (10603, 285, 'arg_1', 'bigint', 64, 0, 1, 1); 1150 ! 1149 insert into sys.args values (10601, 285, 'arg_1', 'bigint', 64, 0, 1, 1); 1149
1151 insert into sys.args values (10604, 285, 'arg_2', 'int', 32, 0, 1, 2); 1151 ! 1150 insert into sys.args values (10602, 285, 'arg_2', 'smallint', 16, 0, 1, 2); 1150
1152 insert into sys.functions values (286, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1152 1151 insert into sys.functions values (286, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1151
1153 insert into sys.args values (10605, 286, 'res_0', 'bigint', 64, 0, 0, 0); 1153 ! 1152 insert into sys.args values (10603, 286, 'res_0', 'bigint', 64, 0, 0, 0); 1152
1154 insert into sys.args values (10606, 286, 'arg_1', 'int', 32, 0, 1, 1); 1154 ! 1153 insert into sys.args values (10604, 286, 'arg_1', 'bigint', 64, 0, 1, 1); 1153
1155 insert into sys.args values (10607, 286, 'arg_2', 'bigint', 64, 0, 1, 2); 1155 ! 1154 insert into sys.args values (10605, 286, 'arg_2', 'int', 32, 0, 1, 2); 1154
1156 insert into sys.functions values (287, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1156 ! 1155 insert into sys.functions values (287, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1155
1157 insert into sys.args values (10608, 287, 'res_0', 'bigint', 64, 0, 0, 0); 1157 ! 1156 insert into sys.args values (10606, 287, 'res_0', 'bigint', 64, 0, 0, 0); 1156
1158 insert into sys.args values (10609, 287, 'arg_1', 'bigint', 64, 0, 1, 1); 1158 ! 1157 insert into sys.args values (10607, 287, 'arg_1', 'int', 32, 0, 1, 1); 1157
1159 insert into sys.args values (10610, 287, 'arg_2', 'int', 32, 0, 1, 2); 1159 ! 1158 insert into sys.args values (10608, 287, 'arg_2', 'bigint', 64, 0, 1, 2); 1158
1160 insert into sys.functions values (288, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1160 ! 1159 insert into sys.functions values (288, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1159
1161 insert into sys.args values (10611, 288, 'res_0', 'hugeint', 128, 0, 0, 0); 1161 ! 1160 insert into sys.args values (10609, 288, 'res_0', 'bigint', 64, 0, 0, 0); 1160
1162 insert into sys.args values (10612, 288, 'arg_1', 'hugeint', 128, 0, 1, 1); 1162 ! 1161 insert into sys.args values (10610, 288, 'arg_1', 'bigint', 64, 0, 1, 1); 1161
1163 insert into sys.args values (10613, 288, 'arg_2', 'tinyint', 8, 0, 1, 2); 1163 ! 1162 insert into sys.args values (10611, 288, 'arg_2', 'int', 32, 0, 1, 2); 1162
1164 insert into sys.functions values (289, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1164 1163 insert into sys.functions values (289, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1163
1165 insert into sys.args values (10614, 289, 'res_0', 'hugeint', 128, 0, 0, 0); 1165 ! 1164 insert into sys.args values (10612, 289, 'res_0', 'hugeint', 128, 0, 0, 0); 1164
1166 insert into sys.args values (10615, 289, 'arg_1', 'tinyint', 8, 0, 1, 1); 1166 ! 1165 insert into sys.args values (10613, 289, 'arg_1', 'hugeint', 128, 0, 1, 1); 1165
1167 insert into sys.args values (10616, 289, 'arg_2', 'hugeint', 128, 0, 1, 2); 1167 ! 1166 insert into sys.args values (10614, 289, 'arg_2', 'tinyint', 8, 0, 1, 2); 1166
1168 insert into sys.functions values (290, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1168 ! 1167 insert into sys.functions values (290, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1167
1169 insert into sys.args values (10617, 290, 'res_0', 'hugeint', 128, 0, 0, 0); 1169 ! 1168 insert into sys.args values (10615, 290, 'res_0', 'hugeint', 128, 0, 0, 0); 1168
1170 insert into sys.args values (10618, 290, 'arg_1', 'hugeint', 128, 0, 1, 1); 1170 ! 1169 insert into sys.args values (10616, 290, 'arg_1', 'tinyint', 8, 0, 1, 1); 1169
1171 insert into sys.args values (10619, 290, 'arg_2', 'tinyint', 8, 0, 1, 2); 1171 ! 1170 insert into sys.args values (10617, 290, 'arg_2', 'hugeint', 128, 0, 1, 2); 1170
1172 insert into sys.functions values (291, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1172 ! 1171 insert into sys.functions values (291, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1171
1173 insert into sys.args values (10620, 291, 'res_0', 'hugeint', 128, 0, 0, 0); 1173 ! 1172 insert into sys.args values (10618, 291, 'res_0', 'hugeint', 128, 0, 0, 0); 1172
1174 insert into sys.args values (10621, 291, 'arg_1', 'hugeint', 128, 0, 1, 1); 1174 ! 1173 insert into sys.args values (10619, 291, 'arg_1', 'hugeint', 128, 0, 1, 1); 1173
1175 insert into sys.args values (10622, 291, 'arg_2', 'smallint', 16, 0, 1, 2); 1175 ! 1174 insert into sys.args values (10620, 291, 'arg_2', 'tinyint', 8, 0, 1, 2); 1174
1176 insert into sys.functions values (292, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1176 1175 insert into sys.functions values (292, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1175
1177 insert into sys.args values (10623, 292, 'res_0', 'hugeint', 128, 0, 0, 0); 1177 ! 1176 insert into sys.args values (10621, 292, 'res_0', 'hugeint', 128, 0, 0, 0); 1176
1178 insert into sys.args values (10624, 292, 'arg_1', 'smallint', 16, 0, 1, 1); 1178 ! 1177 insert into sys.args values (10622, 292, 'arg_1', 'hugeint', 128, 0, 1, 1); 1177
1179 insert into sys.args values (10625, 292, 'arg_2', 'hugeint', 128, 0, 1, 2); 1179 ! 1178 insert into sys.args values (10623, 292, 'arg_2', 'smallint', 16, 0, 1, 2); 1178
1180 insert into sys.functions values (293, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1180 ! 1179 insert into sys.functions values (293, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1179
1181 insert into sys.args values (10626, 293, 'res_0', 'hugeint', 128, 0, 0, 0); 1181 ! 1180 insert into sys.args values (10624, 293, 'res_0', 'hugeint', 128, 0, 0, 0); 1180
1182 insert into sys.args values (10627, 293, 'arg_1', 'hugeint', 128, 0, 1, 1); 1182 ! 1181 insert into sys.args values (10625, 293, 'arg_1', 'smallint', 16, 0, 1, 1); 1181
1183 insert into sys.args values (10628, 293, 'arg_2', 'smallint', 16, 0, 1, 2); 1183 ! 1182 insert into sys.args values (10626, 293, 'arg_2', 'hugeint', 128, 0, 1, 2); 1182
1184 insert into sys.functions values (294, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1184 ! 1183 insert into sys.functions values (294, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1183
1185 insert into sys.args values (10629, 294, 'res_0', 'hugeint', 128, 0, 0, 0); 1185 ! 1184 insert into sys.args values (10627, 294, 'res_0', 'hugeint', 128, 0, 0, 0); 1184
1186 insert into sys.args values (10630, 294, 'arg_1', 'hugeint', 128, 0, 1, 1); 1186 ! 1185 insert into sys.args values (10628, 294, 'arg_1', 'hugeint', 128, 0, 1, 1); 1185
1187 insert into sys.args values (10631, 294, 'arg_2', 'int', 32, 0, 1, 2); 1187 ! 1186 insert into sys.args values (10629, 294, 'arg_2', 'smallint', 16, 0, 1, 2); 1186
1188 insert into sys.functions values (295, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1188 1187 insert into sys.functions values (295, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1187
1189 insert into sys.args values (10632, 295, 'res_0', 'hugeint', 128, 0, 0, 0); 1189 ! 1188 insert into sys.args values (10630, 295, 'res_0', 'hugeint', 128, 0, 0, 0); 1188
1190 insert into sys.args values (10633, 295, 'arg_1', 'int', 32, 0, 1, 1); 1190 ! 1189 insert into sys.args values (10631, 295, 'arg_1', 'hugeint', 128, 0, 1, 1); 1189
1191 insert into sys.args values (10634, 295, 'arg_2', 'hugeint', 128, 0, 1, 2); 1191 ! 1190 insert into sys.args values (10632, 295, 'arg_2', 'int', 32, 0, 1, 2); 1190
1192 insert into sys.functions values (296, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1192 ! 1191 insert into sys.functions values (296, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1191
1193 insert into sys.args values (10635, 296, 'res_0', 'hugeint', 128, 0, 0, 0); 1193 ! 1192 insert into sys.args values (10633, 296, 'res_0', 'hugeint', 128, 0, 0, 0); 1192
1194 insert into sys.args values (10636, 296, 'arg_1', 'hugeint', 128, 0, 1, 1); 1194 ! 1193 insert into sys.args values (10634, 296, 'arg_1', 'int', 32, 0, 1, 1); 1193
1195 insert into sys.args values (10637, 296, 'arg_2', 'int', 32, 0, 1, 2); 1195 ! 1194 insert into sys.args values (10635, 296, 'arg_2', 'hugeint', 128, 0, 1, 2); 1194
1196 insert into sys.functions values (297, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1196 ! 1195 insert into sys.functions values (297, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1195
1197 insert into sys.args values (10638, 297, 'res_0', 'hugeint', 128, 0, 0, 0); 1197 ! 1196 insert into sys.args values (10636, 297, 'res_0', 'hugeint', 128, 0, 0, 0); 1196
1198 insert into sys.args values (10639, 297, 'arg_1', 'hugeint', 128, 0, 1, 1); 1198 ! 1197 insert into sys.args values (10637, 297, 'arg_1', 'hugeint', 128, 0, 1, 1); 1197
1199 insert into sys.args values (10640, 297, 'arg_2', 'bigint', 64, 0, 1, 2); 1199 ! 1198 insert into sys.args values (10638, 297, 'arg_2', 'int', 32, 0, 1, 2); 1198
1200 insert into sys.functions values (298, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1200 1199 insert into sys.functions values (298, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1199
1201 insert into sys.args values (10641, 298, 'res_0', 'hugeint', 128, 0, 0, 0); 1201 ! 1200 insert into sys.args values (10639, 298, 'res_0', 'hugeint', 128, 0, 0, 0); 1200
1202 insert into sys.args values (10642, 298, 'arg_1', 'bigint', 64, 0, 1, 1); 1202 ! 1201 insert into sys.args values (10640, 298, 'arg_1', 'hugeint', 128, 0, 1, 1); 1201
1203 insert into sys.args values (10643, 298, 'arg_2', 'hugeint', 128, 0, 1, 2); 1203 ! 1202 insert into sys.args values (10641, 298, 'arg_2', 'bigint', 64, 0, 1, 2); 1202
1204 insert into sys.functions values (299, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1204 ! 1203 insert into sys.functions values (299, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1203
1205 insert into sys.args values (10644, 299, 'res_0', 'hugeint', 128, 0, 0, 0); 1205 ! 1204 insert into sys.args values (10642, 299, 'res_0', 'hugeint', 128, 0, 0, 0); 1204
1206 insert into sys.args values (10645, 299, 'arg_1', 'hugeint', 128, 0, 1, 1); 1206 ! 1205 insert into sys.args values (10643, 299, 'arg_1', 'bigint', 64, 0, 1, 1); 1205
1207 insert into sys.args values (10646, 299, 'arg_2', 'bigint', 64, 0, 1, 2); 1207 ! 1206 insert into sys.args values (10644, 299, 'arg_2', 'hugeint', 128, 0, 1, 2); 1206
1208 insert into sys.functions values (300, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1208 ! 1207 insert into sys.functions values (300, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1207
1209 insert into sys.args values (10647, 300, 'res_0', 'decimal', 4, 0, 0, 0); 1209 ! 1208 insert into sys.args values (10645, 300, 'res_0', 'hugeint', 128, 0, 0, 0); 1208
1210 insert into sys.args values (10648, 300, 'arg_1', 'decimal', 4, 0, 1, 1); 1210 ! 1209 insert into sys.args values (10646, 300, 'arg_1', 'hugeint', 128, 0, 1, 1); 1209
1211 insert into sys.args values (10649, 300, 'arg_2', 'tinyint', 8, 0, 1, 2); 1211 ! 1210 insert into sys.args values (10647, 300, 'arg_2', 'bigint', 64, 0, 1, 2); 1210
1212 insert into sys.functions values (301, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1212 1211 insert into sys.functions values (301, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1211
1213 insert into sys.args values (10650, 301, 'res_0', 'decimal', 4, 0, 0, 0); 1213 ! 1212 insert into sys.args values (10648, 301, 'res_0', 'decimal', 4, 0, 0, 0); 1212
1214 insert into sys.args values (10651, 301, 'arg_1', 'tinyint', 8, 0, 1, 1); 1214 ! 1213 insert into sys.args values (10649, 301, 'arg_1', 'decimal', 4, 0, 1, 1); 1213
1215 insert into sys.args values (10652, 301, 'arg_2', 'decimal', 4, 0, 1, 2); 1215 ! 1214 insert into sys.args values (10650, 301, 'arg_2', 'tinyint', 8, 0, 1, 2); 1214
1216 insert into sys.functions values (302, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1216 ! 1215 insert into sys.functions values (302, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1215
1217 insert into sys.args values (10653, 302, 'res_0', 'decimal', 4, 0, 0, 0); 1217 ! 1216 insert into sys.args values (10651, 302, 'res_0', 'decimal', 4, 0, 0, 0); 1216
1218 insert into sys.args values (10654, 302, 'arg_1', 'decimal', 4, 0, 1, 1); 1218 ! 1217 insert into sys.args values (10652, 302, 'arg_1', 'tinyint', 8, 0, 1, 1); 1217
1219 insert into sys.args values (10655, 302, 'arg_2', 'tinyint', 8, 0, 1, 2); 1219 ! 1218 insert into sys.args values (10653, 302, 'arg_2', 'decimal', 4, 0, 1, 2); 1218
1220 insert into sys.functions values (303, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1220 ! 1219 insert into sys.functions values (303, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1219
1221 insert into sys.args values (10656, 303, 'res_0', 'decimal', 9, 0, 0, 0); 1221 ! 1220 insert into sys.args values (10654, 303, 'res_0', 'decimal', 4, 0, 0, 0); 1220
1222 insert into sys.args values (10657, 303, 'arg_1', 'decimal', 9, 0, 1, 1); 1222 ! 1221 insert into sys.args values (10655, 303, 'arg_1', 'decimal', 4, 0, 1, 1); 1221
1223 insert into sys.args values (10658, 303, 'arg_2', 'tinyint', 8, 0, 1, 2); 1223 ! 1222 insert into sys.args values (10656, 303, 'arg_2', 'tinyint', 8, 0, 1, 2); 1222
1224 insert into sys.functions values (304, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1224 1223 insert into sys.functions values (304, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1223
1225 insert into sys.args values (10659, 304, 'res_0', 'decimal', 9, 0, 0, 0); 1225 ! 1224 insert into sys.args values (10657, 304, 'res_0', 'decimal', 9, 0, 0, 0); 1224
1226 insert into sys.args values (10660, 304, 'arg_1', 'tinyint', 8, 0, 1, 1); 1226 ! 1225 insert into sys.args values (10658, 304, 'arg_1', 'decimal', 9, 0, 1, 1); 1225
1227 insert into sys.args values (10661, 304, 'arg_2', 'decimal', 9, 0, 1, 2); 1227 ! 1226 insert into sys.args values (10659, 304, 'arg_2', 'tinyint', 8, 0, 1, 2); 1226
1228 insert into sys.functions values (305, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1228 ! 1227 insert into sys.functions values (305, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1227
1229 insert into sys.args values (10662, 305, 'res_0', 'decimal', 9, 0, 0, 0); 1229 ! 1228 insert into sys.args values (10660, 305, 'res_0', 'decimal', 9, 0, 0, 0); 1228
1230 insert into sys.args values (10663, 305, 'arg_1', 'decimal', 9, 0, 1, 1); 1230 ! 1229 insert into sys.args values (10661, 305, 'arg_1', 'tinyint', 8, 0, 1, 1); 1229
1231 insert into sys.args values (10664, 305, 'arg_2', 'tinyint', 8, 0, 1, 2); 1231 ! 1230 insert into sys.args values (10662, 305, 'arg_2', 'decimal', 9, 0, 1, 2); 1230
1232 insert into sys.functions values (306, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1232 ! 1231 insert into sys.functions values (306, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1231
1233 insert into sys.args values (10665, 306, 'res_0', 'decimal', 9, 0, 0, 0); 1233 ! 1232 insert into sys.args values (10663, 306, 'res_0', 'decimal', 9, 0, 0, 0); 1232
1234 insert into sys.args values (10666, 306, 'arg_1', 'decimal', 9, 0, 1, 1); 1234 ! 1233 insert into sys.args values (10664, 306, 'arg_1', 'decimal', 9, 0, 1, 1); 1233
1235 insert into sys.args values (10667, 306, 'arg_2', 'smallint', 16, 0, 1, 2); 1235 ! 1234 insert into sys.args values (10665, 306, 'arg_2', 'tinyint', 8, 0, 1, 2); 1234
1236 insert into sys.functions values (307, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1236 1235 insert into sys.functions values (307, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1235
1237 insert into sys.args values (10668, 307, 'res_0', 'decimal', 9, 0, 0, 0); 1237 ! 1236 insert into sys.args values (10666, 307, 'res_0', 'decimal', 9, 0, 0, 0); 1236
1238 insert into sys.args values (10669, 307, 'arg_1', 'smallint', 16, 0, 1, 1); 1238 ! 1237 insert into sys.args values (10667, 307, 'arg_1', 'decimal', 9, 0, 1, 1); 1237
1239 insert into sys.args values (10670, 307, 'arg_2', 'decimal', 9, 0, 1, 2); 1239 ! 1238 insert into sys.args values (10668, 307, 'arg_2', 'smallint', 16, 0, 1, 2); 1238
1240 insert into sys.functions values (308, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1240 ! 1239 insert into sys.functions values (308, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1239
1241 insert into sys.args values (10671, 308, 'res_0', 'decimal', 9, 0, 0, 0); 1241 ! 1240 insert into sys.args values (10669, 308, 'res_0', 'decimal', 9, 0, 0, 0); 1240
1242 insert into sys.args values (10672, 308, 'arg_1', 'decimal', 9, 0, 1, 1); 1242 ! 1241 insert into sys.args values (10670, 308, 'arg_1', 'smallint', 16, 0, 1, 1); 1241
1243 insert into sys.args values (10673, 308, 'arg_2', 'smallint', 16, 0, 1, 2); 1243 ! 1242 insert into sys.args values (10671, 308, 'arg_2', 'decimal', 9, 0, 1, 2); 1242
1244 insert into sys.functions values (309, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1244 ! 1243 insert into sys.functions values (309, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1243
1245 insert into sys.args values (10674, 309, 'res_0', 'decimal', 18, 0, 0, 0); 1245 ! 1244 insert into sys.args values (10672, 309, 'res_0', 'decimal', 9, 0, 0, 0); 1244
1246 insert into sys.args values (10675, 309, 'arg_1', 'decimal', 18, 0, 1, 1); 1246 ! 1245 insert into sys.args values (10673, 309, 'arg_1', 'decimal', 9, 0, 1, 1); 1245
1247 insert into sys.args values (10676, 309, 'arg_2', 'tinyint', 8, 0, 1, 2); 1247 ! 1246 insert into sys.args values (10674, 309, 'arg_2', 'smallint', 16, 0, 1, 2); 1246
1248 insert into sys.functions values (310, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1248 1247 insert into sys.functions values (310, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1247
1249 insert into sys.args values (10677, 310, 'res_0', 'decimal', 18, 0, 0, 0); 1249 ! 1248 insert into sys.args values (10675, 310, 'res_0', 'decimal', 18, 0, 0, 0); 1248
1250 insert into sys.args values (10678, 310, 'arg_1', 'tinyint', 8, 0, 1, 1); 1250 ! 1249 insert into sys.args values (10676, 310, 'arg_1', 'decimal', 18, 0, 1, 1); 1249
1251 insert into sys.args values (10679, 310, 'arg_2', 'decimal', 18, 0, 1, 2); 1251 ! 1250 insert into sys.args values (10677, 310, 'arg_2', 'tinyint', 8, 0, 1, 2); 1250
1252 insert into sys.functions values (311, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1252 ! 1251 insert into sys.functions values (311, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1251
1253 insert into sys.args values (10680, 311, 'res_0', 'decimal', 18, 0, 0, 0); 1253 ! 1252 insert into sys.args values (10678, 311, 'res_0', 'decimal', 18, 0, 0, 0); 1252
1254 insert into sys.args values (10681, 311, 'arg_1', 'decimal', 18, 0, 1, 1); 1254 ! 1253 insert into sys.args values (10679, 311, 'arg_1', 'tinyint', 8, 0, 1, 1); 1253
1255 insert into sys.args values (10682, 311, 'arg_2', 'tinyint', 8, 0, 1, 2); 1255 ! 1254 insert into sys.args values (10680, 311, 'arg_2', 'decimal', 18, 0, 1, 2); 1254
1256 insert into sys.functions values (312, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1256 ! 1255 insert into sys.functions values (312, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1255
1257 insert into sys.args values (10683, 312, 'res_0', 'decimal', 18, 0, 0, 0); 1257 ! 1256 insert into sys.args values (10681, 312, 'res_0', 'decimal', 18, 0, 0, 0); 1256
1258 insert into sys.args values (10684, 312, 'arg_1', 'decimal', 18, 0, 1, 1); 1258 ! 1257 insert into sys.args values (10682, 312, 'arg_1', 'decimal', 18, 0, 1, 1); 1257
1259 insert into sys.args values (10685, 312, 'arg_2', 'smallint', 16, 0, 1, 2); 1259 ! 1258 insert into sys.args values (10683, 312, 'arg_2', 'tinyint', 8, 0, 1, 2); 1258
1260 insert into sys.functions values (313, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1260 1259 insert into sys.functions values (313, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1259
1261 insert into sys.args values (10686, 313, 'res_0', 'decimal', 18, 0, 0, 0); 1261 ! 1260 insert into sys.args values (10684, 313, 'res_0', 'decimal', 18, 0, 0, 0); 1260
1262 insert into sys.args values (10687, 313, 'arg_1', 'smallint', 16, 0, 1, 1); 1262 ! 1261 insert into sys.args values (10685, 313, 'arg_1', 'decimal', 18, 0, 1, 1); 1261
1263 insert into sys.args values (10688, 313, 'arg_2', 'decimal', 18, 0, 1, 2); 1263 ! 1262 insert into sys.args values (10686, 313, 'arg_2', 'smallint', 16, 0, 1, 2); 1262
1264 insert into sys.functions values (314, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1264 ! 1263 insert into sys.functions values (314, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1263
1265 insert into sys.args values (10689, 314, 'res_0', 'decimal', 18, 0, 0, 0); 1265 ! 1264 insert into sys.args values (10687, 314, 'res_0', 'decimal', 18, 0, 0, 0); 1264
1266 insert into sys.args values (10690, 314, 'arg_1', 'decimal', 18, 0, 1, 1); 1266 ! 1265 insert into sys.args values (10688, 314, 'arg_1', 'smallint', 16, 0, 1, 1); 1265
1267 insert into sys.args values (10691, 314, 'arg_2', 'smallint', 16, 0, 1, 2); 1267 ! 1266 insert into sys.args values (10689, 314, 'arg_2', 'decimal', 18, 0, 1, 2); 1266
1268 insert into sys.functions values (315, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1268 ! 1267 insert into sys.functions values (315, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1267
1269 insert into sys.args values (10692, 315, 'res_0', 'decimal', 18, 0, 0, 0); 1269 ! 1268 insert into sys.args values (10690, 315, 'res_0', 'decimal', 18, 0, 0, 0); 1268
1270 insert into sys.args values (10693, 315, 'arg_1', 'decimal', 18, 0, 1, 1); 1270 ! 1269 insert into sys.args values (10691, 315, 'arg_1', 'decimal', 18, 0, 1, 1); 1269
1271 insert into sys.args values (10694, 315, 'arg_2', 'int', 32, 0, 1, 2); 1271 ! 1270 insert into sys.args values (10692, 315, 'arg_2', 'smallint', 16, 0, 1, 2); 1270
1272 insert into sys.functions values (316, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1272 1271 insert into sys.functions values (316, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1271
1273 insert into sys.args values (10695, 316, 'res_0', 'decimal', 18, 0, 0, 0); 1273 ! 1272 insert into sys.args values (10693, 316, 'res_0', 'decimal', 18, 0, 0, 0); 1272
1274 insert into sys.args values (10696, 316, 'arg_1', 'int', 32, 0, 1, 1); 1274 ! 1273 insert into sys.args values (10694, 316, 'arg_1', 'decimal', 18, 0, 1, 1); 1273
1275 insert into sys.args values (10697, 316, 'arg_2', 'decimal', 18, 0, 1, 2); 1275 ! 1274 insert into sys.args values (10695, 316, 'arg_2', 'int', 32, 0, 1, 2); 1274
1276 insert into sys.functions values (317, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1276 ! 1275 insert into sys.functions values (317, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1275
1277 insert into sys.args values (10698, 317, 'res_0', 'decimal', 18, 0, 0, 0); 1277 ! 1276 insert into sys.args values (10696, 317, 'res_0', 'decimal', 18, 0, 0, 0); 1276
1278 insert into sys.args values (10699, 317, 'arg_1', 'decimal', 18, 0, 1, 1); 1278 ! 1277 insert into sys.args values (10697, 317, 'arg_1', 'int', 32, 0, 1, 1); 1277
1279 insert into sys.args values (10700, 317, 'arg_2', 'int', 32, 0, 1, 2); 1279 ! 1278 insert into sys.args values (10698, 317, 'arg_2', 'decimal', 18, 0, 1, 2); 1278
1280 insert into sys.functions values (318, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1280 ! 1279 insert into sys.functions values (318, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1279
1281 insert into sys.args values (10701, 318, 'res_0', 'decimal', 38, 0, 0, 0); 1281 ! 1280 insert into sys.args values (10699, 318, 'res_0', 'decimal', 18, 0, 0, 0); 1280
1282 insert into sys.args values (10702, 318, 'arg_1', 'decimal', 38, 0, 1, 1); 1282 ! 1281 insert into sys.args values (10700, 318, 'arg_1', 'decimal', 18, 0, 1, 1); 1281
1283 insert into sys.args values (10703, 318, 'arg_2', 'tinyint', 8, 0, 1, 2); 1283 ! 1282 insert into sys.args values (10701, 318, 'arg_2', 'int', 32, 0, 1, 2); 1282
1284 insert into sys.functions values (319, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1284 1283 insert into sys.functions values (319, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1283
1285 insert into sys.args values (10704, 319, 'res_0', 'decimal', 38, 0, 0, 0); 1285 ! 1284 insert into sys.args values (10702, 319, 'res_0', 'decimal', 38, 0, 0, 0); 1284
1286 insert into sys.args values (10705, 319, 'arg_1', 'tinyint', 8, 0, 1, 1); 1286 ! 1285 insert into sys.args values (10703, 319, 'arg_1', 'decimal', 38, 0, 1, 1); 1285
1287 insert into sys.args values (10706, 319, 'arg_2', 'decimal', 38, 0, 1, 2); 1287 ! 1286 insert into sys.args values (10704, 319, 'arg_2', 'tinyint', 8, 0, 1, 2); 1286
1288 insert into sys.functions values (320, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1288 ! 1287 insert into sys.functions values (320, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1287
1289 insert into sys.args values (10707, 320, 'res_0', 'decimal', 38, 0, 0, 0); 1289 ! 1288 insert into sys.args values (10705, 320, 'res_0', 'decimal', 38, 0, 0, 0); 1288
1290 insert into sys.args values (10708, 320, 'arg_1', 'decimal', 38, 0, 1, 1); 1290 ! 1289 insert into sys.args values (10706, 320, 'arg_1', 'tinyint', 8, 0, 1, 1); 1289
1291 insert into sys.args values (10709, 320, 'arg_2', 'tinyint', 8, 0, 1, 2); 1291 ! 1290 insert into sys.args values (10707, 320, 'arg_2', 'decimal', 38, 0, 1, 2); 1290
1292 insert into sys.functions values (321, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1292 ! 1291 insert into sys.functions values (321, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1291
1293 insert into sys.args values (10710, 321, 'res_0', 'decimal', 38, 0, 0, 0); 1293 ! 1292 insert into sys.args values (10708, 321, 'res_0', 'decimal', 38, 0, 0, 0); 1292
1294 insert into sys.args values (10711, 321, 'arg_1', 'decimal', 38, 0, 1, 1); 1294 ! 1293 insert into sys.args values (10709, 321, 'arg_1', 'decimal', 38, 0, 1, 1); 1293
1295 insert into sys.args values (10712, 321, 'arg_2', 'smallint', 16, 0, 1, 2); 1295 ! 1294 insert into sys.args values (10710, 321, 'arg_2', 'tinyint', 8, 0, 1, 2); 1294
1296 insert into sys.functions values (322, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1296 1295 insert into sys.functions values (322, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1295
1297 insert into sys.args values (10713, 322, 'res_0', 'decimal', 38, 0, 0, 0); 1297 ! 1296 insert into sys.args values (10711, 322, 'res_0', 'decimal', 38, 0, 0, 0); 1296
1298 insert into sys.args values (10714, 322, 'arg_1', 'smallint', 16, 0, 1, 1); 1298 ! 1297 insert into sys.args values (10712, 322, 'arg_1', 'decimal', 38, 0, 1, 1); 1297
1299 insert into sys.args values (10715, 322, 'arg_2', 'decimal', 38, 0, 1, 2); 1299 ! 1298 insert into sys.args values (10713, 322, 'arg_2', 'smallint', 16, 0, 1, 2); 1298
1300 insert into sys.functions values (323, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1300 ! 1299 insert into sys.functions values (323, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1299
1301 insert into sys.args values (10716, 323, 'res_0', 'decimal', 38, 0, 0, 0); 1301 ! 1300 insert into sys.args values (10714, 323, 'res_0', 'decimal', 38, 0, 0, 0); 1300
1302 insert into sys.args values (10717, 323, 'arg_1', 'decimal', 38, 0, 1, 1); 1302 ! 1301 insert into sys.args values (10715, 323, 'arg_1', 'smallint', 16, 0, 1, 1); 1301
1303 insert into sys.args values (10718, 323, 'arg_2', 'smallint', 16, 0, 1, 2); 1303 ! 1302 insert into sys.args values (10716, 323, 'arg_2', 'decimal', 38, 0, 1, 2); 1302
1304 insert into sys.functions values (324, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1304 ! 1303 insert into sys.functions values (324, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1303
1305 insert into sys.args values (10719, 324, 'res_0', 'decimal', 38, 0, 0, 0); 1305 ! 1304 insert into sys.args values (10717, 324, 'res_0', 'decimal', 38, 0, 0, 0); 1304
1306 insert into sys.args values (10720, 324, 'arg_1', 'decimal', 38, 0, 1, 1); 1306 ! 1305 insert into sys.args values (10718, 324, 'arg_1', 'decimal', 38, 0, 1, 1); 1305
1307 insert into sys.args values (10721, 324, 'arg_2', 'int', 32, 0, 1, 2); 1307 ! 1306 insert into sys.args values (10719, 324, 'arg_2', 'smallint', 16, 0, 1, 2); 1306
1308 insert into sys.functions values (325, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1308 1307 insert into sys.functions values (325, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1307
1309 insert into sys.args values (10722, 325, 'res_0', 'decimal', 38, 0, 0, 0); 1309 ! 1308 insert into sys.args values (10720, 325, 'res_0', 'decimal', 38, 0, 0, 0); 1308
1310 insert into sys.args values (10723, 325, 'arg_1', 'int', 32, 0, 1, 1); 1310 ! 1309 insert into sys.args values (10721, 325, 'arg_1', 'decimal', 38, 0, 1, 1); 1309
1311 insert into sys.args values (10724, 325, 'arg_2', 'decimal', 38, 0, 1, 2); 1311 ! 1310 insert into sys.args values (10722, 325, 'arg_2', 'int', 32, 0, 1, 2); 1310
1312 insert into sys.functions values (326, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1312 ! 1311 insert into sys.functions values (326, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1311
1313 insert into sys.args values (10725, 326, 'res_0', 'decimal', 38, 0, 0, 0); 1313 ! 1312 insert into sys.args values (10723, 326, 'res_0', 'decimal', 38, 0, 0, 0); 1312
1314 insert into sys.args values (10726, 326, 'arg_1', 'decimal', 38, 0, 1, 1); 1314 ! 1313 insert into sys.args values (10724, 326, 'arg_1', 'int', 32, 0, 1, 1); 1313
1315 insert into sys.args values (10727, 326, 'arg_2', 'int', 32, 0, 1, 2); 1315 ! 1314 insert into sys.args values (10725, 326, 'arg_2', 'decimal', 38, 0, 1, 2); 1314
1316 insert into sys.functions values (327, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1316 ! 1315 insert into sys.functions values (327, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1315
1317 insert into sys.args values (10728, 327, 'res_0', 'decimal', 38, 0, 0, 0); 1317 ! 1316 insert into sys.args values (10726, 327, 'res_0', 'decimal', 38, 0, 0, 0); 1316
1318 insert into sys.args values (10729, 327, 'arg_1', 'decimal', 38, 0, 1, 1); 1318 ! 1317 insert into sys.args values (10727, 327, 'arg_1', 'decimal', 38, 0, 1, 1); 1317
1319 insert into sys.args values (10730, 327, 'arg_2', 'bigint', 64, 0, 1, 2); 1319 ! 1318 insert into sys.args values (10728, 327, 'arg_2', 'int', 32, 0, 1, 2); 1318
1320 insert into sys.functions values (328, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1320 1319 insert into sys.functions values (328, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1319
1321 insert into sys.args values (10731, 328, 'res_0', 'decimal', 38, 0, 0, 0); 1321 ! 1320 insert into sys.args values (10729, 328, 'res_0', 'decimal', 38, 0, 0, 0); 1320
1322 insert into sys.args values (10732, 328, 'arg_1', 'bigint', 64, 0, 1, 1); 1322 ! 1321 insert into sys.args values (10730, 328, 'arg_1', 'decimal', 38, 0, 1, 1); 1321
1323 insert into sys.args values (10733, 328, 'arg_2', 'decimal', 38, 0, 1, 2); 1323 ! 1322 insert into sys.args values (10731, 328, 'arg_2', 'bigint', 64, 0, 1, 2); 1322
1324 insert into sys.functions values (329, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1324 ! 1323 insert into sys.functions values (329, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1323
1325 insert into sys.args values (10734, 329, 'res_0', 'decimal', 38, 0, 0, 0); 1325 ! 1324 insert into sys.args values (10732, 329, 'res_0', 'decimal', 38, 0, 0, 0); 1324
1326 insert into sys.args values (10735, 329, 'arg_1', 'decimal', 38, 0, 1, 1); 1326 ! 1325 insert into sys.args values (10733, 329, 'arg_1', 'bigint', 64, 0, 1, 1); 1325
1327 insert into sys.args values (10736, 329, 'arg_2', 'bigint', 64, 0, 1, 2); 1327 ! 1326 insert into sys.args values (10734, 329, 'arg_2', 'decimal', 38, 0, 1, 2); 1326
1328 insert into sys.functions values (330, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1328 ! 1327 insert into sys.functions values (330, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1327
1329 insert into sys.args values (10737, 330, 'res_0', 'decimal', 9, 0, 0, 0); 1329 ! 1328 insert into sys.args values (10735, 330, 'res_0', 'decimal', 38, 0, 0, 0); 1328
1330 insert into sys.args values (10738, 330, 'arg_1', 'decimal', 9, 0, 1, 1); 1330 ! 1329 insert into sys.args values (10736, 330, 'arg_1', 'decimal', 38, 0, 1, 1); 1329
1331 insert into sys.args values (10739, 330, 'arg_2', 'decimal', 4, 0, 1, 2); 1331 ! 1330 insert into sys.args values (10737, 330, 'arg_2', 'bigint', 64, 0, 1, 2); 1330
1332 insert into sys.functions values (331, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1332 ! 1331 insert into sys.functions values (331, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1331
1333 insert into sys.args values (10740, 331, 'res_0', 'decimal', 9, 0, 0, 0); 1333 ! 1332 insert into sys.args values (10738, 331, 'res_0', 'decimal', 9, 0, 0, 0); 1332
1334 insert into sys.args values (10741, 331, 'arg_1', 'decimal', 9, 0, 1, 1); 1334 ! 1333 insert into sys.args values (10739, 331, 'arg_1', 'decimal', 9, 0, 1, 1); 1333
1335 insert into sys.args values (10742, 331, 'arg_2', 'decimal', 4, 0, 1, 2); 1335 ! 1334 insert into sys.args values (10740, 331, 'arg_2', 'decimal', 4, 0, 1, 2); 1334
1336 insert into sys.functions values (332, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1336 ! 1335 insert into sys.functions values (332, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1335
1337 insert into sys.args values (10743, 332, 'res_0', 'decimal', 18, 0, 0, 0); 1337 ! 1336 insert into sys.args values (10741, 332, 'res_0', 'decimal', 9, 0, 0, 0); 1336
1338 insert into sys.args values (10744, 332, 'arg_1', 'decimal', 18, 0, 1, 1); 1338 ! 1337 insert into sys.args values (10742, 332, 'arg_1', 'decimal', 9, 0, 1, 1); 1337
1339 insert into sys.args values (10745, 332, 'arg_2', 'decimal', 4, 0, 1, 2); 1339 ! 1338 insert into sys.args values (10743, 332, 'arg_2', 'decimal', 4, 0, 1, 2); 1338
1340 insert into sys.functions values (333, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1340 ! 1339 insert into sys.functions values (333, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1339
1341 insert into sys.args values (10746, 333, 'res_0', 'decimal', 18, 0, 0, 0); 1341 ! 1340 insert into sys.args values (10744, 333, 'res_0', 'decimal', 18, 0, 0, 0); 1340
1342 insert into sys.args values (10747, 333, 'arg_1', 'decimal', 18, 0, 1, 1); 1342 ! 1341 insert into sys.args values (10745, 333, 'arg_1', 'decimal', 18, 0, 1, 1); 1341
1343 insert into sys.args values (10748, 333, 'arg_2', 'decimal', 4, 0, 1, 2); 1343 ! 1342 insert into sys.args values (10746, 333, 'arg_2', 'decimal', 4, 0, 1, 2); 1342
1344 insert into sys.functions values (334, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1344 ! 1343 insert into sys.functions values (334, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1343
1345 insert into sys.args values (10749, 334, 'res_0', 'decimal', 18, 0, 0, 0); 1345 ! 1344 insert into sys.args values (10747, 334, 'res_0', 'decimal', 18, 0, 0, 0); 1344
1346 insert into sys.args values (10750, 334, 'arg_1', 'decimal', 18, 0, 1, 1); 1346 ! 1345 insert into sys.args values (10748, 334, 'arg_1', 'decimal', 18, 0, 1, 1); 1345
1347 insert into sys.args values (10751, 334, 'arg_2', 'decimal', 9, 0, 1, 2); 1347 ! 1346 insert into sys.args values (10749, 334, 'arg_2', 'decimal', 4, 0, 1, 2); 1346
1348 insert into sys.functions values (335, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1348 ! 1347 insert into sys.functions values (335, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1347
1349 insert into sys.args values (10752, 335, 'res_0', 'decimal', 18, 0, 0, 0); 1349 ! 1348 insert into sys.args values (10750, 335, 'res_0', 'decimal', 18, 0, 0, 0); 1348
1350 insert into sys.args values (10753, 335, 'arg_1', 'decimal', 18, 0, 1, 1); 1350 ! 1349 insert into sys.args values (10751, 335, 'arg_1', 'decimal', 18, 0, 1, 1); 1349
1351 insert into sys.args values (10754, 335, 'arg_2', 'decimal', 9, 0, 1, 2); 1351 ! 1350 insert into sys.args values (10752, 335, 'arg_2', 'decimal', 9, 0, 1, 2); 1350
1352 insert into sys.functions values (336, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1352 ! 1351 insert into sys.functions values (336, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1351
1353 insert into sys.args values (10755, 336, 'res_0', 'decimal', 38, 0, 0, 0); 1353 ! 1352 insert into sys.args values (10753, 336, 'res_0', 'decimal', 18, 0, 0, 0); 1352
1354 insert into sys.args values (10756, 336, 'arg_1', 'decimal', 38, 0, 1, 1); 1354 ! 1353 insert into sys.args values (10754, 336, 'arg_1', 'decimal', 18, 0, 1, 1); 1353
1355 insert into sys.args values (10757, 336, 'arg_2', 'decimal', 4, 0, 1, 2); 1355 ! 1354 insert into sys.args values (10755, 336, 'arg_2', 'decimal', 9, 0, 1, 2); 1354
1356 insert into sys.functions values (337, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1356 ! 1355 insert into sys.functions values (337, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1355
1357 insert into sys.args values (10758, 337, 'res_0', 'decimal', 38, 0, 0, 0); 1357 ! 1356 insert into sys.args values (10756, 337, 'res_0', 'decimal', 38, 0, 0, 0); 1356
1358 insert into sys.args values (10759, 337, 'arg_1', 'decimal', 38, 0, 1, 1); 1358 ! 1357 insert into sys.args values (10757, 337, 'arg_1', 'decimal', 38, 0, 1, 1); 1357
1359 insert into sys.args values (10760, 337, 'arg_2', 'decimal', 4, 0, 1, 2); 1359 ! 1358 insert into sys.args values (10758, 337, 'arg_2', 'decimal', 4, 0, 1, 2); 1358
1360 insert into sys.functions values (338, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1360 ! 1359 insert into sys.functions values (338, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1359
1361 insert into sys.args values (10761, 338, 'res_0', 'decimal', 38, 0, 0, 0); 1361 ! 1360 insert into sys.args values (10759, 338, 'res_0', 'decimal', 38, 0, 0, 0); 1360
1362 insert into sys.args values (10762, 338, 'arg_1', 'decimal', 38, 0, 1, 1); 1362 ! 1361 insert into sys.args values (10760, 338, 'arg_1', 'decimal', 38, 0, 1, 1); 1361
1363 insert into sys.args values (10763, 338, 'arg_2', 'decimal', 9, 0, 1, 2); 1363 ! 1362 insert into sys.args values (10761, 338, 'arg_2', 'decimal', 4, 0, 1, 2); 1362
1364 insert into sys.functions values (339, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1364 ! 1363 insert into sys.functions values (339, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1363
1365 insert into sys.args values (10764, 339, 'res_0', 'decimal', 38, 0, 0, 0); 1365 ! 1364 insert into sys.args values (10762, 339, 'res_0', 'decimal', 38, 0, 0, 0); 1364
1366 insert into sys.args values (10765, 339, 'arg_1', 'decimal', 38, 0, 1, 1); 1366 ! 1365 insert into sys.args values (10763, 339, 'arg_1', 'decimal', 38, 0, 1, 1); 1365
1367 insert into sys.args values (10766, 339, 'arg_2', 'decimal', 9, 0, 1, 2); 1367 ! 1366 insert into sys.args values (10764, 339, 'arg_2', 'decimal', 9, 0, 1, 2); 1366
1368 insert into sys.functions values (340, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1368 ! 1367 insert into sys.functions values (340, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1367
1369 insert into sys.args values (10767, 340, 'res_0', 'decimal', 38, 0, 0, 0); 1369 ! 1368 insert into sys.args values (10765, 340, 'res_0', 'decimal', 38, 0, 0, 0); 1368
1370 insert into sys.args values (10768, 340, 'arg_1', 'decimal', 38, 0, 1, 1); 1370 ! 1369 insert into sys.args values (10766, 340, 'arg_1', 'decimal', 38, 0, 1, 1); 1369
1371 insert into sys.args values (10769, 340, 'arg_2', 'decimal', 18, 0, 1, 2); 1371 ! 1370 insert into sys.args values (10767, 340, 'arg_2', 'decimal', 9, 0, 1, 2); 1370
1372 insert into sys.functions values (341, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1372 ! 1371 insert into sys.functions values (341, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1371
1373 insert into sys.args values (10770, 341, 'res_0', 'decimal', 38, 0, 0, 0); 1373 ! 1372 insert into sys.args values (10768, 341, 'res_0', 'decimal', 38, 0, 0, 0); 1372
1374 insert into sys.args values (10771, 341, 'arg_1', 'decimal', 38, 0, 1, 1); 1374 ! 1373 insert into sys.args values (10769, 341, 'arg_1', 'decimal', 38, 0, 1, 1); 1373
1375 insert into sys.args values (10772, 341, 'arg_2', 'decimal', 18, 0, 1, 2); 1375 ! 1374 insert into sys.args values (10770, 341, 'arg_2', 'decimal', 18, 0, 1, 2); 1374
1376 insert into sys.functions values (342, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1376 ! 1375 insert into sys.functions values (342, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1375
1377 insert into sys.args values (10773, 342, 'res_0', 'oid', 63, 0, 0, 0); 1377 ! 1376 insert into sys.args values (10771, 342, 'res_0', 'decimal', 38, 0, 0, 0); 1376
1378 insert into sys.args values (10774, 342, 'arg_1', 'oid', 63, 0, 1, 1); 1378 ! 1377 insert into sys.args values (10772, 342, 'arg_1', 'decimal', 38, 0, 1, 1); 1377
1379 insert into sys.args values (10775, 342, 'arg_2', 'oid', 63, 0, 1, 2); 1379 ! 1378 insert into sys.args values (10773, 342, 'arg_2', 'decimal', 18, 0, 1, 2); 1378
1380 insert into sys.functions values (343, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1380 ! 1379 insert into sys.functions values (343, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1379
1381 insert into sys.args values (10776, 343, 'res_0', 'oid', 63, 0, 0, 0); 1381 ! 1380 insert into sys.args values (10774, 343, 'res_0', 'oid', 63, 0, 0, 0); 1380
1382 insert into sys.args values (10777, 343, 'arg_1', 'oid', 63, 0, 1, 1); 1382 ! 1381 insert into sys.args values (10775, 343, 'arg_1', 'oid', 63, 0, 1, 1); 1381
1383 insert into sys.args values (10778, 343, 'arg_2', 'oid', 63, 0, 1, 2); 1383 ! 1382 insert into sys.args values (10776, 343, 'arg_2', 'oid', 63, 0, 1, 2); 1382
1384 insert into sys.functions values (344, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1384 ! 1383 insert into sys.functions values (344, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1383
1385 insert into sys.args values (10779, 344, 'res_0', 'oid', 63, 0, 0, 0); 1385 ! 1384 insert into sys.args values (10777, 344, 'res_0', 'oid', 63, 0, 0, 0); 1384
1386 insert into sys.args values (10780, 344, 'arg_1', 'oid', 63, 0, 1, 1); 1386 ! 1385 insert into sys.args values (10778, 344, 'arg_1', 'oid', 63, 0, 1, 1); 1385
1387 insert into sys.args values (10781, 344, 'arg_2', 'oid', 63, 0, 1, 2); 1387 ! 1386 insert into sys.args values (10779, 344, 'arg_2', 'oid', 63, 0, 1, 2); 1386
1388 insert into sys.functions values (345, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1388 ! 1387 insert into sys.functions values (345, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1387
1389 insert into sys.args values (10782, 345, 'res_0', 'oid', 63, 0, 0, 0); 1389 ! 1388 insert into sys.args values (10780, 345, 'res_0', 'oid', 63, 0, 0, 0); 1388
1390 insert into sys.args values (10783, 345, 'arg_1', 'oid', 63, 0, 1, 1); 1390 ! 1389 insert into sys.args values (10781, 345, 'arg_1', 'oid', 63, 0, 1, 1); 1389
1391 insert into sys.args values (10784, 345, 'arg_2', 'oid', 63, 0, 1, 2); 1391 ! 1390 insert into sys.args values (10782, 345, 'arg_2', 'oid', 63, 0, 1, 2); 1390
1392 insert into sys.functions values (346, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1392 ! 1391 insert into sys.functions values (346, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1391
1393 insert into sys.args values (10785, 346, 'res_0', 'oid', 63, 0, 0, 0); 1393 ! 1392 insert into sys.args values (10783, 346, 'res_0', 'oid', 63, 0, 0, 0); 1392
1394 insert into sys.args values (10786, 346, 'arg_1', 'oid', 63, 0, 1, 1); 1394 ! 1393 insert into sys.args values (10784, 346, 'arg_1', 'oid', 63, 0, 1, 1); 1393
1395 insert into sys.args values (10787, 346, 'arg_2', 'oid', 63, 0, 1, 2); 1395 ! 1394 insert into sys.args values (10785, 346, 'arg_2', 'oid', 63, 0, 1, 2); 1394
1396 insert into sys.functions values (347, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1396 ! 1395 insert into sys.functions values (347, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1395
1397 insert into sys.args values (10788, 347, 'res_0', 'oid', 63, 0, 0, 0); 1397 ! 1396 insert into sys.args values (10786, 347, 'res_0', 'oid', 63, 0, 0, 0); 1396
1398 insert into sys.args values (10789, 347, 'arg_1', 'oid', 63, 0, 1, 1); 1398 ! 1397 insert into sys.args values (10787, 347, 'arg_1', 'oid', 63, 0, 1, 1); 1397
1399 insert into sys.args values (10790, 347, 'arg_2', 'oid', 63, 0, 1, 2); 1399 ! 1398 insert into sys.args values (10788, 347, 'arg_2', 'oid', 63, 0, 1, 2); 1398
1400 insert into sys.functions values (348, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1400 ! 1399 insert into sys.functions values (348, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1399
1401 insert into sys.args values (10791, 348, 'res_0', 'oid', 63, 0, 0, 0); 1401 ! 1400 insert into sys.args values (10789, 348, 'res_0', 'oid', 63, 0, 0, 0); 1400
1402 insert into sys.args values (10792, 348, 'arg_1', 'oid', 63, 0, 1, 1); 1402 ! 1401 insert into sys.args values (10790, 348, 'arg_1', 'oid', 63, 0, 1, 1); 1401
1403 insert into sys.args values (10793, 348, 'arg_2', 'oid', 63, 0, 1, 2); 1403 ! 1402 insert into sys.args values (10791, 348, 'arg_2', 'oid', 63, 0, 1, 2); 1402
1404 insert into sys.functions values (349, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1404 ! 1403 insert into sys.functions values (349, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1403
1405 insert into sys.args values (10794, 349, 'res_0', 'oid', 63, 0, 0, 0); 1405 ! 1404 insert into sys.args values (10792, 349, 'res_0', 'oid', 63, 0, 0, 0); 1404
1406 insert into sys.args values (10795, 349, 'arg_1', 'oid', 63, 0, 1, 1); 1406 ! 1405 insert into sys.args values (10793, 349, 'arg_1', 'oid', 63, 0, 1, 1); 1405
1407 insert into sys.functions values (350, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1407 ! 1406 insert into sys.args values (10794, 349, 'arg_2', 'oid', 63, 0, 1, 2); 1406
1408 insert into sys.args values (10796, 350, 'res_0', 'oid', 63, 0, 0, 0); 1408 ! 1407 insert into sys.functions values (350, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1407
1409 insert into sys.args values (10797, 350, 'arg_1', 'oid', 63, 0, 1, 1); 1409 ! 1408 insert into sys.args values (10795, 350, 'res_0', 'oid', 63, 0, 0, 0); 1408
1410 insert into sys.args values (10798, 350, 'arg_2', 'int', 32, 0, 1, 2); 1410 ! 1409 insert into sys.args values (10796, 350, 'arg_1', 'oid', 63, 0, 1, 1); 1409
1411 insert into sys.functions values (351, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1411 ! 1410 insert into sys.functions values (351, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1410
1412 insert into sys.args values (10799, 351, 'res_0', 'oid', 63, 0, 0, 0); 1412 ! 1411 insert into sys.args values (10797, 351, 'res_0', 'oid', 63, 0, 0, 0); 1411
1413 insert into sys.args values (10800, 351, 'arg_1', 'oid', 63, 0, 1, 1); 1413 ! 1412 insert into sys.args values (10798, 351, 'arg_1', 'oid', 63, 0, 1, 1); 1412
1414 insert into sys.args values (10801, 351, 'arg_2', 'int', 32, 0, 1, 2); 1414 ! 1413 insert into sys.args values (10799, 351, 'arg_2', 'int', 32, 0, 1, 2); 1413
1415 insert into sys.functions values (352, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1415 ! 1414 insert into sys.functions values (352, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1414
1416 insert into sys.args values (10802, 352, 'res_0', 'oid', 63, 0, 0, 0); 1416 ! 1415 insert into sys.args values (10800, 352, 'res_0', 'oid', 63, 0, 0, 0); 1415
1417 insert into sys.args values (10803, 352, 'arg_1', 'oid', 63, 0, 1, 1); 1417 ! 1416 insert into sys.args values (10801, 352, 'arg_1', 'oid', 63, 0, 1, 1); 1416
insert into sys. + 1417 insert into sys.args values (10802, 352, 'arg_2', 'int', 32, 0, 1, 2); 1417
1418 functions values (353, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1418 ! 1418 insert into sys.functions values (353, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1418
1419 insert into sys.args values (10804, 353, 'res_0', 'oid', 63, 0, 0, 0); 1419 ! 1419 insert into sys.args values (10803, 353, 'res_0', 'oid', 63, 0, 0, 0); 1419
1420 insert into sys.args values (10805, 353, 'arg_1', 'oid', 63, 0, 1, 1); 1420 ! 1420 insert into sys.args values (10804, 353, 'arg_1', 'oid', 63, 0, 1, 1); 1420
1421 insert into sys.functions values (354, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1421 ! 1421 insert into sys.functions values (354, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1421
1422 insert into sys.args values (10806, 354, 'res_0', 'tinyint', 8, 0, 0, 0); 1422 ! 1422 insert into sys.args values (10805, 354, 'res_0', 'oid', 63, 0, 0, 0); 1422
1423 insert into sys.args values (10807, 354, 'arg_1', 'oid', 63, 0, 1, 1); 1423 ! 1423 insert into sys.args values (10806, 354, 'arg_1', 'oid', 63, 0, 1, 1); 1423
1424 insert into sys.functions values (355, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1424 ! 1424 insert into sys.functions values (355, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1424
1425 insert into sys.args values (10808, 355, 'res_0', 'oid', 63, 0, 0, 0); 1425 -
1426 insert into sys.args values (10809, 355, 'arg_1', 'oid', 63, 0, 1, 1); 1426 ! 1425 insert into sys.args values (10807, 355, 'res_0', 'tinyint', 8, 0, 0, 0); 1425
1427 insert into sys.args values (10810, 355, 'arg_2', 'oid', 63, 0, 1, 2); 1427 ! 1426 insert into sys.args values (10808, 355, 'arg_1', 'oid', 63, 0, 1, 1); 1426
1428 insert into sys.functions values (356, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1428 ! 1427 insert into sys.functions values (356, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1427
1429 insert into sys.args values (10811, 356, 'res_0', 'oid', 63, 0, 0, 0); 1429 ! 1428 insert into sys.args values (10809, 356, 'res_0', 'oid', 63, 0, 0, 0); 1428
1430 insert into sys.args values (10812, 356, 'arg_1', 'oid', 63, 0, 1, 1); 1430 ! 1429 insert into sys.args values (10810, 356, 'arg_1', 'oid', 63, 0, 1, 1); 1429
1431 insert into sys.args values (10813, 356, 'arg_2', 'oid', 63, 0, 1, 2); 1431 ! 1430 insert into sys.args values (10811, 356, 'arg_2', 'oid', 63, 0, 1, 2); 1430
1432 insert into sys.functions values (357, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1432 ! 1431 insert into sys.functions values (357, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1431
1433 insert into sys.args values (10814, 357, 'res_0', 'month_interval', 32, 0, 0, 0); 1433 ! 1432 insert into sys.args values (10812, 357, 'res_0', 'oid', 63, 0, 0, 0); 1432
1434 insert into sys.args values (10815, 357, 'arg_1', 'month_interval', 32, 0, 1, 1); 1434 ! 1433 insert into sys.args values (10813, 357, 'arg_1', 'oid', 63, 0, 1, 1); 1433
1435 insert into sys.args values (10816, 357, 'arg_2', 'oid', 63, 0, 1, 2); 1435 ! 1434 insert into sys.args values (10814, 357, 'arg_2', 'oid', 63, 0, 1, 2); 1434
1436 insert into sys.functions values (358, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1436 ! 1435 insert into sys.functions values (358, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1435
1437 insert into sys.args values (10817, 358, 'res_0', 'month_interval', 32, 0, 0, 0); 1437 ! 1436 insert into sys.args values (10815, 358, 'res_0', 'month_interval', 32, 0, 0, 0); 1436
1438 insert into sys.args values (10818, 358, 'arg_1', 'month_interval', 32, 0, 1, 1); 1438 ! 1437 insert into sys.args values (10816, 358, 'arg_1', 'month_interval', 32, 0, 1, 1); 1437
1439 insert into sys.args values (10819, 358, 'arg_2', 'oid', 63, 0, 1, 2); 1439 ! 1438 insert into sys.args values (10817, 358, 'arg_2', 'oid', 63, 0, 1, 2); 1438
1440 insert into sys.functions values (359, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1440 ! 1439 insert into sys.functions values (359, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1439
1441 insert into sys.args values (10820, 359, 'res_0', 'sec_interval', 13, 0, 0, 0); 1441 ! 1440 insert into sys.args values (10818, 359, 'res_0', 'month_interval', 32, 0, 0, 0); 1440
1442 insert into sys.args values (10821, 359, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1442 ! 1441 insert into sys.args values (10819, 359, 'arg_1', 'month_interval', 32, 0, 1, 1); 1441
1443 insert into sys.args values (10822, 359, 'arg_2', 'oid', 63, 0, 1, 2); 1443 ! 1442 insert into sys.args values (10820, 359, 'arg_2', 'oid', 63, 0, 1, 2); 1442
1444 insert into sys.functions values (360, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1444 ! 1443 insert into sys.functions values (360, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1443
1445 insert into sys.args values (10823, 360, 'res_0', 'sec_interval', 13, 0, 0, 0); 1445 ! 1444 insert into sys.args values (10821, 360, 'res_0', 'sec_interval', 13, 0, 0, 0); 1444
1446 insert into sys.args values (10824, 360, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1446 ! 1445 insert into sys.args values (10822, 360, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1445
1447 insert into sys.args values (10825, 360, 'arg_2', 'oid', 63, 0, 1, 2); 1447 ! 1446 insert into sys.args values (10823, 360, 'arg_2', 'oid', 63, 0, 1, 2); 1446
1448 insert into sys.functions values (361, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1448 ! 1447 insert into sys.functions values (361, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1447
1449 insert into sys.args values (10826, 361, 'res_0', 'tinyint', 8, 0, 0, 0); 1449 ! 1448 insert into sys.args values (10824, 361, 'res_0', 'sec_interval', 13, 0, 0, 0); 1448
1450 insert into sys.args values (10827, 361, 'arg_1', 'tinyint', 8, 0, 1, 1); 1450 ! 1449 insert into sys.args values (10825, 361, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1449
1451 insert into sys.args values (10828, 361, 'arg_2', 'tinyint', 8, 0, 1, 2); 1451 ! 1450 insert into sys.args values (10826, 361, 'arg_2', 'oid', 63, 0, 1, 2); 1450
1452 insert into sys.functions values (362, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1452 ! 1451 insert into sys.functions values (362, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1451
1453 insert into sys.args values (10829, 362, 'res_0', 'tinyint', 8, 0, 0, 0); 1453 ! 1452 insert into sys.args values (10827, 362, 'res_0', 'tinyint', 8, 0, 0, 0); 1452
1454 insert into sys.args values (10830, 362, 'arg_1', 'tinyint', 8, 0, 1, 1); 1454 ! 1453 insert into sys.args values (10828, 362, 'arg_1', 'tinyint', 8, 0, 1, 1); 1453
1455 insert into sys.args values (10831, 362, 'arg_2', 'tinyint', 8, 0, 1, 2); 1455 ! 1454 insert into sys.args values (10829, 362, 'arg_2', 'tinyint', 8, 0, 1, 2); 1454
1456 insert into sys.functions values (363, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1456 ! 1455 insert into sys.functions values (363, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1455
1457 insert into sys.args values (10832, 363, 'res_0', 'tinyint', 8, 0, 0, 0); 1457 ! 1456 insert into sys.args values (10830, 363, 'res_0', 'tinyint', 8, 0, 0, 0); 1456
1458 insert into sys.args values (10833, 363, 'arg_1', 'tinyint', 8, 0, 1, 1); 1458 ! 1457 insert into sys.args values (10831, 363, 'arg_1', 'tinyint', 8, 0, 1, 1); 1457
1459 insert into sys.args values (10834, 363, 'arg_2', 'tinyint', 8, 0, 1, 2); 1459 ! 1458 insert into sys.args values (10832, 363, 'arg_2', 'tinyint', 8, 0, 1, 2); 1458
1460 insert into sys.functions values (364, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1460 ! 1459 insert into sys.functions values (364, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1459
1461 insert into sys.args values (10835, 364, 'res_0', 'tinyint', 8, 0, 0, 0); 1461 ! 1460 insert into sys.args values (10833, 364, 'res_0', 'tinyint', 8, 0, 0, 0); 1460
1462 insert into sys.args values (10836, 364, 'arg_1', 'tinyint', 8, 0, 1, 1); 1462 ! 1461 insert into sys.args values (10834, 364, 'arg_1', 'tinyint', 8, 0, 1, 1); 1461
1463 insert into sys.args values (10837, 364, 'arg_2', 'tinyint', 8, 0, 1, 2); 1463 ! 1462 insert into sys.args values (10835, 364, 'arg_2', 'tinyint', 8, 0, 1, 2); 1462
1464 insert into sys.functions values (365, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1464 ! 1463 insert into sys.functions values (365, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1463
1465 insert into sys.args values (10838, 365, 'res_0', 'tinyint', 8, 0, 0, 0); 1465 ! 1464 insert into sys.args values (10836, 365, 'res_0', 'tinyint', 8, 0, 0, 0); 1464
1466 insert into sys.args values (10839, 365, 'arg_1', 'tinyint', 8, 0, 1, 1); 1466 ! 1465 insert into sys.args values (10837, 365, 'arg_1', 'tinyint', 8, 0, 1, 1); 1465
1467 insert into sys.args values (10840, 365, 'arg_2', 'tinyint', 8, 0, 1, 2); 1467 ! 1466 insert into sys.args values (10838, 365, 'arg_2', 'tinyint', 8, 0, 1, 2); 1466
1468 insert into sys.functions values (366, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1468 ! 1467 insert into sys.functions values (366, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1467
1469 insert into sys.args values (10841, 366, 'res_0', 'tinyint', 8, 0, 0, 0); 1469 ! 1468 insert into sys.args values (10839, 366, 'res_0', 'tinyint', 8, 0, 0, 0); 1468
1470 insert into sys.args values (10842, 366, 'arg_1', 'tinyint', 8, 0, 1, 1); 1470 ! 1469 insert into sys.args values (10840, 366, 'arg_1', 'tinyint', 8, 0, 1, 1); 1469
1471 insert into sys.args values (10843, 366, 'arg_2', 'tinyint', 8, 0, 1, 2); 1471 ! 1470 insert into sys.args values (10841, 366, 'arg_2', 'tinyint', 8, 0, 1, 2); 1470
1472 insert into sys.functions values (367, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1472 ! 1471 insert into sys.functions values (367, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1471
1473 insert into sys.args values (10844, 367, 'res_0', 'tinyint', 8, 0, 0, 0); 1473 ! 1472 insert into sys.args values (10842, 367, 'res_0', 'tinyint', 8, 0, 0, 0); 1472
1474 insert into sys.args values (10845, 367, 'arg_1', 'tinyint', 8, 0, 1, 1); 1474 ! 1473 insert into sys.args values (10843, 367, 'arg_1', 'tinyint', 8, 0, 1, 1); 1473
1475 insert into sys.args values (10846, 367, 'arg_2', 'tinyint', 8, 0, 1, 2); 1475 ! 1474 insert into sys.args values (10844, 367, 'arg_2', 'tinyint', 8, 0, 1, 2); 1474
1476 insert into sys.functions values (368, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1476 ! 1475 insert into sys.functions values (368, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1475
1477 insert into sys.args values (10847, 368, 'res_0', 'tinyint', 8, 0, 0, 0); 1477 ! 1476 insert into sys.args values (10845, 368, 'res_0', 'tinyint', 8, 0, 0, 0); 1476
1478 insert into sys.args values (10848, 368, 'arg_1', 'tinyint', 8, 0, 1, 1); 1478 ! 1477 insert into sys.args values (10846, 368, 'arg_1', 'tinyint', 8, 0, 1, 1); 1477
1479 insert into sys.functions values (369, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1479 ! 1478 insert into sys.args values (10847, 368, 'arg_2', 'tinyint', 8, 0, 1, 2); 1478
1480 insert into sys.args values (10849, 369, 'res_0', 'tinyint', 8, 0, 0, 0); 1480 ! 1479 insert into sys.functions values (369, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1479
1481 insert into sys.args values (10850, 369, 'arg_1', 'tinyint', 8, 0, 1, 1); 1481 ! 1480 insert into sys.args values (10848, 369, 'res_0', 'tinyint', 8, 0, 0, 0); 1480
1482 insert into sys.args values (10851, 369, 'arg_2', 'int', 32, 0, 1, 2); 1482 ! 1481 insert into sys.args values (10849, 369, 'arg_1', 'tinyint', 8, 0, 1, 1); 1481
1483 insert into sys.functions values (370, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1483 ! 1482 insert into sys.functions values (370, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1482
1484 insert into sys.args values (10852, 370, 'res_0', 'tinyint', 8, 0, 0, 0); 1484 ! 1483 insert into sys.args values (10850, 370, 'res_0', 'tinyint', 8, 0, 0, 0); 1483
1485 insert into sys.args values (10853, 370, 'arg_1', 'tinyint', 8, 0, 1, 1); 1485 ! 1484 insert into sys.args values (10851, 370, 'arg_1', 'tinyint', 8, 0, 1, 1); 1484
1486 insert into sys.args values (10854, 370, 'arg_2', 'int', 32, 0, 1, 2); 1486 ! 1485 insert into sys.args values (10852, 370, 'arg_2', 'int', 32, 0, 1, 2); 1485
1487 insert into sys.functions values (371, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1487 ! 1486 insert into sys.functions values (371, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1486
1488 insert into sys.args values (10855, 371, 'res_0', 'tinyint', 8, 0, 0, 0); 1488 ! 1487 insert into sys.args values (10853, 371, 'res_0', 'tinyint', 8, 0, 0, 0); 1487
1489 insert into sys.args values (10856, 371, 'arg_1', 'tinyint', 8, 0, 1, 1); 1489 ! 1488 insert into sys.args values (10854, 371, 'arg_1', 'tinyint', 8, 0, 1, 1); 1488
insert into sys. + 1489 insert into sys.args values (10855, 371, 'arg_2', 'int', 32, 0, 1, 2); 1489
1490 functions values (372, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1490 ! 1490 insert into sys.functions values (372, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1490
1491 insert into sys.args values (10857, 372, 'res_0', 'tinyint', 8, 0, 0, 0); 1491 ! 1491 insert into sys.args values (10856, 372, 'res_0', 'tinyint', 8, 0, 0, 0); 1491
1492 insert into sys.args values (10858, 372, 'arg_1', 'tinyint', 8, 0, 1, 1); 1492 ! 1492 insert into sys.args values (10857, 372, 'arg_1', 'tinyint', 8, 0, 1, 1); 1492
1493 insert into sys.functions values (373, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1493 ! 1493 insert into sys.functions values (373, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1493
1494 insert into sys.args values (10859, 373, 'res_0', 'tinyint', 8, 0, 0, 0); 1494 ! 1494 insert into sys.args values (10858, 373, 'res_0', 'tinyint', 8, 0, 0, 0); 1494
1495 insert into sys.args values (10860, 373, 'arg_1', 'tinyint', 8, 0, 1, 1); 1495 ! 1495 insert into sys.args values (10859, 373, 'arg_1', 'tinyint', 8, 0, 1, 1); 1495
1496 insert into sys.functions values (374, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1496 ! 1496 insert into sys.functions values (374, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1496
1497 insert into sys.args values (10861, 374, 'res_0', 'tinyint', 8, 0, 0, 0); 1497 -
1498 insert into sys.args values (10862, 374, 'arg_1', 'tinyint', 8, 0, 1, 1); 1498 ! 1497 insert into sys.args values (10860, 374, 'res_0', 'tinyint', 8, 0, 0, 0); 1497
1499 insert into sys.args values (10863, 374, 'arg_2', 'tinyint', 8, 0, 1, 2); 1499 ! 1498 insert into sys.args values (10861, 374, 'arg_1', 'tinyint', 8, 0, 1, 1); 1498
1500 insert into sys.functions values (375, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1500 ! 1499 insert into sys.functions values (375, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1499
1501 insert into sys.args values (10864, 375, 'res_0', 'tinyint', 8, 0, 0, 0); 1501 ! 1500 insert into sys.args values (10862, 375, 'res_0', 'tinyint', 8, 0, 0, 0); 1500
1502 insert into sys.args values (10865, 375, 'arg_1', 'tinyint', 8, 0, 1, 1); 1502 ! 1501 insert into sys.args values (10863, 375, 'arg_1', 'tinyint', 8, 0, 1, 1); 1501
1503 insert into sys.args values (10866, 375, 'arg_2', 'tinyint', 8, 0, 1, 2); 1503 ! 1502 insert into sys.args values (10864, 375, 'arg_2', 'tinyint', 8, 0, 1, 2); 1502
1504 insert into sys.functions values (376, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1504 ! 1503 insert into sys.functions values (376, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1503
1505 insert into sys.args values (10867, 376, 'res_0', 'month_interval', 32, 0, 0, 0); 1505 ! 1504 insert into sys.args values (10865, 376, 'res_0', 'tinyint', 8, 0, 0, 0); 1504
1506 insert into sys.args values (10868, 376, 'arg_1', 'month_interval', 32, 0, 1, 1); 1506 ! 1505 insert into sys.args values (10866, 376, 'arg_1', 'tinyint', 8, 0, 1, 1); 1505
1507 insert into sys.args values (10869, 376, 'arg_2', 'tinyint', 8, 0, 1, 2); 1507 ! 1506 insert into sys.args values (10867, 376, 'arg_2', 'tinyint', 8, 0, 1, 2); 1506
1508 insert into sys.functions values (377, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1508 ! 1507 insert into sys.functions values (377, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1507
1509 insert into sys.args values (10870, 377, 'res_0', 'month_interval', 32, 0, 0, 0); 1509 ! 1508 insert into sys.args values (10868, 377, 'res_0', 'month_interval', 32, 0, 0, 0); 1508
1510 insert into sys.args values (10871, 377, 'arg_1', 'month_interval', 32, 0, 1, 1); 1510 ! 1509 insert into sys.args values (10869, 377, 'arg_1', 'month_interval', 32, 0, 1, 1); 1509
1511 insert into sys.args values (10872, 377, 'arg_2', 'tinyint', 8, 0, 1, 2); 1511 ! 1510 insert into sys.args values (10870, 377, 'arg_2', 'tinyint', 8, 0, 1, 2); 1510
1512 insert into sys.functions values (378, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1512 ! 1511 insert into sys.functions values (378, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1511
1513 insert into sys.args values (10873, 378, 'res_0', 'sec_interval', 13, 0, 0, 0); 1513 ! 1512 insert into sys.args values (10871, 378, 'res_0', 'month_interval', 32, 0, 0, 0); 1512
1514 insert into sys.args values (10874, 378, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1514 ! 1513 insert into sys.args values (10872, 378, 'arg_1', 'month_interval', 32, 0, 1, 1); 1513
1515 insert into sys.args values (10875, 378, 'arg_2', 'tinyint', 8, 0, 1, 2); 1515 ! 1514 insert into sys.args values (10873, 378, 'arg_2', 'tinyint', 8, 0, 1, 2); 1514
1516 insert into sys.functions values (379, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1516 ! 1515 insert into sys.functions values (379, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1515
1517 insert into sys.args values (10876, 379, 'res_0', 'sec_interval', 13, 0, 0, 0); 1517 ! 1516 insert into sys.args values (10874, 379, 'res_0', 'sec_interval', 13, 0, 0, 0); 1516
1518 insert into sys.args values (10877, 379, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1518 ! 1517 insert into sys.args values (10875, 379, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1517
1519 insert into sys.args values (10878, 379, 'arg_2', 'tinyint', 8, 0, 1, 2); 1519 ! 1518 insert into sys.args values (10876, 379, 'arg_2', 'tinyint', 8, 0, 1, 2); 1518
1520 insert into sys.functions values (380, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1520 ! 1519 insert into sys.functions values (380, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1519
1521 insert into sys.args values (10879, 380, 'res_0', 'smallint', 16, 0, 0, 0); 1521 ! 1520 insert into sys.args values (10877, 380, 'res_0', 'sec_interval', 13, 0, 0, 0); 1520
1522 insert into sys.args values (10880, 380, 'arg_1', 'smallint', 16, 0, 1, 1); 1522 ! 1521 insert into sys.args values (10878, 380, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1521
1523 insert into sys.args values (10881, 380, 'arg_2', 'smallint', 16, 0, 1, 2); 1523 ! 1522 insert into sys.args values (10879, 380, 'arg_2', 'tinyint', 8, 0, 1, 2); 1522
1524 insert into sys.functions values (381, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1524 ! 1523 insert into sys.functions values (381, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1523
1525 insert into sys.args values (10882, 381, 'res_0', 'smallint', 16, 0, 0, 0); 1525 ! 1524 insert into sys.args values (10880, 381, 'res_0', 'smallint', 16, 0, 0, 0); 1524
1526 insert into sys.args values (10883, 381, 'arg_1', 'smallint', 16, 0, 1, 1); 1526 ! 1525 insert into sys.args values (10881, 381, 'arg_1', 'smallint', 16, 0, 1, 1); 1525
1527 insert into sys.args values (10884, 381, 'arg_2', 'smallint', 16, 0, 1, 2); 1527 ! 1526 insert into sys.args values (10882, 381, 'arg_2', 'smallint', 16, 0, 1, 2); 1526
1528 insert into sys.functions values (382, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1528 ! 1527 insert into sys.functions values (382, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1527
1529 insert into sys.args values (10885, 382, 'res_0', 'smallint', 16, 0, 0, 0); 1529 ! 1528 insert into sys.args values (10883, 382, 'res_0', 'smallint', 16, 0, 0, 0); 1528
1530 insert into sys.args values (10886, 382, 'arg_1', 'smallint', 16, 0, 1, 1); 1530 ! 1529 insert into sys.args values (10884, 382, 'arg_1', 'smallint', 16, 0, 1, 1); 1529
1531 insert into sys.args values (10887, 382, 'arg_2', 'smallint', 16, 0, 1, 2); 1531 ! 1530 insert into sys.args values (10885, 382, 'arg_2', 'smallint', 16, 0, 1, 2); 1530
1532 insert into sys.functions values (383, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1532 ! 1531 insert into sys.functions values (383, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1531
1533 insert into sys.args values (10888, 383, 'res_0', 'smallint', 16, 0, 0, 0); 1533 ! 1532 insert into sys.args values (10886, 383, 'res_0', 'smallint', 16, 0, 0, 0); 1532
1534 insert into sys.args values (10889, 383, 'arg_1', 'smallint', 16, 0, 1, 1); 1534 ! 1533 insert into sys.args values (10887, 383, 'arg_1', 'smallint', 16, 0, 1, 1); 1533
1535 insert into sys.args values (10890, 383, 'arg_2', 'smallint', 16, 0, 1, 2); 1535 ! 1534 insert into sys.args values (10888, 383, 'arg_2', 'smallint', 16, 0, 1, 2); 1534
1536 insert into sys.functions values (384, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1536 ! 1535 insert into sys.functions values (384, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1535
1537 insert into sys.args values (10891, 384, 'res_0', 'smallint', 16, 0, 0, 0); 1537 ! 1536 insert into sys.args values (10889, 384, 'res_0', 'smallint', 16, 0, 0, 0); 1536
1538 insert into sys.args values (10892, 384, 'arg_1', 'smallint', 16, 0, 1, 1); 1538 ! 1537 insert into sys.args values (10890, 384, 'arg_1', 'smallint', 16, 0, 1, 1); 1537
1539 insert into sys.args values (10893, 384, 'arg_2', 'smallint', 16, 0, 1, 2); 1539 ! 1538 insert into sys.args values (10891, 384, 'arg_2', 'smallint', 16, 0, 1, 2); 1538
1540 insert into sys.functions values (385, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1540 ! 1539 insert into sys.functions values (385, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1539
1541 insert into sys.args values (10894, 385, 'res_0', 'smallint', 16, 0, 0, 0); 1541 ! 1540 insert into sys.args values (10892, 385, 'res_0', 'smallint', 16, 0, 0, 0); 1540
1542 insert into sys.args values (10895, 385, 'arg_1', 'smallint', 16, 0, 1, 1); 1542 ! 1541 insert into sys.args values (10893, 385, 'arg_1', 'smallint', 16, 0, 1, 1); 1541
1543 insert into sys.args values (10896, 385, 'arg_2', 'smallint', 16, 0, 1, 2); 1543 ! 1542 insert into sys.args values (10894, 385, 'arg_2', 'smallint', 16, 0, 1, 2); 1542
1544 insert into sys.functions values (386, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1544 ! 1543 insert into sys.functions values (386, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1543
1545 insert into sys.args values (10897, 386, 'res_0', 'smallint', 16, 0, 0, 0); 1545 ! 1544 insert into sys.args values (10895, 386, 'res_0', 'smallint', 16, 0, 0, 0); 1544
1546 insert into sys.args values (10898, 386, 'arg_1', 'smallint', 16, 0, 1, 1); 1546 ! 1545 insert into sys.args values (10896, 386, 'arg_1', 'smallint', 16, 0, 1, 1); 1545
1547 insert into sys.args values (10899, 386, 'arg_2', 'smallint', 16, 0, 1, 2); 1547 ! 1546 insert into sys.args values (10897, 386, 'arg_2', 'smallint', 16, 0, 1, 2); 1546
1548 insert into sys.functions values (387, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1548 ! 1547 insert into sys.functions values (387, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1547
1549 insert into sys.args values (10900, 387, 'res_0', 'smallint', 16, 0, 0, 0); 1549 ! 1548 insert into sys.args values (10898, 387, 'res_0', 'smallint', 16, 0, 0, 0); 1548
1550 insert into sys.args values (10901, 387, 'arg_1', 'smallint', 16, 0, 1, 1); 1550 ! 1549 insert into sys.args values (10899, 387, 'arg_1', 'smallint', 16, 0, 1, 1); 1549
1551 insert into sys.functions values (388, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1551 ! 1550 insert into sys.args values (10900, 387, 'arg_2', 'smallint', 16, 0, 1, 2); 1550
1552 insert into sys.args values (10902, 388, 'res_0', 'smallint', 16, 0, 0, 0); 1552 ! 1551 insert into sys.functions values (388, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1551
1553 insert into sys.args values (10903, 388, 'arg_1', 'smallint', 16, 0, 1, 1); 1553 ! 1552 insert into sys.args values (10901, 388, 'res_0', 'smallint', 16, 0, 0, 0); 1552
1554 insert into sys.args values (10904, 388, 'arg_2', 'int', 32, 0, 1, 2); 1554 ! 1553 insert into sys.args values (10902, 388, 'arg_1', 'smallint', 16, 0, 1, 1); 1553
1555 insert into sys.functions values (389, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1555 ! 1554 insert into sys.functions values (389, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1554
1556 insert into sys.args values (10905, 389, 'res_0', 'smallint', 16, 0, 0, 0); 1556 ! 1555 insert into sys.args values (10903, 389, 'res_0', 'smallint', 16, 0, 0, 0); 1555
1557 insert into sys.args values (10906, 389, 'arg_1', 'smallint', 16, 0, 1, 1); 1557 ! 1556 insert into sys.args values (10904, 389, 'arg_1', 'smallint', 16, 0, 1, 1); 1556
1558 insert into sys.args values (10907, 389, 'arg_2', 'int', 32, 0, 1, 2); 1558 ! 1557 insert into sys.args values (10905, 389, 'arg_2', 'int', 32, 0, 1, 2); 1557
1559 insert into sys.functions values (390, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1559 ! 1558 insert into sys.functions values (390, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1558
1560 insert into sys.args values (10908, 390, 'res_0', 'smallint', 16, 0, 0, 0); 1560 ! 1559 insert into sys.args values (10906, 390, 'res_0', 'smallint', 16, 0, 0, 0); 1559
1561 insert into sys.args values (10909, 390, 'arg_1', 'smallint', 16, 0, 1, 1); 1561 ! 1560 insert into sys.args values (10907, 390, 'arg_1', 'smallint', 16, 0, 1, 1); 1560
insert into sys. + 1561 insert into sys.args values (10908, 390, 'arg_2', 'int', 32, 0, 1, 2); 1561
1562 functions values (391, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1562 ! 1562 insert into sys.functions values (391, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1562
1563 insert into sys.args values (10910, 391, 'res_0', 'smallint', 16, 0, 0, 0); 1563 ! 1563 insert into sys.args values (10909, 391, 'res_0', 'smallint', 16, 0, 0, 0); 1563
1564 insert into sys.args values (10911, 391, 'arg_1', 'smallint', 16, 0, 1, 1); 1564 ! 1564 insert into sys.args values (10910, 391, 'arg_1', 'smallint', 16, 0, 1, 1); 1564
1565 insert into sys.functions values (392, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1565 ! 1565 insert into sys.functions values (392, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1565
1566 insert into sys.args values (10912, 392, 'res_0', 'tinyint', 8, 0, 0, 0); 1566 ! 1566 insert into sys.args values (10911, 392, 'res_0', 'smallint', 16, 0, 0, 0); 1566
1567 insert into sys.args values (10913, 392, 'arg_1', 'smallint', 16, 0, 1, 1); 1567 ! 1567 insert into sys.args values (10912, 392, 'arg_1', 'smallint', 16, 0, 1, 1); 1567
1568 insert into sys.functions values (393, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1568 ! 1568 insert into sys.functions values (393, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1568
1569 insert into sys.args values (10914, 393, 'res_0', 'smallint', 16, 0, 0, 0); 1569 -
1570 insert into sys.args values (10915, 393, 'arg_1', 'smallint', 16, 0, 1, 1); 1570 ! 1569 insert into sys.args values (10913, 393, 'res_0', 'tinyint', 8, 0, 0, 0); 1569
1571 insert into sys.args values (10916, 393, 'arg_2', 'smallint', 16, 0, 1, 2); 1571 ! 1570 insert into sys.args values (10914, 393, 'arg_1', 'smallint', 16, 0, 1, 1); 1570
1572 insert into sys.functions values (394, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1572 ! 1571 insert into sys.functions values (394, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1571
1573 insert into sys.args values (10917, 394, 'res_0', 'smallint', 16, 0, 0, 0); 1573 ! 1572 insert into sys.args values (10915, 394, 'res_0', 'smallint', 16, 0, 0, 0); 1572
1574 insert into sys.args values (10918, 394, 'arg_1', 'smallint', 16, 0, 1, 1); 1574 ! 1573 insert into sys.args values (10916, 394, 'arg_1', 'smallint', 16, 0, 1, 1); 1573
1575 insert into sys.args values (10919, 394, 'arg_2', 'smallint', 16, 0, 1, 2); 1575 ! 1574 insert into sys.args values (10917, 394, 'arg_2', 'smallint', 16, 0, 1, 2); 1574
1576 insert into sys.functions values (395, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1576 ! 1575 insert into sys.functions values (395, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1575
1577 insert into sys.args values (10920, 395, 'res_0', 'month_interval', 32, 0, 0, 0); 1577 ! 1576 insert into sys.args values (10918, 395, 'res_0', 'smallint', 16, 0, 0, 0); 1576
1578 insert into sys.args values (10921, 395, 'arg_1', 'month_interval', 32, 0, 1, 1); 1578 ! 1577 insert into sys.args values (10919, 395, 'arg_1', 'smallint', 16, 0, 1, 1); 1577
1579 insert into sys.args values (10922, 395, 'arg_2', 'smallint', 16, 0, 1, 2); 1579 ! 1578 insert into sys.args values (10920, 395, 'arg_2', 'smallint', 16, 0, 1, 2); 1578
1580 insert into sys.functions values (396, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1580 ! 1579 insert into sys.functions values (396, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1579
1581 insert into sys.args values (10923, 396, 'res_0', 'month_interval', 32, 0, 0, 0); 1581 ! 1580 insert into sys.args values (10921, 396, 'res_0', 'month_interval', 32, 0, 0, 0); 1580
1582 insert into sys.args values (10924, 396, 'arg_1', 'month_interval', 32, 0, 1, 1); 1582 ! 1581 insert into sys.args values (10922, 396, 'arg_1', 'month_interval', 32, 0, 1, 1); 1581
1583 insert into sys.args values (10925, 396, 'arg_2', 'smallint', 16, 0, 1, 2); 1583 ! 1582 insert into sys.args values (10923, 396, 'arg_2', 'smallint', 16, 0, 1, 2); 1582
1584 insert into sys.functions values (397, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1584 ! 1583 insert into sys.functions values (397, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1583
1585 insert into sys.args values (10926, 397, 'res_0', 'sec_interval', 13, 0, 0, 0); 1585 ! 1584 insert into sys.args values (10924, 397, 'res_0', 'month_interval', 32, 0, 0, 0); 1584
1586 insert into sys.args values (10927, 397, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1586 ! 1585 insert into sys.args values (10925, 397, 'arg_1', 'month_interval', 32, 0, 1, 1); 1585
1587 insert into sys.args values (10928, 397, 'arg_2', 'smallint', 16, 0, 1, 2); 1587 ! 1586 insert into sys.args values (10926, 397, 'arg_2', 'smallint', 16, 0, 1, 2); 1586
1588 insert into sys.functions values (398, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1588 ! 1587 insert into sys.functions values (398, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1587
1589 insert into sys.args values (10929, 398, 'res_0', 'sec_interval', 13, 0, 0, 0); 1589 ! 1588 insert into sys.args values (10927, 398, 'res_0', 'sec_interval', 13, 0, 0, 0); 1588
1590 insert into sys.args values (10930, 398, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1590 ! 1589 insert into sys.args values (10928, 398, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1589
1591 insert into sys.args values (10931, 398, 'arg_2', 'smallint', 16, 0, 1, 2); 1591 ! 1590 insert into sys.args values (10929, 398, 'arg_2', 'smallint', 16, 0, 1, 2); 1590
1592 insert into sys.functions values (399, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1592 ! 1591 insert into sys.functions values (399, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1591
1593 insert into sys.args values (10932, 399, 'res_0', 'int', 32, 0, 0, 0); 1593 ! 1592 insert into sys.args values (10930, 399, 'res_0', 'sec_interval', 13, 0, 0, 0); 1592
1594 insert into sys.args values (10933, 399, 'arg_1', 'int', 32, 0, 1, 1); 1594 ! 1593 insert into sys.args values (10931, 399, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1593
1595 insert into sys.args values (10934, 399, 'arg_2', 'int', 32, 0, 1, 2); 1595 ! 1594 insert into sys.args values (10932, 399, 'arg_2', 'smallint', 16, 0, 1, 2); 1594
1596 insert into sys.functions values (400, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1596 ! 1595 insert into sys.functions values (400, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1595
1597 insert into sys.args values (10935, 400, 'res_0', 'int', 32, 0, 0, 0); 1597 ! 1596 insert into sys.args values (10933, 400, 'res_0', 'int', 32, 0, 0, 0); 1596
1598 insert into sys.args values (10936, 400, 'arg_1', 'int', 32, 0, 1, 1); 1598 ! 1597 insert into sys.args values (10934, 400, 'arg_1', 'int', 32, 0, 1, 1); 1597
1599 insert into sys.args values (10937, 400, 'arg_2', 'int', 32, 0, 1, 2); 1599 ! 1598 insert into sys.args values (10935, 400, 'arg_2', 'int', 32, 0, 1, 2); 1598
1600 insert into sys.functions values (401, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1600 ! 1599 insert into sys.functions values (401, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1599
1601 insert into sys.args values (10938, 401, 'res_0', 'int', 32, 0, 0, 0); 1601 ! 1600 insert into sys.args values (10936, 401, 'res_0', 'int', 32, 0, 0, 0); 1600
1602 insert into sys.args values (10939, 401, 'arg_1', 'int', 32, 0, 1, 1); 1602 ! 1601 insert into sys.args values (10937, 401, 'arg_1', 'int', 32, 0, 1, 1); 1601
1603 insert into sys.args values (10940, 401, 'arg_2', 'int', 32, 0, 1, 2); 1603 ! 1602 insert into sys.args values (10938, 401, 'arg_2', 'int', 32, 0, 1, 2); 1602
1604 insert into sys.functions values (402, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1604 ! 1603 insert into sys.functions values (402, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1603
1605 insert into sys.args values (10941, 402, 'res_0', 'int', 32, 0, 0, 0); 1605 ! 1604 insert into sys.args values (10939, 402, 'res_0', 'int', 32, 0, 0, 0); 1604
1606 insert into sys.args values (10942, 402, 'arg_1', 'int', 32, 0, 1, 1); 1606 ! 1605 insert into sys.args values (10940, 402, 'arg_1', 'int', 32, 0, 1, 1); 1605
1607 insert into sys.args values (10943, 402, 'arg_2', 'int', 32, 0, 1, 2); 1607 ! 1606 insert into sys.args values (10941, 402, 'arg_2', 'int', 32, 0, 1, 2); 1606
1608 insert into sys.functions values (403, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1608 ! 1607 insert into sys.functions values (403, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1607
1609 insert into sys.args values (10944, 403, 'res_0', 'int', 32, 0, 0, 0); 1609 ! 1608 insert into sys.args values (10942, 403, 'res_0', 'int', 32, 0, 0, 0); 1608
1610 insert into sys.args values (10945, 403, 'arg_1', 'int', 32, 0, 1, 1); 1610 ! 1609 insert into sys.args values (10943, 403, 'arg_1', 'int', 32, 0, 1, 1); 1609
1611 insert into sys.args values (10946, 403, 'arg_2', 'int', 32, 0, 1, 2); 1611 ! 1610 insert into sys.args values (10944, 403, 'arg_2', 'int', 32, 0, 1, 2); 1610
1612 insert into sys.functions values (404, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1612 ! 1611 insert into sys.functions values (404, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1611
1613 insert into sys.args values (10947, 404, 'res_0', 'int', 32, 0, 0, 0); 1613 ! 1612 insert into sys.args values (10945, 404, 'res_0', 'int', 32, 0, 0, 0); 1612
1614 insert into sys.args values (10948, 404, 'arg_1', 'int', 32, 0, 1, 1); 1614 ! 1613 insert into sys.args values (10946, 404, 'arg_1', 'int', 32, 0, 1, 1); 1613
1615 insert into sys.args values (10949, 404, 'arg_2', 'int', 32, 0, 1, 2); 1615 ! 1614 insert into sys.args values (10947, 404, 'arg_2', 'int', 32, 0, 1, 2); 1614
1616 insert into sys.functions values (405, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1616 ! 1615 insert into sys.functions values (405, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1615
1617 insert into sys.args values (10950, 405, 'res_0', 'int', 32, 0, 0, 0); 1617 ! 1616 insert into sys.args values (10948, 405, 'res_0', 'int', 32, 0, 0, 0); 1616
1618 insert into sys.args values (10951, 405, 'arg_1', 'int', 32, 0, 1, 1); 1618 ! 1617 insert into sys.args values (10949, 405, 'arg_1', 'int', 32, 0, 1, 1); 1617
1619 insert into sys.args values (10952, 405, 'arg_2', 'int', 32, 0, 1, 2); 1619 ! 1618 insert into sys.args values (10950, 405, 'arg_2', 'int', 32, 0, 1, 2); 1618
1620 insert into sys.functions values (406, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1620 ! 1619 insert into sys.functions values (406, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1619
1621 insert into sys.args values (10953, 406, 'res_0', 'int', 32, 0, 0, 0); 1621 ! 1620 insert into sys.args values (10951, 406, 'res_0', 'int', 32, 0, 0, 0); 1620
1622 insert into sys.args values (10954, 406, 'arg_1', 'int', 32, 0, 1, 1); 1622 ! 1621 insert into sys.args values (10952, 406, 'arg_1', 'int', 32, 0, 1, 1); 1621
1623 insert into sys.functions values (407, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1623 ! 1622 insert into sys.args values (10953, 406, 'arg_2', 'int', 32, 0, 1, 2); 1622
1624 insert into sys.args values (10955, 407, 'res_0', 'int', 32, 0, 0, 0); 1624 ! 1623 insert into sys.functions values (407, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1623
1625 insert into sys.args values (10956, 407, 'arg_1', 'int', 32, 0, 1, 1); 1625 ! 1624 insert into sys.args values (10954, 407, 'res_0', 'int', 32, 0, 0, 0); 1624
1626 insert into sys.args values (10957, 407, 'arg_2', 'int', 32, 0, 1, 2); 1626 ! 1625 insert into sys.args values (10955, 407, 'arg_1', 'int', 32, 0, 1, 1); 1625
1627 insert into sys.functions values (408, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1627 ! 1626 insert into sys.functions values (408, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1626
1628 insert into sys.args values (10958, 408, 'res_0', 'int', 32, 0, 0, 0); 1628 ! 1627 insert into sys.args values (10956, 408, 'res_0', 'int', 32, 0, 0, 0); 1627
1629 insert into sys.args values (10959, 408, 'arg_1', 'int', 32, 0, 1, 1); 1629 ! 1628 insert into sys.args values (10957, 408, 'arg_1', 'int', 32, 0, 1, 1); 1628
1630 insert into sys.args values (10960, 408, 'arg_2', 'int', 32, 0, 1, 2); 1630 ! 1629 insert into sys.args values (10958, 408, 'arg_2', 'int', 32, 0, 1, 2); 1629
1631 insert into sys.functions values (409, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1631 ! 1630 insert into sys.functions values (409, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1630
1632 insert into sys.args values (10961, 409, 'res_0', 'int', 32, 0, 0, 0); 1632 ! 1631 insert into sys.args values (10959, 409, 'res_0', 'int', 32, 0, 0, 0); 1631
1633 insert into sys.args values (10962, 409, 'arg_1', 'int', 32, 0, 1, 1); 1633 ! 1632 insert into sys.args values (10960, 409, 'arg_1', 'int', 32, 0, 1, 1); 1632
insert into sys. + 1633 insert into sys.args values (10961, 409, 'arg_2', 'int', 32, 0, 1, 2); 1633
1634 functions values (410, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1634 ! 1634 insert into sys.functions values (410, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1634
1635 insert into sys.args values (10963, 410, 'res_0', 'int', 32, 0, 0, 0); 1635 ! 1635 insert into sys.args values (10962, 410, 'res_0', 'int', 32, 0, 0, 0); 1635
1636 insert into sys.args values (10964, 410, 'arg_1', 'int', 32, 0, 1, 1); 1636 ! 1636 insert into sys.args values (10963, 410, 'arg_1', 'int', 32, 0, 1, 1); 1636
1637 insert into sys.functions values (411, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1637 ! 1637 insert into sys.functions values (411, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1637
1638 insert into sys.args values (10965, 411, 'res_0', 'tinyint', 8, 0, 0, 0); 1638 ! 1638 insert into sys.args values (10964, 411, 'res_0', 'int', 32, 0, 0, 0); 1638
1639 insert into sys.args values (10966, 411, 'arg_1', 'int', 32, 0, 1, 1); 1639 ! 1639 insert into sys.args values (10965, 411, 'arg_1', 'int', 32, 0, 1, 1); 1639
1640 insert into sys.functions values (412, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1640 ! 1640 insert into sys.functions values (412, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1640
1641 insert into sys.args values (10967, 412, 'res_0', 'int', 32, 0, 0, 0); 1641 -
1642 insert into sys.args values (10968, 412, 'arg_1', 'int', 32, 0, 1, 1); 1642 ! 1641 insert into sys.args values (10966, 412, 'res_0', 'tinyint', 8, 0, 0, 0); 1641
1643 insert into sys.args values (10969, 412, 'arg_2', 'int', 32, 0, 1, 2); 1643 ! 1642 insert into sys.args values (10967, 412, 'arg_1', 'int', 32, 0, 1, 1); 1642
1644 insert into sys.functions values (413, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1644 ! 1643 insert into sys.functions values (413, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1643
1645 insert into sys.args values (10970, 413, 'res_0', 'int', 32, 0, 0, 0); 1645 ! 1644 insert into sys.args values (10968, 413, 'res_0', 'int', 32, 0, 0, 0); 1644
1646 insert into sys.args values (10971, 413, 'arg_1', 'int', 32, 0, 1, 1); 1646 ! 1645 insert into sys.args values (10969, 413, 'arg_1', 'int', 32, 0, 1, 1); 1645
1647 insert into sys.args values (10972, 413, 'arg_2', 'int', 32, 0, 1, 2); 1647 ! 1646 insert into sys.args values (10970, 413, 'arg_2', 'int', 32, 0, 1, 2); 1646
1648 insert into sys.functions values (414, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1648 ! 1647 insert into sys.functions values (414, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1647
1649 insert into sys.args values (10973, 414, 'res_0', 'month_interval', 32, 0, 0, 0); 1649 ! 1648 insert into sys.args values (10971, 414, 'res_0', 'int', 32, 0, 0, 0); 1648
1650 insert into sys.args values (10974, 414, 'arg_1', 'month_interval', 32, 0, 1, 1); 1650 ! 1649 insert into sys.args values (10972, 414, 'arg_1', 'int', 32, 0, 1, 1); 1649
1651 insert into sys.args values (10975, 414, 'arg_2', 'int', 32, 0, 1, 2); 1651 ! 1650 insert into sys.args values (10973, 414, 'arg_2', 'int', 32, 0, 1, 2); 1650
1652 insert into sys.functions values (415, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1652 ! 1651 insert into sys.functions values (415, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1651
1653 insert into sys.args values (10976, 415, 'res_0', 'month_interval', 32, 0, 0, 0); 1653 ! 1652 insert into sys.args values (10974, 415, 'res_0', 'month_interval', 32, 0, 0, 0); 1652
1654 insert into sys.args values (10977, 415, 'arg_1', 'month_interval', 32, 0, 1, 1); 1654 ! 1653 insert into sys.args values (10975, 415, 'arg_1', 'month_interval', 32, 0, 1, 1); 1653
1655 insert into sys.args values (10978, 415, 'arg_2', 'int', 32, 0, 1, 2); 1655 ! 1654 insert into sys.args values (10976, 415, 'arg_2', 'int', 32, 0, 1, 2); 1654
1656 insert into sys.functions values (416, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1656 ! 1655 insert into sys.functions values (416, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1655
1657 insert into sys.args values (10979, 416, 'res_0', 'sec_interval', 13, 0, 0, 0); 1657 ! 1656 insert into sys.args values (10977, 416, 'res_0', 'month_interval', 32, 0, 0, 0); 1656
1658 insert into sys.args values (10980, 416, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1658 ! 1657 insert into sys.args values (10978, 416, 'arg_1', 'month_interval', 32, 0, 1, 1); 1657
1659 insert into sys.args values (10981, 416, 'arg_2', 'int', 32, 0, 1, 2); 1659 ! 1658 insert into sys.args values (10979, 416, 'arg_2', 'int', 32, 0, 1, 2); 1658
1660 insert into sys.functions values (417, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1660 ! 1659 insert into sys.functions values (417, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1659
1661 insert into sys.args values (10982, 417, 'res_0', 'sec_interval', 13, 0, 0, 0); 1661 ! 1660 insert into sys.args values (10980, 417, 'res_0', 'sec_interval', 13, 0, 0, 0); 1660
1662 insert into sys.args values (10983, 417, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1662 ! 1661 insert into sys.args values (10981, 417, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1661
1663 insert into sys.args values (10984, 417, 'arg_2', 'int', 32, 0, 1, 2); 1663 ! 1662 insert into sys.args values (10982, 417, 'arg_2', 'int', 32, 0, 1, 2); 1662
1664 insert into sys.functions values (418, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1664 ! 1663 insert into sys.functions values (418, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1663
1665 insert into sys.args values (10985, 418, 'res_0', 'bigint', 64, 0, 0, 0); 1665 ! 1664 insert into sys.args values (10983, 418, 'res_0', 'sec_interval', 13, 0, 0, 0); 1664
1666 insert into sys.args values (10986, 418, 'arg_1', 'bigint', 64, 0, 1, 1); 1666 ! 1665 insert into sys.args values (10984, 418, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1665
1667 insert into sys.args values (10987, 418, 'arg_2', 'bigint', 64, 0, 1, 2); 1667 ! 1666 insert into sys.args values (10985, 418, 'arg_2', 'int', 32, 0, 1, 2); 1666
1668 insert into sys.functions values (419, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1668 ! 1667 insert into sys.functions values (419, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1667
1669 insert into sys.args values (10988, 419, 'res_0', 'bigint', 64, 0, 0, 0); 1669 ! 1668 insert into sys.args values (10986, 419, 'res_0', 'bigint', 64, 0, 0, 0); 1668
1670 insert into sys.args values (10989, 419, 'arg_1', 'bigint', 64, 0, 1, 1); 1670 ! 1669 insert into sys.args values (10987, 419, 'arg_1', 'bigint', 64, 0, 1, 1); 1669
1671 insert into sys.args values (10990, 419, 'arg_2', 'bigint', 64, 0, 1, 2); 1671 ! 1670 insert into sys.args values (10988, 419, 'arg_2', 'bigint', 64, 0, 1, 2); 1670
1672 insert into sys.functions values (420, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1672 ! 1671 insert into sys.functions values (420, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1671
1673 insert into sys.args values (10991, 420, 'res_0', 'bigint', 64, 0, 0, 0); 1673 ! 1672 insert into sys.args values (10989, 420, 'res_0', 'bigint', 64, 0, 0, 0); 1672
1674 insert into sys.args values (10992, 420, 'arg_1', 'bigint', 64, 0, 1, 1); 1674 ! 1673 insert into sys.args values (10990, 420, 'arg_1', 'bigint', 64, 0, 1, 1); 1673
1675 insert into sys.args values (10993, 420, 'arg_2', 'bigint', 64, 0, 1, 2); 1675 ! 1674 insert into sys.args values (10991, 420, 'arg_2', 'bigint', 64, 0, 1, 2); 1674
1676 insert into sys.functions values (421, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1676 ! 1675 insert into sys.functions values (421, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1675
1677 insert into sys.args values (10994, 421, 'res_0', 'bigint', 64, 0, 0, 0); 1677 ! 1676 insert into sys.args values (10992, 421, 'res_0', 'bigint', 64, 0, 0, 0); 1676
1678 insert into sys.args values (10995, 421, 'arg_1', 'bigint', 64, 0, 1, 1); 1678 ! 1677 insert into sys.args values (10993, 421, 'arg_1', 'bigint', 64, 0, 1, 1); 1677
1679 insert into sys.args values (10996, 421, 'arg_2', 'bigint', 64, 0, 1, 2); 1679 ! 1678 insert into sys.args values (10994, 421, 'arg_2', 'bigint', 64, 0, 1, 2); 1678
1680 insert into sys.functions values (422, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1680 ! 1679 insert into sys.functions values (422, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1679
1681 insert into sys.args values (10997, 422, 'res_0', 'bigint', 64, 0, 0, 0); 1681 ! 1680 insert into sys.args values (10995, 422, 'res_0', 'bigint', 64, 0, 0, 0); 1680
1682 insert into sys.args values (10998, 422, 'arg_1', 'bigint', 64, 0, 1, 1); 1682 ! 1681 insert into sys.args values (10996, 422, 'arg_1', 'bigint', 64, 0, 1, 1); 1681
1683 insert into sys.args values (10999, 422, 'arg_2', 'bigint', 64, 0, 1, 2); 1683 ! 1682 insert into sys.args values (10997, 422, 'arg_2', 'bigint', 64, 0, 1, 2); 1682
1684 insert into sys.functions values (423, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1684 ! 1683 insert into sys.functions values (423, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1683
1685 insert into sys.args values (11000, 423, 'res_0', 'bigint', 64, 0, 0, 0); 1685 ! 1684 insert into sys.args values (10998, 423, 'res_0', 'bigint', 64, 0, 0, 0); 1684
1686 insert into sys.args values (11001, 423, 'arg_1', 'bigint', 64, 0, 1, 1); 1686 ! 1685 insert into sys.args values (10999, 423, 'arg_1', 'bigint', 64, 0, 1, 1); 1685
1687 insert into sys.args values (11002, 423, 'arg_2', 'bigint', 64, 0, 1, 2); 1687 ! 1686 insert into sys.args values (11000, 423, 'arg_2', 'bigint', 64, 0, 1, 2); 1686
1688 insert into sys.functions values (424, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1688 ! 1687 insert into sys.functions values (424, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1687
1689 insert into sys.args values (11003, 424, 'res_0', 'bigint', 64, 0, 0, 0); 1689 ! 1688 insert into sys.args values (11001, 424, 'res_0', 'bigint', 64, 0, 0, 0); 1688
1690 insert into sys.args values (11004, 424, 'arg_1', 'bigint', 64, 0, 1, 1); 1690 ! 1689 insert into sys.args values (11002, 424, 'arg_1', 'bigint', 64, 0, 1, 1); 1689
1691 insert into sys.args values (11005, 424, 'arg_2', 'bigint', 64, 0, 1, 2); 1691 ! 1690 insert into sys.args values (11003, 424, 'arg_2', 'bigint', 64, 0, 1, 2); 1690
1692 insert into sys.functions values (425, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1692 ! 1691 insert into sys.functions values (425, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1691
1693 insert into sys.args values (11006, 425, 'res_0', 'bigint', 64, 0, 0, 0); 1693 ! 1692 insert into sys.args values (11004, 425, 'res_0', 'bigint', 64, 0, 0, 0); 1692
1694 insert into sys.args values (11007, 425, 'arg_1', 'bigint', 64, 0, 1, 1); 1694 ! 1693 insert into sys.args values (11005, 425, 'arg_1', 'bigint', 64, 0, 1, 1); 1693
1695 insert into sys.functions values (426, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1695 ! 1694 insert into sys.args values (11006, 425, 'arg_2', 'bigint', 64, 0, 1, 2); 1694
1696 insert into sys.args values (11008, 426, 'res_0', 'bigint', 64, 0, 0, 0); 1696 ! 1695 insert into sys.functions values (426, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1695
1697 insert into sys.args values (11009, 426, 'arg_1', 'bigint', 64, 0, 1, 1); 1697 ! 1696 insert into sys.args values (11007, 426, 'res_0', 'bigint', 64, 0, 0, 0); 1696
1698 insert into sys.args values (11010, 426, 'arg_2', 'int', 32, 0, 1, 2); 1698 ! 1697 insert into sys.args values (11008, 426, 'arg_1', 'bigint', 64, 0, 1, 1); 1697
1699 insert into sys.functions values (427, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1699 ! 1698 insert into sys.functions values (427, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1698
1700 insert into sys.args values (11011, 427, 'res_0', 'bigint', 64, 0, 0, 0); 1700 ! 1699 insert into sys.args values (11009, 427, 'res_0', 'bigint', 64, 0, 0, 0); 1699
1701 insert into sys.args values (11012, 427, 'arg_1', 'bigint', 64, 0, 1, 1); 1701 ! 1700 insert into sys.args values (11010, 427, 'arg_1', 'bigint', 64, 0, 1, 1); 1700
1702 insert into sys.args values (11013, 427, 'arg_2', 'int', 32, 0, 1, 2); 1702 ! 1701 insert into sys.args values (11011, 427, 'arg_2', 'int', 32, 0, 1, 2); 1701
1703 insert into sys.functions values (428, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1703 ! 1702 insert into sys.functions values (428, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1702
1704 insert into sys.args values (11014, 428, 'res_0', 'bigint', 64, 0, 0, 0); 1704 ! 1703 insert into sys.args values (11012, 428, 'res_0', 'bigint', 64, 0, 0, 0); 1703
1705 insert into sys.args values (11015, 428, 'arg_1', 'bigint', 64, 0, 1, 1); 1705 ! 1704 insert into sys.args values (11013, 428, 'arg_1', 'bigint', 64, 0, 1, 1); 1704
insert into sys. + 1705 insert into sys.args values (11014, 428, 'arg_2', 'int', 32, 0, 1, 2); 1705
1706 functions values (429, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1706 ! 1706 insert into sys.functions values (429, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1706
1707 insert into sys.args values (11016, 429, 'res_0', 'bigint', 64, 0, 0, 0); 1707 ! 1707 insert into sys.args values (11015, 429, 'res_0', 'bigint', 64, 0, 0, 0); 1707
1708 insert into sys.args values (11017, 429, 'arg_1', 'bigint', 64, 0, 1, 1); 1708 ! 1708 insert into sys.args values (11016, 429, 'arg_1', 'bigint', 64, 0, 1, 1); 1708
1709 insert into sys.functions values (430, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1709 ! 1709 insert into sys.functions values (430, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1709
1710 insert into sys.args values (11018, 430, 'res_0', 'tinyint', 8, 0, 0, 0); 1710 ! 1710 insert into sys.args values (11017, 430, 'res_0', 'bigint', 64, 0, 0, 0); 1710
1711 insert into sys.args values (11019, 430, 'arg_1', 'bigint', 64, 0, 1, 1); 1711 ! 1711 insert into sys.args values (11018, 430, 'arg_1', 'bigint', 64, 0, 1, 1); 1711
1712 insert into sys.functions values (431, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1712 ! 1712 insert into sys.functions values (431, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1712
1713 insert into sys.args values (11020, 431, 'res_0', 'bigint', 64, 0, 0, 0); 1713 -
1714 insert into sys.args values (11021, 431, 'arg_1', 'bigint', 64, 0, 1, 1); 1714 ! 1713 insert into sys.args values (11019, 431, 'res_0', 'tinyint', 8, 0, 0, 0); 1713
1715 insert into sys.args values (11022, 431, 'arg_2', 'bigint', 64, 0, 1, 2); 1715 ! 1714 insert into sys.args values (11020, 431, 'arg_1', 'bigint', 64, 0, 1, 1); 1714
1716 insert into sys.functions values (432, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1716 ! 1715 insert into sys.functions values (432, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1715
1717 insert into sys.args values (11023, 432, 'res_0', 'bigint', 64, 0, 0, 0); 1717 ! 1716 insert into sys.args values (11021, 432, 'res_0', 'bigint', 64, 0, 0, 0); 1716
1718 insert into sys.args values (11024, 432, 'arg_1', 'bigint', 64, 0, 1, 1); 1718 ! 1717 insert into sys.args values (11022, 432, 'arg_1', 'bigint', 64, 0, 1, 1); 1717
1719 insert into sys.args values (11025, 432, 'arg_2', 'bigint', 64, 0, 1, 2); 1719 ! 1718 insert into sys.args values (11023, 432, 'arg_2', 'bigint', 64, 0, 1, 2); 1718
1720 insert into sys.functions values (433, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1720 ! 1719 insert into sys.functions values (433, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1719
1721 insert into sys.args values (11026, 433, 'res_0', 'month_interval', 32, 0, 0, 0); 1721 ! 1720 insert into sys.args values (11024, 433, 'res_0', 'bigint', 64, 0, 0, 0); 1720
1722 insert into sys.args values (11027, 433, 'arg_1', 'month_interval', 32, 0, 1, 1); 1722 ! 1721 insert into sys.args values (11025, 433, 'arg_1', 'bigint', 64, 0, 1, 1); 1721
1723 insert into sys.args values (11028, 433, 'arg_2', 'bigint', 64, 0, 1, 2); 1723 ! 1722 insert into sys.args values (11026, 433, 'arg_2', 'bigint', 64, 0, 1, 2); 1722
1724 insert into sys.functions values (434, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1724 ! 1723 insert into sys.functions values (434, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1723
1725 insert into sys.args values (11029, 434, 'res_0', 'month_interval', 32, 0, 0, 0); 1725 ! 1724 insert into sys.args values (11027, 434, 'res_0', 'month_interval', 32, 0, 0, 0); 1724
1726 insert into sys.args values (11030, 434, 'arg_1', 'month_interval', 32, 0, 1, 1); 1726 ! 1725 insert into sys.args values (11028, 434, 'arg_1', 'month_interval', 32, 0, 1, 1); 1725
1727 insert into sys.args values (11031, 434, 'arg_2', 'bigint', 64, 0, 1, 2); 1727 ! 1726 insert into sys.args values (11029, 434, 'arg_2', 'bigint', 64, 0, 1, 2); 1726
1728 insert into sys.functions values (435, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1728 ! 1727 insert into sys.functions values (435, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1727
1729 insert into sys.args values (11032, 435, 'res_0', 'sec_interval', 13, 0, 0, 0); 1729 ! 1728 insert into sys.args values (11030, 435, 'res_0', 'month_interval', 32, 0, 0, 0); 1728
1730 insert into sys.args values (11033, 435, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1730 ! 1729 insert into sys.args values (11031, 435, 'arg_1', 'month_interval', 32, 0, 1, 1); 1729
1731 insert into sys.args values (11034, 435, 'arg_2', 'bigint', 64, 0, 1, 2); 1731 ! 1730 insert into sys.args values (11032, 435, 'arg_2', 'bigint', 64, 0, 1, 2); 1730
1732 insert into sys.functions values (436, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1732 ! 1731 insert into sys.functions values (436, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1731
1733 insert into sys.args values (11035, 436, 'res_0', 'sec_interval', 13, 0, 0, 0); 1733 ! 1732 insert into sys.args values (11033, 436, 'res_0', 'sec_interval', 13, 0, 0, 0); 1732
1734 insert into sys.args values (11036, 436, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1734 ! 1733 insert into sys.args values (11034, 436, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1733
1735 insert into sys.args values (11037, 436, 'arg_2', 'bigint', 64, 0, 1, 2); 1735 ! 1734 insert into sys.args values (11035, 436, 'arg_2', 'bigint', 64, 0, 1, 2); 1734
1736 insert into sys.functions values (437, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1736 ! 1735 insert into sys.functions values (437, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1735
1737 insert into sys.args values (11038, 437, 'res_0', 'hugeint', 128, 0, 0, 0); 1737 ! 1736 insert into sys.args values (11036, 437, 'res_0', 'sec_interval', 13, 0, 0, 0); 1736
1738 insert into sys.args values (11039, 437, 'arg_1', 'hugeint', 128, 0, 1, 1); 1738 ! 1737 insert into sys.args values (11037, 437, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1737
1739 insert into sys.args values (11040, 437, 'arg_2', 'hugeint', 128, 0, 1, 2); 1739 ! 1738 insert into sys.args values (11038, 437, 'arg_2', 'bigint', 64, 0, 1, 2); 1738
1740 insert into sys.functions values (438, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1740 ! 1739 insert into sys.functions values (438, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1739
1741 insert into sys.args values (11041, 438, 'res_0', 'hugeint', 128, 0, 0, 0); 1741 ! 1740 insert into sys.args values (11039, 438, 'res_0', 'hugeint', 128, 0, 0, 0); 1740
1742 insert into sys.args values (11042, 438, 'arg_1', 'hugeint', 128, 0, 1, 1); 1742 ! 1741 insert into sys.args values (11040, 438, 'arg_1', 'hugeint', 128, 0, 1, 1); 1741
1743 insert into sys.args values (11043, 438, 'arg_2', 'hugeint', 128, 0, 1, 2); 1743 ! 1742 insert into sys.args values (11041, 438, 'arg_2', 'hugeint', 128, 0, 1, 2); 1742
1744 insert into sys.functions values (439, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1744 ! 1743 insert into sys.functions values (439, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1743
1745 insert into sys.args values (11044, 439, 'res_0', 'hugeint', 128, 0, 0, 0); 1745 ! 1744 insert into sys.args values (11042, 439, 'res_0', 'hugeint', 128, 0, 0, 0); 1744
1746 insert into sys.args values (11045, 439, 'arg_1', 'hugeint', 128, 0, 1, 1); 1746 ! 1745 insert into sys.args values (11043, 439, 'arg_1', 'hugeint', 128, 0, 1, 1); 1745
1747 insert into sys.args values (11046, 439, 'arg_2', 'hugeint', 128, 0, 1, 2); 1747 ! 1746 insert into sys.args values (11044, 439, 'arg_2', 'hugeint', 128, 0, 1, 2); 1746
1748 insert into sys.functions values (440, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1748 ! 1747 insert into sys.functions values (440, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1747
1749 insert into sys.args values (11047, 440, 'res_0', 'hugeint', 128, 0, 0, 0); 1749 ! 1748 insert into sys.args values (11045, 440, 'res_0', 'hugeint', 128, 0, 0, 0); 1748
1750 insert into sys.args values (11048, 440, 'arg_1', 'hugeint', 128, 0, 1, 1); 1750 ! 1749 insert into sys.args values (11046, 440, 'arg_1', 'hugeint', 128, 0, 1, 1); 1749
1751 insert into sys.args values (11049, 440, 'arg_2', 'hugeint', 128, 0, 1, 2); 1751 ! 1750 insert into sys.args values (11047, 440, 'arg_2', 'hugeint', 128, 0, 1, 2); 1750
1752 insert into sys.functions values (441, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1752 ! 1751 insert into sys.functions values (441, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1751
1753 insert into sys.args values (11050, 441, 'res_0', 'hugeint', 128, 0, 0, 0); 1753 ! 1752 insert into sys.args values (11048, 441, 'res_0', 'hugeint', 128, 0, 0, 0); 1752
1754 insert into sys.args values (11051, 441, 'arg_1', 'hugeint', 128, 0, 1, 1); 1754 ! 1753 insert into sys.args values (11049, 441, 'arg_1', 'hugeint', 128, 0, 1, 1); 1753
1755 insert into sys.args values (11052, 441, 'arg_2', 'hugeint', 128, 0, 1, 2); 1755 ! 1754 insert into sys.args values (11050, 441, 'arg_2', 'hugeint', 128, 0, 1, 2); 1754
1756 insert into sys.functions values (442, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1756 ! 1755 insert into sys.functions values (442, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1755
1757 insert into sys.args values (11053, 442, 'res_0', 'hugeint', 128, 0, 0, 0); 1757 ! 1756 insert into sys.args values (11051, 442, 'res_0', 'hugeint', 128, 0, 0, 0); 1756
1758 insert into sys.args values (11054, 442, 'arg_1', 'hugeint', 128, 0, 1, 1); 1758 ! 1757 insert into sys.args values (11052, 442, 'arg_1', 'hugeint', 128, 0, 1, 1); 1757
1759 insert into sys.args values (11055, 442, 'arg_2', 'hugeint', 128, 0, 1, 2); 1759 ! 1758 insert into sys.args values (11053, 442, 'arg_2', 'hugeint', 128, 0, 1, 2); 1758
1760 insert into sys.functions values (443, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1760 ! 1759 insert into sys.functions values (443, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1759
1761 insert into sys.args values (11056, 443, 'res_0', 'hugeint', 128, 0, 0, 0); 1761 ! 1760 insert into sys.args values (11054, 443, 'res_0', 'hugeint', 128, 0, 0, 0); 1760
1762 insert into sys.args values (11057, 443, 'arg_1', 'hugeint', 128, 0, 1, 1); 1762 ! 1761 insert into sys.args values (11055, 443, 'arg_1', 'hugeint', 128, 0, 1, 1); 1761
1763 insert into sys.args values (11058, 443, 'arg_2', 'hugeint', 128, 0, 1, 2); 1763 ! 1762 insert into sys.args values (11056, 443, 'arg_2', 'hugeint', 128, 0, 1, 2); 1762
1764 insert into sys.functions values (444, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1764 ! 1763 insert into sys.functions values (444, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1763
1765 insert into sys.args values (11059, 444, 'res_0', 'hugeint', 128, 0, 0, 0); 1765 ! 1764 insert into sys.args values (11057, 444, 'res_0', 'hugeint', 128, 0, 0, 0); 1764
1766 insert into sys.args values (11060, 444, 'arg_1', 'hugeint', 128, 0, 1, 1); 1766 ! 1765 insert into sys.args values (11058, 444, 'arg_1', 'hugeint', 128, 0, 1, 1); 1765
1767 insert into sys.functions values (445, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1767 ! 1766 insert into sys.args values (11059, 444, 'arg_2', 'hugeint', 128, 0, 1, 2); 1766
1768 insert into sys.args values (11061, 445, 'res_0', 'hugeint', 128, 0, 0, 0); 1768 ! 1767 insert into sys.functions values (445, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1767
1769 insert into sys.args values (11062, 445, 'arg_1', 'hugeint', 128, 0, 1, 1); 1769 ! 1768 insert into sys.args values (11060, 445, 'res_0', 'hugeint', 128, 0, 0, 0); 1768
1770 insert into sys.args values (11063, 445, 'arg_2', 'int', 32, 0, 1, 2); 1770 ! 1769 insert into sys.args values (11061, 445, 'arg_1', 'hugeint', 128, 0, 1, 1); 1769
1771 insert into sys.functions values (446, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1771 ! 1770 insert into sys.functions values (446, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1770
1772 insert into sys.args values (11064, 446, 'res_0', 'hugeint', 128, 0, 0, 0); 1772 ! 1771 insert into sys.args values (11062, 446, 'res_0', 'hugeint', 128, 0, 0, 0); 1771
1773 insert into sys.args values (11065, 446, 'arg_1', 'hugeint', 128, 0, 1, 1); 1773 ! 1772 insert into sys.args values (11063, 446, 'arg_1', 'hugeint', 128, 0, 1, 1); 1772
1774 insert into sys.args values (11066, 446, 'arg_2', 'int', 32, 0, 1, 2); 1774 ! 1773 insert into sys.args values (11064, 446, 'arg_2', 'int', 32, 0, 1, 2); 1773
1775 insert into sys.functions values (447, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1775 ! 1774 insert into sys.functions values (447, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1774
1776 insert into sys.args values (11067, 447, 'res_0', 'hugeint', 128, 0, 0, 0); 1776 ! 1775 insert into sys.args values (11065, 447, 'res_0', 'hugeint', 128, 0, 0, 0); 1775
1777 insert into sys.args values (11068, 447, 'arg_1', 'hugeint', 128, 0, 1, 1); 1777 ! 1776 insert into sys.args values (11066, 447, 'arg_1', 'hugeint', 128, 0, 1, 1); 1776
insert into sys. + 1777 insert into sys.args values (11067, 447, 'arg_2', 'int', 32, 0, 1, 2); 1777
1778 functions values (448, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1778 ! 1778 insert into sys.functions values (448, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1778
1779 insert into sys.args values (11069, 448, 'res_0', 'hugeint', 128, 0, 0, 0); 1779 ! 1779 insert into sys.args values (11068, 448, 'res_0', 'hugeint', 128, 0, 0, 0); 1779
1780 insert into sys.args values (11070, 448, 'arg_1', 'hugeint', 128, 0, 1, 1); 1780 ! 1780 insert into sys.args values (11069, 448, 'arg_1', 'hugeint', 128, 0, 1, 1); 1780
1781 insert into sys.functions values (449, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1781 ! 1781 insert into sys.functions values (449, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1781
1782 insert into sys.args values (11071, 449, 'res_0', 'tinyint', 8, 0, 0, 0); 1782 ! 1782 insert into sys.args values (11070, 449, 'res_0', 'hugeint', 128, 0, 0, 0); 1782
1783 insert into sys.args values (11072, 449, 'arg_1', 'hugeint', 128, 0, 1, 1); 1783 ! 1783 insert into sys.args values (11071, 449, 'arg_1', 'hugeint', 128, 0, 1, 1); 1783
1784 insert into sys.functions values (450, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1784 ! 1784 insert into sys.functions values (450, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1784
1785 insert into sys.args values (11073, 450, 'res_0', 'hugeint', 128, 0, 0, 0); 1785 -
1786 insert into sys.args values (11074, 450, 'arg_1', 'hugeint', 128, 0, 1, 1); 1786 ! 1785 insert into sys.args values (11072, 450, 'res_0', 'tinyint', 8, 0, 0, 0); 1785
1787 insert into sys.args values (11075, 450, 'arg_2', 'hugeint', 128, 0, 1, 2); 1787 ! 1786 insert into sys.args values (11073, 450, 'arg_1', 'hugeint', 128, 0, 1, 1); 1786
1788 insert into sys.functions values (451, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1788 ! 1787 insert into sys.functions values (451, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1787
1789 insert into sys.args values (11076, 451, 'res_0', 'hugeint', 128, 0, 0, 0); 1789 ! 1788 insert into sys.args values (11074, 451, 'res_0', 'hugeint', 128, 0, 0, 0); 1788
1790 insert into sys.args values (11077, 451, 'arg_1', 'hugeint', 128, 0, 1, 1); 1790 ! 1789 insert into sys.args values (11075, 451, 'arg_1', 'hugeint', 128, 0, 1, 1); 1789
1791 insert into sys.args values (11078, 451, 'arg_2', 'hugeint', 128, 0, 1, 2); 1791 ! 1790 insert into sys.args values (11076, 451, 'arg_2', 'hugeint', 128, 0, 1, 2); 1790
1792 insert into sys.functions values (452, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1792 ! 1791 insert into sys.functions values (452, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1791
1793 insert into sys.args values (11079, 452, 'res_0', 'month_interval', 32, 0, 0, 0); 1793 ! 1792 insert into sys.args values (11077, 452, 'res_0', 'hugeint', 128, 0, 0, 0); 1792
1794 insert into sys.args values (11080, 452, 'arg_1', 'month_interval', 32, 0, 1, 1); 1794 ! 1793 insert into sys.args values (11078, 452, 'arg_1', 'hugeint', 128, 0, 1, 1); 1793
1795 insert into sys.args values (11081, 452, 'arg_2', 'hugeint', 128, 0, 1, 2); 1795 ! 1794 insert into sys.args values (11079, 452, 'arg_2', 'hugeint', 128, 0, 1, 2); 1794
1796 insert into sys.functions values (453, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1796 ! 1795 insert into sys.functions values (453, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1795
1797 insert into sys.args values (11082, 453, 'res_0', 'month_interval', 32, 0, 0, 0); 1797 ! 1796 insert into sys.args values (11080, 453, 'res_0', 'month_interval', 32, 0, 0, 0); 1796
1798 insert into sys.args values (11083, 453, 'arg_1', 'month_interval', 32, 0, 1, 1); 1798 ! 1797 insert into sys.args values (11081, 453, 'arg_1', 'month_interval', 32, 0, 1, 1); 1797
1799 insert into sys.args values (11084, 453, 'arg_2', 'hugeint', 128, 0, 1, 2); 1799 ! 1798 insert into sys.args values (11082, 453, 'arg_2', 'hugeint', 128, 0, 1, 2); 1798
1800 insert into sys.functions values (454, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1800 ! 1799 insert into sys.functions values (454, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1799
1801 insert into sys.args values (11085, 454, 'res_0', 'sec_interval', 13, 0, 0, 0); 1801 ! 1800 insert into sys.args values (11083, 454, 'res_0', 'month_interval', 32, 0, 0, 0); 1800
1802 insert into sys.args values (11086, 454, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1802 ! 1801 insert into sys.args values (11084, 454, 'arg_1', 'month_interval', 32, 0, 1, 1); 1801
1803 insert into sys.args values (11087, 454, 'arg_2', 'hugeint', 128, 0, 1, 2); 1803 ! 1802 insert into sys.args values (11085, 454, 'arg_2', 'hugeint', 128, 0, 1, 2); 1802
1804 insert into sys.functions values (455, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1804 ! 1803 insert into sys.functions values (455, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1803
1805 insert into sys.args values (11088, 455, 'res_0', 'sec_interval', 13, 0, 0, 0); 1805 ! 1804 insert into sys.args values (11086, 455, 'res_0', 'sec_interval', 13, 0, 0, 0); 1804
1806 insert into sys.args values (11089, 455, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1806 ! 1805 insert into sys.args values (11087, 455, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1805
1807 insert into sys.args values (11090, 455, 'arg_2', 'hugeint', 128, 0, 1, 2); 1807 ! 1806 insert into sys.args values (11088, 455, 'arg_2', 'hugeint', 128, 0, 1, 2); 1806
1808 insert into sys.functions values (456, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1808 ! 1807 insert into sys.functions values (456, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1807
1809 insert into sys.args values (11091, 456, 'res_0', 'decimal', 2, 0, 0, 0); 1809 ! 1808 insert into sys.args values (11089, 456, 'res_0', 'sec_interval', 13, 0, 0, 0); 1808
1810 insert into sys.args values (11092, 456, 'arg_1', 'decimal', 2, 0, 1, 1); 1810 ! 1809 insert into sys.args values (11090, 456, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1809
1811 insert into sys.args values (11093, 456, 'arg_2', 'decimal', 2, 0, 1, 2); 1811 ! 1810 insert into sys.args values (11091, 456, 'arg_2', 'hugeint', 128, 0, 1, 2); 1810
1812 insert into sys.functions values (457, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1812 ! 1811 insert into sys.functions values (457, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1811
1813 insert into sys.args values (11094, 457, 'res_0', 'decimal', 2, 0, 0, 0); 1813 ! 1812 insert into sys.args values (11092, 457, 'res_0', 'decimal', 2, 0, 0, 0); 1812
1814 insert into sys.args values (11095, 457, 'arg_1', 'decimal', 2, 0, 1, 1); 1814 ! 1813 insert into sys.args values (11093, 457, 'arg_1', 'decimal', 2, 0, 1, 1); 1813
1815 insert into sys.args values (11096, 457, 'arg_2', 'decimal', 2, 0, 1, 2); 1815 ! 1814 insert into sys.args values (11094, 457, 'arg_2', 'decimal', 2, 0, 1, 2); 1814
1816 insert into sys.functions values (458, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1816 ! 1815 insert into sys.functions values (458, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1815
1817 insert into sys.args values (11097, 458, 'res_0', 'decimal', 2, 0, 0, 0); 1817 ! 1816 insert into sys.args values (11095, 458, 'res_0', 'decimal', 2, 0, 0, 0); 1816
1818 insert into sys.args values (11098, 458, 'arg_1', 'decimal', 2, 0, 1, 1); 1818 ! 1817 insert into sys.args values (11096, 458, 'arg_1', 'decimal', 2, 0, 1, 1); 1817
1819 insert into sys.args values (11099, 458, 'arg_2', 'decimal', 2, 0, 1, 2); 1819 ! 1818 insert into sys.args values (11097, 458, 'arg_2', 'decimal', 2, 0, 1, 2); 1818
1820 insert into sys.functions values (459, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1820 ! 1819 insert into sys.functions values (459, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1819
1821 insert into sys.args values (11100, 459, 'res_0', 'decimal', 2, 0, 0, 0); 1821 ! 1820 insert into sys.args values (11098, 459, 'res_0', 'decimal', 2, 0, 0, 0); 1820
1822 insert into sys.args values (11101, 459, 'arg_1', 'decimal', 2, 0, 1, 1); 1822 ! 1821 insert into sys.args values (11099, 459, 'arg_1', 'decimal', 2, 0, 1, 1); 1821
1823 insert into sys.args values (11102, 459, 'arg_2', 'decimal', 2, 0, 1, 2); 1823 ! 1822 insert into sys.args values (11100, 459, 'arg_2', 'decimal', 2, 0, 1, 2); 1822
1824 insert into sys.functions values (460, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1824 ! 1823 insert into sys.functions values (460, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1823
1825 insert into sys.args values (11103, 460, 'res_0', 'decimal', 2, 0, 0, 0); 1825 ! 1824 insert into sys.args values (11101, 460, 'res_0', 'decimal', 2, 0, 0, 0); 1824
1826 insert into sys.args values (11104, 460, 'arg_1', 'decimal', 2, 0, 1, 1); 1826 ! 1825 insert into sys.args values (11102, 460, 'arg_1', 'decimal', 2, 0, 1, 1); 1825
1827 insert into sys.args values (11105, 460, 'arg_2', 'decimal', 2, 0, 1, 2); 1827 ! 1826 insert into sys.args values (11103, 460, 'arg_2', 'decimal', 2, 0, 1, 2); 1826
1828 insert into sys.functions values (461, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1828 ! 1827 insert into sys.functions values (461, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1827
1829 insert into sys.args values (11106, 461, 'res_0', 'decimal', 2, 0, 0, 0); 1829 ! 1828 insert into sys.args values (11104, 461, 'res_0', 'decimal', 2, 0, 0, 0); 1828
1830 insert into sys.args values (11107, 461, 'arg_1', 'decimal', 2, 0, 1, 1); 1830 ! 1829 insert into sys.args values (11105, 461, 'arg_1', 'decimal', 2, 0, 1, 1); 1829
1831 insert into sys.args values (11108, 461, 'arg_2', 'decimal', 2, 0, 1, 2); 1831 ! 1830 insert into sys.args values (11106, 461, 'arg_2', 'decimal', 2, 0, 1, 2); 1830
1832 insert into sys.functions values (462, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1832 ! 1831 insert into sys.functions values (462, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1831
1833 insert into sys.args values (11109, 462, 'res_0', 'decimal', 2, 0, 0, 0); 1833 ! 1832 insert into sys.args values (11107, 462, 'res_0', 'decimal', 2, 0, 0, 0); 1832
1834 insert into sys.args values (11110, 462, 'arg_1', 'decimal', 2, 0, 1, 1); 1834 ! 1833 insert into sys.args values (11108, 462, 'arg_1', 'decimal', 2, 0, 1, 1); 1833
1835 insert into sys.args values (11111, 462, 'arg_2', 'decimal', 2, 0, 1, 2); 1835 ! 1834 insert into sys.args values (11109, 462, 'arg_2', 'decimal', 2, 0, 1, 2); 1834
1836 insert into sys.functions values (463, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1836 ! 1835 insert into sys.functions values (463, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1835
1837 insert into sys.args values (11112, 463, 'res_0', 'decimal', 2, 0, 0, 0); 1837 ! 1836 insert into sys.args values (11110, 463, 'res_0', 'decimal', 2, 0, 0, 0); 1836
1838 insert into sys.args values (11113, 463, 'arg_1', 'decimal', 2, 0, 1, 1); 1838 ! 1837 insert into sys.args values (11111, 463, 'arg_1', 'decimal', 2, 0, 1, 1); 1837
1839 insert into sys.functions values (464, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1839 ! 1838 insert into sys.args values (11112, 463, 'arg_2', 'decimal', 2, 0, 1, 2); 1838
1840 insert into sys.args values (11114, 464, 'res_0', 'decimal', 2, 0, 0, 0); 1840 ! 1839 insert into sys.functions values (464, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1839
1841 insert into sys.args values (11115, 464, 'arg_1', 'decimal', 2, 0, 1, 1); 1841 ! 1840 insert into sys.args values (11113, 464, 'res_0', 'decimal', 2, 0, 0, 0); 1840
1842 insert into sys.args values (11116, 464, 'arg_2', 'int', 32, 0, 1, 2); 1842 ! 1841 insert into sys.args values (11114, 464, 'arg_1', 'decimal', 2, 0, 1, 1); 1841
1843 insert into sys.functions values (465, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1843 ! 1842 insert into sys.functions values (465, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1842
1844 insert into sys.args values (11117, 465, 'res_0', 'decimal', 2, 0, 0, 0); 1844 ! 1843 insert into sys.args values (11115, 465, 'res_0', 'decimal', 2, 0, 0, 0); 1843
1845 insert into sys.args values (11118, 465, 'arg_1', 'decimal', 2, 0, 1, 1); 1845 ! 1844 insert into sys.args values (11116, 465, 'arg_1', 'decimal', 2, 0, 1, 1); 1844
1846 insert into sys.args values (11119, 465, 'arg_2', 'int', 32, 0, 1, 2); 1846 ! 1845 insert into sys.args values (11117, 465, 'arg_2', 'int', 32, 0, 1, 2); 1845
1847 insert into sys.functions values (466, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1847 ! 1846 insert into sys.functions values (466, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1846
1848 insert into sys.args values (11120, 466, 'res_0', 'decimal', 2, 0, 0, 0); 1848 ! 1847 insert into sys.args values (11118, 466, 'res_0', 'decimal', 2, 0, 0, 0); 1847
1849 insert into sys.args values (11121, 466, 'arg_1', 'decimal', 2, 0, 1, 1); 1849 ! 1848 insert into sys.args values (11119, 466, 'arg_1', 'decimal', 2, 0, 1, 1); 1848
insert into sys. + 1849 insert into sys.args values (11120, 466, 'arg_2', 'int', 32, 0, 1, 2); 1849
1850 functions values (467, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1850 ! 1850 insert into sys.functions values (467, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1850
1851 insert into sys.args values (11122, 467, 'res_0', 'decimal', 2, 0, 0, 0); 1851 ! 1851 insert into sys.args values (11121, 467, 'res_0', 'decimal', 2, 0, 0, 0); 1851
1852 insert into sys.args values (11123, 467, 'arg_1', 'decimal', 2, 0, 1, 1); 1852 ! 1852 insert into sys.args values (11122, 467, 'arg_1', 'decimal', 2, 0, 1, 1); 1852
1853 insert into sys.functions values (468, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1853 ! 1853 insert into sys.functions values (468, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1853
1854 insert into sys.args values (11124, 468, 'res_0', 'tinyint', 8, 0, 0, 0); 1854 ! 1854 insert into sys.args values (11123, 468, 'res_0', 'decimal', 2, 0, 0, 0); 1854
1855 insert into sys.args values (11125, 468, 'arg_1', 'decimal', 2, 0, 1, 1); 1855 ! 1855 insert into sys.args values (11124, 468, 'arg_1', 'decimal', 2, 0, 1, 1); 1855
1856 insert into sys.functions values (469, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1856 ! 1856 insert into sys.functions values (469, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1856
1857 insert into sys.args values (11126, 469, 'res_0', 'decimal', 2, 0, 0, 0); 1857 -
1858 insert into sys.args values (11127, 469, 'arg_1', 'decimal', 2, 0, 1, 1); 1858 ! 1857 insert into sys.args values (11125, 469, 'res_0', 'tinyint', 8, 0, 0, 0); 1857
1859 insert into sys.args values (11128, 469, 'arg_2', 'tinyint', 8, 0, 1, 2); 1859 ! 1858 insert into sys.args values (11126, 469, 'arg_1', 'decimal', 2, 0, 1, 1); 1858
1860 insert into sys.functions values (470, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1860 ! 1859 insert into sys.functions values (470, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1859
1861 insert into sys.args values (11129, 470, 'res_0', 'decimal', 2, 0, 0, 0); 1861 ! 1860 insert into sys.args values (11127, 470, 'res_0', 'decimal', 2, 0, 0, 0); 1860
1862 insert into sys.args values (11130, 470, 'arg_1', 'decimal', 2, 0, 1, 1); 1862 ! 1861 insert into sys.args values (11128, 470, 'arg_1', 'decimal', 2, 0, 1, 1); 1861
1863 insert into sys.args values (11131, 470, 'arg_2', 'tinyint', 8, 0, 1, 2); 1863 ! 1862 insert into sys.args values (11129, 470, 'arg_2', 'tinyint', 8, 0, 1, 2); 1862
1864 insert into sys.functions values (471, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1864 ! 1863 insert into sys.functions values (471, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1863
1865 insert into sys.args values (11132, 471, 'res_0', 'month_interval', 32, 0, 0, 0); 1865 ! 1864 insert into sys.args values (11130, 471, 'res_0', 'decimal', 2, 0, 0, 0); 1864
1866 insert into sys.args values (11133, 471, 'arg_1', 'month_interval', 32, 0, 1, 1); 1866 ! 1865 insert into sys.args values (11131, 471, 'arg_1', 'decimal', 2, 0, 1, 1); 1865
1867 insert into sys.args values (11134, 471, 'arg_2', 'decimal', 2, 0, 1, 2); 1867 ! 1866 insert into sys.args values (11132, 471, 'arg_2', 'tinyint', 8, 0, 1, 2); 1866
1868 insert into sys.functions values (472, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1868 ! 1867 insert into sys.functions values (472, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1867
1869 insert into sys.args values (11135, 472, 'res_0', 'month_interval', 32, 0, 0, 0); 1869 ! 1868 insert into sys.args values (11133, 472, 'res_0', 'month_interval', 32, 0, 0, 0); 1868
1870 insert into sys.args values (11136, 472, 'arg_1', 'month_interval', 32, 0, 1, 1); 1870 ! 1869 insert into sys.args values (11134, 472, 'arg_1', 'month_interval', 32, 0, 1, 1); 1869
1871 insert into sys.args values (11137, 472, 'arg_2', 'decimal', 2, 0, 1, 2); 1871 ! 1870 insert into sys.args values (11135, 472, 'arg_2', 'decimal', 2, 0, 1, 2); 1870
1872 insert into sys.functions values (473, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1872 ! 1871 insert into sys.functions values (473, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1871
1873 insert into sys.args values (11138, 473, 'res_0', 'sec_interval', 13, 0, 0, 0); 1873 ! 1872 insert into sys.args values (11136, 473, 'res_0', 'month_interval', 32, 0, 0, 0); 1872
1874 insert into sys.args values (11139, 473, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1874 ! 1873 insert into sys.args values (11137, 473, 'arg_1', 'month_interval', 32, 0, 1, 1); 1873
1875 insert into sys.args values (11140, 473, 'arg_2', 'decimal', 2, 0, 1, 2); 1875 ! 1874 insert into sys.args values (11138, 473, 'arg_2', 'decimal', 2, 0, 1, 2); 1874
1876 insert into sys.functions values (474, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1876 ! 1875 insert into sys.functions values (474, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1875
1877 insert into sys.args values (11141, 474, 'res_0', 'sec_interval', 13, 0, 0, 0); 1877 ! 1876 insert into sys.args values (11139, 474, 'res_0', 'sec_interval', 13, 0, 0, 0); 1876
1878 insert into sys.args values (11142, 474, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1878 ! 1877 insert into sys.args values (11140, 474, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1877
1879 insert into sys.args values (11143, 474, 'arg_2', 'decimal', 2, 0, 1, 2); 1879 ! 1878 insert into sys.args values (11141, 474, 'arg_2', 'decimal', 2, 0, 1, 2); 1878
1880 insert into sys.functions values (475, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1880 ! 1879 insert into sys.functions values (475, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1879
1881 insert into sys.args values (11144, 475, 'res_0', 'decimal', 4, 0, 0, 0); 1881 ! 1880 insert into sys.args values (11142, 475, 'res_0', 'sec_interval', 13, 0, 0, 0); 1880
1882 insert into sys.args values (11145, 475, 'arg_1', 'decimal', 4, 0, 1, 1); 1882 ! 1881 insert into sys.args values (11143, 475, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1881
1883 insert into sys.args values (11146, 475, 'arg_2', 'decimal', 4, 0, 1, 2); 1883 ! 1882 insert into sys.args values (11144, 475, 'arg_2', 'decimal', 2, 0, 1, 2); 1882
1884 insert into sys.functions values (476, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1884 ! 1883 insert into sys.functions values (476, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1883
1885 insert into sys.args values (11147, 476, 'res_0', 'decimal', 4, 0, 0, 0); 1885 ! 1884 insert into sys.args values (11145, 476, 'res_0', 'decimal', 4, 0, 0, 0); 1884
1886 insert into sys.args values (11148, 476, 'arg_1', 'decimal', 4, 0, 1, 1); 1886 ! 1885 insert into sys.args values (11146, 476, 'arg_1', 'decimal', 4, 0, 1, 1); 1885
1887 insert into sys.args values (11149, 476, 'arg_2', 'decimal', 4, 0, 1, 2); 1887 ! 1886 insert into sys.args values (11147, 476, 'arg_2', 'decimal', 4, 0, 1, 2); 1886
1888 insert into sys.functions values (477, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1888 ! 1887 insert into sys.functions values (477, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1887
1889 insert into sys.args values (11150, 477, 'res_0', 'decimal', 4, 0, 0, 0); 1889 ! 1888 insert into sys.args values (11148, 477, 'res_0', 'decimal', 4, 0, 0, 0); 1888
1890 insert into sys.args values (11151, 477, 'arg_1', 'decimal', 4, 0, 1, 1); 1890 ! 1889 insert into sys.args values (11149, 477, 'arg_1', 'decimal', 4, 0, 1, 1); 1889
1891 insert into sys.args values (11152, 477, 'arg_2', 'decimal', 4, 0, 1, 2); 1891 ! 1890 insert into sys.args values (11150, 477, 'arg_2', 'decimal', 4, 0, 1, 2); 1890
1892 insert into sys.functions values (478, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1892 ! 1891 insert into sys.functions values (478, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1891
1893 insert into sys.args values (11153, 478, 'res_0', 'decimal', 4, 0, 0, 0); 1893 ! 1892 insert into sys.args values (11151, 478, 'res_0', 'decimal', 4, 0, 0, 0); 1892
1894 insert into sys.args values (11154, 478, 'arg_1', 'decimal', 4, 0, 1, 1); 1894 ! 1893 insert into sys.args values (11152, 478, 'arg_1', 'decimal', 4, 0, 1, 1); 1893
1895 insert into sys.args values (11155, 478, 'arg_2', 'decimal', 4, 0, 1, 2); 1895 ! 1894 insert into sys.args values (11153, 478, 'arg_2', 'decimal', 4, 0, 1, 2); 1894
1896 insert into sys.functions values (479, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1896 ! 1895 insert into sys.functions values (479, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1895
1897 insert into sys.args values (11156, 479, 'res_0', 'decimal', 4, 0, 0, 0); 1897 ! 1896 insert into sys.args values (11154, 479, 'res_0', 'decimal', 4, 0, 0, 0); 1896
1898 insert into sys.args values (11157, 479, 'arg_1', 'decimal', 4, 0, 1, 1); 1898 ! 1897 insert into sys.args values (11155, 479, 'arg_1', 'decimal', 4, 0, 1, 1); 1897
1899 insert into sys.args values (11158, 479, 'arg_2', 'decimal', 4, 0, 1, 2); 1899 ! 1898 insert into sys.args values (11156, 479, 'arg_2', 'decimal', 4, 0, 1, 2); 1898
1900 insert into sys.functions values (480, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1900 ! 1899 insert into sys.functions values (480, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1899
1901 insert into sys.args values (11159, 480, 'res_0', 'decimal', 4, 0, 0, 0); 1901 ! 1900 insert into sys.args values (11157, 480, 'res_0', 'decimal', 4, 0, 0, 0); 1900
1902 insert into sys.args values (11160, 480, 'arg_1', 'decimal', 4, 0, 1, 1); 1902 ! 1901 insert into sys.args values (11158, 480, 'arg_1', 'decimal', 4, 0, 1, 1); 1901
1903 insert into sys.args values (11161, 480, 'arg_2', 'decimal', 4, 0, 1, 2); 1903 ! 1902 insert into sys.args values (11159, 480, 'arg_2', 'decimal', 4, 0, 1, 2); 1902
1904 insert into sys.functions values (481, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1904 ! 1903 insert into sys.functions values (481, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1903
1905 insert into sys.args values (11162, 481, 'res_0', 'decimal', 4, 0, 0, 0); 1905 ! 1904 insert into sys.args values (11160, 481, 'res_0', 'decimal', 4, 0, 0, 0); 1904
1906 insert into sys.args values (11163, 481, 'arg_1', 'decimal', 4, 0, 1, 1); 1906 ! 1905 insert into sys.args values (11161, 481, 'arg_1', 'decimal', 4, 0, 1, 1); 1905
1907 insert into sys.args values (11164, 481, 'arg_2', 'decimal', 4, 0, 1, 2); 1907 ! 1906 insert into sys.args values (11162, 481, 'arg_2', 'decimal', 4, 0, 1, 2); 1906
1908 insert into sys.functions values (482, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1908 ! 1907 insert into sys.functions values (482, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1907
1909 insert into sys.args values (11165, 482, 'res_0', 'decimal', 4, 0, 0, 0); 1909 ! 1908 insert into sys.args values (11163, 482, 'res_0', 'decimal', 4, 0, 0, 0); 1908
1910 insert into sys.args values (11166, 482, 'arg_1', 'decimal', 4, 0, 1, 1); 1910 ! 1909 insert into sys.args values (11164, 482, 'arg_1', 'decimal', 4, 0, 1, 1); 1909
1911 insert into sys.functions values (483, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1911 ! 1910 insert into sys.args values (11165, 482, 'arg_2', 'decimal', 4, 0, 1, 2); 1910
1912 insert into sys.args values (11167, 483, 'res_0', 'decimal', 4, 0, 0, 0); 1912 ! 1911 insert into sys.functions values (483, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1911
1913 insert into sys.args values (11168, 483, 'arg_1', 'decimal', 4, 0, 1, 1); 1913 ! 1912 insert into sys.args values (11166, 483, 'res_0', 'decimal', 4, 0, 0, 0); 1912
1914 insert into sys.args values (11169, 483, 'arg_2', 'int', 32, 0, 1, 2); 1914 ! 1913 insert into sys.args values (11167, 483, 'arg_1', 'decimal', 4, 0, 1, 1); 1913
1915 insert into sys.functions values (484, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1915 ! 1914 insert into sys.functions values (484, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1914
1916 insert into sys.args values (11170, 484, 'res_0', 'decimal', 4, 0, 0, 0); 1916 ! 1915 insert into sys.args values (11168, 484, 'res_0', 'decimal', 4, 0, 0, 0); 1915
1917 insert into sys.args values (11171, 484, 'arg_1', 'decimal', 4, 0, 1, 1); 1917 ! 1916 insert into sys.args values (11169, 484, 'arg_1', 'decimal', 4, 0, 1, 1); 1916
1918 insert into sys.args values (11172, 484, 'arg_2', 'int', 32, 0, 1, 2); 1918 ! 1917 insert into sys.args values (11170, 484, 'arg_2', 'int', 32, 0, 1, 2); 1917
1919 insert into sys.functions values (485, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1919 ! 1918 insert into sys.functions values (485, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1918
1920 insert into sys.args values (11173, 485, 'res_0', 'decimal', 4, 0, 0, 0); 1920 ! 1919 insert into sys.args values (11171, 485, 'res_0', 'decimal', 4, 0, 0, 0); 1919
1921 insert into sys.args values (11174, 485, 'arg_1', 'decimal', 4, 0, 1, 1); 1921 ! 1920 insert into sys.args values (11172, 485, 'arg_1', 'decimal', 4, 0, 1, 1); 1920
insert into sys. + 1921 insert into sys.args values (11173, 485, 'arg_2', 'int', 32, 0, 1, 2); 1921
1922 functions values (486, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1922 ! 1922 insert into sys.functions values (486, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1922
1923 insert into sys.args values (11175, 486, 'res_0', 'decimal', 4, 0, 0, 0); 1923 ! 1923 insert into sys.args values (11174, 486, 'res_0', 'decimal', 4, 0, 0, 0); 1923
1924 insert into sys.args values (11176, 486, 'arg_1', 'decimal', 4, 0, 1, 1); 1924 ! 1924 insert into sys.args values (11175, 486, 'arg_1', 'decimal', 4, 0, 1, 1); 1924
1925 insert into sys.functions values (487, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1925 ! 1925 insert into sys.functions values (487, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1925
1926 insert into sys.args values (11177, 487, 'res_0', 'tinyint', 8, 0, 0, 0); 1926 ! 1926 insert into sys.args values (11176, 487, 'res_0', 'decimal', 4, 0, 0, 0); 1926
1927 insert into sys.args values (11178, 487, 'arg_1', 'decimal', 4, 0, 1, 1); 1927 ! 1927 insert into sys.args values (11177, 487, 'arg_1', 'decimal', 4, 0, 1, 1); 1927
1928 insert into sys.functions values (488, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1928 ! 1928 insert into sys.functions values (488, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1928
1929 insert into sys.args values (11179, 488, 'res_0', 'decimal', 4, 0, 0, 0); 1929 -
1930 insert into sys.args values (11180, 488, 'arg_1', 'decimal', 4, 0, 1, 1); 1930 ! 1929 insert into sys.args values (11178, 488, 'res_0', 'tinyint', 8, 0, 0, 0); 1929
1931 insert into sys.args values (11181, 488, 'arg_2', 'smallint', 16, 0, 1, 2); 1931 ! 1930 insert into sys.args values (11179, 488, 'arg_1', 'decimal', 4, 0, 1, 1); 1930
1932 insert into sys.functions values (489, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1932 ! 1931 insert into sys.functions values (489, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1931
1933 insert into sys.args values (11182, 489, 'res_0', 'decimal', 4, 0, 0, 0); 1933 ! 1932 insert into sys.args values (11180, 489, 'res_0', 'decimal', 4, 0, 0, 0); 1932
1934 insert into sys.args values (11183, 489, 'arg_1', 'decimal', 4, 0, 1, 1); 1934 ! 1933 insert into sys.args values (11181, 489, 'arg_1', 'decimal', 4, 0, 1, 1); 1933
1935 insert into sys.args values (11184, 489, 'arg_2', 'smallint', 16, 0, 1, 2); 1935 ! 1934 insert into sys.args values (11182, 489, 'arg_2', 'smallint', 16, 0, 1, 2); 1934
1936 insert into sys.functions values (490, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1936 ! 1935 insert into sys.functions values (490, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1935
1937 insert into sys.args values (11185, 490, 'res_0', 'month_interval', 32, 0, 0, 0); 1937 ! 1936 insert into sys.args values (11183, 490, 'res_0', 'decimal', 4, 0, 0, 0); 1936
1938 insert into sys.args values (11186, 490, 'arg_1', 'month_interval', 32, 0, 1, 1); 1938 ! 1937 insert into sys.args values (11184, 490, 'arg_1', 'decimal', 4, 0, 1, 1); 1937
1939 insert into sys.args values (11187, 490, 'arg_2', 'decimal', 4, 0, 1, 2); 1939 ! 1938 insert into sys.args values (11185, 490, 'arg_2', 'smallint', 16, 0, 1, 2); 1938
1940 insert into sys.functions values (491, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1940 ! 1939 insert into sys.functions values (491, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1939
1941 insert into sys.args values (11188, 491, 'res_0', 'month_interval', 32, 0, 0, 0); 1941 ! 1940 insert into sys.args values (11186, 491, 'res_0', 'month_interval', 32, 0, 0, 0); 1940
1942 insert into sys.args values (11189, 491, 'arg_1', 'month_interval', 32, 0, 1, 1); 1942 ! 1941 insert into sys.args values (11187, 491, 'arg_1', 'month_interval', 32, 0, 1, 1); 1941
1943 insert into sys.args values (11190, 491, 'arg_2', 'decimal', 4, 0, 1, 2); 1943 ! 1942 insert into sys.args values (11188, 491, 'arg_2', 'decimal', 4, 0, 1, 2); 1942
1944 insert into sys.functions values (492, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1944 ! 1943 insert into sys.functions values (492, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1943
1945 insert into sys.args values (11191, 492, 'res_0', 'sec_interval', 13, 0, 0, 0); 1945 ! 1944 insert into sys.args values (11189, 492, 'res_0', 'month_interval', 32, 0, 0, 0); 1944
1946 insert into sys.args values (11192, 492, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1946 ! 1945 insert into sys.args values (11190, 492, 'arg_1', 'month_interval', 32, 0, 1, 1); 1945
1947 insert into sys.args values (11193, 492, 'arg_2', 'decimal', 4, 0, 1, 2); 1947 ! 1946 insert into sys.args values (11191, 492, 'arg_2', 'decimal', 4, 0, 1, 2); 1946
1948 insert into sys.functions values (493, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1948 ! 1947 insert into sys.functions values (493, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1947
1949 insert into sys.args values (11194, 493, 'res_0', 'sec_interval', 13, 0, 0, 0); 1949 ! 1948 insert into sys.args values (11192, 493, 'res_0', 'sec_interval', 13, 0, 0, 0); 1948
1950 insert into sys.args values (11195, 493, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1950 ! 1949 insert into sys.args values (11193, 493, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1949
1951 insert into sys.args values (11196, 493, 'arg_2', 'decimal', 4, 0, 1, 2); 1951 ! 1950 insert into sys.args values (11194, 493, 'arg_2', 'decimal', 4, 0, 1, 2); 1950
1952 insert into sys.functions values (494, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1952 ! 1951 insert into sys.functions values (494, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1951
1953 insert into sys.args values (11197, 494, 'res_0', 'decimal', 9, 0, 0, 0); 1953 ! 1952 insert into sys.args values (11195, 494, 'res_0', 'sec_interval', 13, 0, 0, 0); 1952
1954 insert into sys.args values (11198, 494, 'arg_1', 'decimal', 9, 0, 1, 1); 1954 ! 1953 insert into sys.args values (11196, 494, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1953
1955 insert into sys.args values (11199, 494, 'arg_2', 'decimal', 9, 0, 1, 2); 1955 ! 1954 insert into sys.args values (11197, 494, 'arg_2', 'decimal', 4, 0, 1, 2); 1954
1956 insert into sys.functions values (495, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1956 ! 1955 insert into sys.functions values (495, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1955
1957 insert into sys.args values (11200, 495, 'res_0', 'decimal', 9, 0, 0, 0); 1957 ! 1956 insert into sys.args values (11198, 495, 'res_0', 'decimal', 9, 0, 0, 0); 1956
1958 insert into sys.args values (11201, 495, 'arg_1', 'decimal', 9, 0, 1, 1); 1958 ! 1957 insert into sys.args values (11199, 495, 'arg_1', 'decimal', 9, 0, 1, 1); 1957
1959 insert into sys.args values (11202, 495, 'arg_2', 'decimal', 9, 0, 1, 2); 1959 ! 1958 insert into sys.args values (11200, 495, 'arg_2', 'decimal', 9, 0, 1, 2); 1958
1960 insert into sys.functions values (496, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1960 ! 1959 insert into sys.functions values (496, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1959
1961 insert into sys.args values (11203, 496, 'res_0', 'decimal', 9, 0, 0, 0); 1961 ! 1960 insert into sys.args values (11201, 496, 'res_0', 'decimal', 9, 0, 0, 0); 1960
1962 insert into sys.args values (11204, 496, 'arg_1', 'decimal', 9, 0, 1, 1); 1962 ! 1961 insert into sys.args values (11202, 496, 'arg_1', 'decimal', 9, 0, 1, 1); 1961
1963 insert into sys.args values (11205, 496, 'arg_2', 'decimal', 9, 0, 1, 2); 1963 ! 1962 insert into sys.args values (11203, 496, 'arg_2', 'decimal', 9, 0, 1, 2); 1962
1964 insert into sys.functions values (497, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1964 ! 1963 insert into sys.functions values (497, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1963
1965 insert into sys.args values (11206, 497, 'res_0', 'decimal', 9, 0, 0, 0); 1965 ! 1964 insert into sys.args values (11204, 497, 'res_0', 'decimal', 9, 0, 0, 0); 1964
1966 insert into sys.args values (11207, 497, 'arg_1', 'decimal', 9, 0, 1, 1); 1966 ! 1965 insert into sys.args values (11205, 497, 'arg_1', 'decimal', 9, 0, 1, 1); 1965
1967 insert into sys.args values (11208, 497, 'arg_2', 'decimal', 9, 0, 1, 2); 1967 ! 1966 insert into sys.args values (11206, 497, 'arg_2', 'decimal', 9, 0, 1, 2); 1966
1968 insert into sys.functions values (498, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1968 ! 1967 insert into sys.functions values (498, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1967
1969 insert into sys.args values (11209, 498, 'res_0', 'decimal', 9, 0, 0, 0); 1969 ! 1968 insert into sys.args values (11207, 498, 'res_0', 'decimal', 9, 0, 0, 0); 1968
1970 insert into sys.args values (11210, 498, 'arg_1', 'decimal', 9, 0, 1, 1); 1970 ! 1969 insert into sys.args values (11208, 498, 'arg_1', 'decimal', 9, 0, 1, 1); 1969
1971 insert into sys.args values (11211, 498, 'arg_2', 'decimal', 9, 0, 1, 2); 1971 ! 1970 insert into sys.args values (11209, 498, 'arg_2', 'decimal', 9, 0, 1, 2); 1970
1972 insert into sys.functions values (499, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1972 ! 1971 insert into sys.functions values (499, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1971
1973 insert into sys.args values (11212, 499, 'res_0', 'decimal', 9, 0, 0, 0); 1973 ! 1972 insert into sys.args values (11210, 499, 'res_0', 'decimal', 9, 0, 0, 0); 1972
1974 insert into sys.args values (11213, 499, 'arg_1', 'decimal', 9, 0, 1, 1); 1974 ! 1973 insert into sys.args values (11211, 499, 'arg_1', 'decimal', 9, 0, 1, 1); 1973
1975 insert into sys.args values (11214, 499, 'arg_2', 'decimal', 9, 0, 1, 2); 1975 ! 1974 insert into sys.args values (11212, 499, 'arg_2', 'decimal', 9, 0, 1, 2); 1974
1976 insert into sys.functions values (500, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1976 ! 1975 insert into sys.functions values (500, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1975
1977 insert into sys.args values (11215, 500, 'res_0', 'decimal', 9, 0, 0, 0); 1977 ! 1976 insert into sys.args values (11213, 500, 'res_0', 'decimal', 9, 0, 0, 0); 1976
1978 insert into sys.args values (11216, 500, 'arg_1', 'decimal', 9, 0, 1, 1); 1978 ! 1977 insert into sys.args values (11214, 500, 'arg_1', 'decimal', 9, 0, 1, 1); 1977
1979 insert into sys.args values (11217, 500, 'arg_2', 'decimal', 9, 0, 1, 2); 1979 ! 1978 insert into sys.args values (11215, 500, 'arg_2', 'decimal', 9, 0, 1, 2); 1978
1980 insert into sys.functions values (501, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1980 ! 1979 insert into sys.functions values (501, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1979
1981 insert into sys.args values (11218, 501, 'res_0', 'decimal', 9, 0, 0, 0); 1981 ! 1980 insert into sys.args values (11216, 501, 'res_0', 'decimal', 9, 0, 0, 0); 1980
1982 insert into sys.args values (11219, 501, 'arg_1', 'decimal', 9, 0, 1, 1); 1982 ! 1981 insert into sys.args values (11217, 501, 'arg_1', 'decimal', 9, 0, 1, 1); 1981
1983 insert into sys.functions values (502, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1983 ! 1982 insert into sys.args values (11218, 501, 'arg_2', 'decimal', 9, 0, 1, 2); 1982
1984 insert into sys.args values (11220, 502, 'res_0', 'decimal', 9, 0, 0, 0); 1984 ! 1983 insert into sys.functions values (502, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1983
1985 insert into sys.args values (11221, 502, 'arg_1', 'decimal', 9, 0, 1, 1); 1985 ! 1984 insert into sys.args values (11219, 502, 'res_0', 'decimal', 9, 0, 0, 0); 1984
1986 insert into sys.args values (11222, 502, 'arg_2', 'int', 32, 0, 1, 2); 1986 ! 1985 insert into sys.args values (11220, 502, 'arg_1', 'decimal', 9, 0, 1, 1); 1985
1987 insert into sys.functions values (503, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1987 ! 1986 insert into sys.functions values (503, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1986
1988 insert into sys.args values (11223, 503, 'res_0', 'decimal', 9, 0, 0, 0); 1988 ! 1987 insert into sys.args values (11221, 503, 'res_0', 'decimal', 9, 0, 0, 0); 1987
1989 insert into sys.args values (11224, 503, 'arg_1', 'decimal', 9, 0, 1, 1); 1989 ! 1988 insert into sys.args values (11222, 503, 'arg_1', 'decimal', 9, 0, 1, 1); 1988
1990 insert into sys.args values (11225, 503, 'arg_2', 'int', 32, 0, 1, 2); 1990 ! 1989 insert into sys.args values (11223, 503, 'arg_2', 'int', 32, 0, 1, 2); 1989
1991 insert into sys.functions values (504, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1991 ! 1990 insert into sys.functions values (504, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1990
1992 insert into sys.args values (11226, 504, 'res_0', 'decimal', 9, 0, 0, 0); 1992 ! 1991 insert into sys.args values (11224, 504, 'res_0', 'decimal', 9, 0, 0, 0); 1991
1993 insert into sys.args values (11227, 504, 'arg_1', 'decimal', 9, 0, 1, 1); 1993 ! 1992 insert into sys.args values (11225, 504, 'arg_1', 'decimal', 9, 0, 1, 1); 1992
insert into sys. + 1993 insert into sys.args values (11226, 504, 'arg_2', 'int', 32, 0, 1, 2); 1993
1994 functions values (505, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1994 ! 1994 insert into sys.functions values (505, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1994
1995 insert into sys.args values (11228, 505, 'res_0', 'decimal', 9, 0, 0, 0); 1995 ! 1995 insert into sys.args values (11227, 505, 'res_0', 'decimal', 9, 0, 0, 0); 1995
1996 insert into sys.args values (11229, 505, 'arg_1', 'decimal', 9, 0, 1, 1); 1996 ! 1996 insert into sys.args values (11228, 505, 'arg_1', 'decimal', 9, 0, 1, 1); 1996
1997 insert into sys.functions values (506, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1997 ! 1997 insert into sys.functions values (506, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1997
1998 insert into sys.args values (11230, 506, 'res_0', 'tinyint', 8, 0, 0, 0); 1998 ! 1998 insert into sys.args values (11229, 506, 'res_0', 'decimal', 9, 0, 0, 0); 1998
1999 insert into sys.args values (11231, 506, 'arg_1', 'decimal', 9, 0, 1, 1); 1999 ! 1999 insert into sys.args values (11230, 506, 'arg_1', 'decimal', 9, 0, 1, 1); 1999
2000 insert into sys.functions values (507, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2000 ! 2000 insert into sys.functions values (507, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 2000
2001 insert into sys.args values (11232, 507, 'res_0', 'decimal', 9, 0, 0, 0); 2001 -
2002 insert into sys.args values (11233, 507, 'arg_1', 'decimal', 9, 0, 1, 1); 2002 ! 2001 insert into sys.args values (11231, 507, 'res_0', 'tinyint', 8, 0, 0, 0); 2001
2003 insert into sys.args values (11234, 507, 'arg_2', 'int', 32, 0, 1, 2); 2003 ! 2002 insert into sys.args values (11232, 507, 'arg_1', 'decimal', 9, 0, 1, 1); 2002
2004 insert into sys.functions values (508, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 2004 ! 2003 insert into sys.functions values (508, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2003
2005 insert into sys.args values (11235, 508, 'res_0', 'decimal', 9, 0, 0, 0); 2005 ! 2004 insert into sys.args values (11233, 508, 'res_0', 'decimal', 9, 0, 0, 0); 2004
2006 insert into sys.args values (11236, 508, 'arg_1', 'decimal', 9, 0, 1, 1); 2006 ! 2005 insert into sys.args values (11234, 508, 'arg_1', 'decimal', 9, 0, 1, 1); 2005
2007 insert into sys.args values (11237, 508, 'arg_2', 'int', 32, 0, 1, 2); 2007 ! 2006 insert into sys.args values (11235, 508, 'arg_2', 'int', 32, 0, 1, 2); 2006
2008 insert into sys.functions values (509, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2008 ! 2007 insert into sys.functions values (509, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 2007
2009 insert into sys.args values (11238, 509, 'res_0', 'month_interval', 32, 0, 0, 0); 2009 ! 2008 insert into sys.args values (11236, 509, 'res_0', 'decimal', 9, 0, 0, 0); 2008
2010 insert into sys.args values (11239, 509, 'arg_1', 'month_interval', 32, 0, 1, 1); 2010 ! 2009 insert into sys.args values (11237, 509, 'arg_1', 'decimal', 9, 0, 1, 1); 2009
2011 insert into sys.args values (11240, 509, 'arg_2', 'decimal', 9, 0, 1, 2); 2011 ! 2010 insert into sys.args values (11238, 509, 'arg_2', 'int', 32, 0, 1, 2); 2010
2012 insert into sys.functions values (510, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2012 ! 2011 insert into sys.functions values (510, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2011
2013 insert into sys.args values (11241, 510, 'res_0', 'month_interval', 32, 0, 0, 0); 2013 ! 2012 insert into sys.args values (11239, 510, 'res_0', 'month_interval', 32, 0, 0, 0); 2012
2014 insert into sys.args values (11242, 510, 'arg_1', 'month_interval', 32, 0, 1, 1); 2014 ! 2013 insert into sys.args values (11240, 510, 'arg_1', 'month_interval', 32, 0, 1, 1); 2013
2015 insert into sys.args values (11243, 510, 'arg_2', 'decimal', 9, 0, 1, 2); 2015 ! 2014 insert into sys.args values (11241, 510, 'arg_2', 'decimal', 9, 0, 1, 2); 2014
2016 insert into sys.functions values (511, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2016 ! 2015 insert into sys.functions values (511, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2015
2017 insert into sys.args values (11244, 511, 'res_0', 'sec_interval', 13, 0, 0, 0); 2017 ! 2016 insert into sys.args values (11242, 511, 'res_0', 'month_interval', 32, 0, 0, 0); 2016
2018 insert into sys.args values (11245, 511, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2018 ! 2017 insert into sys.args values (11243, 511, 'arg_1', 'month_interval', 32, 0, 1, 1); 2017
2019 insert into sys.args values (11246, 511, 'arg_2', 'decimal', 9, 0, 1, 2); 2019 ! 2018 insert into sys.args values (11244, 511, 'arg_2', 'decimal', 9, 0, 1, 2); 2018
2020 insert into sys.functions values (512, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2020 ! 2019 insert into sys.functions values (512, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2019
2021 insert into sys.args values (11247, 512, 'res_0', 'sec_interval', 13, 0, 0, 0); 2021 ! 2020 insert into sys.args values (11245, 512, 'res_0', 'sec_interval', 13, 0, 0, 0); 2020
2022 insert into sys.args values (11248, 512, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2022 ! 2021 insert into sys.args values (11246, 512, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2021
2023 insert into sys.args values (11249, 512, 'arg_2', 'decimal', 9, 0, 1, 2); 2023 ! 2022 insert into sys.args values (11247, 512, 'arg_2', 'decimal', 9, 0, 1, 2); 2022
2024 insert into sys.functions values (513, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2024 ! 2023 insert into sys.functions values (513, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2023
2025 insert into sys.args values (11250, 513, 'res_0', 'decimal', 18, 0, 0, 0); 2025 ! 2024 insert into sys.args values (11248, 513, 'res_0', 'sec_interval', 13, 0, 0, 0); 2024
2026 insert into sys.args values (11251, 513, 'arg_1', 'decimal', 18, 0, 1, 1); 2026 ! 2025 insert into sys.args values (11249, 513, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2025
2027 insert into sys.args values (11252, 513, 'arg_2', 'decimal', 18, 0, 1, 2); 2027 ! 2026 insert into sys.args values (11250, 513, 'arg_2', 'decimal', 9, 0, 1, 2); 2026
2028 insert into sys.functions values (514, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 2028 ! 2027 insert into sys.functions values (514, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2027
2029 insert into sys.args values (11253, 514, 'res_0', 'decimal', 18, 0, 0, 0); 2029 ! 2028 insert into sys.args values (11251, 514, 'res_0', 'decimal', 18, 0, 0, 0); 2028
2030 insert into sys.args values (11254, 514, 'arg_1', 'decimal', 18, 0, 1, 1); 2030 ! 2029 insert into sys.args values (11252, 514, 'arg_1', 'decimal', 18, 0, 1, 1); 2029
2031 insert into sys.args values (11255, 514, 'arg_2', 'decimal', 18, 0, 1, 2); 2031 ! 2030 insert into sys.args values (11253, 514, 'arg_2', 'decimal', 18, 0, 1, 2); 2030
2032 insert into sys.functions values (515, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2032 ! 2031 insert into sys.functions values (515, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 2031
2033 insert into sys.args values (11256, 515, 'res_0', 'decimal', 18, 0, 0, 0); 2033 ! 2032 insert into sys.args values (11254, 515, 'res_0', 'decimal', 18, 0, 0, 0); 2032
2034 insert into sys.args values (11257, 515, 'arg_1', 'decimal', 18, 0, 1, 1); 2034 ! 2033 insert into sys.args values (11255, 515, 'arg_1', 'decimal', 18, 0, 1, 1); 2033
2035 insert into sys.args values (11258, 515, 'arg_2', 'decimal', 18, 0, 1, 2); 2035 ! 2034 insert into sys.args values (11256, 515, 'arg_2', 'decimal', 18, 0, 1, 2); 2034
2036 insert into sys.functions values (516, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2036 ! 2035 insert into sys.functions values (516, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2035
2037 insert into sys.args values (11259, 516, 'res_0', 'decimal', 18, 0, 0, 0); 2037 ! 2036 insert into sys.args values (11257, 516, 'res_0', 'decimal', 18, 0, 0, 0); 2036
2038 insert into sys.args values (11260, 516, 'arg_1', 'decimal', 18, 0, 1, 1); 2038 ! 2037 insert into sys.args values (11258, 516, 'arg_1', 'decimal', 18, 0, 1, 1); 2037
2039 insert into sys.args values (11261, 516, 'arg_2', 'decimal', 18, 0, 1, 2); 2039 ! 2038 insert into sys.args values (11259, 516, 'arg_2', 'decimal', 18, 0, 1, 2); 2038
2040 insert into sys.functions values (517, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 2040 ! 2039 insert into sys.functions values (517, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2039
2041 insert into sys.args values (11262, 517, 'res_0', 'decimal', 18, 0, 0, 0); 2041 ! 2040 insert into sys.args values (11260, 517, 'res_0', 'decimal', 18, 0, 0, 0); 2040
2042 insert into sys.args values (11263, 517, 'arg_1', 'decimal', 18, 0, 1, 1); 2042 ! 2041 insert into sys.args values (11261, 517, 'arg_1', 'decimal', 18, 0, 1, 1); 2041
2043 insert into sys.args values (11264, 517, 'arg_2', 'decimal', 18, 0, 1, 2); 2043 ! 2042 insert into sys.args values (11262, 517, 'arg_2', 'decimal', 18, 0, 1, 2); 2042
2044 insert into sys.functions values (518, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 2044 ! 2043 insert into sys.functions values (518, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 2043
2045 insert into sys.args values (11265, 518, 'res_0', 'decimal', 18, 0, 0, 0); 2045 ! 2044 insert into sys.args values (11263, 518, 'res_0', 'decimal', 18, 0, 0, 0); 2044
2046 insert into sys.args values (11266, 518, 'arg_1', 'decimal', 18, 0, 1, 1); 2046 ! 2045 insert into sys.args values (11264, 518, 'arg_1', 'decimal', 18, 0, 1, 1); 2045
2047 insert into sys.args values (11267, 518, 'arg_2', 'decimal', 18, 0, 1, 2); 2047 ! 2046 insert into sys.args values (11265, 518, 'arg_2', 'decimal', 18, 0, 1, 2); 2046
2048 insert into sys.functions values (519, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 2048 ! 2047 insert into sys.functions values (519, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 2047
2049 insert into sys.args values (11268, 519, 'res_0', 'decimal', 18, 0, 0, 0); 2049 ! 2048 insert into sys.args values (11266, 519, 'res_0', 'decimal', 18, 0, 0, 0); 2048
2050 insert into sys.args values (11269, 519, 'arg_1', 'decimal', 18, 0, 1, 1); 2050 ! 2049 insert into sys.args values (11267, 519, 'arg_1', 'decimal', 18, 0, 1, 1); 2049
2051 insert into sys.args values (11270, 519, 'arg_2', 'decimal', 18, 0, 1, 2); 2051 ! 2050 insert into sys.args values (11268, 519, 'arg_2', 'decimal', 18, 0, 1, 2); 2050
2052 insert into sys.functions values (520, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 2052 ! 2051 insert into sys.functions values (520, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 2051
2053 insert into sys.args values (11271, 520, 'res_0', 'decimal', 18, 0, 0, 0); 2053 ! 2052 insert into sys.args values (11269, 520, 'res_0', 'decimal', 18, 0, 0, 0); 2052
2054 insert into sys.args values (11272, 520, 'arg_1', 'decimal', 18, 0, 1, 1); 2054 ! 2053 insert into sys.args values (11270, 520, 'arg_1', 'decimal', 18, 0, 1, 1); 2053
2055 insert into sys.functions values (521, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 2055 ! 2054 insert into sys.args values (11271, 520, 'arg_2', 'decimal', 18, 0, 1, 2); 2054
2056 insert into sys.args values (11273, 521, 'res_0', 'decimal', 18, 0, 0, 0); 2056 ! 2055 insert into sys.functions values (521, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 2055
2057 insert into sys.args values (11274, 521, 'arg_1', 'decimal', 18, 0, 1, 1); 2057 ! 2056 insert into sys.args values (11272, 521, 'res_0', 'decimal', 18, 0, 0, 0); 2056
2058 insert into sys.args values (11275, 521, 'arg_2', 'int', 32, 0, 1, 2); 2058 ! 2057 insert into sys.args values (11273, 521, 'arg_1', 'decimal', 18, 0, 1, 1); 2057
2059 insert into sys.functions values (522, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 2059 ! 2058 insert into sys.functions values (522, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 2058
2060 insert into sys.args values (11276, 522, 'res_0', 'decimal', 18, 0, 0, 0); 2060 ! 2059 insert into sys.args values (11274, 522, 'res_0', 'decimal', 18, 0, 0, 0); 2059
2061 insert into sys.args values (11277, 522, 'arg_1', 'decimal', 18, 0, 1, 1); 2061 ! 2060 insert into sys.args values (11275, 522, 'arg_1', 'decimal', 18, 0, 1, 1); 2060
2062 insert into sys.args values (11278, 522, 'arg_2', 'int', 32, 0, 1, 2); 2062 ! 2061 insert into sys.args values (11276, 522, 'arg_2', 'int', 32, 0, 1, 2); 2061
2063 insert into sys.functions values (523, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2063 ! 2062 insert into sys.functions values (523, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 2062
2064 insert into sys.args values (11279, 523, 'res_0', 'decimal', 18, 0, 0, 0); 2064 ! 2063 insert into sys.args values (11277, 523, 'res_0', 'decimal', 18, 0, 0, 0); 2063
2065 insert into sys.args values (11280, 523, 'arg_1', 'decimal', 18, 0, 1, 1); 2065 ! 2064 insert into sys.args values (11278, 523, 'arg_1', 'decimal', 18, 0, 1, 1); 2064
insert into sys. + 2065 insert into sys.args values (11279, 523, 'arg_2', 'int', 32, 0, 1, 2); 2065
2066 functions values (524, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 2066 ! 2066 insert into sys.functions values (524, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2066
2067 insert into sys.args values (11281, 524, 'res_0', 'decimal', 18, 0, 0, 0); 2067 ! 2067 insert into sys.args values (11280, 524, 'res_0', 'decimal', 18, 0, 0, 0); 2067
2068 insert into sys.args values (11282, 524, 'arg_1', 'decimal', 18, 0, 1, 1); 2068 ! 2068 insert into sys.args values (11281, 524, 'arg_1', 'decimal', 18, 0, 1, 1); 2068
2069 insert into sys.functions values (525, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 2069 ! 2069 insert into sys.functions values (525, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 2069
2070 insert into sys.args values (11283, 525, 'res_0', 'tinyint', 8, 0, 0, 0); 2070 ! 2070 insert into sys.args values (11282, 525, 'res_0', 'decimal', 18, 0, 0, 0); 2070
2071 insert into sys.args values (11284, 525, 'arg_1', 'decimal', 18, 0, 1, 1); 2071 ! 2071 insert into sys.args values (11283, 525, 'arg_1', 'decimal', 18, 0, 1, 1); 2071
2072 insert into sys.functions values (526, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2072 ! 2072 insert into sys.functions values (526, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 2072
2073 insert into sys.args values (11285, 526, 'res_0', 'decimal', 18, 0, 0, 0); 2073 -
2074 insert into sys.args values (11286, 526, 'arg_1', 'decimal', 18, 0, 1, 1); 2074 ! 2073 insert into sys.args values (11284, 526, 'res_0', 'tinyint', 8, 0, 0, 0); 2073
2075 insert into sys.args values (11287, 526, 'arg_2', 'bigint', 64, 0, 1, 2); 2075 ! 2074 insert into sys.args values (11285, 526, 'arg_1', 'decimal', 18, 0, 1, 1); 2074
2076 insert into sys.functions values (527, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 2076 ! 2075 insert into sys.functions values (527, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2075
2077 insert into sys.args values (11288, 527, 'res_0', 'decimal', 18, 0, 0, 0); 2077 ! 2076 insert into sys.args values (11286, 527, 'res_0', 'decimal', 18, 0, 0, 0); 2076
2078 insert into sys.args values (11289, 527, 'arg_1', 'decimal', 18, 0, 1, 1); 2078 ! 2077 insert into sys.args values (11287, 527, 'arg_1', 'decimal', 18, 0, 1, 1); 2077
2079 insert into sys.args values (11290, 527, 'arg_2', 'bigint', 64, 0, 1, 2); 2079 ! 2078 insert into sys.args values (11288, 527, 'arg_2', 'bigint', 64, 0, 1, 2); 2078
2080 insert into sys.functions values (528, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2080 ! 2079 insert into sys.functions values (528, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 2079
2081 insert into sys.args values (11291, 528, 'res_0', 'month_interval', 32, 0, 0, 0); 2081 ! 2080 insert into sys.args values (11289, 528, 'res_0', 'decimal', 18, 0, 0, 0); 2080
2082 insert into sys.args values (11292, 528, 'arg_1', 'month_interval', 32, 0, 1, 1); 2082 ! 2081 insert into sys.args values (11290, 528, 'arg_1', 'decimal', 18, 0, 1, 1); 2081
2083 insert into sys.args values (11293, 528, 'arg_2', 'decimal', 18, 0, 1, 2); 2083 ! 2082 insert into sys.args values (11291, 528, 'arg_2', 'bigint', 64, 0, 1, 2); 2082
2084 insert into sys.functions values (529, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2084 ! 2083 insert into sys.functions values (529, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2083
2085 insert into sys.args values (11294, 529, 'res_0', 'month_interval', 32, 0, 0, 0); 2085 ! 2084 insert into sys.args values (11292, 529, 'res_0', 'month_interval', 32, 0, 0, 0); 2084
2086 insert into sys.args values (11295, 529, 'arg_1', 'month_interval', 32, 0, 1, 1); 2086 ! 2085 insert into sys.args values (11293, 529, 'arg_1', 'month_interval', 32, 0, 1, 1); 2085
2087 insert into sys.args values (11296, 529, 'arg_2', 'decimal', 18, 0, 1, 2); 2087 ! 2086 insert into sys.args values (11294, 529, 'arg_2', 'decimal', 18, 0, 1, 2); 2086
2088 insert into sys.functions values (530, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2088 ! 2087 insert into sys.functions values (530, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2087
2089 insert into sys.args values (11297, 530, 'res_0', 'sec_interval', 13, 0, 0, 0); 2089 ! 2088 insert into sys.args values (11295, 530, 'res_0', 'month_interval', 32, 0, 0, 0); 2088
2090 insert into sys.args values (11298, 530, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2090 ! 2089 insert into sys.args values (11296, 530, 'arg_1', 'month_interval', 32, 0, 1, 1); 2089
2091 insert into sys.args values (11299, 530, 'arg_2', 'decimal', 18, 0, 1, 2); 2091 ! 2090 insert into sys.args values (11297, 530, 'arg_2', 'decimal', 18, 0, 1, 2); 2090
2092 insert into sys.functions values (531, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2092 ! 2091 insert into sys.functions values (531, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2091
2093 insert into sys.args values (11300, 531, 'res_0', 'sec_interval', 13, 0, 0, 0); 2093 ! 2092 insert into sys.args values (11298, 531, 'res_0', 'sec_interval', 13, 0, 0, 0); 2092
2094 insert into sys.args values (11301, 531, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2094 ! 2093 insert into sys.args values (11299, 531, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2093
2095 insert into sys.args values (11302, 531, 'arg_2', 'decimal', 18, 0, 1, 2); 2095 ! 2094 insert into sys.args values (11300, 531, 'arg_2', 'decimal', 18, 0, 1, 2); 2094
2096 insert into sys.functions values (532, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2096 ! 2095 insert into sys.functions values (532, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2095
2097 insert into sys.args values (11303, 532, 'res_0', 'decimal', 38, 0, 0, 0); 2097 ! 2096 insert into sys.args values (11301, 532, 'res_0', 'sec_interval', 13, 0, 0, 0); 2096
2098 insert into sys.args values (11304, 532, 'arg_1', 'decimal', 38, 0, 1, 1); 2098 ! 2097 insert into sys.args values (11302, 532, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2097
2099 insert into sys.args values (11305, 532, 'arg_2', 'decimal', 38, 0, 1, 2); 2099 ! 2098 insert into sys.args values (11303, 532, 'arg_2', 'decimal', 18, 0, 1, 2); 2098
2100 insert into sys.functions values (533, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 2100 ! 2099 insert into sys.functions values (533, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2099
2101 insert into sys.args values (11306, 533, 'res_0', 'decimal', 38, 0, 0, 0); 2101 ! 2100 insert into sys.args values (11304, 533, 'res_0', 'decimal', 38, 0, 0, 0); 2100
2102 insert into sys.args values (11307, 533, 'arg_1', 'decimal', 38, 0, 1, 1); 2102 ! 2101 insert into sys.args values (11305, 533, 'arg_1', 'decimal', 38, 0, 1, 1); 2101
2103 insert into sys.args values (11308, 533, 'arg_2', 'decimal', 38, 0, 1, 2); 2103 ! 2102 insert into sys.args values (11306, 533, 'arg_2', 'decimal', 38, 0, 1, 2); 2102
2104 insert into sys.functions values (534, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2104 ! 2103 insert into sys.functions values (534, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 2103
2105 insert into sys.args values (11309, 534, 'res_0', 'decimal', 38, 0, 0, 0); 2105 ! 2104 insert into sys.args values (11307, 534, 'res_0', 'decimal', 38, 0, 0, 0); 2104
2106 insert into sys.args values (11310, 534, 'arg_1', 'decimal', 38, 0, 1, 1); 2106 ! 2105 insert into sys.args values (11308, 534, 'arg_1', 'decimal', 38, 0, 1, 1); 2105
2107 insert into sys.args values (11311, 534, 'arg_2', 'decimal', 38, 0, 1, 2); 2107 ! 2106 insert into sys.args values (11309, 534, 'arg_2', 'decimal', 38, 0, 1, 2); 2106
2108 insert into sys.functions values (535, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2108 ! 2107 insert into sys.functions values (535, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2107
2109 insert into sys.args values (11312, 535, 'res_0', 'decimal', 38, 0, 0, 0); 2109 ! 2108 insert into sys.args values (11310, 535, 'res_0', 'decimal', 38, 0, 0, 0); 2108
2110 insert into sys.args values (11313, 535, 'arg_1', 'decimal', 38, 0, 1, 1); 2110 ! 2109 insert into sys.args values (11311, 535, 'arg_1', 'decimal', 38, 0, 1, 1); 2109
2111 insert into sys.args values (11314, 535, 'arg_2', 'decimal', 38, 0, 1, 2); 2111 ! 2110 insert into sys.args values (11312, 535, 'arg_2', 'decimal', 38, 0, 1, 2); 2110
2112 insert into sys.functions values (536, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 2112 ! 2111 insert into sys.functions values (536, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2111
2113 insert into sys.args values (11315, 536, 'res_0', 'decimal', 38, 0, 0, 0); 2113 ! 2112 insert into sys.args values (11313, 536, 'res_0', 'decimal', 38, 0, 0, 0); 2112
2114 insert into sys.args values (11316, 536, 'arg_1', 'decimal', 38, 0, 1, 1); 2114 ! 2113 insert into sys.args values (11314, 536, 'arg_1', 'decimal', 38, 0, 1, 1); 2113
2115 insert into sys.args values (11317, 536, 'arg_2', 'decimal', 38, 0, 1, 2); 2115 ! 2114 insert into sys.args values (11315, 536, 'arg_2', 'decimal', 38, 0, 1, 2); 2114
2116 insert into sys.functions values (537, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 2116 ! 2115 insert into sys.functions values (537, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 2115
2117 insert into sys.args values (11318, 537, 'res_0', 'decimal', 38, 0, 0, 0); 2117 ! 2116 insert into sys.args values (11316, 537, 'res_0', 'decimal', 38, 0, 0, 0); 2116
2118 insert into sys.args values (11319, 537, 'arg_1', 'decimal', 38, 0, 1, 1); 2118 ! 2117 insert into sys.args values (11317, 537, 'arg_1', 'decimal', 38, 0, 1, 1); 2117
2119 insert into sys.args values (11320, 537, 'arg_2', 'decimal', 38, 0, 1, 2); 2119 ! 2118 insert into sys.args values (11318, 537, 'arg_2', 'decimal', 38, 0, 1, 2); 2118
2120 insert into sys.functions values (538, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 2120 ! 2119 insert into sys.functions values (538, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 2119
2121 insert into sys.args values (11321, 538, 'res_0', 'decimal', 38, 0, 0, 0); 2121 ! 2120 insert into sys.args values (11319, 538, 'res_0', 'decimal', 38, 0, 0, 0); 2120
2122 insert into sys.args values (11322, 538, 'arg_1', 'decimal', 38, 0, 1, 1); 2122 ! 2121 insert into sys.args values (11320, 538, 'arg_1', 'decimal', 38, 0, 1, 1); 2121
2123 insert into sys.args values (11323, 538, 'arg_2', 'decimal', 38, 0, 1, 2); 2123 ! 2122 insert into sys.args values (11321, 538, 'arg_2', 'decimal', 38, 0, 1, 2); 2122
2124 insert into sys.functions values (539, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 2124 ! 2123 insert into sys.functions values (539, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 2123
2125 insert into sys.args values (11324, 539, 'res_0', 'decimal', 38, 0, 0, 0); 2125 ! 2124 insert into sys.args values (11322, 539, 'res_0', 'decimal', 38, 0, 0, 0); 2124
2126 insert into sys.args values (11325, 539, 'arg_1', 'decimal', 38, 0, 1, 1); 2126 ! 2125 insert into sys.args values (11323, 539, 'arg_1', 'decimal', 38, 0, 1, 1); 2125
2127 insert into sys.functions values (540, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 2127 ! 2126 insert into sys.args values (11324, 539, 'arg_2', 'decimal', 38, 0, 1, 2); 2126
2128 insert into sys.args values (11326, 540, 'res_0', 'decimal', 38, 0, 0, 0); 2128 ! 2127 insert into sys.functions values (540, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 2127
2129 insert into sys.args values (11327, 540, 'arg_1', 'decimal', 38, 0, 1, 1); 2129 ! 2128 insert into sys.args values (11325, 540, 'res_0', 'decimal', 38, 0, 0, 0); 2128
2130 insert into sys.args values (11328, 540, 'arg_2', 'int', 32, 0, 1, 2); 2130 ! 2129 insert into sys.args values (11326, 540, 'arg_1', 'decimal', 38, 0, 1, 1); 2129
2131 insert into sys.functions values (541, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 2131 ! 2130 insert into sys.functions values (541, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 2130
2132 insert into sys.args values (11329, 541, 'res_0', 'decimal', 38, 0, 0, 0); 2132 ! 2131 insert into sys.args values (11327, 541, 'res_0', 'decimal', 38, 0, 0, 0); 2131
2133 insert into sys.args values (11330, 541, 'arg_1', 'decimal', 38, 0, 1, 1); 2133 ! 2132 insert into sys.args values (11328, 541, 'arg_1', 'decimal', 38, 0, 1, 1); 2132
2134 insert into sys.args values (11331, 541, 'arg_2', 'int', 32, 0, 1, 2); 2134 ! 2133 insert into sys.args values (11329, 541, 'arg_2', 'int', 32, 0, 1, 2); 2133
2135 insert into sys.functions values (542, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2135 ! 2134 insert into sys.functions values (542, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 2134
2136 insert into sys.args values (11332, 542, 'res_0', 'decimal', 38, 0, 0, 0); 2136 ! 2135 insert into sys.args values (11330, 542, 'res_0', 'decimal', 38, 0, 0, 0); 2135
2137 insert into sys.args values (11333, 542, 'arg_1', 'decimal', 38, 0, 1, 1); 2137 ! 2136 insert into sys.args values (11331, 542, 'arg_1', 'decimal', 38, 0, 1, 1); 2136
insert into sys. + 2137 insert into sys.args values (11332, 542, 'arg_2', 'int', 32, 0, 1, 2); 2137
2138 functions values (543, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 2138 ! 2138 insert into sys.functions values (543, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2138
2139 insert into sys.args values (11334, 543, 'res_0', 'decimal', 38, 0, 0, 0); 2139 ! 2139 insert into sys.args values (11333, 543, 'res_0', 'decimal', 38, 0, 0, 0); 2139
2140 insert into sys.args values (11335, 543, 'arg_1', 'decimal', 38, 0, 1, 1); 2140 ! 2140 insert into sys.args values (11334, 543, 'arg_1', 'decimal', 38, 0, 1, 1); 2140
2141 insert into sys.functions values (544, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 2141 ! 2141 insert into sys.functions values (544, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 2141
2142 insert into sys.args values (11336, 544, 'res_0', 'tinyint', 8, 0, 0, 0); 2142 ! 2142 insert into sys.args values (11335, 544, 'res_0', 'decimal', 38, 0, 0, 0); 2142
2143 insert into sys.args values (11337, 544, 'arg_1', 'decimal', 38, 0, 1, 1); 2143 ! 2143 insert into sys.args values (11336, 544, 'arg_1', 'decimal', 38, 0, 1, 1); 2143
2144 insert into sys.functions values (545, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2144 ! 2144 insert into sys.functions values (545, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 2144
2145 insert into sys.args values (11338, 545, 'res_0', 'decimal', 38, 0, 0, 0); 2145 -
2146 insert into sys.args values (11339, 545, 'arg_1', 'decimal', 38, 0, 1, 1); 2146 ! 2145 insert into sys.args values (11337, 545, 'res_0', 'tinyint', 8, 0, 0, 0); 2145
2147 insert into sys.args values (11340, 545, 'arg_2', 'hugeint', 128, 0, 1, 2); 2147 ! 2146 insert into sys.args values (11338, 545, 'arg_1', 'decimal', 38, 0, 1, 1); 2146
2148 insert into sys.functions values (546, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 2148 ! 2147 insert into sys.functions values (546, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2147
2149 insert into sys.args values (11341, 546, 'res_0', 'decimal', 38, 0, 0, 0); 2149 ! 2148 insert into sys.args values (11339, 546, 'res_0', 'decimal', 38, 0, 0, 0); 2148
2150 insert into sys.args values (11342, 546, 'arg_1', 'decimal', 38, 0, 1, 1); 2150 ! 2149 insert into sys.args values (11340, 546, 'arg_1', 'decimal', 38, 0, 1, 1); 2149
2151 insert into sys.args values (11343, 546, 'arg_2', 'hugeint', 128, 0, 1, 2); 2151 ! 2150 insert into sys.args values (11341, 546, 'arg_2', 'hugeint', 128, 0, 1, 2); 2150
2152 insert into sys.functions values (547, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2152 ! 2151 insert into sys.functions values (547, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 2151
2153 insert into sys.args values (11344, 547, 'res_0', 'month_interval', 32, 0, 0, 0); 2153 ! 2152 insert into sys.args values (11342, 547, 'res_0', 'decimal', 38, 0, 0, 0); 2152
2154 insert into sys.args values (11345, 547, 'arg_1', 'month_interval', 32, 0, 1, 1); 2154 ! 2153 insert into sys.args values (11343, 547, 'arg_1', 'decimal', 38, 0, 1, 1); 2153
2155 insert into sys.args values (11346, 547, 'arg_2', 'decimal', 38, 0, 1, 2); 2155 ! 2154 insert into sys.args values (11344, 547, 'arg_2', 'hugeint', 128, 0, 1, 2); 2154
2156 insert into sys.functions values (548, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2156 ! 2155 insert into sys.functions values (548, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2155
2157 insert into sys.args values (11347, 548, 'res_0', 'month_interval', 32, 0, 0, 0); 2157 ! 2156 insert into sys.args values (11345, 548, 'res_0', 'month_interval', 32, 0, 0, 0); 2156
2158 insert into sys.args values (11348, 548, 'arg_1', 'month_interval', 32, 0, 1, 1); 2158 ! 2157 insert into sys.args values (11346, 548, 'arg_1', 'month_interval', 32, 0, 1, 1); 2157
2159 insert into sys.args values (11349, 548, 'arg_2', 'decimal', 38, 0, 1, 2); 2159 ! 2158 insert into sys.args values (11347, 548, 'arg_2', 'decimal', 38, 0, 1, 2); 2158
2160 insert into sys.functions values (549, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2160 ! 2159 insert into sys.functions values (549, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2159
2161 insert into sys.args values (11350, 549, 'res_0', 'sec_interval', 13, 0, 0, 0); 2161 ! 2160 insert into sys.args values (11348, 549, 'res_0', 'month_interval', 32, 0, 0, 0); 2160
2162 insert into sys.args values (11351, 549, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2162 ! 2161 insert into sys.args values (11349, 549, 'arg_1', 'month_interval', 32, 0, 1, 1); 2161
2163 insert into sys.args values (11352, 549, 'arg_2', 'decimal', 38, 0, 1, 2); 2163 ! 2162 insert into sys.args values (11350, 549, 'arg_2', 'decimal', 38, 0, 1, 2); 2162
2164 insert into sys.functions values (550, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2164 ! 2163 insert into sys.functions values (550, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2163
2165 insert into sys.args values (11353, 550, 'res_0', 'sec_interval', 13, 0, 0, 0); 2165 ! 2164 insert into sys.args values (11351, 550, 'res_0', 'sec_interval', 13, 0, 0, 0); 2164
2166 insert into sys.args values (11354, 550, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2166 ! 2165 insert into sys.args values (11352, 550, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2165
2167 insert into sys.args values (11355, 550, 'arg_2', 'decimal', 38, 0, 1, 2); 2167 ! 2166 insert into sys.args values (11353, 550, 'arg_2', 'decimal', 38, 0, 1, 2); 2166
2168 insert into sys.functions values (551, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2168 ! 2167 insert into sys.functions values (551, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2167
2169 insert into sys.args values (11356, 551, 'res_0', 'real', 24, 0, 0, 0); 2169 ! 2168 insert into sys.args values (11354, 551, 'res_0', 'sec_interval', 13, 0, 0, 0); 2168
2170 insert into sys.args values (11357, 551, 'arg_1', 'real', 24, 0, 1, 1); 2170 ! 2169 insert into sys.args values (11355, 551, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2169
2171 insert into sys.args values (11358, 551, 'arg_2', 'real', 24, 0, 1, 2); 2171 ! 2170 insert into sys.args values (11356, 551, 'arg_2', 'decimal', 38, 0, 1, 2); 2170
2172 insert into sys.functions values (552, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 2172 ! 2171 insert into sys.functions values (552, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2171
2173 insert into sys.args values (11359, 552, 'res_0', 'real', 24, 0, 0, 0); 2173 ! 2172 insert into sys.args values (11357, 552, 'res_0', 'real', 24, 0, 0, 0); 2172
2174 insert into sys.args values (11360, 552, 'arg_1', 'real', 24, 0, 1, 1); 2174 ! 2173 insert into sys.args values (11358, 552, 'arg_1', 'real', 24, 0, 1, 1); 2173
2175 insert into sys.args values (11361, 552, 'arg_2', 'real', 24, 0, 1, 2); 2175 ! 2174 insert into sys.args values (11359, 552, 'arg_2', 'real', 24, 0, 1, 2); 2174
2176 insert into sys.functions values (553, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2176 ! 2175 insert into sys.functions values (553, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 2175
2177 insert into sys.args values (11362, 553, 'res_0', 'real', 24, 0, 0, 0); 2177 ! 2176 insert into sys.args values (11360, 553, 'res_0', 'real', 24, 0, 0, 0); 2176
2178 insert into sys.args values (11363, 553, 'arg_1', 'real', 24, 0, 1, 1); 2178 ! 2177 insert into sys.args values (11361, 553, 'arg_1', 'real', 24, 0, 1, 1); 2177
2179 insert into sys.args values (11364, 553, 'arg_2', 'real', 24, 0, 1, 2); 2179 ! 2178 insert into sys.args values (11362, 553, 'arg_2', 'real', 24, 0, 1, 2); 2178
2180 insert into sys.functions values (554, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2180 ! 2179 insert into sys.functions values (554, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2179
2181 insert into sys.args values (11365, 554, 'res_0', 'real', 24, 0, 0, 0); 2181 ! 2180 insert into sys.args values (11363, 554, 'res_0', 'real', 24, 0, 0, 0); 2180
2182 insert into sys.args values (11366, 554, 'arg_1', 'real', 24, 0, 1, 1); 2182 ! 2181 insert into sys.args values (11364, 554, 'arg_1', 'real', 24, 0, 1, 1); 2181
2183 insert into sys.args values (11367, 554, 'arg_2', 'real', 24, 0, 1, 2); 2183 ! 2182 insert into sys.args values (11365, 554, 'arg_2', 'real', 24, 0, 1, 2); 2182
2184 insert into sys.functions values (555, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2184 ! 2183 insert into sys.functions values (555, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2183
2185 insert into sys.args values (11368, 555, 'res_0', 'real', 24, 0, 0, 0); 2185 ! 2184 insert into sys.args values (11366, 555, 'res_0', 'real', 24, 0, 0, 0); 2184
2186 insert into sys.args values (11369, 555, 'arg_1', 'real', 24, 0, 1, 1); 2186 ! 2185 insert into sys.args values (11367, 555, 'arg_1', 'real', 24, 0, 1, 1); 2185
insert into sys. + 2186 insert into sys.args values (11368, 555, 'arg_2', 'real', 24, 0, 1, 2); 2186
2187 functions values (556, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 2187 ! 2187 insert into sys.functions values (556, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2187
2188 insert into sys.args values (11370, 556, 'res_0', 'real', 24, 0, 0, 0); 2188 ! 2188 insert into sys.args values (11369, 556, 'res_0', 'real', 24, 0, 0, 0); 2188
2189 insert into sys.args values (11371, 556, 'arg_1', 'real', 24, 0, 1, 1); 2189 ! 2189 insert into sys.args values (11370, 556, 'arg_1', 'real', 24, 0, 1, 1); 2189
2190 insert into sys.functions values (557, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 2190 ! 2190 insert into sys.functions values (557, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 2190
2191 insert into sys.args values (11372, 557, 'res_0', 'tinyint', 8, 0, 0, 0); 2191 ! 2191 insert into sys.args values (11371, 557, 'res_0', 'real', 24, 0, 0, 0); 2191
2192 insert into sys.args values (11373, 557, 'arg_1', 'real', 24, 0, 1, 1); 2192 ! 2192 insert into sys.args values (11372, 557, 'arg_1', 'real', 24, 0, 1, 1); 2192
2193 insert into sys.functions values (558, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2193 ! 2193 insert into sys.functions values (558, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 2193
2194 insert into sys.args values (11374, 558, 'res_0', 'real', 24, 0, 0, 0); 2194 -
2195 insert into sys.args values (11375, 558, 'arg_1', 'real', 24, 0, 1, 1); 2195 ! 2194 insert into sys.args values (11373, 558, 'res_0', 'tinyint', 8, 0, 0, 0); 2194
2196 insert into sys.args values (11376, 558, 'arg_2', 'real', 24, 0, 1, 2); 2196 ! 2195 insert into sys.args values (11374, 558, 'arg_1', 'real', 24, 0, 1, 1); 2195
2197 insert into sys.functions values (559, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 2197 ! 2196 insert into sys.functions values (559, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2196
2198 insert into sys.args values (11377, 559, 'res_0', 'real', 24, 0, 0, 0); 2198 ! 2197 insert into sys.args values (11375, 559, 'res_0', 'real', 24, 0, 0, 0); 2197
2199 insert into sys.args values (11378, 559, 'arg_1', 'real', 24, 0, 1, 1); 2199 ! 2198 insert into sys.args values (11376, 559, 'arg_1', 'real', 24, 0, 1, 1); 2198
2200 insert into sys.args values (11379, 559, 'arg_2', 'real', 24, 0, 1, 2); 2200 ! 2199 insert into sys.args values (11377, 559, 'arg_2', 'real', 24, 0, 1, 2); 2199
2201 insert into sys.functions values (560, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2201 ! 2200 insert into sys.functions values (560, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 2200
2202 insert into sys.args values (11380, 560, 'res_0', 'month_interval', 32, 0, 0, 0); 2202 ! 2201 insert into sys.args values (11378, 560, 'res_0', 'real', 24, 0, 0, 0); 2201
2203 insert into sys.args values (11381, 560, 'arg_1', 'month_interval', 32, 0, 1, 1); 2203 ! 2202 insert into sys.args values (11379, 560, 'arg_1', 'real', 24, 0, 1, 1); 2202
2204 insert into sys.args values (11382, 560, 'arg_2', 'real', 24, 0, 1, 2); 2204 ! 2203 insert into sys.args values (11380, 560, 'arg_2', 'real', 24, 0, 1, 2); 2203
2205 insert into sys.functions values (561, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2205 ! 2204 insert into sys.functions values (561, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2204
2206 insert into sys.args values (11383, 561, 'res_0', 'month_interval', 32, 0, 0, 0); 2206 ! 2205 insert into sys.args values (11381, 561, 'res_0', 'month_interval', 32, 0, 0, 0); 2205
2207 insert into sys.args values (11384, 561, 'arg_1', 'month_interval', 32, 0, 1, 1); 2207 ! 2206 insert into sys.args values (11382, 561, 'arg_1', 'month_interval', 32, 0, 1, 1); 2206
2208 insert into sys.args values (11385, 561, 'arg_2', 'real', 24, 0, 1, 2); 2208 ! 2207 insert into sys.args values (11383, 561, 'arg_2', 'real', 24, 0, 1, 2); 2207
2209 insert into sys.functions values (562, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2209 ! 2208 insert into sys.functions values (562, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2208
2210 insert into sys.args values (11386, 562, 'res_0', 'sec_interval', 13, 0, 0, 0); 2210 ! 2209 insert into sys.args values (11384, 562, 'res_0', 'month_interval', 32, 0, 0, 0); 2209
2211 insert into sys.args values (11387, 562, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2211 ! 2210 insert into sys.args values (11385, 562, 'arg_1', 'month_interval', 32, 0, 1, 1); 2210
2212 insert into sys.args values (11388, 562, 'arg_2', 'real', 24, 0, 1, 2); 2212 ! 2211 insert into sys.args values (11386, 562, 'arg_2', 'real', 24, 0, 1, 2); 2211
2213 insert into sys.functions values (563, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2213 ! 2212 insert into sys.functions values (563, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2212
2214 insert into sys.args values (11389, 563, 'res_0', 'sec_interval', 13, 0, 0, 0); 2214 ! 2213 insert into sys.args values (11387, 563, 'res_0', 'sec_interval', 13, 0, 0, 0); 2213
2215 insert into sys.args values (11390, 563, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2215 ! 2214 insert into sys.args values (11388, 563, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2214
2216 insert into sys.args values (11391, 563, 'arg_2', 'real', 24, 0, 1, 2); 2216 ! 2215 insert into sys.args values (11389, 563, 'arg_2', 'real', 24, 0, 1, 2); 2215
2217 insert into sys.functions values (564, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2217 ! 2216 insert into sys.functions values (564, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2216
2218 insert into sys.args values (11392, 564, 'res_0', 'double', 53, 0, 0, 0); 2218 ! 2217 insert into sys.args values (11390, 564, 'res_0', 'sec_interval', 13, 0, 0, 0); 2217
2219 insert into sys.args values (11393, 564, 'arg_1', 'double', 53, 0, 1, 1); 2219 ! 2218 insert into sys.args values (11391, 564, 'arg_1', 'sec_interval', 13, 0, 1, 1); 2218
2220 insert into sys.args values (11394, 564, 'arg_2', 'double', 53, 0, 1, 2); 2220 ! 2219 insert into sys.args values (11392, 564, 'arg_2', 'real', 24, 0, 1, 2); 2219
2221 insert into sys.functions values (565, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 2221 ! 2220 insert into sys.functions values (565, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 2220
2222 insert into sys.args values (11395, 565, 'res_0', 'double', 53, 0, 0, 0); 2222 ! 2221 insert into sys.args values (11393, 565, 'res_0', 'double', 53, 0, 0, 0); 2221
2223 insert into sys.args values (11396, 565, 'arg_1', 'double', 53, 0, 1, 1); 2223 ! 2222 insert into sys.args values (11394, 565, 'arg_1', 'double', 53, 0, 1, 1); 2222
2224 insert into sys.args values (11397, 565, 'arg_2', 'double', 53, 0, 1, 2); 2224 ! 2223 insert into sys.args values (11395, 565, 'arg_2', 'double', 53, 0, 1, 2); 2223
2225 insert into sys.functions values (566, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2225 ! 2224 insert into sys.functions values (566, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 2224
2226 insert into sys.args values (11398, 566, 'res_0', 'double', 53, 0, 0, 0); 2226 ! 2225 insert into sys.args values (11396, 566, 'res_0', 'double', 53, 0, 0, 0); 2225
2227 insert into sys.args values (11399, 566, 'arg_1', 'double', 53, 0, 1, 1); 2227 ! 2226 insert into sys.args values (11397, 566, 'arg_1', 'double', 53, 0, 1, 1); 2226
2228 insert into sys.args values (11400, 566, 'arg_2', 'double', 53, 0, 1, 2); 2228 ! 2227 insert into sys.args values (11398, 566, 'arg_2', 'double', 53, 0, 1, 2); 2227
2229 insert into sys.functions values (567, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 2229 ! 2228 insert into sys.functions values (567, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 2228
2230 insert into sys.args values (11401, 567, 'res_0', 'double', 53, 0, 0, 0); 2230 ! 2229 insert into sys.args values (11399, 567, 'res_0', 'double', 53, 0, 0, 0); 2229
2231 insert into sys.args values (11402, 567, 'arg_1', 'double', 53, 0, 1, 1); 2231 ! 2230 insert into sys.args values (11400, 567, 'arg_1', 'double', 53, 0, 1, 1); 2230
2232 insert into sys.args values (11403, 567, 'arg_2', 'double', 53, 0, 1, 2); 2232 ! 2231 insert into sys.args values (11401, 567, 'arg_2', 'double', 53, 0, 1, 2); 22