- UNCAUGHT_EXCEPT
- UNUSED_VALUE
- BRANCH_PAST_INITIALIZATION
Change-Id: I5b3636d755cb2cff6c6d21ed8161ee1849842499
Signed-off-by: jusung <jusung07.son@samsung.com>
int result_fd = 0;
guint nb;
int retval = DATA_CONTROL_ERROR_NONE;
+ off_t row_offset;
_LOGI("req_id : %s", req_id);
_LOGI("SELECT RESPONSE");
_LOGI("resultset_content_offset : %lld",
(unsigned long long)cursor->resultset_content_offset);
- off_t row_offset = 0;
for (i = 0; i < row_count; i++) {
row_offset = 0;
for (j = 0; j < column_count; j++) {
template <typename T>
static T& GetMock() {
auto ptr = dynamic_cast<T*>(mock_.get());
- if (!ptr)
- throw std::invalid_argument("The test does not provide mock of \"" +
- std::string(typeid(T).name()) + "\"");
return *ptr;
}
char* value_list[2];
value_list[0] = (char*)"val0";
- value_list[0] = (char*)"val1";
+ value_list[1] = (char*)"val1";
_register_sql_cb();