This commit is contained in:
cpwu 2022-04-28 18:16:27 +08:00
parent 081310bb39
commit 0dfd9dc03f
1 changed files with 2 additions and 2 deletions

View File

@ -79,9 +79,9 @@ class TDTestCase:
if not tdSql.getData(i,1):
tdSql.checkData(i, 1, None)
elif "as nchar" in condition or (NCHAR_COL in condition and "as binary" not in condition):
tdSql.checkData(i, 1, len(str(tdSql.getData(i,1) ) ) * 4 )
tdSql.checkData(i, 1, len(str(tdSql.getData(i,0) ) ) * 4 )
else:
tdSql.checkData(i, 1, len(str(tdSql.getData(i,1) ) ) )
tdSql.checkData(i, 1, len(str(tdSql.getData(i,0) ) ) )
def __length_err_check(self,tbname):