diff --git a/tests/system-test/2-query/length.py b/tests/system-test/2-query/length.py index 2bf3f22b567e2119a1876045c47e160735b15bc2..b9ad6b9944f38794e38c968ff726a5e5e73e7406 100644 --- a/tests/system-test/2-query/length.py +++ b/tests/system-test/2-query/length.py @@ -66,7 +66,7 @@ class TDTestCase: for data in datas : if not datas: length_data.append(None) - elif "nchar" in length_condition or NCHAR_COL in length_condition: + elif "nchar" in condition or NCHAR_COL in condition: length_data.append(len(str(data)) * 4) else: length_data.append(len(str(data)))