1
This commit is contained in:
parent
143483634b
commit
39b3714fbf
@ -294,14 +294,8 @@ void Guild::_CMGuildApplyList(f8::MsgHdr& hdr, const cs::CMGuildApplyList& msg)
|
|||||||
std::string fmtstr = "SELECT '' AS account_id";
|
std::string fmtstr = "SELECT '' AS account_id";
|
||||||
std::vector<a8::XValue> sql_params;
|
std::vector<a8::XValue> sql_params;
|
||||||
{
|
{
|
||||||
#if 0
|
|
||||||
for (auto& pair : black_hash_) {
|
|
||||||
fmtstr += " UNION SELECT '%s'";
|
|
||||||
sql_params.push_back(a8::XValue(pair.second->base_data.account_id));
|
|
||||||
}
|
|
||||||
sql_params.push_back(a8::XValue(last_apply_idx_));
|
sql_params.push_back(a8::XValue(last_apply_idx_));
|
||||||
sql_params.push_back(a8::XValue(myself.base_data.account_id));
|
sql_params.push_back(a8::XValue(forward_msg->context().user_info().base_data().account_id()));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
DBEngine::Instance()->ExecAsyncQuery
|
DBEngine::Instance()->ExecAsyncQuery
|
||||||
(
|
(
|
||||||
|
@ -84,6 +84,7 @@ private:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
bool dirty_ = false;
|
bool dirty_ = false;
|
||||||
|
long long last_apply_idx_ = 0;
|
||||||
timer_list* dirty_timer_ = nullptr;
|
timer_list* dirty_timer_ = nullptr;
|
||||||
std::map<std::string, GuildMember*> member_hash_;
|
std::map<std::string, GuildMember*> member_hash_;
|
||||||
std::vector<GuildMember*> sorted_members_;
|
std::vector<GuildMember*> sorted_members_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user