Quellcode durchsuchen

Generated 2019-09-01 for OceanBasePro.

sdk-team vor 2 Jahren
Ursprung
Commit
ea1c1ae17e

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1964
+1.36.1965

+ 1 - 1
oceanbasepro/include/alibabacloud/oceanbasepro/model/DescribeTenantResult.h

@@ -166,7 +166,7 @@ namespace AlibabaCloud
 					std::string primaryZone;
 					std::string instanceType;
 					std::string tenantMode;
-					std::string lowerCaseTableNames;
+					int lowerCaseTableNames;
 					std::string status;
 					std::string recycleBinStatus;
 					bool enableClogService;

+ 1 - 1
oceanbasepro/src/model/DescribeTenantResult.cc

@@ -99,7 +99,7 @@ void DescribeTenantResult::parse(const std::string &payload)
 	if(!tenantNode["RecycleBinStatus"].isNull())
 		tenant_.recycleBinStatus = tenantNode["RecycleBinStatus"].asString();
 	if(!tenantNode["LowerCaseTableNames"].isNull())
-		tenant_.lowerCaseTableNames = tenantNode["LowerCaseTableNames"].asString();
+		tenant_.lowerCaseTableNames = std::stoi(tenantNode["LowerCaseTableNames"].asString());
 	if(!tenantNode["Version"].isNull())
 		tenant_.version = tenantNode["Version"].asString();
 	auto allTenantConnectionsNode = tenantNode["TenantConnections"]["TenantConnectionsItem"];