enh: safetyCheck config
This commit is contained in:
parent
f57e3f3c85
commit
2ae51f3118
|
@ -139,7 +139,7 @@ bool tsEnableCrashReport = true;
|
|||
#endif
|
||||
char *tsClientCrashReportUri = "/ccrashreport";
|
||||
char *tsSvrCrashReportUri = "/dcrashreport";
|
||||
bool tsEnableSafetyCheck = true;
|
||||
bool tsEnableSafetyCheck = false;
|
||||
|
||||
// schemaless
|
||||
bool tsSmlDot2Underline = true;
|
||||
|
|
|
@ -86,7 +86,7 @@ static int32_t inputSafetyCheck(SDataDispatchHandle* pHandle, const SInputData*
|
|||
}
|
||||
|
||||
if (numOfCols > taosArrayGetSize(pInput->pData->pDataBlock)) {
|
||||
qError("invalid column number, schema:%d, input:%" PRIu64, numOfCols, taosArrayGetSize(pInput->pData->pDataBlock));
|
||||
qError("invalid column number, schema:%d, input:%zu", numOfCols, taosArrayGetSize(pInput->pData->pDataBlock));
|
||||
return TSDB_CODE_QRY_INVALID_INPUT;
|
||||
}
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ class TDSimClient:
|
|||
"telemetryReporting": "0",
|
||||
"tqDebugflag": "135",
|
||||
"stDebugflag":"135",
|
||||
"enableSafetyCheck":"1"
|
||||
}
|
||||
|
||||
def getLogDir(self):
|
||||
|
@ -149,7 +150,8 @@ class TDDnode:
|
|||
"statusInterval": "1",
|
||||
"enableQueryHb": "1",
|
||||
"supportVnodes": "1024",
|
||||
"telemetryReporting": "0"
|
||||
"telemetryReporting": "0",
|
||||
"enableSafetyCheck":"1"
|
||||
}
|
||||
|
||||
def init(self, path, remoteIP = ""):
|
||||
|
|
Loading…
Reference in New Issue