switching to prepared statements in attachment.c

This commit is contained in:
SJ
2013-01-28 12:10:39 +01:00
parent 879acc85c4
commit 0cabb8ce8a
9 changed files with 84 additions and 65 deletions

View File

@@ -251,6 +251,10 @@ struct __data {
MYSQL_STMT *stmt_insert_into_rcpt_table;
MYSQL_STMT *stmt_insert_into_sphinx_table;
MYSQL_STMT *stmt_insert_into_meta_table;
MYSQL_STMT *stmt_insert_into_attachment_table;
MYSQL_STMT *stmt_get_attachment_id_by_signature;
MYSQL_STMT *stmt_get_attachment_pointer;
MYSQL_STMT *stmt_query_attachment;
#endif
#ifdef HAVE_TRE