mirror of
https://gitee.com/openharmony/distributeddatamgr_relational_store
synced 2024-11-23 07:00:41 +00:00
Function disassembly
Signed-off-by: Anvette <anwentao@huawei.com>
This commit is contained in:
parent
04911b6f23
commit
b1b5403a63
@ -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]);
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user