Do not display the note when updating event (size may exceed buffer capacity)

This commit is contained in:
Emmanuel Papin 2014-11-19 11:13:25 +01:00
parent 166b4586aa
commit 06e31f807f
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ void Event::updateNotes( const StringSetMap &newNoteSetMap )
std::string notes; std::string notes;
createNotes( notes ); createNotes( notes );
Debug( 2, "Updating notes for event %d, '%s'", id, notes.c_str() ); Debug( 2, "Updating notes for event %d", id );
static char sql[ZM_SQL_LGE_BUFSIZ]; static char sql[ZM_SQL_LGE_BUFSIZ];
#if USE_PREPARED_SQL #if USE_PREPARED_SQL
static MYSQL_STMT *stmt = 0; static MYSQL_STMT *stmt = 0;