sqlite3_stmt* sqlcnt =NULL; sqlite3_stmt* sqlid =NULL;std::stringcommandcnt ="select count(id) from attribute_array where object_id=?;";std::stringcommandid ="select id from attribute_array where object_id=?;"; rv = sqlite3_prepare_v2(db, commandcnt.c_str(),-1, &sqlcnt,NULL)...