Am 14.05.2010 23:05, schrieb e-frog:
On 14.05.2010 22:54, wrote Andrey Melnikoff:
In article<4bedb367.8030...@gmx.de> you wrote:
On 14.05.2010 22:12, wrote Henrique Fernandes:
May 14 17:03:40 dict: Panic: file driver-mysql.c: line 482
(transaction_send_query): assertion failed: (rows != (my_ulonglong)-1)
The patch in
http://www.dovecot.org/list/dovecot/2010-May/048705.html
fixed this for me.
For 2.0.b5 need slightly other patch:
--- dovecot-2.0.beta5/src/lib-sql/driver-mysql.c~ 2010-05-05
21:20:17.000000000 +0400
+++ dovecot-2.0.beta5/src/lib-sql/driver-mysql.c 2010-05-05
21:20:17.000000000 +0400
@@ -479,7 +479,9 @@
struct mysql_db *db = (struct mysql_db *)result->db;
rows = mysql_affected_rows(db->mysql);
- i_assert(rows != (my_ulonglong)-1);
+ if (mysql_errno(db->mysql))
+ i_assert(rows != (my_ulonglong)-1);
+ else rows = 0;
*ctx->ctx.head->affected_rows = rows;
}
sql_result_unref(result);
Oh, yes correct. Thanks!
hm does not look like its allready in http://hg.dovecot.org/dovecot-2.0/
am i right ?