using prepared statements in message processing

This commit is contained in:
SJ
2013-01-27 23:42:45 +01:00
parent b690a4bb5c
commit 879acc85c4
3 changed files with 179 additions and 146 deletions

View File

@@ -246,6 +246,13 @@ struct __data {
char starttls[TINYBUFSIZE];
char mydomains[MAXBUFSIZE];
#ifdef NEED_MYSQL
MYSQL_STMT *stmt_get_meta_id_by_message_id;
MYSQL_STMT *stmt_insert_into_rcpt_table;
MYSQL_STMT *stmt_insert_into_sphinx_table;
MYSQL_STMT *stmt_insert_into_meta_table;
#endif
#ifdef HAVE_TRE
struct rule *archiving_rules;
struct rule *retention_rules;