projects
/
platform
/
core
/
base
/
bundle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c07fac7
)
Fix static analysis issues
58/288158/1
author
jh9216.park
<jh9216.park@samsung.com>
Mon, 13 Feb 2023 01:02:17 +0000
(20:02 -0500)
committer
jh9216.park
<jh9216.park@samsung.com>
Mon, 13 Feb 2023 01:02:17 +0000
(20:02 -0500)
Change-Id: I7089cd8230bd1617476118744e9ca9449e5e7930
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
tizen-database/database.hpp
patch
|
blob
|
history
diff --git
a/tizen-database/database.hpp
b/tizen-database/database.hpp
index
2ac339e
..
2ed94fa
100644
(file)
--- a/
tizen-database/database.hpp
+++ b/
tizen-database/database.hpp
@@
-187,7
+187,7
@@
class AutoDbType {
private:
DbType db_type_;
- int real_type_;
+ int real_type_
= SQLITE_NULL
;
};
using _ = AutoDbType;
@@
-652,7
+652,7
@@
class Database {
sqlite3_stmt* stmt_ = nullptr;
sqlite3* db_ = nullptr;
std::string query_;
- bool is_done_;
+ bool is_done_
= false
;
};
Database(std::string db, int flags) {