change null to NULL according to Dr. Liao

This commit is contained in:
Shuduo Sang 2020-05-08 10:34:29 +08:00
parent 8d284de417
commit 4281e3a5e7
69 changed files with 737 additions and 737 deletions

View File

@ -20,25 +20,25 @@ endi
if $data01 != -28 then if $data01 != -28 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
@ -61,25 +61,25 @@ endi
if $data02 != 0 then if $data02 != 0 then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
@ -95,25 +95,25 @@ endi
if $data01 != -28 then if $data01 != -28 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != -25 then if $data11 != -25 then
@ -122,22 +122,22 @@ endi
if $data12 != 0 then if $data12 != 0 then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data21 != -22 then if $data21 != -22 then
@ -149,19 +149,19 @@ endi
if $data23 != 0 then if $data23 != 0 then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
@ -177,25 +177,25 @@ endi
if $data01 != -28 then if $data01 != -28 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != -25 then if $data11 != -25 then
@ -204,22 +204,22 @@ endi
if $data12 != 0 then if $data12 != 0 then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data21 != -22 then if $data21 != -22 then
@ -231,19 +231,19 @@ endi
if $data23 != 0 then if $data23 != 0 then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data31 != -19 then if $data31 != -19 then
@ -258,16 +258,16 @@ endi
if $data34 != 0 then if $data34 != 0 then
return -1 return -1
endi endi
if $data35 != null then if $data35 != NULL then
return -1 return -1
endi endi
if $data36 != null then if $data36 != NULL then
return -1 return -1
endi endi
if $data37 != null then if $data37 != NULL then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
@ -291,25 +291,25 @@ endi
if $data01 != -28 then if $data01 != -28 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != -25 then if $data11 != -25 then
@ -318,22 +318,22 @@ endi
if $data12 != 0 then if $data12 != 0 then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data21 != -22 then if $data21 != -22 then
@ -345,19 +345,19 @@ endi
if $data23 != 0 then if $data23 != 0 then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data31 != -19 then if $data31 != -19 then
@ -372,16 +372,16 @@ endi
if $data34 != 0 then if $data34 != 0 then
return -1 return -1
endi endi
if $data35 != null then if $data35 != NULL then
return -1 return -1
endi endi
if $data36 != null then if $data36 != NULL then
return -1 return -1
endi endi
if $data37 != null then if $data37 != NULL then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
if $data41 != -16 then if $data41 != -16 then
@ -399,13 +399,13 @@ endi
if $data45 != 3 then if $data45 != 3 then
return -1 return -1
endi endi
if $data46 != null then if $data46 != NULL then
return -1 return -1
endi endi
if $data47 != null then if $data47 != NULL then
return -1 return -1
endi endi
if $data48 != null then if $data48 != NULL then
return -1 return -1
endi endi
@ -421,25 +421,25 @@ endi
if $data01 != -28 then if $data01 != -28 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != -25 then if $data11 != -25 then
@ -448,22 +448,22 @@ endi
if $data12 != 0 then if $data12 != 0 then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data21 != -22 then if $data21 != -22 then
@ -475,19 +475,19 @@ endi
if $data23 != 0 then if $data23 != 0 then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data31 != -19 then if $data31 != -19 then
@ -502,16 +502,16 @@ endi
if $data34 != 0 then if $data34 != 0 then
return -1 return -1
endi endi
if $data35 != null then if $data35 != NULL then
return -1 return -1
endi endi
if $data36 != null then if $data36 != NULL then
return -1 return -1
endi endi
if $data37 != null then if $data37 != NULL then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
if $data41 != -16 then if $data41 != -16 then
@ -529,13 +529,13 @@ endi
if $data45 != 3 then if $data45 != 3 then
return -1 return -1
endi endi
if $data46 != null then if $data46 != NULL then
return -1 return -1
endi endi
if $data47 != null then if $data47 != NULL then
return -1 return -1
endi endi
if $data48 != null then if $data48 != NULL then
return -1 return -1
endi endi
if $data51 != -13 then if $data51 != -13 then
@ -556,10 +556,10 @@ endi
if $data56 != 8.00000 then if $data56 != 8.00000 then
return -1 return -1
endi endi
if $data57 != null then if $data57 != NULL then
return -1 return -1
endi endi
if $data58 != null then if $data58 != NULL then
return -1 return -1
endi endi
@ -575,25 +575,25 @@ endi
if $data01 != -28 then if $data01 != -28 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != -25 then if $data11 != -25 then
@ -602,22 +602,22 @@ endi
if $data12 != 0 then if $data12 != 0 then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data21 != -22 then if $data21 != -22 then
@ -629,19 +629,19 @@ endi
if $data23 != 0 then if $data23 != 0 then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data31 != -19 then if $data31 != -19 then
@ -656,16 +656,16 @@ endi
if $data34 != 0 then if $data34 != 0 then
return -1 return -1
endi endi
if $data35 != null then if $data35 != NULL then
return -1 return -1
endi endi
if $data36 != null then if $data36 != NULL then
return -1 return -1
endi endi
if $data37 != null then if $data37 != NULL then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
if $data41 != -16 then if $data41 != -16 then
@ -683,13 +683,13 @@ endi
if $data45 != 3 then if $data45 != 3 then
return -1 return -1
endi endi
if $data46 != null then if $data46 != NULL then
return -1 return -1
endi endi
if $data47 != null then if $data47 != NULL then
return -1 return -1
endi endi
if $data48 != null then if $data48 != NULL then
return -1 return -1
endi endi
if $data51 != -13 then if $data51 != -13 then
@ -710,10 +710,10 @@ endi
if $data56 != 8.00000 then if $data56 != 8.00000 then
return -1 return -1
endi endi
if $data57 != null then if $data57 != NULL then
return -1 return -1
endi endi
if $data58 != null then if $data58 != NULL then
return -1 return -1
endi endi
if $data61 != -10 then if $data61 != -10 then
@ -737,7 +737,7 @@ endi
if $data67 != 10.000000000 then if $data67 != 10.000000000 then
return -1 return -1
endi endi
if $data68 != null then if $data68 != NULL then
return -1 return -1
endi endi
@ -753,25 +753,25 @@ endi
if $data01 != -28 then if $data01 != -28 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != -25 then if $data11 != -25 then
@ -780,22 +780,22 @@ endi
if $data12 != 0 then if $data12 != 0 then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data21 != -22 then if $data21 != -22 then
@ -807,19 +807,19 @@ endi
if $data23 != 0 then if $data23 != 0 then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data31 != -19 then if $data31 != -19 then
@ -834,16 +834,16 @@ endi
if $data34 != 0 then if $data34 != 0 then
return -1 return -1
endi endi
if $data35 != null then if $data35 != NULL then
return -1 return -1
endi endi
if $data36 != null then if $data36 != NULL then
return -1 return -1
endi endi
if $data37 != null then if $data37 != NULL then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
if $data41 != -16 then if $data41 != -16 then
@ -861,13 +861,13 @@ endi
if $data45 != 3 then if $data45 != 3 then
return -1 return -1
endi endi
if $data46 != null then if $data46 != NULL then
return -1 return -1
endi endi
if $data47 != null then if $data47 != NULL then
return -1 return -1
endi endi
if $data48 != null then if $data48 != NULL then
return -1 return -1
endi endi
if $data51 != -13 then if $data51 != -13 then
@ -888,10 +888,10 @@ endi
if $data56 != 8.00000 then if $data56 != 8.00000 then
return -1 return -1
endi endi
if $data57 != null then if $data57 != NULL then
return -1 return -1
endi endi
if $data58 != null then if $data58 != NULL then
return -1 return -1
endi endi
if $data61 != -10 then if $data61 != -10 then
@ -915,7 +915,7 @@ endi
if $data67 != 10.000000000 then if $data67 != 10.000000000 then
return -1 return -1
endi endi
if $data68 != null then if $data68 != NULL then
return -1 return -1
endi endi
if $data71 != -7 then if $data71 != -7 then
@ -942,7 +942,7 @@ endi
if $data78 != 11 then if $data78 != 11 then
return -1 return -1
endi endi
if $data79 != null then if $data79 != NULL then
return -1 return -1
endi endi
@ -959,25 +959,25 @@ endi
if $data01 != -28 then if $data01 != -28 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != -25 then if $data11 != -25 then
@ -986,22 +986,22 @@ endi
if $data12 != 0 then if $data12 != 0 then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data21 != -22 then if $data21 != -22 then
@ -1013,19 +1013,19 @@ endi
if $data23 != 0 then if $data23 != 0 then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data31 != -19 then if $data31 != -19 then
@ -1040,16 +1040,16 @@ endi
if $data34 != 0 then if $data34 != 0 then
return -1 return -1
endi endi
if $data35 != null then if $data35 != NULL then
return -1 return -1
endi endi
if $data36 != null then if $data36 != NULL then
return -1 return -1
endi endi
if $data37 != null then if $data37 != NULL then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
if $data41 != -16 then if $data41 != -16 then
@ -1067,13 +1067,13 @@ endi
if $data45 != 3 then if $data45 != 3 then
return -1 return -1
endi endi
if $data46 != null then if $data46 != NULL then
return -1 return -1
endi endi
if $data47 != null then if $data47 != NULL then
return -1 return -1
endi endi
if $data48 != null then if $data48 != NULL then
return -1 return -1
endi endi
if $data51 != -13 then if $data51 != -13 then
@ -1094,10 +1094,10 @@ endi
if $data56 != 8.00000 then if $data56 != 8.00000 then
return -1 return -1
endi endi
if $data57 != null then if $data57 != NULL then
return -1 return -1
endi endi
if $data58 != null then if $data58 != NULL then
return -1 return -1
endi endi
if $data61 != -10 then if $data61 != -10 then
@ -1121,7 +1121,7 @@ endi
if $data67 != 10.000000000 then if $data67 != 10.000000000 then
return -1 return -1
endi endi
if $data68 != null then if $data68 != NULL then
return -1 return -1
endi endi
if $data71 != -7 then if $data71 != -7 then

View File

@ -74,7 +74,7 @@ endi
if $data07 != 8 then if $data07 != 8 then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != 1 then if $data11 != 1 then
@ -98,7 +98,7 @@ endi
if $data17 != 8 then if $data17 != 8 then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
@ -129,10 +129,10 @@ endi
if $data06 != 8 then if $data06 != 8 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != 2 then if $data11 != 2 then
@ -153,10 +153,10 @@ endi
if $data16 != 8 then if $data16 != 8 then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data21 != 1 then if $data21 != 1 then
@ -177,10 +177,10 @@ endi
if $data26 != 8 then if $data26 != 8 then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
@ -206,16 +206,16 @@ endi
if $data04 != 0 then if $data04 != 0 then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != 3 then if $data11 != 3 then
@ -230,16 +230,16 @@ endi
if $data14 != 8 then if $data14 != 8 then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data21 != 2 then if $data21 != 2 then
@ -254,16 +254,16 @@ endi
if $data24 != 8 then if $data24 != 8 then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data31 != 1 then if $data31 != 1 then
@ -278,16 +278,16 @@ endi
if $data34 != 8 then if $data34 != 8 then
return -1 return -1
endi endi
if $data35 != null then if $data35 != NULL then
return -1 return -1
endi endi
if $data36 != null then if $data36 != NULL then
return -1 return -1
endi endi
if $data37 != null then if $data37 != NULL then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
@ -313,19 +313,19 @@ endi
if $data03 != 5 then if $data03 != 5 then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data11 != -19 then if $data11 != -19 then
@ -337,19 +337,19 @@ endi
if $data13 != 0 then if $data13 != 0 then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data21 != 3 then if $data21 != 3 then
@ -361,19 +361,19 @@ endi
if $data23 != 8 then if $data23 != 8 then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data31 != 2 then if $data31 != 2 then
@ -385,19 +385,19 @@ endi
if $data33 != 8 then if $data33 != 8 then
return -1 return -1
endi endi
if $data34 != null then if $data34 != NULL then
return -1 return -1
endi endi
if $data35 != null then if $data35 != NULL then
return -1 return -1
endi endi
if $data36 != null then if $data36 != NULL then
return -1 return -1
endi endi
if $data37 != null then if $data37 != NULL then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
if $data41 != 1 then if $data41 != 1 then
@ -409,19 +409,19 @@ endi
if $data43 != 8 then if $data43 != 8 then
return -1 return -1
endi endi
if $data44 != null then if $data44 != NULL then
return -1 return -1
endi endi
if $data45 != null then if $data45 != NULL then
return -1 return -1
endi endi
if $data46 != null then if $data46 != NULL then
return -1 return -1
endi endi
if $data47 != null then if $data47 != NULL then
return -1 return -1
endi endi
if $data48 != null then if $data48 != NULL then
return -1 return -1
endi endi
@ -443,22 +443,22 @@ endi
if $data12 != 5 then if $data12 != 5 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data21 != -19 then if $data21 != -19 then
@ -467,22 +467,22 @@ endi
if $data22 != 0 then if $data22 != 0 then
return -1 return -1
endi endi
if $data23 != null then if $data23 != NULL then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data31 != 3 then if $data31 != 3 then
@ -491,22 +491,22 @@ endi
if $data32 != 8 then if $data32 != 8 then
return -1 return -1
endi endi
if $data33 != null then if $data33 != NULL then
return -1 return -1
endi endi
if $data34 != null then if $data34 != NULL then
return -1 return -1
endi endi
if $data35 != null then if $data35 != NULL then
return -1 return -1
endi endi
if $data36 != null then if $data36 != NULL then
return -1 return -1
endi endi
if $data37 != null then if $data37 != NULL then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
if $data41 != 2 then if $data41 != 2 then
@ -515,22 +515,22 @@ endi
if $data42 != 8 then if $data42 != 8 then
return -1 return -1
endi endi
if $data43 != null then if $data43 != NULL then
return -1 return -1
endi endi
if $data44 != null then if $data44 != NULL then
return -1 return -1
endi endi
if $data45 != null then if $data45 != NULL then
return -1 return -1
endi endi
if $data46 != null then if $data46 != NULL then
return -1 return -1
endi endi
if $data47 != null then if $data47 != NULL then
return -1 return -1
endi endi
if $data48 != null then if $data48 != NULL then
return -1 return -1
endi endi
if $data51 != 1 then if $data51 != 1 then
@ -539,19 +539,19 @@ endi
if $data52 != 8 then if $data52 != 8 then
return -1 return -1
endi endi
if $data53 != null then if $data53 != NULL then
return -1 return -1
endi endi
if $data54 != null then if $data54 != NULL then
return -1 return -1
endi endi
if $data55 != null then if $data55 != NULL then
return -1 return -1
endi endi
if $data57 != null then if $data57 != NULL then
return -1 return -1
endi endi
if $data58 != null then if $data58 != NULL then
return -1 return -1
endi endi
@ -568,52 +568,52 @@ print data01 = $data01
if $data01 != -10 then if $data01 != -10 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data11 != -13 then if $data11 != -13 then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data21 != -16 then if $data21 != -16 then
return -1 return -1
endi endi
if $data22 != null then if $data22 != NULL then
return -1 return -1
endi endi
if $data31 != -19 then if $data31 != -19 then
return -1 return -1
endi endi
if $data32 != null then if $data32 != NULL then
return -1 return -1
endi endi
if $data33 != null then if $data33 != NULL then
return -1 return -1
endi endi
if $data41 != 3 then if $data41 != 3 then
return -1 return -1
endi endi
if $data42 != null then if $data42 != NULL then
return -1 return -1
endi endi
if $data51 != 2 then if $data51 != 2 then
return -1 return -1
endi endi
if $data52 != null then if $data52 != NULL then
return -1 return -1
endi endi
if $data53 != null then if $data53 != NULL then
return -1 return -1
endi endi
if $data61 != 1 then if $data61 != 1 then
return -1 return -1
endi endi
if $data62 != null then if $data62 != NULL then
return -1 return -1
endi endi
@ -632,52 +632,52 @@ endi
if $data01 != -10 then if $data01 != -10 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data11 != -13 then if $data11 != -13 then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data21 != -16 then if $data21 != -16 then
return -1 return -1
endi endi
if $data22 != null then if $data22 != NULL then
return -1 return -1
endi endi
if $data31 != -19 then if $data31 != -19 then
return -1 return -1
endi endi
if $data32 != null then if $data32 != NULL then
return -1 return -1
endi endi
if $data33 != null then if $data33 != NULL then
return -1 return -1
endi endi
if $data41 != 3 then if $data41 != 3 then
return -1 return -1
endi endi
if $data42 != null then if $data42 != NULL then
return -1 return -1
endi endi
if $data51 != 2 then if $data51 != 2 then
return -1 return -1
endi endi
if $data52 != null then if $data52 != NULL then
return -1 return -1
endi endi
if $data53 != null then if $data53 != NULL then
return -1 return -1
endi endi
if $data61 != 1 then if $data61 != 1 then
return -1 return -1
endi endi
if $data62 != null then if $data62 != NULL then
return -1 return -1
endi endi

View File

@ -770,7 +770,7 @@ endi
if $data21 != INT then if $data21 != INT then
return -1 return -1
endi endi
if $data30 != null then if $data30 != NULL then
return -1 return -1
endi endi

View File

@ -673,7 +673,7 @@ endi
if $data11 != INT then if $data11 != INT then
return -1 return -1
endi endi
if $data20 != null then if $data20 != NULL then
return -1 return -1
endi endi

View File

@ -51,7 +51,7 @@ $tb = $tbPrefix . $i
sql select * from $tb sql select * from $tb
print $data00 $data01 $data02 print $data00 $data01 $data02
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
if $data02 != 0 then if $data02 != 0 then
@ -165,7 +165,7 @@ sql select * from t2
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
@ -173,7 +173,7 @@ sql select * from t3
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
@ -181,7 +181,7 @@ sql select * from t4
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
@ -189,7 +189,7 @@ sql select * from t5
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
@ -197,7 +197,7 @@ sql select * from t6
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
@ -205,7 +205,7 @@ sql select * from t7
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
@ -213,7 +213,7 @@ endi
#if $rows != 1 then #if $rows != 1 then
# return -1 # return -1
#endi #endi
#if $data01 != null then #if $data01 != NULL then
# return -1 # return -1
#endi #endi

View File

@ -16,14 +16,14 @@ print =============== step1 - parse
system_content curl -u root:taosdata -d '{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"windows","instance":"1","objectname":"Processor"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/ system_content curl -u root:taosdata -d '{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"windows","instance":"1","objectname":"Processor"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/
print $system_content print $system_content
if $system_content != @{"status":"error","code":1022,"desc":"database name can not be null"}@ then if $system_content != @{"status":"error","code":1022,"desc":"database name can not be NULL"}@ then
return -1 return -1
endi endi
system_content curl -H 'Authorization: Taosd /KfeAzX/f9na8qdtNZmtONryp201ma04bEl8LcvLUd7a8qdtNZmtONryp201ma04' -d 'select * from d1.table_admin' -d '{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"windows","instance":"1","objectname":"Processor"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/ system_content curl -H 'Authorization: Taosd /KfeAzX/f9na8qdtNZmtONryp201ma04bEl8LcvLUd7a8qdtNZmtONryp201ma04' -d 'select * from d1.table_admin' -d '{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"windows","instance":"1","objectname":"Processor"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/
print $system_content print $system_content
if $system_content != @{"status":"error","code":1022,"desc":"database name can not be null"}@ then if $system_content != @{"status":"error","code":1022,"desc":"database name can not be NULL"}@ then
return -1 return -1
endi endi
@ -170,7 +170,7 @@ endi
system_content curl -u root:taosdata -d '{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"":"windows"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/db/root/taosdata1 system_content curl -u root:taosdata -d '{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"":"windows"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/db/root/taosdata1
print $system_content print $system_content
if $system_content != @{"status":"error","code":1038,"desc":"tag name is null"}@ then if $system_content != @{"status":"error","code":1038,"desc":"tag name is NULL"}@ then
return -1 return -1
endi endi
@ -191,14 +191,14 @@ endi
system_content curl -u root:taosdata -d '{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":""},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/db/root/taosdata1 system_content curl -u root:taosdata -d '{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":""},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/db/root/taosdata1
print $system_content print $system_content
if $system_content != @{"status":"error","code":1041,"desc":"tag value is null"}@ then if $system_content != @{"status":"error","code":1041,"desc":"tag value is NULL"}@ then
return -1 return -1
endi endi
system_content curl -u root:taosdata -d '{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"1022":"111"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/db/root/taosdata1 system_content curl -u root:taosdata -d '{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"1022":"111"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/db/root/taosdata1
print $system_content print $system_content
if $system_content != @{"status":"error","code":1042,"desc":"table is null"}@ then if $system_content != @{"status":"error","code":1042,"desc":"table is NULL"}@ then
return -1 return -1
endi endi
@ -219,14 +219,14 @@ endi
system_content curl -u root:taosdata -d '{"fields":{"":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"windows","instance":"1","objectname":"Processor"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/db/root/taosdata1 system_content curl -u root:taosdata -d '{"fields":{"":0,"Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"windows","instance":"1","objectname":"Processor"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/db/root/taosdata1
print $system_content print $system_content
if $system_content != @{"status":"error","code":1048,"desc":"field name is null"}@ then if $system_content != @{"status":"error","code":1048,"desc":"field name is NULL"}@ then
return -1 return -1
endi endi
system_content curl -u root:taosdata -d '{"fields":{"Percent_DPC_Time":"","Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"windows","instance":"1","objectname":"Processor"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/db/root/taosdata1 system_content curl -u root:taosdata -d '{"fields":{"Percent_DPC_Time":"","Percent_Idle_Time":95.59830474853516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"windows","instance":"1","objectname":"Processor"},"timestamp":1535784122}' 127.0.0.1:6020/telegraf/db/root/taosdata1
print $system_content print $system_content
if $system_content != @{"status":"error","code":1051,"desc":"field value is null"}@ then if $system_content != @{"status":"error","code":1051,"desc":"field value is NULL"}@ then
return -1 return -1
endi endi

View File

@ -38,7 +38,7 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
sql alter table tb add column c3 nchar(4) sql alter table tb add column c3 nchar(4)
@ -46,7 +46,7 @@ sql select * from tb order by ts desc
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
sql insert into tb values (now, 2, 2, 'taos') sql insert into tb values (now, 2, 2, 'taos')
@ -72,13 +72,13 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
sql alter table mt add column c3 nchar(4) sql alter table mt add column c3 nchar(4)
sql select * from tb order by ts desc sql select * from tb order by ts desc
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
sql insert into tb values (now, 2, 2, 'taos') sql insert into tb values (now, 2, 2, 'taos')
@ -89,7 +89,7 @@ endi
if $data03 != taos then if $data03 != taos then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
sql drop table tb sql drop table tb
@ -169,7 +169,7 @@ endi
if $data01 != 2 then if $data01 != 2 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
sql alter table mt add column c2 int sql alter table mt add column c2 int
@ -200,7 +200,7 @@ if $data02 != insert then
endi endi
sql alter table mt add column c3 nchar(4) sql alter table mt add column c3 nchar(4)
sql select * from tb order by ts desc sql select * from tb order by ts desc
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
# the query below should be deleted after bug fix # the query below should be deleted after bug fix

View File

@ -36,16 +36,16 @@ print rows = $rows
if $rows != 4 then if $rows != 4 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data23 != null then if $data23 != NULL then
return -1 return -1
endi endi
if $data33 != null then if $data33 != NULL then
return -1 return -1
endi endi
@ -53,10 +53,10 @@ sql select c1 from stb
if $rows != 4 then if $rows != 4 then
return -1 return -1
endi endi
if $data00 != null then if $data00 != NULL then
return -1 return -1
endi endi
if $data30 != null then if $data30 != NULL then
return -1 return -1
endi endi
@ -69,10 +69,10 @@ sql select c1+speed from car1
if $rows != 2 then if $rows != 2 then
return -1 return -1
endi endi
if $data00 != null then if $data00 != NULL then
return -1 return -1
endi endi
if $data10 != null then if $data10 != NULL then
return -1 return -1
endi endi
@ -80,10 +80,10 @@ sql select * from car1
if $rows != 2 then if $rows != 2 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi

View File

@ -10,7 +10,7 @@ print ========== bool
sql create table mt_bool (ts timestamp, c bool) tags (tagname bool) sql create table mt_bool (ts timestamp, c bool) tags (tagname bool)
## case 00: static create table for test tag values ## case 00: static create table for test tag values
sql create table st_bool_0 using mt_bool tags (null) sql create table st_bool_0 using mt_bool tags (NULL)
sql select tagname from st_bool_0 sql select tagname from st_bool_0
if $data00 != NULL then if $data00 != NULL then
print ==1== expect: NULL, actually: $data00 print ==1== expect: NULL, actually: $data00
@ -22,7 +22,7 @@ if $data00 != NULL then
print ==2== expect: NULL, actually: $data00 print ==2== expect: NULL, actually: $data00
return -1 return -1
endi endi
sql create table st_bool_2 using mt_bool tags ('null') sql create table st_bool_2 using mt_bool tags ('NULL')
sql select tagname from st_bool_2 sql select tagname from st_bool_2
if $data00 != NULL then if $data00 != NULL then
print ==3== expect: NULL, actually: $data00 print ==3== expect: NULL, actually: $data00
@ -34,7 +34,7 @@ if $data00 != NULL then
print ==4== expect: NULL, actually: $data00 print ==4== expect: NULL, actually: $data00
return -1 return -1
endi endi
sql create table st_bool_4 using mt_bool tags ("null") sql create table st_bool_4 using mt_bool tags ("NULL")
sql select tagname from st_bool_4 sql select tagname from st_bool_4
if $data00 != NULL then if $data00 != NULL then
print ==5== expect: NULL, actually: $data00 print ==5== expect: NULL, actually: $data00
@ -120,7 +120,7 @@ if $data00 != 1 then
endi endi
## case 01: insert values for test column values ## case 01: insert values for test column values
sql insert into st_bool_0 values (now, null) sql insert into st_bool_0 values (now, NULL)
sql select * from st_bool_0 sql select * from st_bool_0
if $rows != 1 then if $rows != 1 then
return -1 return -1
@ -138,7 +138,7 @@ if $data01 != NULL then
print ==18== expect: NULL, actually: $data01 print ==18== expect: NULL, actually: $data01
return -1 return -1
endi endi
sql insert into st_bool_2 values (now, 'null') sql insert into st_bool_2 values (now, 'NULL')
sql select * from st_bool_2 sql select * from st_bool_2
if $rows != 1 then if $rows != 1 then
return -1 return -1
@ -156,7 +156,7 @@ if $data01 != NULL then
print ==20== expect: NULL, actually: $data01 print ==20== expect: NULL, actually: $data01
return -1 return -1
endi endi
sql insert into st_bool_4 values (now, "null") sql insert into st_bool_4 values (now, "NULL")
sql select * from st_bool_4 sql select * from st_bool_4
if $rows != 1 then if $rows != 1 then
return -1 return -1
@ -284,7 +284,7 @@ if $data01 != 1 then
endi endi
## case 02: dynamic create table for test tag values ## case 02: dynamic create table for test tag values
sql insert into st_bool_16 using mt_bool tags (null) values (now, null) sql insert into st_bool_16 using mt_bool tags (NULL) values (now, NULL)
sql select tagname from st_bool_16 sql select tagname from st_bool_16
if $data00 != NULL then if $data00 != NULL then
print ==33== expect: NULL, actually: $data00 print ==33== expect: NULL, actually: $data00
@ -307,7 +307,7 @@ if $data01 != NULL then
print ==36== expect: NULL, actually: $data01 print ==36== expect: NULL, actually: $data01
return -1 return -1
endi endi
sql insert into st_bool_18 using mt_bool tags ('null') values (now, 'null') sql insert into st_bool_18 using mt_bool tags ('NULL') values (now, 'NULL')
sql select tagname from st_bool_18 sql select tagname from st_bool_18
if $data00 != NULL then if $data00 != NULL then
print ==37== expect: NULL, actually: $data00 print ==37== expect: NULL, actually: $data00
@ -329,7 +329,7 @@ if $data01 != NULL then
print ==40== expect: NULL, actually: $data01 print ==40== expect: NULL, actually: $data01
return -1 return -1
endi endi
sql insert into st_bool_20 using mt_bool tags ("null") values (now, "null") sql insert into st_bool_20 using mt_bool tags ("NULL") values (now, "NULL")
sql select tagname from st_bool_20 sql select tagname from st_bool_20
if $data00 != NULL then if $data00 != NULL then
print ==41== expect: NULL, actually: $data00 print ==41== expect: NULL, actually: $data00
@ -505,7 +505,7 @@ endi
#if $data00 != false then #if $data00 != false then
# return -1 # return -1
#endi #endi
#sql alter table st_bool_0 set tag tagname=null #sql alter table st_bool_0 set tag tagname=NULL
#sql select tagname from st_bool_0 #sql select tagname from st_bool_0
#if $data00 != NULL then #if $data00 != NULL then
# return -1 # return -1
@ -515,7 +515,7 @@ endi
#if $data00 != true then #if $data00 != true then
# return -1 # return -1
#endi #endi
#sql alter table st_bool_0 set tag tagname='null' #sql alter table st_bool_0 set tag tagname='NULL'
#sql select tagname from st_bool_0 #sql select tagname from st_bool_0
#if $data00 != NULL then #if $data00 != NULL then
# return -1 # return -1
@ -535,7 +535,7 @@ endi
#if $data00 != true then #if $data00 != true then
# return -1 # return -1
#endi #endi
#sql alter table st_bool_0 set tag tagname="null" #sql alter table st_bool_0 set tag tagname="NULL"
#sql select tagname from st_bool_0 #sql select tagname from st_bool_0
#if $data00 != NULL then #if $data00 != NULL then
# return -1 # return -1

View File

@ -46,7 +46,7 @@ if $rows != 0 then
return -1 return -1
endi endi
print data00 = $data00 print data00 = $data00
if $data00 != null then if $data00 != NULL then
return -1 return -1
endi endi
print case_insensitivity test passed print case_insensitivity test passed

View File

@ -45,7 +45,7 @@ if $rows != 0 then
return -1 return -1
endi endi
print data00 = $data00 print data00 = $data00
if $data00 != null then if $data00 != NULL then
return -1 return -1
endi endi
print case_insensitivity test passed print case_insensitivity test passed

View File

@ -390,7 +390,7 @@ sql select first(c6), first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $
sql select first(c6), first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, 1e1, 1e1, 1e1) sql select first(c6), first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, 1e1, 1e1, 1e1)
sql select first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, '1e', '1e1') sql select first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, '1e', '1e1')
# fill quoted values into bool column will throw error unless the value is 'true' or 'false' Note:2018-10-24 # fill quoted values into bool column will throw error unless the value is 'true' or 'false' Note:2018-10-24
# fill values into binary or nchar columns will be set to null automatically Note:2018-10-24 # fill values into binary or nchar columns will be set to NULL automatically Note:2018-10-24
sql_error select first(c6), first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, '1e', '1e1','1e1') sql_error select first(c6), first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, '1e', '1e1','1e1')
sql select first(c6), first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, true, true, true) sql select first(c6), first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, true, true, true)
sql select first(c6), first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, 'true', 'true','true') sql select first(c6), first(c7), first(c8) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, 'true', 'true','true')
@ -649,25 +649,25 @@ endi
if $data01 != 1 then if $data01 != 1 then
return -1 return -1
endi endi
if $data11 != null then if $data11 != NULL then
return -1 return -1
endi endi
if $data21 != 1 then if $data21 != 1 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
if $data41 != 1 then if $data41 != 1 then
return -1 return -1
endi endi
if $data51 != null then if $data51 != NULL then
return -1 return -1
endi endi
if $data61 != 1 then if $data61 != 1 then
return -1 return -1
endi endi
if $data71 != null then if $data71 != NULL then
return -1 return -1
endi endi
if $data81 != 1 then if $data81 != 1 then
@ -686,25 +686,25 @@ endi
if $data01 != 0.000000000 then if $data01 != 0.000000000 then
return -1 return -1
endi endi
if $data11 != null then if $data11 != NULL then
return -1 return -1
endi endi
if $data21 != 1.000000000 then if $data21 != 1.000000000 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
if $data41 != 2.000000000 then if $data41 != 2.000000000 then
return -1 return -1
endi endi
if $data51 != null then if $data51 != NULL then
return -1 return -1
endi endi
if $data61 != 3.000000000 then if $data61 != 3.000000000 then
return -1 return -1
endi endi
if $data71 != null then if $data71 != NULL then
return -1 return -1
endi endi
if $data81 != 4.000000000 then if $data81 != 4.000000000 then
@ -719,25 +719,25 @@ endi
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data11 != null then if $data11 != NULL then
return -1 return -1
endi endi
if $data21 != 1 then if $data21 != 1 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
if $data41 != 2 then if $data41 != 2 then
return -1 return -1
endi endi
if $data51 != null then if $data51 != NULL then
return -1 return -1
endi endi
if $data61 != 3 then if $data61 != 3 then
return -1 return -1
endi endi
if $data71 != null then if $data71 != NULL then
return -1 return -1
endi endi
if $data81 != 4 then if $data81 != 4 then
@ -752,25 +752,25 @@ endi
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data11 != null then if $data11 != NULL then
return -1 return -1
endi endi
if $data21 != 1 then if $data21 != 1 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
if $data41 != 2 then if $data41 != 2 then
return -1 return -1
endi endi
if $data51 != null then if $data51 != NULL then
return -1 return -1
endi endi
if $data61 != 3 then if $data61 != 3 then
return -1 return -1
endi endi
if $data71 != null then if $data71 != NULL then
return -1 return -1
endi endi
if $data81 != 4 then if $data81 != 4 then
@ -785,25 +785,25 @@ endi
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data11 != null then if $data11 != NULL then
return -1 return -1
endi endi
if $data21 != 1 then if $data21 != 1 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
if $data41 != 2 then if $data41 != 2 then
return -1 return -1
endi endi
if $data51 != null then if $data51 != NULL then
return -1 return -1
endi endi
if $data61 != 3 then if $data61 != 3 then
return -1 return -1
endi endi
if $data71 != null then if $data71 != NULL then
return -1 return -1
endi endi
if $data81 != 4 then if $data81 != 4 then
@ -818,25 +818,25 @@ endi
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data11 != null then if $data11 != NULL then
return -1 return -1
endi endi
if $data21 != 1 then if $data21 != 1 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
if $data41 != 2 then if $data41 != 2 then
return -1 return -1
endi endi
if $data51 != null then if $data51 != NULL then
return -1 return -1
endi endi
if $data61 != 3 then if $data61 != 3 then
return -1 return -1
endi endi
if $data71 != null then if $data71 != NULL then
return -1 return -1
endi endi
if $data81 != 4 then if $data81 != 4 then

View File

@ -68,7 +68,7 @@ $tsu = $tsu + $ts0
#### fill test cases for stables #### fill test cases for stables
# null values in each group # NULL values in each group
#sql select count(*) from $stb where ts >= '2018-09-16 00:00:00.000' and ts <= $tsu interval(1d) fill(prev) group by t1 #sql select count(*) from $stb where ts >= '2018-09-16 00:00:00.000' and ts <= $tsu interval(1d) fill(prev) group by t1
#$val = $tbNum * 2 #$val = $tbNum * 2
#if rows != $val then #if rows != $val then
@ -227,7 +227,7 @@ sql select first(c7), first(c8), first(c9) from $stb where ts >= $ts0 and ts <=
sql select first(c7), first(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, 1e1, 1e1, 1e1) sql select first(c7), first(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, 1e1, 1e1, 1e1)
sql select first(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, '1e', '1e1') sql select first(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, '1e', '1e1')
# fill quoted values into bool column will throw error unless the value is 'true' or 'false' Note:2018-10-24 # fill quoted values into bool column will throw error unless the value is 'true' or 'false' Note:2018-10-24
# fill values into binary or nchar columns will be set to null automatically Note:2018-10-24 # fill values into binary or nchar columns will be set to NULL automatically Note:2018-10-24
sql_error select first(c7), first(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, '1e', '1e1','1e1') sql_error select first(c7), first(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, '1e', '1e1','1e1')
sql select first(c7), first(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, true, true, true) sql select first(c7), first(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, true, true, true)
sql select first(c7), first(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, 'true', 'true','true') sql select first(c7), first(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, 'true', 'true','true')
@ -283,13 +283,13 @@ endi
if $data08 != 0 then if $data08 != 0 then
return -1 return -1
endi endi
if $data15 != null then if $data15 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != 0 then if $data18 != 0 then
@ -313,16 +313,16 @@ endi
if $data07 != nchar0 then if $data07 != nchar0 then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data08 != 5 then if $data08 != 5 then
@ -341,7 +341,7 @@ endi
if $data07 != nchar0 then if $data07 != nchar0 then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
@ -359,16 +359,16 @@ endi
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data09 != 5 then if $data09 != 5 then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data19 != 5 then if $data19 != 5 then
@ -386,17 +386,17 @@ endi
## NULL fill ## NULL fill
print fill(NULL) print fill(NULL)
sql select max(c1), min(c2), avg(c3), sum(c4), count(c5), first(c7), last(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu and t1 > 4 interval(5m) fill(value, null) group by t1 limit 5 sql select max(c1), min(c2), avg(c3), sum(c4), count(c5), first(c7), last(c8), first(c9) from $stb where ts >= $ts0 and ts <= $tsu and t1 > 4 interval(5m) fill(value, NULL) group by t1 limit 5
if $rows != 25 then if $rows != 25 then
return -1 return -1
endi endi
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data06 != 1 then if $data06 != 1 then
@ -405,16 +405,16 @@ endi
if $data09 != 5 then if $data09 != 5 then
return -1 return -1
endi endi
if $data11 != null then if $data11 != NULL then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data19 != 5 then if $data19 != 5 then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data59 != 6 then if $data59 != 6 then

View File

@ -40,27 +40,27 @@ print data03 = $data03
if $data03 != 0.00000 then if $data03 != 0.00000 then
return -1 return -1
endi endi
#if $data04 != null then #if $data04 != NULL then
if $data04 != 0.000000000 then if $data04 != 0.000000000 then
return -1 return -1
endi endi
#if $data05 != null then #if $data05 != NULL then
if $data05 != 0 then if $data05 != 0 then
return -1 return -1
endi endi
#if $data06 != null then #if $data06 != NULL then
if $data06 != 0 then if $data06 != 0 then
return -1 return -1
endi endi
#if $data07 != null then #if $data07 != NULL then
if $data07 != 1 then if $data07 != 1 then
return -1 return -1
endi endi
#if $data08 != null then #if $data08 != NULL then
if $data08 != BINARY then if $data08 != BINARY then
return -1 return -1
endi endi
#if $data09 != null then #if $data09 != NULL then
if $data09 != NCHAR then if $data09 != NCHAR then
return -1 return -1
endi endi

View File

@ -218,10 +218,10 @@ if $data46 != @quoted double@ then
return -1 return -1
endi endi
# case: support null char of the binary field [TBASE-660] # case: support NULL char of the binary field [TBASE-660]
sql create table nullb (ts timestamp, c1 binary(20), c2 binary(20), c3 float) sql create table NULLb (ts timestamp, c1 binary(20), c2 binary(20), c3 float)
sql insert into nullb values ('2018-09-17 09:00:00.000', '', '', 3.746) sql insert into NULLb values ('2018-09-17 09:00:00.000', '', '', 3.746)
sql select * from nullb sql select * from NULLb
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi

View File

@ -87,7 +87,7 @@ $tb = $tbPrefix . 0
### illegal queries on a table ### illegal queries on a table
sql_error select interp(ts), c1 from $tb where ts = $ts0 sql_error select interp(ts), c1 from $tb where ts = $ts0
sql_error select interp(ts) from $tb where ts >= $ts0 sql_error select interp(ts) from $tb where ts >= $ts0
sql_error select interp(ts), max(c1), min(c2), count(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $t fill(null) sql_error select interp(ts), max(c1), min(c2), count(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $t fill(NULL)
### interp from tb + fill ### interp from tb + fill
$t = $ts0 + 1000 $t = $ts0 + 1000
@ -107,7 +107,7 @@ $tb = $tbPrefix . 0
return -1 return -1
endi endi
## fill(null) ## fill(NULL)
$t = $tsu - 1000 $t = $tsu - 1000
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $t fill(value, NULL) order by ts asc sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $t fill(value, NULL) order by ts asc
if $rows != 1 then if $rows != 1 then
@ -116,31 +116,31 @@ $tb = $tbPrefix . 0
if $data00 != @18-11-25 19:29:59.000@ then if $data00 != @18-11-25 19:29:59.000@ then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data09 != null then if $data09 != NULL then
return -1 return -1
endi endi
@ -209,7 +209,7 @@ $tb = $tbPrefix . 0
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != 0.00000 then if $data03 != 0.00000 then
@ -254,13 +254,13 @@ $tb = $tbPrefix . 0
if $data06 != 0 then if $data06 != 0 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data09 != null then if $data09 != NULL then
return -1 return -1
endi endi
# columns contain NULL values # columns contain NULL values
@ -276,13 +276,13 @@ $tb = $tbPrefix . 0
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != 0.00167 then if $data03 != 0.00167 then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != 0 then if $data05 != 0 then
@ -291,13 +291,13 @@ $tb = $tbPrefix . 0
if $data06 != 0 then if $data06 != 0 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data09 != null then if $data09 != NULL then
return -1 return -1
endi endi
@ -346,13 +346,13 @@ $tb = $tbPrefix . 0
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != 0.00000 then if $data03 != 0.00000 then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != 0 then if $data05 != 0 then
@ -413,10 +413,10 @@ $tb = $tbPrefix . 0
if $data07 != 1 then if $data07 != 1 then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data09 != null then if $data09 != NULL then
return -1 return -1
endi endi
@ -454,7 +454,7 @@ $tb = $tbPrefix . 0
if $data09 != nchar0 then if $data09 != nchar0 then
return -1 return -1
endi endi
# table has null columns # table has NULL columns
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from intp_tb3 where ts = $ts0 fill(value, -1, -2, -3) sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from intp_tb3 where ts = $ts0 fill(value, -1, -2, -3)
if $rows != 1 then if $rows != 1 then
return -1 return -1
@ -465,13 +465,13 @@ $tb = $tbPrefix . 0
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != 0.00000 then if $data03 != 0.00000 then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
@ -521,10 +521,10 @@ $tb = $tbPrefix . 0
if $data08 != intp_tb0 then if $data08 != intp_tb0 then
return -1 return -1
endi endi
if $data22 != null then if $data22 != NULL then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data28 != intp_tb2 then if $data28 != intp_tb2 then
@ -558,51 +558,51 @@ $tb = $tbPrefix . 0
if $data21 != 0 then if $data21 != 0 then
return -1 return -1
endi endi
if $data22 != null then if $data22 != NULL then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
## interp(*) from stb + group by + fill(none) ## interp(*) from stb + group by + fill(none)
$t = $ts0 + 1000 $t = $ts0 + 1000
sql select interp(*) from $stb where ts = $t fill(null) group by tbname sql select interp(*) from $stb where ts = $t fill(NULL) group by tbname
if $rows != $tbNum then if $rows != $tbNum then
return -1 return -1
endi endi
if $data00 != @18-09-17 09:00:01.000@ then if $data00 != @18-09-17 09:00:01.000@ then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data23 != null then if $data23 != NULL then
return -1 return -1
endi endi
if $data34 != null then if $data34 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data16 != null then if $data16 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
if $data09 != null then if $data09 != NULL then
return -1 return -1
endi endi
sql select interp(*) from $stb where ts = $ts0 fill(null) group by tbname sql select interp(*) from $stb where ts = $ts0 fill(NULL) group by tbname
print $rows print $rows
if $rows != 4 then if $rows != 4 then
@ -619,10 +619,10 @@ endi
if $data21 != 0 then if $data21 != 0 then
return -1 return -1
endi endi
if $data22 != null then if $data22 != NULL then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
@ -670,13 +670,13 @@ endi
if $data21 != 0 then if $data21 != 0 then
return -1 return -1
endi endi
if $data22 != null then if $data22 != NULL then
return -1 return -1
endi endi
if $data23 != 0.00000 then if $data23 != 0.00000 then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != 0 then if $data25 != 0 then
@ -724,13 +724,13 @@ endi
if $data06 != 0 then if $data06 != 0 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data09 != null then if $data09 != NULL then
return -1 return -1
endi endi
if $data20 != @18-09-17 09:00:01.000@ then if $data20 != @18-09-17 09:00:01.000@ then
@ -739,13 +739,13 @@ endi
if $data21 != 0 then if $data21 != 0 then
return -1 return -1
endi endi
if $data22 != null then if $data22 != NULL then
return -1 return -1
endi endi
if $data23 != 0.00167 then if $data23 != 0.00167 then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != 0 then if $data25 != 0 then
@ -754,13 +754,13 @@ endi
if $data26 != 0 then if $data26 != 0 then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data29 != null then if $data29 != NULL then
return -1 return -1
endi endi
@ -796,10 +796,10 @@ endi
if $data07 != 1 then if $data07 != 1 then
return -1 return -1
endi endi
if $data08 != null then if $data08 != NULL then
return -1 return -1
endi endi
if $data09 != null then if $data09 != NULL then
return -1 return -1
endi endi
if $data20 != @18-09-17 09:00:01.000@ then if $data20 != @18-09-17 09:00:01.000@ then
@ -826,9 +826,9 @@ endi
if $data27 != 1 then if $data27 != 1 then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data29 != null then if $data29 != NULL then
return -1 return -1
endi endi

View File

@ -27,7 +27,7 @@ endi
if $data01 != 1439 then if $data01 != 1439 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != 1439.00000 then if $data03 != 1439.00000 then

View File

@ -62,13 +62,13 @@ endi
if $data01 != 9 then if $data01 != 9 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != 9.00000 then if $data03 != 9.00000 then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != 9 then if $data05 != 9 then
@ -130,13 +130,13 @@ endi
if $data11 != 0 then if $data11 != 0 then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data13 != 0.00000 then if $data13 != 0.00000 then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != 0 then if $data15 != 0 then
@ -261,13 +261,13 @@ endi
if $data01 != 0 then if $data01 != 0 then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data23 != 2.00000 then if $data23 != 2.00000 then
return -1 return -1
endi endi
if $data34 != null then if $data34 != NULL then
return -1 return -1
endi endi
if $data45 != 4 then if $data45 != 4 then
@ -428,7 +428,7 @@ endi
if $data26 != 1 then if $data26 != 1 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
if $data42 != 4.500000000 then if $data42 != 4.500000000 then
@ -458,7 +458,7 @@ endi
if $data00 != 9 then if $data00 != 9 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
if $data12 != 4.500000000 then if $data12 != 4.500000000 then

View File

@ -111,16 +111,16 @@ endi
if $data09 != nchar0 then if $data09 != nchar0 then
return -1 return -1
endi endi
if $data11 != null then if $data11 != NULL then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
@ -543,7 +543,7 @@ endi
if $data14 != 8.000000000 then if $data14 != 8.000000000 then
return -1 return -1
endi endi
if $data21 != null then if $data21 != NULL then
return -1 return -1
endi endi
@ -613,7 +613,7 @@ endi
if $data21 != 7.000000000 then if $data21 != 7.000000000 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
sql select avg(c1), avg(c2), avg(c3), avg(c4), avg(c5), avg(c6) from $tb where ts >= $ts0 and ts <= $tsu interval(30m) limit 3 offset 1 sql select avg(c1), avg(c2), avg(c3), avg(c4), avg(c5), avg(c6) from $tb where ts >= $ts0 and ts <= $tsu interval(30m) limit 3 offset 1

View File

@ -166,13 +166,13 @@ endi
if $data47 != 1 then if $data47 != 1 then
return -1 return -1
endi endi
if $data57 != null then if $data57 != NULL then
return -1 return -1
endi endi
if $data68 != binary3 then if $data68 != binary3 then
return -1 return -1
endi endi
if $data79 != null then if $data79 != NULL then
return -1 return -1
endi endi
@ -216,10 +216,10 @@ endi
if $data09 != nchar5 then if $data09 != nchar5 then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data19 != null then if $data19 != NULL then
return -1 return -1
endi endi
if $data16 != -2.000000000 then if $data16 != -2.000000000 then
@ -269,10 +269,10 @@ endi
if $data27 != 1 then if $data27 != 1 then
return -1 return -1
endi endi
if $data38 != null then if $data38 != NULL then
return -1 return -1
endi endi
if $data49 != null then if $data49 != NULL then
return -1 return -1
endi endi

View File

@ -117,13 +117,13 @@ endi
if $data01 != 9 then if $data01 != 9 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != 9.00000 then if $data03 != 9.00000 then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != 9 then if $data05 != 9 then
@ -185,13 +185,13 @@ endi
if $data11 != 0 then if $data11 != 0 then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data13 != 0.00000 then if $data13 != 0.00000 then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
if $data15 != 0 then if $data15 != 0 then
@ -405,7 +405,7 @@ endi
if $data28 != 4 then if $data28 != 4 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
if $data47 != nchar0 then if $data47 != nchar0 then
@ -427,7 +427,7 @@ endi
if $data00 != 9 then if $data00 != 9 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
if $data02 != 4.500000000 then if $data02 != 4.500000000 then
@ -726,16 +726,16 @@ endi
if $data00 != @18-09-17 09:10:00.000@ then if $data00 != @18-09-17 09:10:00.000@ then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data09 != 5 then if $data09 != 5 then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data19 != 5 then if $data19 != 5 then
@ -747,13 +747,13 @@ endi
if $data24 != 0 then if $data24 != 0 then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != 1 then if $data28 != 1 then

View File

@ -111,16 +111,16 @@ endi
if $data09 != nchar0 then if $data09 != nchar0 then
return -1 return -1
endi endi
if $data11 != null then if $data11 != NULL then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi
if $data14 != null then if $data14 != NULL then
return -1 return -1
endi endi
@ -537,7 +537,7 @@ endi
if $data14 != 8.000000000 then if $data14 != 8.000000000 then
return -1 return -1
endi endi
if $data21 != null then if $data21 != NULL then
return -1 return -1
endi endi
@ -554,7 +554,7 @@ endi
if $data21 != 9 then if $data21 != 9 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
@ -574,7 +574,7 @@ endi
if $data31 != 9 then if $data31 != 9 then
return -1 return -1
endi endi
if $data41 != null then if $data41 != NULL then
return -1 return -1
endi endi
sql select sum(c1), sum(c2), sum(c3), sum(c4), sum(c5), sum(c6) from $tb where ts >= $ts0 and ts <= $tsu interval(30m) limit 5 offset 1 sql select sum(c1), sum(c2), sum(c3), sum(c4), sum(c5), sum(c6) from $tb where ts >= $ts0 and ts <= $tsu interval(30m) limit 5 offset 1
@ -590,7 +590,7 @@ endi
if $data21 != 9 then if $data21 != 9 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
@ -607,7 +607,7 @@ endi
if $data21 != 7.000000000 then if $data21 != 7.000000000 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
sql select avg(c1), avg(c2), avg(c3), avg(c4), avg(c5), avg(c6) from $tb where ts >= $ts0 and ts <= $tsu interval(30m) limit 3 offset 1 sql select avg(c1), avg(c2), avg(c3), avg(c4), avg(c5), avg(c6) from $tb where ts >= $ts0 and ts <= $tsu interval(30m) limit 3 offset 1
@ -623,7 +623,7 @@ endi
if $data21 != 9.000000000 then if $data21 != 9.000000000 then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi

View File

@ -9,57 +9,57 @@ system sh/exec.sh -n dnode1 -s start
sleep 3000 sleep 3000
sql connect sql connect
print ========== null_char.sim print ========== NULL_char.sim
$db = db $db = db
sql drop database if exists $db sql drop database if exists $db
sql create database $db sql create database $db
sql use $db sql use $db
#### case 0: field null, or 'null' #### case 0: field NULL, or 'NULL'
sql create table mt1 (ts timestamp, col1 int, col2 bigint, col3 float, col4 double, col5 binary(8), col6 bool, col7 smallint, col8 tinyint, col9 nchar(8)) tags (tag1 binary(8), tag2 nchar(8), tag3 int, tag4 bigint, tag5 bool, tag6 float) sql create table mt1 (ts timestamp, col1 int, col2 bigint, col3 float, col4 double, col5 binary(8), col6 bool, col7 smallint, col8 tinyint, col9 nchar(8)) tags (tag1 binary(8), tag2 nchar(8), tag3 int, tag4 bigint, tag5 bool, tag6 float)
sql create table st1 using mt1 tags (null, 'null', 100, 1000, 'false', 9.123) sql create table st1 using mt1 tags (NULL, 'NULL', 100, 1000, 'false', 9.123)
sql insert into st1 values ('2019-01-01 09:00:00.000', 123, -123, 3.0, 4.0, 'binary', true, 1000, 121, 'nchar') sql insert into st1 values ('2019-01-01 09:00:00.000', 123, -123, 3.0, 4.0, 'binary', true, 1000, 121, 'nchar')
sql insert into st1 values ('2019-01-01 09:00:01.000', '456', '456', '3.33', '4.444', 'binary', 'true', '1001', '122', 'nchar') sql insert into st1 values ('2019-01-01 09:00:01.000', '456', '456', '3.33', '4.444', 'binary', 'true', '1001', '122', 'nchar')
sql insert into st1 values ('2019-01-01 09:00:02.000', null, null, null, null, null, null, null, null, null) sql insert into st1 values ('2019-01-01 09:00:02.000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
sql insert into st1 values ('2019-01-01 09:00:03.000', null, null, null, null, 'null', 'null', 2002, 127, 'null') sql insert into st1 values ('2019-01-01 09:00:03.000', NULL, NULL, NULL, NULL, 'NULL', 'NULL', 2002, 127, 'NULL')
sql select * from mt1 sql select * from mt1
if $rows != 4 then if $rows != 4 then
return -1 return -1
endi endi
if $data21 != null then if $data21 != NULL then
return -1 return -1
endi endi
if $data22 != null then if $data22 != NULL then
return -1 return -1
endi endi
if $data23 != null then if $data23 != NULL then
return -1 return -1
endi endi
if $data24 != null then if $data24 != NULL then
return -1 return -1
endi endi
if $data25 != null then if $data25 != NULL then
return -1 return -1
endi endi
if $data26 != null then if $data26 != NULL then
return -1 return -1
endi endi
if $data27 != null then if $data27 != NULL then
return -1 return -1
endi endi
if $data28 != null then if $data28 != NULL then
return -1 return -1
endi endi
if $data29 != null then if $data29 != NULL then
return -1 return -1
endi endi
if $data31 != null then if $data31 != NULL then
return -1 return -1
endi endi
if $data32 != null then if $data32 != NULL then
return -1 return -1
endi endi
#if $data33 != 0.00000 then #if $data33 != 0.00000 then
@ -70,20 +70,20 @@ endi
# print === expect 0.00000, actually $data34 # print === expect 0.00000, actually $data34
# return -1 # return -1
#endi #endi
if $data35 != null then if $data35 != NULL then
return -1 return -1
endi endi
if $data36 != null then if $data36 != NULL then
return -1 return -1
endi endi
if $data39 != null then if $data39 != NULL then
return -1 return -1
endi endi
#### case 1: tag null, or 'null' #### case 1: tag NULL, or 'NULL'
sql create table mt2 (ts timestamp, col1 int, col3 float, col5 binary(8), col6 bool, col9 nchar(8)) tags (tag1 binary(8), tag2 nchar(8), tag3 int, tag5 bool) sql create table mt2 (ts timestamp, col1 int, col3 float, col5 binary(8), col6 bool, col9 nchar(8)) tags (tag1 binary(8), tag2 nchar(8), tag3 int, tag5 bool)
sql create table st2 using mt2 tags (null, 'null', 102, 'true') sql create table st2 using mt2 tags (NULL, 'NULL', 102, 'true')
sql describe st2 sql describe st2
if $rows != 10 then if $rows != 10 then
return -1 return -1
@ -92,7 +92,7 @@ if $data63 != NULL then
print ==1== expect: NULL, actually: $data63 print ==1== expect: NULL, actually: $data63
return -1 return -1
endi endi
if $data73 != null then if $data73 != NULL then
print ==2== expect: NULL, actually: $data73 print ==2== expect: NULL, actually: $data73
return -1 return -1
endi endi
@ -127,7 +127,7 @@ endi
### bool: ### bool:
sql_error create table stx using mt2 tags ('NULL', '123aBc', 104, '123') sql_error create table stx using mt2 tags ('NULL', '123aBc', 104, '123')
sql_error create table sty using mt2 tags ('NULL', '123aBc', 104, 'xtz') sql_error create table sty using mt2 tags ('NULL', '123aBc', 104, 'xtz')
sql create table st4 using mt2 tags ('NULL', '123aBc', 104, 'null') sql create table st4 using mt2 tags ('NULL', '123aBc', 104, 'NULL')
sql describe st4 sql describe st4
if $rows != 10 then if $rows != 10 then
return -1 return -1
@ -168,9 +168,9 @@ endi
#### case 2: dynamic create table using super table when insert into #### case 2: dynamic create table using super table when insert into
sql create table mt3 (ts timestamp, col1 int, col3 float, col5 binary(8), col6 bool, col9 nchar(8)) tags (tag1 binary(8), tag2 nchar(8), tag3 int, tag5 bool) sql create table mt3 (ts timestamp, col1 int, col3 float, col5 binary(8), col6 bool, col9 nchar(8)) tags (tag1 binary(8), tag2 nchar(8), tag3 int, tag5 bool)
sql_error insert into st31 using mt3 tags (null, 'null', 102, 'true') values (now+1s, 31, 31, 'bin_31', '123', 'nchar_31') sql_error insert into st31 using mt3 tags (NULL, 'NULL', 102, 'true') values (now+1s, 31, 31, 'bin_31', '123', 'nchar_31')
sql_error insert into st32 using mt3 tags (NULL, 'ABC', 103, 'FALSE') values (now+2s, 32, 32.12345, 'bin_32', 'abc', 'nchar_32') sql_error insert into st32 using mt3 tags (NULL, 'ABC', 103, 'FALSE') values (now+2s, 32, 32.12345, 'bin_32', 'abc', 'nchar_32')
sql_error insert into st33 using mt3 tags ('NULL', '123aBc', 104, 'null') values (now+3s, 33, 33, 'bin_33', 'false123', 'nchar_33') sql_error insert into st33 using mt3 tags ('NULL', '123aBc', 104, 'NULL') values (now+3s, 33, 33, 'bin_33', 'false123', 'nchar_33')
sql_error insert into st34 using mt3 tags ('NULL', '123aBc', 105, NULL) values (now+4s, 34, 34.12345, 'bin_34', 'true123', 'nchar_34') sql_error insert into st34 using mt3 tags ('NULL', '123aBc', 105, NULL) values (now+4s, 34, 34.12345, 'bin_34', 'true123', 'nchar_34')
@ -214,9 +214,9 @@ sql alter table st41 set tag tag_binary = ""
#if $data23 != $tagvalue then #if $data23 != $tagvalue then
# return -1 # return -1
#endi #endi
sql alter table st41 set tag tag_binary = "null" sql alter table st41 set tag tag_binary = "NULL"
sql describe st41 sql describe st41
if $data23 != null then if $data23 != NULL then
return -1 return -1
endi endi
sql alter table st41 set tag tag_binary = NULL sql alter table st41 set tag tag_binary = NULL
@ -242,9 +242,9 @@ sql alter table st41 set tag tag_nchar = ''
#if $data33 != $tagvalue then #if $data33 != $tagvalue then
# return -1 # return -1
#endi #endi
sql alter table st41 set tag tag_nchar = "null" sql alter table st41 set tag tag_nchar = "NULL"
sql describe st41 sql describe st41
if $data33 != null then if $data33 != NULL then
return -1 return -1
endi endi
sql alter table st41 set tag tag_nchar = NULL sql alter table st41 set tag tag_nchar = NULL
@ -279,13 +279,13 @@ sql describe st41
if $data43 != -2000 then if $data43 != -2000 then
return -1 return -1
endi endi
sql alter table st41 set tag tag_int = null sql alter table st41 set tag tag_int = NULL
sql describe st41 sql describe st41
if $data43 != NULL then if $data43 != NULL then
print ==10== expect: NULL, actually: $data43 print ==10== expect: NULL, actually: $data43
return -1 return -1
endi endi
sql alter table st41 set tag tag_int = 'null' sql alter table st41 set tag tag_int = 'NULL'
sql_error alter table st41 set tag tag_int = '' sql_error alter table st41 set tag tag_int = ''
sql_error alter table st41 set tag tag_int = abc379 sql_error alter table st41 set tag tag_int = abc379
@ -310,13 +310,13 @@ sql describe st41
if $data53 != true then if $data53 != true then
return -1 return -1
endi endi
sql alter table st41 set tag tag_bool = 'null' sql alter table st41 set tag tag_bool = 'NULL'
sql describe st41 sql describe st41
if $data53 != NULL then if $data53 != NULL then
print ==14== expect: NULL, actually: $data53 print ==14== expect: NULL, actually: $data53
return -1 return -1
endi endi
sql alter table st41 set tag tag_bool = null sql alter table st41 set tag tag_bool = NULL
sql describe st41 sql describe st41
if $data53 != NULL then if $data53 != NULL then
return -1 return -1
@ -350,13 +350,13 @@ if $data63 != 54.123455 then
print ==11== expect: 54.123455, actually : $data63 print ==11== expect: 54.123455, actually : $data63
return -1 return -1
endi endi
sql alter table st41 set tag tag_float = null sql alter table st41 set tag tag_float = NULL
sql describe st41 sql describe st41
if $data63 != NULL then if $data63 != NULL then
print ==12== expect: NULL, actually : $data63 print ==12== expect: NULL, actually : $data63
return -1 return -1
endi endi
sql alter table st41 set tag tag_float = 'null' sql alter table st41 set tag tag_float = 'NULL'
sql describe st41 sql describe st41
if $data63 != NULL then if $data63 != NULL then
print ==17== expect: NULL, actually : $data63 print ==17== expect: NULL, actually : $data63
@ -396,13 +396,13 @@ sql describe st41
if $data73 != -2456.000000 then if $data73 != -2456.000000 then
return -1 return -1
endi endi
sql alter table st41 set tag tag_double = null sql alter table st41 set tag tag_double = NULL
sql describe st41 sql describe st41
if $data73 != NULL then if $data73 != NULL then
print ==13== expect: NULL, actually : $data73 print ==13== expect: NULL, actually : $data73
return -1 return -1
endi endi
sql alter table st41 set tag tag_double = 'null' sql alter table st41 set tag tag_double = 'NULL'
sql describe st41 sql describe st41
if $data73 != NULL then if $data73 != NULL then
print ==20== expect: NULL, actually : $data73 print ==20== expect: NULL, actually : $data73
@ -420,7 +420,7 @@ sql create table mt5 (ts timestamp, c1 int) tags (tag_bigint bigint, tag_smallin
sql create table st51 using mt5 tags (1, 2, 3) sql create table st51 using mt5 tags (1, 2, 3)
sql alter table st51 set tag tag_bigint = '-379' sql alter table st51 set tag tag_bigint = '-379'
sql alter table st51 set tag tag_bigint = -2000 sql alter table st51 set tag tag_bigint = -2000
sql alter table st51 set tag tag_bigint = null sql alter table st51 set tag tag_bigint = NULL
sql alter table st51 set tag tag_bigint = 9223372036854775807 sql alter table st51 set tag tag_bigint = 9223372036854775807
sql describe st51 sql describe st51
if $data23 != 9223372036854775807 then if $data23 != 9223372036854775807 then
@ -439,13 +439,13 @@ endi
sql_error alter table st51 set tag tag_bigint = -9223372036854775808 sql_error alter table st51 set tag tag_bigint = -9223372036854775808
sql alter table st51 set tag tag_bigint = 'null' sql alter table st51 set tag tag_bigint = 'NULL'
sql_error alter table st51 set tag tag_bigint = '' sql_error alter table st51 set tag tag_bigint = ''
sql_error alter table st51 set tag tag_bigint = abc379 sql_error alter table st51 set tag tag_bigint = abc379
#### ####
sql alter table st51 set tag tag_smallint = -2000 sql alter table st51 set tag tag_smallint = -2000
sql alter table st51 set tag tag_smallint = null sql alter table st51 set tag tag_smallint = NULL
sql alter table st51 set tag tag_smallint = 32767 sql alter table st51 set tag tag_smallint = 32767
sql describe st51 sql describe st51
if $data33 != 32767 then if $data33 != 32767 then
@ -460,13 +460,13 @@ if $data33 != -32767 then
endi endi
sql_error alter table st51 set tag tag_smallint = -32768 sql_error alter table st51 set tag tag_smallint = -32768
sql alter table st51 set tag tag_smallint = 'null' sql alter table st51 set tag tag_smallint = 'NULL'
sql_error alter table st51 set tag tag_smallint = '' sql_error alter table st51 set tag tag_smallint = ''
sql_error alter table st51 set tag tag_smallint = abc379 sql_error alter table st51 set tag tag_smallint = abc379
#### ####
sql alter table st51 set tag tag_tinyint = -127 sql alter table st51 set tag tag_tinyint = -127
sql alter table st51 set tag tag_tinyint = null sql alter table st51 set tag tag_tinyint = NULL
sql alter table st51 set tag tag_tinyint = 127 sql alter table st51 set tag tag_tinyint = 127
sql describe st51 sql describe st51
if $data43 != 127 then if $data43 != 127 then
@ -479,7 +479,7 @@ if $data43 != -127 then
endi endi
sql_error alter table st51 set tag tag_tinyint = '-128' sql_error alter table st51 set tag tag_tinyint = '-128'
sql_error alter table st51 set tag tag_tinyint = 128 sql_error alter table st51 set tag tag_tinyint = 128
sql alter table st51 set tag tag_tinyint = 'null' sql alter table st51 set tag tag_tinyint = 'NULL'
sql_error alter table st51 set tag tag_tinyint = '' sql_error alter table st51 set tag tag_tinyint = ''
sql_error alter table st51 set tag tag_tinyint = abc379 sql_error alter table st51 set tag tag_tinyint = abc379

View File

@ -344,11 +344,11 @@ if $data11 != 1 then
return -1 return -1
endi endi
if $data12 != null then if $data12 != NULL then
return -1 return -1
endi endi
if $data13 != null then if $data13 != NULL then
return -1 return -1
endi endi

View File

@ -87,7 +87,7 @@ if $rows != 0 then
return -1 return -1
endi endi
print ================== set tag to null print ================== set tag to NULL
sql create table stb1_tg (ts timestamp, c1 int) tags(t1 int,t2 bigint,t3 double,t4 float,t5 smallint,t6 tinyint) sql create table stb1_tg (ts timestamp, c1 int) tags(t1 int,t2 bigint,t3 double,t4 float,t5 smallint,t6 tinyint)
sql create table stb2_tg (ts timestamp, c1 int) tags(t1 bool,t2 binary(10), t3 nchar(10)) sql create table stb2_tg (ts timestamp, c1 int) tags(t1 bool,t2 binary(10), t3 nchar(10))
sql create table tb1_tg1 using stb1_tg tags(1,2,3,4,5,6) sql create table tb1_tg1 using stb1_tg tags(1,2,3,4,5,6)
@ -195,33 +195,33 @@ sql select * from stb1_tg
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
sql select * from stb2_tg sql select * from stb2_tg
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
print $data03 print $data03
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi

View File

@ -57,7 +57,7 @@ while $i < $tbNum
$x = $x + 1 $x = $x + 1
endw endw
$ts = $ts + $delta $ts = $ts + $delta
sql insert into $tb values ( $ts , null, null, null, null, null, null, null, null, null ) sql insert into $tb values ( $ts , NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL )
$i = $i + 1 $i = $i + 1
endw endw
print ====== $db tables created print ====== $db tables created
@ -87,7 +87,7 @@ while $i < $tbNum
while $x < $rowNum while $x < $rowNum
$xs = $x * $delta $xs = $x * $delta
$ts = $ts0 + $xs $ts = $ts0 + $xs
sql insert into $tb values ( $ts , null , null , null , null , null , null , null , null , null ) sql insert into $tb values ( $ts , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL )
$x = $x + 1 $x = $x + 1
endw endw
$i = $i + 1 $i = $i + 1

View File

@ -219,10 +219,10 @@ endi
if $data13 != -2.000000000 then if $data13 != -2.000000000 then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data19 != slm_tb6 then if $data19 != slm_tb6 then
@ -293,10 +293,10 @@ endi
if $data13 != -2.000000000 then if $data13 != -2.000000000 then
return -1 return -1
endi endi
if $data17 != null then if $data17 != NULL then
return -1 return -1
endi endi
if $data18 != null then if $data18 != NULL then
return -1 return -1
endi endi
if $data19 != slm_tb5 then if $data19 != slm_tb5 then

View File

@ -49,7 +49,7 @@ while $i < $tbNum
$x = $x + 1 $x = $x + 1
endw endw
$ts = $ts + $delta $ts = $ts + $delta
sql insert into $tb values ( $ts , null, null ) sql insert into $tb values ( $ts , NULL, NULL )
$i = $i + 1 $i = $i + 1
endw endw
print ====== $db tables created print ====== $db tables created

View File

@ -228,47 +228,47 @@ if $data11 != @19-01-01 09:10:00.000@ then
return -1 return -1
endi endi
sql create table tb_where_null (ts timestamp, c1 float, c2 binary(10)) sql create table tb_where_NULL (ts timestamp, c1 float, c2 binary(10))
sql insert into tb_where_null values ('2019-01-01 09:00:00.000', 1, 'val1') sql insert into tb_where_NULL values ('2019-01-01 09:00:00.000', 1, 'val1')
sql insert into tb_where_null values ('2019-01-01 09:00:01.000', NULL, NULL) sql insert into tb_where_NULL values ('2019-01-01 09:00:01.000', NULL, NULL)
sql insert into tb_where_null values ('2019-01-01 09:00:02.000', 2, 'val2') sql insert into tb_where_NULL values ('2019-01-01 09:00:02.000', 2, 'val2')
sql_error select * from tb_where_null where c1 = NULL sql_error select * from tb_where_NULL where c1 = NULL
sql_error select * from tb_where_null where c1 <> NULL sql_error select * from tb_where_NULL where c1 <> NULL
sql_error select * from tb_where_null where c1 < NULL sql_error select * from tb_where_NULL where c1 < NULL
sql select * from tb_where_null where c1 = "NULL" sql select * from tb_where_NULL where c1 = "NULL"
if $rows != 0 then if $rows != 0 then
return -1 return -1
endi endi
sql select * from tb_where_null where c1 <> "NULL" sql select * from tb_where_NULL where c1 <> "NULL"
if $rows != 2 then if $rows != 2 then
return -1 return -1
endi endi
sql select * from tb_where_null where c1 <> "nulL" sql select * from tb_where_NULL where c1 <> "nulL"
if $rows != 2 then if $rows != 2 then
return -1 return -1
endi endi
sql select * from tb_where_null where c1 > "NULL" sql select * from tb_where_NULL where c1 > "NULL"
if $rows != 0 then if $rows != 0 then
return -1 return -1
endi endi
sql select * from tb_where_null where c1 >= "NULL" sql select * from tb_where_NULL where c1 >= "NULL"
if $rows != 0 then if $rows != 0 then
return -1 return -1
endi endi
sql select * from tb_where_null where c2 = "NULL" sql select * from tb_where_NULL where c2 = "NULL"
if $rows != 0 then if $rows != 0 then
return -1 return -1
endi endi
sql select * from tb_where_null where c2 <> "NULL" sql select * from tb_where_NULL where c2 <> "NULL"
if $rows != 2 then if $rows != 2 then
return -1 return -1
endi endi
sql select * from tb_where_null where c2 <> "nUll" sql select * from tb_where_NULL where c2 <> "nUll"
if $rows != 2 then if $rows != 2 then
return -1 return -1
endi endi

View File

@ -84,12 +84,12 @@ $st = $stPrefix . c3
sql select * from $st sql select * from $st
print ===> select * from $st print ===> select * from $st
print ===> $data01 $data02 $data03 $data04 $data05 $data06 $data07 $data08 $data09 print ===> $data01 $data02 $data03 $data04 $data05 $data06 $data07 $data08 $data09
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi

View File

@ -185,10 +185,10 @@ print select * from $st => $data01 $data02, $data03
if $data01 != 200 then if $data01 != 200 then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi

View File

@ -79,12 +79,12 @@ $st = $stPrefix . c3
sql select * from $st sql select * from $st
print ===> select * from $st print ===> select * from $st
print ===> $data01 $data02 $data03 $data04 $data05 $data06 $data07 $data08 $data09 print ===> $data01 $data02 $data03 $data04 $data05 $data06 $data07 $data08 $data09
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
if $data02 != null then if $data02 != NULL then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi

View File

@ -22,7 +22,7 @@ sql select * from $tb order by ts desc
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
@ -35,7 +35,7 @@ sql select * from $tb order by ts desc
if $rows != 2 then if $rows != 2 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
@ -58,7 +58,7 @@ sql select * from $tb order by ts desc
if $rows != 4 then if $rows != 4 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
@ -96,22 +96,22 @@ if $data01 != 2 then
endi endi
print =============== step8 print =============== step8
sql insert into $tb values (now+8m, "null") sql insert into $tb values (now+8m, "NULL")
sql select * from $tb order by ts desc sql select * from $tb order by ts desc
if $rows != 8 then if $rows != 8 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi
print =============== step9 print =============== step9
sql insert into $tb values (now+9m, 'null') sql insert into $tb values (now+9m, 'NULL')
sql select * from $tb order by ts desc sql select * from $tb order by ts desc
if $rows != 9 then if $rows != 9 then
return -1 return -1
endi endi
if $data01 != null then if $data01 != NULL then
return -1 return -1
endi endi

View File

@ -545,7 +545,7 @@ endi
if $data04 != 0 then if $data04 != 0 then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi

View File

@ -394,7 +394,7 @@ endi
if $data06 != 6 then if $data06 != 6 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -421,7 +421,7 @@ endi
if $data06 != 6 then if $data06 != 6 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -448,7 +448,7 @@ endi
if $data06 != 6 then if $data06 != 6 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -475,7 +475,7 @@ endi
if $data06 != 6 then if $data06 != 6 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -502,7 +502,7 @@ endi
if $data06 != 6 then if $data06 != 6 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi

View File

@ -544,7 +544,7 @@ endi
if $data04 != 0 then if $data04 != 0 then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
@ -1054,7 +1054,7 @@ endi
if $data04 != 0 then if $data04 != 0 then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi

View File

@ -428,7 +428,7 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
@ -452,7 +452,7 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
@ -476,7 +476,7 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
@ -500,7 +500,7 @@ endi
if $data02 != 1.000000000 then if $data02 != 1.000000000 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
@ -524,10 +524,10 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
@ -554,10 +554,10 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
@ -584,10 +584,10 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
@ -614,10 +614,10 @@ endi
if $data02 != 1.000000000 then if $data02 != 1.000000000 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
@ -644,13 +644,13 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
@ -683,13 +683,13 @@ endi
if $data03 != 4.00000 then if $data03 != 4.00000 then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
@ -722,16 +722,16 @@ endi
if $data03 != 4.000000000 then if $data03 != 4.000000000 then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -771,13 +771,13 @@ endi
if $data04 != 5.000000000 then if $data04 != 5.000000000 then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi

View File

@ -338,7 +338,7 @@ endi
if $data06 != 11 then if $data06 != 11 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -365,7 +365,7 @@ endi
if $data06 != 11 then if $data06 != 11 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -392,7 +392,7 @@ endi
if $data06 != 11 then if $data06 != 11 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -419,7 +419,7 @@ endi
if $data06 != 11 then if $data06 != 11 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -446,7 +446,7 @@ endi
if $data06 != 11 then if $data06 != 11 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi

View File

@ -160,7 +160,7 @@ print dnode3 freeVnodes $data3_192.168.0.3
if $data3_192.168.0.1 != 2 then if $data3_192.168.0.1 != 2 then
goto show3 goto show3
endi endi
if $data3_192.168.0.2 != null then if $data3_192.168.0.2 != NULL then
goto show3 goto show3
endi endi
if $data3_192.168.0.3 != 2 then if $data3_192.168.0.3 != 2 then
@ -216,7 +216,7 @@ print dnode3 freeVnodes $data3_192.168.0.3
if $data3_192.168.0.1 != 0 then if $data3_192.168.0.1 != 0 then
goto show4 goto show4
endi endi
if $data3_192.168.0.3 != null then if $data3_192.168.0.3 != NULL then
goto show4 goto show4
endi endi

View File

@ -77,7 +77,7 @@ print dnode2 $dnode2Vnodes
if $dnode1Vnodes != 2 then if $dnode1Vnodes != 2 then
return -1 return -1
endi endi
if $dnode2Vnodes != null then if $dnode2Vnodes != NULL then
return -1 return -1
endi endi
@ -146,7 +146,7 @@ print dnode2 $dnode2Vnodes
if $dnode1Vnodes != 3 then if $dnode1Vnodes != 3 then
goto show4 goto show4
endi endi
if $dnode2Vnodes != null then if $dnode2Vnodes != NULL then
goto show4 goto show4
endi endi
@ -229,7 +229,7 @@ print dnode3 $dnode3Vnodes
if $dnode1Vnodes != 3 then if $dnode1Vnodes != 3 then
goto show8 goto show8
endi endi
if $dnode3Vnodes != null then if $dnode3Vnodes != NULL then
goto show8 goto show8
endi endi
@ -245,7 +245,7 @@ if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode3Role != null then if $dnode3Role != NULL then
return -1 return -1
endi endi

View File

@ -131,7 +131,7 @@ print dnode3 $dnode3Vnodes
if $dnode1Vnodes != 3 then if $dnode1Vnodes != 3 then
goto show2 goto show2
endi endi
if $dnode2Vnodes != null then if $dnode2Vnodes != NULL then
goto show2 goto show2
endi endi
if $dnode3Vnodes != 3 then if $dnode3Vnodes != 3 then
@ -194,7 +194,7 @@ print dnode4 ==> $dnode4Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != slave then if $dnode3Role != slave then
@ -231,7 +231,7 @@ endi
if $dnode4Vnodes != 3 then if $dnode4Vnodes != 3 then
goto show4 goto show4
endi endi
if $dnode3Vnodes != null then if $dnode3Vnodes != NULL then
goto show4 goto show4
endi endi
@ -248,10 +248,10 @@ print dnode4 ==> $dnode4Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != null then if $dnode3Role != NULL then
return -1 return -1
endi endi
@ -339,7 +339,7 @@ print dnode4 $dnode4Vnodes
$dnode5Vnodes = $data2_5 $dnode5Vnodes = $data2_5
print dnode5 $dnode5Vnodes print dnode5 $dnode5Vnodes
if $dnode1Vnodes != null then if $dnode1Vnodes != NULL then
goto show6 goto show6
endi endi
if $dnode4Vnodes != 3 then if $dnode4Vnodes != 3 then

View File

@ -110,7 +110,7 @@ endi
if $dnode3Vnodes != 3 then if $dnode3Vnodes != 3 then
goto show1 goto show1
endi endi
if $dnode4Vnodes != null then if $dnode4Vnodes != NULL then
goto show1 goto show1
endi endi
@ -166,7 +166,7 @@ print dnode4 $dnode4Vnodes
if $dnode1Vnodes != 3 then if $dnode1Vnodes != 3 then
goto show3 goto show3
endi endi
if $dnode2Vnodes != null then if $dnode2Vnodes != NULL then
goto show3 goto show3
endi endi
if $dnode3Vnodes != 3 then if $dnode3Vnodes != 3 then
@ -232,7 +232,7 @@ endi
if $dnode5Vnodes != 3 then if $dnode5Vnodes != 3 then
goto show5 goto show5
endi endi
if $dnode3Vnodes != null then if $dnode3Vnodes != NULL then
goto show5 goto show5
endi endi
if $dnode4Vnodes != 3 then if $dnode4Vnodes != 3 then
@ -298,7 +298,7 @@ endi
if $dnode6Vnodes != 3 then if $dnode6Vnodes != 3 then
goto show7 goto show7
endi endi
if $dnode4Vnodes != null then if $dnode4Vnodes != NULL then
goto show7 goto show7
endi endi

View File

@ -103,7 +103,7 @@ print dnode2 openVnodes $data2_2
if $data2_1 != 2 then if $data2_1 != 2 then
goto show4 goto show4
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show4 goto show4
endi endi
if $rows != 1 then if $rows != 1 then
@ -131,7 +131,7 @@ print dnode3 openVnodes $data2_3
if $data2_1 != 0 then if $data2_1 != 0 then
goto show5 goto show5
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show5 goto show5
endi endi
if $data2_3 != 2 then if $data2_3 != 2 then
@ -155,7 +155,7 @@ print dnode3 openVnodes $data2_3
if $data2_1 != 0 then if $data2_1 != 0 then
return -1 return -1
endi endi
if $data2_2 != null then if $data2_2 != NULL then
return -1 return -1
endi endi
if $data2_3 != 3 then if $data2_3 != 3 then
@ -182,7 +182,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 0 then if $data2_1 != 0 then
goto show7 goto show7
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show7 goto show7
endi endi
if $data2_3 != 2 then if $data2_3 != 2 then
@ -210,7 +210,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 0 then if $data2_1 != 0 then
return -1 return -1
endi endi
if $data2_2 != null then if $data2_2 != NULL then
return -1 return -1
endi endi
if $data2_3 != 2 then if $data2_3 != 2 then
@ -240,10 +240,10 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 0 then if $data2_1 != 0 then
goto show9 goto show9
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show9 goto show9
endi endi
if $data2_3 != null then if $data2_3 != NULL then
goto show9 goto show9
endi endi
if $data2_4 != 4 then if $data2_4 != 4 then

View File

@ -76,7 +76,7 @@ print dnode3 openVnodes $data2_3
if $data2_1 != 2 then if $data2_1 != 2 then
goto show2 goto show2
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show2 goto show2
endi endi
if $data2_3 != 2 then if $data2_3 != 2 then
@ -105,7 +105,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 0 then if $data2_1 != 0 then
goto show3 goto show3
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show3 goto show3
endi endi
if $data2_3 != 2 then if $data2_3 != 2 then
@ -132,7 +132,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 0 then if $data2_1 != 0 then
return -1 return -1
endi endi
if $data2_2 != null then if $data2_2 != NULL then
return -1 return -1
endi endi
if $data2_3 != 3 then if $data2_3 != 3 then
@ -163,7 +163,7 @@ print dnode5 openVnodes $data2_5
if $data2_1 != 0 then if $data2_1 != 0 then
goto show5 goto show5
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show5 goto show5
endi endi
if $data2_3 != 2 then if $data2_3 != 2 then
@ -196,10 +196,10 @@ print dnode5 openVnodes $data2_5
if $data2_1 != 0 then if $data2_1 != 0 then
goto show6 goto show6
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show6 goto show6
endi endi
if $data2_3 != null then if $data2_3 != NULL then
goto show6 goto show6
endi endi
if $data2_4 != 3 then if $data2_4 != 3 then

View File

@ -88,7 +88,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 2 then if $data2_1 != 2 then
goto show2 goto show2
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show2 goto show2
endi endi
if $data2_3 != 2 then if $data2_3 != 2 then
@ -122,7 +122,7 @@ print dnode5 openVnodes $data2_5
if $data2_1 != 0 then if $data2_1 != 0 then
goto show3 goto show3
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show3 goto show3
endi endi
if $data2_3 != 2 then if $data2_3 != 2 then
@ -162,7 +162,7 @@ print dnode5 openVnodes $data2_5
if $data2_1 != 0 then if $data2_1 != 0 then
goto show4 goto show4
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show4 goto show4
endi endi
if $data2_3 != 3 then if $data2_3 != 3 then
@ -228,7 +228,7 @@ endi
if $data2_6 != 3 then if $data2_6 != 3 then
goto show6 goto show6
endi endi
if $data2_3 != null then if $data2_3 != NULL then
goto show6 goto show6
endi endi
if $data2_4 != 3 then if $data2_4 != 3 then

View File

@ -132,7 +132,7 @@ print dnode3 openVnodes $data2_3
if $data2_1 != 1 then if $data2_1 != 1 then
goto show5 goto show5
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show5 goto show5
endi endi
if $data2_3 != 3 then if $data2_3 != 3 then

View File

@ -63,7 +63,7 @@ print dnode1 $data4_2
if $data4_1 != ready then if $data4_1 != ready then
return -1 return -1
endi endi
if $data4_2 != null then if $data4_2 != NULL then
return -1 return -1
endi endi

View File

@ -90,7 +90,7 @@ sql show dnodes
if $data4_1 != ready then if $data4_1 != ready then
goto show4 goto show4
endi endi
if $data4_2 != null then if $data4_2 != NULL then
goto show4 goto show4
endi endi
if $data4_3 != ready then if $data4_3 != ready then

View File

@ -105,7 +105,7 @@ sql show dnodes
print dnode1 openVnodes $data2_1 print dnode1 openVnodes $data2_1
print dnode2 openVnodes $data2_2 print dnode2 openVnodes $data2_2
print dnode3 openVnodes $data2_3 print dnode3 openVnodes $data2_3
if $data2_2 != null then if $data2_2 != NULL then
goto show4 goto show4
endi endi
@ -130,7 +130,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 4 then if $data2_1 != 4 then
goto show5 goto show5
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show5 goto show5
endi endi
if $data2_3 != 2 then if $data2_3 != 2 then

View File

@ -106,7 +106,7 @@ sql show dnodes
print dnode1 openVnodes $data2_1 print dnode1 openVnodes $data2_1
print dnode2 openVnodes $data2_2 print dnode2 openVnodes $data2_2
print dnode3 openVnodes $data2_3 print dnode3 openVnodes $data2_3
if $data2_2 != null then if $data2_2 != NULL then
goto show4 goto show4
endi endi
if $data2_1 != 3 then if $data2_1 != 3 then

View File

@ -91,7 +91,7 @@ print dnode2 openVnodes $data2_2
if $data2_1 != 2 then if $data2_1 != 2 then
goto show4 goto show4
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show4 goto show4
endi endi
if $rows != 1 then if $rows != 1 then
@ -220,7 +220,7 @@ print dnode3 openVnodes $data2_3
if $data2_1 != 4 then if $data2_1 != 4 then
goto show9 goto show9
endi endi
if $data2_2 != null then if $data2_2 != NULL then
goto show9 goto show9
endi endi
if $data2_3 != 0 then if $data2_3 != 0 then

View File

@ -12,7 +12,7 @@ print ============================ dnode1 start
print =============== step1 - parse print =============== step1 - parse
system_content curl -u root:taosdata -d '[{"metric": "sys_cpu","timestamp": 1346846400,"value": 18,"tags": {"host": "web01","group1": "1","dc": "lga"}}]' 127.0.0.1:6020/opentsdb/ system_content curl -u root:taosdata -d '[{"metric": "sys_cpu","timestamp": 1346846400,"value": 18,"tags": {"host": "web01","group1": "1","dc": "lga"}}]' 127.0.0.1:6020/opentsdb/
print $system_content print $system_content
if $system_content != @{"status":"error","code":1057,"desc":"database name can not be null"}@ then if $system_content != @{"status":"error","code":1057,"desc":"database name can not be NULL"}@ then
return -1 return -1
endi endi
@ -24,7 +24,7 @@ endi
system_content curl -H 'Authorization: Taosd /KfeAzX/f9na8qdtNZmtONryp201ma04bEl8LcvLUd7a8qdtNZmtONryp201ma04' -d '[{"metric": "sys_cpu","timestamp": 1346846400,"value": 18,"tags": {"host": "web01","group1": "1","dc": "lga"}}]' 127.0.0.1:6020/opentsdb/ system_content curl -H 'Authorization: Taosd /KfeAzX/f9na8qdtNZmtONryp201ma04bEl8LcvLUd7a8qdtNZmtONryp201ma04' -d '[{"metric": "sys_cpu","timestamp": 1346846400,"value": 18,"tags": {"host": "web01","group1": "1","dc": "lga"}}]' 127.0.0.1:6020/opentsdb/
print $system_content print $system_content
if $system_content != @{"status":"error","code":1057,"desc":"database name can not be null"}@ then if $system_content != @{"status":"error","code":1057,"desc":"database name can not be NULL"}@ then
return -1 return -1
endi endi
@ -129,7 +129,7 @@ endi
system_content curl -u root:taosdata -d '[{"metric": "sys_cpu","timestamp": 1346846400,"value": 18,"tags": {"": "web01"}}]' 127.0.0.1:6020/opentsdb/db/put system_content curl -u root:taosdata -d '[{"metric": "sys_cpu","timestamp": 1346846400,"value": 18,"tags": {"": "web01"}}]' 127.0.0.1:6020/opentsdb/db/put
print $system_content print $system_content
if $system_content != @{"status":"error","code":1073,"desc":"tag name is null"}@ then if $system_content != @{"status":"error","code":1073,"desc":"tag name is NULL"}@ then
return -1 return -1
endi endi
@ -147,7 +147,7 @@ endi
system_content curl -u root:taosdata -d '[{"metric": "sys_cpu","timestamp": 1346846400,"value": 18,"tags": {"host": ""}}]' 127.0.0.1:6020/opentsdb/db/put system_content curl -u root:taosdata -d '[{"metric": "sys_cpu","timestamp": 1346846400,"value": 18,"tags": {"host": ""}}]' 127.0.0.1:6020/opentsdb/db/put
print $system_content print $system_content
if $system_content != @{"status":"error","code":1076,"desc":"tag value is null"}@ then if $system_content != @{"status":"error","code":1076,"desc":"tag value is NULL"}@ then
return -1 return -1
endi endi

View File

@ -76,7 +76,7 @@ print dnode2 $dnode2Vnodes
if $dnode1Vnodes != 0 then if $dnode1Vnodes != 0 then
goto show1 goto show1
endi endi
if $dnode2Vnodes != null then if $dnode2Vnodes != NULL then
goto show1 goto show1
endi endi
print =============== step3 start dnode2 print =============== step3 start dnode2

View File

@ -100,7 +100,7 @@ endi
if $data2_2 != slave then if $data2_2 != slave then
goto show7 goto show7
endi endi
if $data3_3 != null then if $data3_3 != NULL then
goto show7 goto show7
endi endi

View File

@ -59,7 +59,7 @@ endi
if $dnode2Role != slave then if $dnode2Role != slave then
return -1 return -1
endi endi
if $dnode3Role != null then if $dnode3Role != NULL then
return -1 return -1
endi endi
@ -78,7 +78,7 @@ print dnode3 ==> $dnode3Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != slave then if $dnode3Role != slave then
@ -106,7 +106,7 @@ print dnode3 ==> $dnode3Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != slave then if $dnode3Role != slave then

View File

@ -59,7 +59,7 @@ endi
if $dnode2Role != slave then if $dnode2Role != slave then
return -1 return -1
endi endi
if $dnode3Role != null then if $dnode3Role != NULL then
return -1 return -1
endi endi
@ -78,7 +78,7 @@ print dnode3 ==> $dnode3Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != slave then if $dnode3Role != slave then

View File

@ -59,7 +59,7 @@ endi
if $dnode2Role != slave then if $dnode2Role != slave then
return -1 return -1
endi endi
if $dnode3Role != null then if $dnode3Role != NULL then
return -1 return -1
endi endi
@ -79,7 +79,7 @@ print dnode3 ==> $dnode3Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != slave then if $dnode3Role != slave then
@ -106,7 +106,7 @@ print dnode3 ==> $dnode3Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != slave then if $dnode3Role != slave then

View File

@ -18,10 +18,10 @@ print dnode3 ==> $data3_3
if $data2_1 != master then if $data2_1 != master then
return -1 return -1
endi endi
if $data3_2 != null then if $data3_2 != NULL then
return -1 return -1
endi endi
if $data3_3 != null then if $data3_3 != NULL then
return -1 return -1
endi endi
@ -44,7 +44,7 @@ endi
if $dnode2Role != slave then if $dnode2Role != slave then
return -1 return -1
endi endi
if $dnode3Role != null then if $dnode3Role != NULL then
return -1 return -1
endi endi
@ -86,7 +86,7 @@ print dnode3 ==> $dnode3Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != slave then if $dnode3Role != slave then
@ -156,7 +156,7 @@ print dnode1 ==> $dnode1Role
print dnode2 ==> $dnode2Role print dnode2 ==> $dnode2Role
print dnode3 ==> $dnode3Role print dnode3 ==> $dnode3Role
if $dnode1Role != null then if $dnode1Role != NULL then
return -1 return -1
endi endi
#if $dnode2Role != master then #if $dnode2Role != master then

View File

@ -22,10 +22,10 @@ print dnode3 ==> $data3_3
if $data2_1 != master then if $data2_1 != master then
return -1 return -1
endi endi
if $data3_2 != null then if $data3_2 != NULL then
return -1 return -1
endi endi
if $data3_3 != null then if $data3_3 != NULL then
return -1 return -1
endi endi
@ -50,10 +50,10 @@ endi
if $dnode2Role != slave then if $dnode2Role != slave then
return -1 return -1
endi endi
if $dnode3Role != null then if $dnode3Role != NULL then
return -1 return -1
endi endi
if $dnode4Role != null then if $dnode4Role != NULL then
return -1 return -1
endi endi
@ -81,7 +81,7 @@ endi
if $dnode3Role != slave then if $dnode3Role != slave then
return -1 return -1
endi endi
if $dnode4Role != null then if $dnode4Role != NULL then
return -1 return -1
endi endi
@ -110,7 +110,7 @@ endi
if $dnode3Role != slave then if $dnode3Role != slave then
return -1 return -1
endi endi
if $dnode4Role != null then if $dnode4Role != NULL then
return -1 return -1
endi endi
@ -131,7 +131,7 @@ print dnode4 ==> $dnode4Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != slave then if $dnode3Role != slave then
@ -165,7 +165,7 @@ print dnode4 ==> $dnode4Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != slave then if $dnode3Role != slave then
@ -207,7 +207,7 @@ print dnode2 ==> $dnode2Role
print dnode3 ==> $dnode3Role print dnode3 ==> $dnode3Role
print dnode4 ==> $dnode4Role print dnode4 ==> $dnode4Role
if $dnode1Role != null then if $dnode1Role != NULL then
return -1 return -1
endi endi
if $dnode2Role != slave then if $dnode2Role != slave then

View File

@ -23,10 +23,10 @@ print dnode3 ==> $dnode3Role
if $dnode1Role != master then if $dnode1Role != master then
return -1 return -1
endi endi
if $dnode2Role != null then if $dnode2Role != NULL then
return -1 return -1
endi endi
if $dnode3Role != null then if $dnode3Role != NULL then
return -1 return -1
endi endi
@ -71,7 +71,7 @@ endi
if $rows != 2 then if $rows != 2 then
return -1 return -1
endi endi
if $dnode3Role != null then if $dnode3Role != NULL then
return -1 return -1
endi endi

View File

@ -192,7 +192,7 @@ print dnode2 $dnode2Vnodes
if $dnode1Vnodes != 0 then if $dnode1Vnodes != 0 then
goto show1 goto show1
endi endi
if $dnode2Vnodes != null then if $dnode2Vnodes != NULL then
goto show1 goto show1
endi endi

View File

@ -129,7 +129,7 @@ print dnode2 $dnode2Vnodes
if $dnode1Vnodes != 0 then if $dnode1Vnodes != 0 then
goto show1 goto show1
endi endi
if $dnode2Vnodes != null then if $dnode2Vnodes != NULL then
goto show1 goto show1
endi endi

View File

@ -163,7 +163,7 @@ print dnode2 $dnode2Vnodes
if $dnode1Vnodes != 6 then if $dnode1Vnodes != 6 then
goto show1 goto show1
endi endi
if $dnode2Vnodes != null then if $dnode2Vnodes != NULL then
goto show1 goto show1
endi endi
@ -214,7 +214,7 @@ print dnode1 $dnode1Vnodes
$dnode2Vnodes = $data3_192.168.0.2 $dnode2Vnodes = $data3_192.168.0.2
print dnode2 $dnode2Vnodes print dnode2 $dnode2Vnodes
if $dnode1Vnodes != null then if $dnode1Vnodes != NULL then
goto show6 goto show6
endi endi
if $dnode2Vnodes != 6 then if $dnode2Vnodes != 6 then

View File

@ -763,7 +763,7 @@ endi
if $data21 != INT then if $data21 != INT then
return -1 return -1
endi endi
if $data30 != null then if $data30 != NULL then
return -1 return -1
endi endi

View File

@ -666,7 +666,7 @@ endi
if $data11 != INT then if $data11 != INT then
return -1 return -1
endi endi
if $data20 != null then if $data20 != NULL then
return -1 return -1
endi endi

View File

@ -537,7 +537,7 @@ endi
if $data04 != false then if $data04 != false then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi

View File

@ -386,7 +386,7 @@ endi
if $data06 != 6 then if $data06 != 6 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -413,7 +413,7 @@ endi
if $data06 != 6 then if $data06 != 6 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -440,7 +440,7 @@ endi
if $data06 != 6 then if $data06 != 6 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -467,7 +467,7 @@ endi
if $data06 != 6 then if $data06 != 6 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -494,7 +494,7 @@ endi
if $data06 != 6 then if $data06 != 6 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi

View File

@ -420,7 +420,7 @@ endi
if $data02 != true then if $data02 != true then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
@ -444,7 +444,7 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
@ -468,7 +468,7 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
@ -492,7 +492,7 @@ endi
if $data02 != 1.000000000 then if $data02 != 1.000000000 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
@ -516,10 +516,10 @@ endi
if $data02 != true then if $data02 != true then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
@ -546,10 +546,10 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
@ -576,10 +576,10 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
@ -606,10 +606,10 @@ endi
if $data02 != 1.000000000 then if $data02 != 1.000000000 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
@ -636,13 +636,13 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != null then if $data03 != NULL then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
@ -675,13 +675,13 @@ endi
if $data03 != 4.0000 then if $data03 != 4.0000 then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
@ -714,16 +714,16 @@ endi
if $data03 != 4.000000000 then if $data03 != 4.000000000 then
return -1 return -1
endi endi
if $data04 != null then if $data04 != NULL then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -763,13 +763,13 @@ endi
if $data04 != 5.000000000 then if $data04 != 5.000000000 then
return -1 return -1
endi endi
if $data05 != null then if $data05 != NULL then
return -1 return -1
endi endi
if $data06 != null then if $data06 != NULL then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi

View File

@ -330,7 +330,7 @@ endi
if $data06 != 11 then if $data06 != 11 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -357,7 +357,7 @@ endi
if $data06 != 11 then if $data06 != 11 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -384,7 +384,7 @@ endi
if $data06 != 11 then if $data06 != 11 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -411,7 +411,7 @@ endi
if $data06 != 11 then if $data06 != 11 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi
@ -438,7 +438,7 @@ endi
if $data06 != 11 then if $data06 != 11 then
return -1 return -1
endi endi
if $data07 != null then if $data07 != NULL then
return -1 return -1
endi endi