mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
fix(MainDb): disable participant message deleter creation, problem with mysql
This commit is contained in:
parent
8015fec51c
commit
23e542c238
1 changed files with 3 additions and 0 deletions
|
|
@ -1267,6 +1267,8 @@ static inline string blobToString (soci::blob &in) {
|
|||
") " + charset;
|
||||
|
||||
// Trigger to delete participant_message cache entries.
|
||||
// TODO: Fix me in the future. (Problem on Mysql backend.)
|
||||
#if 0
|
||||
string displayedId = Utils::toString(static_cast<int>(ChatMessage::State::Displayed));
|
||||
string participantMessageDeleter =
|
||||
"CREATE TRIGGER IF NOT EXISTS chat_message_participant_deleter"
|
||||
|
|
@ -1286,6 +1288,7 @@ static inline string blobToString (soci::blob &in) {
|
|||
participantMessageDeleter += displayedId;
|
||||
participantMessageDeleter += " WHERE event_id = NEW.event_id;"
|
||||
" END";
|
||||
#endif
|
||||
|
||||
*session << participantMessageDeleter;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue