提交 f5960c36 编写于 作者: J jiajingbin

[TD-10908]<test>: add testcases for influxdb-line-protocol with BLMv3

modify util/common.py
上级 e1c81f6d
此差异已折叠。
......@@ -13,6 +13,7 @@
import random
import string
import os
from util.sql import tdSql
from util.dnodes import tdDnodes
class TDCom:
......@@ -83,6 +84,14 @@ class TDCom:
letters += i
return nums, letters
def smlPass(self, func):
def wrapper(*args):
if tdSql.getVariable("smlChildTableName")[0].upper() == "ID":
return func(*args)
else:
pass
return wrapper
def close(self):
self.cursor.close()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册