Function disassembly

Signed-off-by: Anvette <anwentao@huawei.com>
This commit is contained in:
Anvette 2024-10-09 20:33:03 +08:00 committed by 安文韬
parent 04911b6f23
commit b1b5403a63
4 changed files with 4 additions and 8 deletions

View File

@ -21,7 +21,7 @@ const INVALID_STATE = -1;
const INVALID_STR = '';
const MAX_SIZE = 4 * 1024 * 1024 * 1024 - 1;
export var cloudExtension;
export let cloudExtension;
(function (a) {
let f;
(function (f) {
@ -484,7 +484,7 @@ export var cloudExtension;
}
else if (t1 instanceof Uint8Array) {
u.writeInt(f.BLOB);
var l3 = [];
let l3 = [];
for (let f2 = 0; f2 < t1.length; f2++) {
l3.push(t1[f2]);
}

View File

@ -257,7 +257,7 @@ private:
static constexpr uint32_t EXPANSION = 2;
static inline constexpr uint32_t INTERVAL = 10;
static inline constexpr uint32_t RETRY_INTERVAL = 5; // s
static inline constexpr uint32_t MAX_RETRY_TIMES = 5;
static inline constexpr int32_t MAX_RETRY_TIMES = 5;
static constexpr const char *ROW_ID = "ROWID";
bool isOpen_ = false;

View File

@ -250,10 +250,6 @@ int SqliteConnection::InnerOpen(const RdbStoreConfig &config)
SqliteUtils::Anonymous(config.GetName()).c_str(),
static_cast<std::string>(checkResult).c_str(), sql);
Reportor::ReportFault(Reportor::Create(config, errCode, static_cast<std::string>(checkResult)));
} else {
LOG_DEBUG("%{public}s integrity check err:%{public}d, result is %{public}s, sql:%{public}s",
SqliteUtils::Anonymous(config.GetName()).c_str(), errCode,
static_cast<std::string>(checkResult).c_str(), sql);
}
}
}

View File

@ -46,7 +46,7 @@ struct RdbDebugInfo {
DebugTime atime_;
DebugTime mtime_;
DebugTime ctime_;
size_t size_ = 0;
ssize_t size_ = 0;
uint32_t dev_ = 0;
uint32_t mode_ = 0;
uint32_t uid_ = 0;