insert1.sim 15.9 KB
Newer Older
S
slguan 已提交
1 2
system sh/stop_dnodes.sh

S
slguan 已提交
3 4

system sh/deploy.sh -n dnode1 -i 1
S
scripts  
slguan 已提交
5
system sh/cfg.sh -n dnode1 -c wallevel -v 0
S
slguan 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
system sh/exec.sh -n dnode1 -s start

sleep 3000
sql connect

print ======== step1 
sql create database d3
sql use d3
sql create table tb (ts timestamp, a int)
sql insert into tb values(now-28d, -28)
sql select * from tb order by ts desc
if $rows != 1 then
  return -1
endi
if $data01 != -28 then
  return -1
endi
23
if $data02 != NULL then
S
slguan 已提交
24 25
  return -1
endi
26
if $data03 != NULL then
S
slguan 已提交
27 28
  return -1
endi
29
if $data04 != NULL then
S
slguan 已提交
30 31
  return -1
endi
32
if $data05 != NULL then
S
slguan 已提交
33 34
  return -1
endi
35
if $data06 != NULL then
S
slguan 已提交
36 37
  return -1
endi
38
if $data07 != NULL then
S
slguan 已提交
39 40
  return -1
endi
41
if $data08 != NULL then
S
slguan 已提交
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
  return -1
endi

print ======== step2
sleep 2500
sql alter table tb add column b smallint
sql insert into tb values(now-25d, -25, 0)
sleep 3000
sql select * from tb order by ts desc
print $rows
if $rows != 2 then
  return -1
endi
if $data01 != -25 then
  return -1
endi
if $data11 != -28 then
  return -1
endi
if $data02 != 0 then
  return -1
endi
64
if $data12 != NULL then
S
slguan 已提交
65 66
  return -1
endi
67
if $data13 != NULL then
S
slguan 已提交
68 69
  return -1
endi
70
if $data14 != NULL then
S
slguan 已提交
71 72
  return -1
endi
73
if $data15 != NULL then
S
slguan 已提交
74 75
  return -1
endi
76
if $data16 != NULL then
S
slguan 已提交
77 78
  return -1
endi
79
if $data17 != NULL then
S
slguan 已提交
80 81
  return -1
endi
82
if $data18 != NULL then
S
slguan 已提交
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
  return -1
endi

print ======== step3
sleep 2500
sql alter table tb add column c tinyint
sql insert into tb values(now-22d, -22, 3, 0)
sleep 3000
sql select * from tb order by ts asc
if $rows != 3 then then
  return -1
endi
if $data01 != -28 then
  return -1
endi
98
if $data02 != NULL then
S
slguan 已提交
99 100
  return -1
endi
101
if $data03 != NULL then
S
slguan 已提交
102 103
  return -1
endi
104
if $data04 != NULL then
S
slguan 已提交
105 106
  return -1
endi
107
if $data05 != NULL then
S
slguan 已提交
108 109
  return -1
endi
110
if $data06 != NULL then
S
slguan 已提交
111 112
  return -1
endi
113
if $data07 != NULL then
S
slguan 已提交
114 115
  return -1
endi
116
if $data08 != NULL then
S
slguan 已提交
117 118 119 120 121 122 123 124
  return -1
endi
if $data11 != -25 then
  return -1
endi
if $data12 != 0 then
  return -1
endi
125
if $data13 != NULL then
S
slguan 已提交
126 127
  return -1
endi
128
if $data14 != NULL then
S
slguan 已提交
129 130
  return -1
endi
131
if $data15 != NULL then
S
slguan 已提交
132 133
  return -1
endi
134
if $data16 != NULL then
S
slguan 已提交
135 136
  return -1
endi
137
if $data17 != NULL then
S
slguan 已提交
138 139
  return -1
endi
140
if $data18 != NULL then
S
slguan 已提交
141 142 143 144 145 146 147 148 149 150 151
  return -1
endi
if $data21 != -22 then
  return -1
endi
if $data22 != 3 then
  return -1
endi
if $data23 != 0 then
  return -1
endi
152
if $data24 != NULL then
S
slguan 已提交
153 154
  return -1
endi
155
if $data25 != NULL then
S
slguan 已提交
156 157
  return -1
endi
158
if $data26 != NULL then
S
slguan 已提交
159 160
  return -1
endi
161
if $data27 != NULL then
S
slguan 已提交
162 163
  return -1
endi
164
if $data28 != NULL then
S
slguan 已提交
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
  return -1
endi

print ======== step4
sleep 2500
sql alter table tb add column d int
sql insert into tb values(now-19d, -19, 6, 3, 0)
sleep 3000
sql select * from tb order by ts asc
if $rows != 4 then then
  return -1
endi
if $data01 != -28 then
  return -1
endi
180
if $data02 != NULL then
S
slguan 已提交
181 182
  return -1
endi
183
if $data03 != NULL then
S
slguan 已提交
184 185
  return -1
endi
186
if $data04 != NULL then
S
slguan 已提交
187 188
  return -1
endi
189
if $data05 != NULL then
S
slguan 已提交
190 191
  return -1
endi
192
if $data06 != NULL then
S
slguan 已提交
193 194
  return -1
endi
195
if $data07 != NULL then
S
slguan 已提交
196 197
  return -1
endi
198
if $data08 != NULL then
S
slguan 已提交
199 200 201 202 203 204 205 206
  return -1
endi
if $data11 != -25 then
  return -1
endi
if $data12 != 0 then
  return -1
endi
207
if $data13 != NULL then
S
slguan 已提交
208 209
  return -1
endi
210
if $data14 != NULL then
S
slguan 已提交
211 212
  return -1
endi
213
if $data15 != NULL then
S
slguan 已提交
214 215
  return -1
endi
216
if $data16 != NULL then
S
slguan 已提交
217 218
  return -1
endi
219
if $data17 != NULL then
S
slguan 已提交
220 221
  return -1
endi
222
if $data18 != NULL then
S
slguan 已提交
223 224 225 226 227 228 229 230 231 232 233
  return -1
endi
if $data21 != -22 then
  return -1
endi
if $data22 != 3 then
  return -1
endi
if $data23 != 0 then
  return -1
endi
234
if $data24 != NULL then
S
slguan 已提交
235 236
  return -1
endi
237
if $data25 != NULL then
S
slguan 已提交
238 239
  return -1
endi
240
if $data26 != NULL then
S
slguan 已提交
241 242
  return -1
endi
243
if $data27 != NULL then
S
slguan 已提交
244 245
  return -1
endi
246
if $data28 != NULL then
S
slguan 已提交
247 248 249 250 251 252 253 254 255 256 257 258 259 260
  return -1
endi
if $data31 != -19 then
  return -1
endi
if $data32 != 6 then
  return -1
endi
if $data33 != 3 then
  return -1
endi
if $data34 != 0 then
  return -1
endi
261
if $data35 != NULL then
S
slguan 已提交
262 263
  return -1
endi
264
if $data36 != NULL then
S
slguan 已提交
265 266
  return -1
endi
267
if $data37 != NULL then
S
slguan 已提交
268 269
  return -1
endi
270
if $data38 != NULL then
S
slguan 已提交
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293
  return -1
endi

print ======== step5
sleep 2500
sql alter table tb add column e bigint
sql insert into tb values(now-16d, -16, 9, 5, 4, 3)
sleep 3000
sql select count(e) from tb
if $data00 != 1 then
  return -1
endi
sql select count(c) from tb
if $data00 != 3 then then
  return -1
endi
sql select * from tb order by ts asc
if $rows != 5 then then
  return -1
endi
if $data01 != -28 then
  return -1
endi
294
if $data02 != NULL then
S
slguan 已提交
295 296
  return -1
endi
297
if $data03 != NULL then
S
slguan 已提交
298 299
  return -1
endi
300
if $data04 != NULL then
S
slguan 已提交
301 302
  return -1
endi
303
if $data05 != NULL then
S
slguan 已提交
304 305
  return -1
endi
306
if $data06 != NULL then
S
slguan 已提交
307 308
  return -1
endi
309
if $data07 != NULL then
S
slguan 已提交
310 311
  return -1
endi
312
if $data08 != NULL then
S
slguan 已提交
313 314 315 316 317 318 319 320
  return -1
endi
if $data11 != -25 then
  return -1
endi
if $data12 != 0 then
  return -1
endi
321
if $data13 != NULL then
S
slguan 已提交
322 323
  return -1
endi
324
if $data14 != NULL then
S
slguan 已提交
325 326
  return -1
endi
327
if $data15 != NULL then
S
slguan 已提交
328 329
  return -1
endi
330
if $data16 != NULL then
S
slguan 已提交
331 332
  return -1
endi
333
if $data17 != NULL then
S
slguan 已提交
334 335
  return -1
endi
336
if $data18 != NULL then
S
slguan 已提交
337 338 339 340 341 342 343 344 345 346 347
  return -1
endi
if $data21 != -22 then
  return -1
endi
if $data22 != 3 then
  return -1
endi
if $data23 != 0 then
  return -1
endi
348
if $data24 != NULL then
S
slguan 已提交
349 350
  return -1
endi
351
if $data25 != NULL then
S
slguan 已提交
352 353
  return -1
endi
354
if $data26 != NULL then
S
slguan 已提交
355 356
  return -1
endi
357
if $data27 != NULL then
S
slguan 已提交
358 359
  return -1
endi
360
if $data28 != NULL then
S
slguan 已提交
361 362 363 364 365 366 367 368 369 370 371 372 373 374
  return -1
endi
if $data31 != -19 then
  return -1
endi
if $data32 != 6 then
  return -1
endi
if $data33 != 3 then
  return -1
endi
if $data34 != 0 then
  return -1
endi
375
if $data35 != NULL then
S
slguan 已提交
376 377
  return -1
endi
378
if $data36 != NULL then
S
slguan 已提交
379 380
  return -1
endi
381
if $data37 != NULL then
S
slguan 已提交
382 383
  return -1
endi
384
if $data38 != NULL then
S
slguan 已提交
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401
  return -1
endi
if $data41 != -16 then
  return -1
endi
if $data42 != 9 then
  return -1
endi
if $data43 != 5 then
  return -1
endi
if $data44 != 4 then
  return -1
endi
if $data45 != 3 then
  return -1
endi
402
if $data46 != NULL then
S
slguan 已提交
403 404
  return -1
endi
405
if $data47 != NULL then
S
slguan 已提交
406 407
  return -1
endi
408
if $data48 != NULL then
S
slguan 已提交
409 410 411 412 413 414 415 416 417 418 419 420 421 422 423
  return -1
endi

print ======== step6
sleep 2500
sql alter table tb add column f float
sql insert into tb values(now-13d, -13, 12, 11, 10, 9, 8)
sleep 3000
sql select * from tb order by ts asc
if $rows != 6 then then
  return -1
endi
if $data01 != -28 then
  return -1
endi
424
if $data02 != NULL then
S
slguan 已提交
425 426
  return -1
endi
427
if $data03 != NULL then
S
slguan 已提交
428 429
  return -1
endi
430
if $data04 != NULL then
S
slguan 已提交
431 432
  return -1
endi
433
if $data05 != NULL then
S
slguan 已提交
434 435
  return -1
endi
436
if $data06 != NULL then
S
slguan 已提交
437 438
  return -1
endi
439
if $data07 != NULL then
S
slguan 已提交
440 441
  return -1
endi
442
if $data08 != NULL then
S
slguan 已提交
443 444 445 446 447 448 449 450
  return -1
endi
if $data11 != -25 then
  return -1
endi
if $data12 != 0 then
  return -1
endi
451
if $data13 != NULL then
S
slguan 已提交
452 453
  return -1
endi
454
if $data14 != NULL then
S
slguan 已提交
455 456
  return -1
endi
457
if $data15 != NULL then
S
slguan 已提交
458 459
  return -1
endi
460
if $data16 != NULL then
S
slguan 已提交
461 462
  return -1
endi
463
if $data17 != NULL then
S
slguan 已提交
464 465
  return -1
endi
466
if $data18 != NULL then
S
slguan 已提交
467 468 469 470 471 472 473 474 475 476 477
  return -1
endi
if $data21 != -22 then
  return -1
endi
if $data22 != 3 then
  return -1
endi
if $data23 != 0 then
  return -1
endi
478
if $data24 != NULL then
S
slguan 已提交
479 480
  return -1
endi
481
if $data25 != NULL then
S
slguan 已提交
482 483
  return -1
endi
484
if $data26 != NULL then
S
slguan 已提交
485 486
  return -1
endi
487
if $data27 != NULL then
S
slguan 已提交
488 489
  return -1
endi
490
if $data28 != NULL then
S
slguan 已提交
491 492 493 494 495 496 497 498 499 500 501 502 503 504
  return -1
endi
if $data31 != -19 then
  return -1
endi
if $data32 != 6 then
  return -1
endi
if $data33 != 3 then
  return -1
endi
if $data34 != 0 then
  return -1
endi
505
if $data35 != NULL then
S
slguan 已提交
506 507
  return -1
endi
508
if $data36 != NULL then
S
slguan 已提交
509 510
  return -1
endi
511
if $data37 != NULL then
S
slguan 已提交
512 513
  return -1
endi
514
if $data38 != NULL then
S
slguan 已提交
515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531
  return -1
endi
if $data41 != -16 then
  return -1
endi
if $data42 != 9 then
  return -1
endi
if $data43 != 5 then
  return -1
endi
if $data44 != 4 then
  return -1
endi
if $data45 != 3 then
  return -1
endi
532
if $data46 != NULL then
S
slguan 已提交
533 534
  return -1
endi
535
if $data47 != NULL then
S
slguan 已提交
536 537
  return -1
endi
538
if $data48 != NULL then
S
slguan 已提交
539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558
  return -1
endi
if $data51 != -13 then
  return -1
endi
if $data52 != 12 then
  return -1
endi
if $data53 != 11 then
  return -1
endi
if $data54 != 10 then
  return -1
endi
if $data55 != 9 then
  return -1
endi
if $data56 != 8.00000 then
  return -1
endi
559
if $data57 != NULL then
S
slguan 已提交
560 561
  return -1
endi
562
if $data58 != NULL then
S
slguan 已提交
563 564 565 566 567 568 569 570 571 572 573 574 575 576 577
  return -1
endi

print ======== step7
sleep 2500
sql alter table tb add column g double
sql insert into tb values(now-10d, -10, 15, 14, 13, 12, 11, 10)
sleep 3000
sql select * from tb order by ts asc
if $rows != 7 then
  return -1
endi
if $data01 != -28 then
  return -1
endi
578
if $data02 != NULL then
S
slguan 已提交
579 580
  return -1
endi
581
if $data03 != NULL then
S
slguan 已提交
582 583
  return -1
endi
584
if $data04 != NULL then
S
slguan 已提交
585 586
  return -1
endi
587
if $data05 != NULL then
S
slguan 已提交
588 589
  return -1
endi
590
if $data06 != NULL then
S
slguan 已提交
591 592
  return -1
endi
593
if $data07 != NULL then
S
slguan 已提交
594 595
  return -1
endi
596
if $data08 != NULL then
S
slguan 已提交
597 598 599 600 601 602 603 604
  return -1
endi
if $data11 != -25 then
  return -1
endi
if $data12 != 0 then
  return -1
endi
605
if $data13 != NULL then
S
slguan 已提交
606 607
  return -1
endi
608
if $data14 != NULL then
S
slguan 已提交
609 610
  return -1
endi
611
if $data15 != NULL then
S
slguan 已提交
612 613
  return -1
endi
614
if $data16 != NULL then
S
slguan 已提交
615 616
  return -1
endi
617
if $data17 != NULL then
S
slguan 已提交
618 619
  return -1
endi
620
if $data18 != NULL then
S
slguan 已提交
621 622 623 624 625 626 627 628 629 630 631
  return -1
endi
if $data21 != -22 then
  return -1
endi
if $data22 != 3 then
  return -1
endi
if $data23 != 0 then
  return -1
endi
632
if $data24 != NULL then
S
slguan 已提交
633 634
  return -1
endi
635
if $data25 != NULL then
S
slguan 已提交
636 637
  return -1
endi
638
if $data26 != NULL then
S
slguan 已提交
639 640
  return -1
endi
641
if $data27 != NULL then
S
slguan 已提交
642 643
  return -1
endi
644
if $data28 != NULL then
S
slguan 已提交
645 646 647 648 649 650 651 652 653 654 655 656 657 658
  return -1
endi
if $data31 != -19 then
  return -1
endi
if $data32 != 6 then
  return -1
endi
if $data33 != 3 then
  return -1
endi
if $data34 != 0 then
  return -1
endi
659
if $data35 != NULL then
S
slguan 已提交
660 661
  return -1
endi
662
if $data36 != NULL then
S
slguan 已提交
663 664
  return -1
endi
665
if $data37 != NULL then
S
slguan 已提交
666 667
  return -1
endi
668
if $data38 != NULL then
S
slguan 已提交
669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685
  return -1
endi
if $data41 != -16 then
  return -1
endi
if $data42 != 9 then
  return -1
endi
if $data43 != 5 then
  return -1
endi
if $data44 != 4 then
  return -1
endi
if $data45 != 3 then
  return -1
endi
686
if $data46 != NULL then
S
slguan 已提交
687 688
  return -1
endi
689
if $data47 != NULL then
S
slguan 已提交
690 691
  return -1
endi
692
if $data48 != NULL then
S
slguan 已提交
693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712
  return -1
endi
if $data51 != -13 then
  return -1
endi
if $data52 != 12 then
  return -1
endi
if $data53 != 11 then
  return -1
endi
if $data54 != 10 then
  return -1
endi
if $data55 != 9 then
  return -1
endi
if $data56 != 8.00000 then
  return -1
endi
713
if $data57 != NULL then
S
slguan 已提交
714 715
  return -1
endi
716
if $data58 != NULL then
S
slguan 已提交
717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739
  return -1
endi
if $data61 != -10 then
  return -1
endi
if $data62 != 15 then
  return -1
endi
if $data63 != 14 then
  return -1
endi
if $data64 != 13 then
  return -1
endi
if $data65 != 12 then
  return -1
endi
if $data66 != 11.00000 then
  return -1
endi
if $data67 != 10.000000000 then
  return -1
endi
740
if $data68 != NULL then
S
slguan 已提交
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755
  return -1
endi

print ======== step8
sleep 2500
sql alter table tb add column h binary(10)
sql insert into tb values(now-7d, -7, 18, 17, 16, 15, 14, 13, '11')
sleep 3000
sql select * from tb order by ts asc
if $rows != 8 then
  return -1
endi
if $data01 != -28 then
  return -1
endi
756
if $data02 != NULL then
S
slguan 已提交
757 758
  return -1
endi
759
if $data03 != NULL then
S
slguan 已提交
760 761
  return -1
endi
762
if $data04 != NULL then
S
slguan 已提交
763 764
  return -1
endi
765
if $data05 != NULL then
S
slguan 已提交
766 767
  return -1
endi
768
if $data06 != NULL then
S
slguan 已提交
769 770
  return -1
endi
771
if $data07 != NULL then
S
slguan 已提交
772 773
  return -1
endi
774
if $data08 != NULL then
S
slguan 已提交
775 776 777 778 779 780 781 782
  return -1
endi
if $data11 != -25 then
  return -1
endi
if $data12 != 0 then
  return -1
endi
783
if $data13 != NULL then
S
slguan 已提交
784 785
  return -1
endi
786
if $data14 != NULL then
S
slguan 已提交
787 788
  return -1
endi
789
if $data15 != NULL then
S
slguan 已提交
790 791
  return -1
endi
792
if $data16 != NULL then
S
slguan 已提交
793 794
  return -1
endi
795
if $data17 != NULL then
S
slguan 已提交
796 797
  return -1
endi
798
if $data18 != NULL then
S
slguan 已提交
799 800 801 802 803 804 805 806 807 808 809
  return -1
endi
if $data21 != -22 then
  return -1
endi
if $data22 != 3 then
  return -1
endi
if $data23 != 0 then
  return -1
endi
810
if $data24 != NULL then
S
slguan 已提交
811 812
  return -1
endi
813
if $data25 != NULL then
S
slguan 已提交
814 815
  return -1
endi
816
if $data26 != NULL then
S
slguan 已提交
817 818
  return -1
endi
819
if $data27 != NULL then
S
slguan 已提交
820 821
  return -1
endi
822
if $data28 != NULL then
S
slguan 已提交
823 824 825 826 827 828 829 830 831 832 833 834 835 836
  return -1
endi
if $data31 != -19 then
  return -1
endi
if $data32 != 6 then
  return -1
endi
if $data33 != 3 then
  return -1
endi
if $data34 != 0 then
  return -1
endi
837
if $data35 != NULL then
S
slguan 已提交
838 839
  return -1
endi
840
if $data36 != NULL then
S
slguan 已提交
841 842
  return -1
endi
843
if $data37 != NULL then
S
slguan 已提交
844 845
  return -1
endi
846
if $data38 != NULL then
S
slguan 已提交
847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863
  return -1
endi
if $data41 != -16 then
  return -1
endi
if $data42 != 9 then
  return -1
endi
if $data43 != 5 then
  return -1
endi
if $data44 != 4 then
  return -1
endi
if $data45 != 3 then
  return -1
endi
864
if $data46 != NULL then
S
slguan 已提交
865 866
  return -1
endi
867
if $data47 != NULL then
S
slguan 已提交
868 869
  return -1
endi
870
if $data48 != NULL then
S
slguan 已提交
871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890
  return -1
endi
if $data51 != -13 then
  return -1
endi
if $data52 != 12 then
  return -1
endi
if $data53 != 11 then
  return -1
endi
if $data54 != 10 then
  return -1
endi
if $data55 != 9 then
  return -1
endi
if $data56 != 8.00000 then
  return -1
endi
891
if $data57 != NULL then
S
slguan 已提交
892 893
  return -1
endi
894
if $data58 != NULL then
S
slguan 已提交
895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917
  return -1
endi
if $data61 != -10 then
  return -1
endi
if $data62 != 15 then
  return -1
endi
if $data63 != 14 then
  return -1
endi
if $data64 != 13 then
  return -1
endi
if $data65 != 12 then
  return -1
endi
if $data66 != 11.00000 then
  return -1
endi
if $data67 != 10.000000000 then
  return -1
endi
918
if $data68 != NULL then
S
slguan 已提交
919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944
  return -1
endi
if $data71 != -7 then
  return -1
endi
if $data72 != 18 then
  return -1
endi
if $data73 != 17 then
  return -1
endi
if $data74 != 16 then
  return -1
endi
if $data75 != 15 then
  return -1
endi
if $data76 != 14.00000 then
  return -1
endi
if $data77 != 13.000000000 then
  return -1
endi
if $data78 != 11 then
  return -1
endi
945
if $data79 != NULL then
S
slguan 已提交
946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961
  return -1
endi

print ======== step9
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 5000
system sh/exec.sh -n dnode1 -s start
sleep 5000

sql select * from tb
if $rows != 8 then
  return -1
endi
if $data01 != -28 then
  return -1
endi
962
if $data02 != NULL then
S
slguan 已提交
963 964
  return -1
endi
965
if $data03 != NULL then
S
slguan 已提交
966 967
  return -1
endi
968
if $data04 != NULL then
S
slguan 已提交
969 970
  return -1
endi
971
if $data05 != NULL then
S
slguan 已提交
972 973
  return -1
endi
974
if $data06 != NULL then
S
slguan 已提交
975 976
  return -1
endi
977
if $data07 != NULL then
S
slguan 已提交
978 979
  return -1
endi
980
if $data08 != NULL then
S
slguan 已提交
981 982 983 984 985 986 987 988
  return -1
endi
if $data11 != -25 then
  return -1
endi
if $data12 != 0 then
  return -1
endi
989
if $data13 != NULL then
S
slguan 已提交
990 991
  return -1
endi
992
if $data14 != NULL then
S
slguan 已提交
993 994
  return -1
endi
995
if $data15 != NULL then
S
slguan 已提交
996 997
  return -1
endi
998
if $data16 != NULL then
S
slguan 已提交
999 1000
  return -1
endi
1001
if $data17 != NULL then
S
slguan 已提交
1002 1003
  return -1
endi
1004
if $data18 != NULL then
S
slguan 已提交
1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015
  return -1
endi
if $data21 != -22 then
  return -1
endi
if $data22 != 3 then
  return -1
endi
if $data23 != 0 then
  return -1
endi
1016
if $data24 != NULL then
S
slguan 已提交
1017 1018
  return -1
endi
1019
if $data25 != NULL then
S
slguan 已提交
1020 1021
  return -1
endi
1022
if $data26 != NULL then
S
slguan 已提交
1023 1024
  return -1
endi
1025
if $data27 != NULL then
S
slguan 已提交
1026 1027
  return -1
endi
1028
if $data28 != NULL then
S
slguan 已提交
1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042
  return -1
endi
if $data31 != -19 then
  return -1
endi
if $data32 != 6 then
  return -1
endi
if $data33 != 3 then
  return -1
endi
if $data34 != 0 then
  return -1
endi
1043
if $data35 != NULL then
S
slguan 已提交
1044 1045
  return -1
endi
1046
if $data36 != NULL then
S
slguan 已提交
1047 1048
  return -1
endi
1049
if $data37 != NULL then
S
slguan 已提交
1050 1051
  return -1
endi
1052
if $data38 != NULL then
S
slguan 已提交
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
  return -1
endi
if $data41 != -16 then
  return -1
endi
if $data42 != 9 then
  return -1
endi
if $data43 != 5 then
  return -1
endi
if $data44 != 4 then
  return -1
endi
if $data45 != 3 then
  return -1
endi
1070
if $data46 != NULL then
S
slguan 已提交
1071 1072
  return -1
endi
1073
if $data47 != NULL then
S
slguan 已提交
1074 1075
  return -1
endi
1076
if $data48 != NULL then
S
slguan 已提交
1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096
  return -1
endi
if $data51 != -13 then
  return -1
endi
if $data52 != 12 then
  return -1
endi
if $data53 != 11 then
  return -1
endi
if $data54 != 10 then
  return -1
endi
if $data55 != 9 then
  return -1
endi
if $data56 != 8.00000 then
  return -1
endi
1097
if $data57 != NULL then
S
slguan 已提交
1098 1099
  return -1
endi
1100
if $data58 != NULL then
S
slguan 已提交
1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123
  return -1
endi
if $data61 != -10 then
  return -1
endi
if $data62 != 15 then
  return -1
endi
if $data63 != 14 then
  return -1
endi
if $data64 != 13 then
  return -1
endi
if $data65 != 12 then
  return -1
endi
if $data66 != 11.00000 then
  return -1
endi
if $data67 != 10.000000000 then
  return -1
endi
1124
if $data68 != NULL then
S
slguan 已提交
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150
  return -1
endi
if $data71 != -7 then
  return -1
endi
if $data72 != 18 then
  return -1
endi
if $data73 != 17 then
  return -1
endi
if $data74 != 16 then
  return -1
endi
if $data75 != 15 then
  return -1
endi
if $data76 != 14.00000 then
  return -1
endi
if $data77 != 13.000000000 then
  return -1
endi
if $data78 != 11 then
  return -1
endi
guanshengliang's avatar
scripts  
guanshengliang 已提交
1151 1152

system sh/exec.sh -n dnode1 -s stop -x SIGINT