Paul J Stevens wrote:
I did a backtrace and concluded the same. I also added some debugging
statements in db_get_result_u64 and got something interesting return
values from db_get_result:
Mar 31 13:10:25 shiko dbmail/imap4d[17930]:
db.c,db_list_mailboxes_by_regex: comparing mailbox
[#Users/testuser1/testbox] to regular expressionMar 31 13:10:25 shiko
dbmail/imap4d[17930]: db.c,db_get_result_u64: result [^S]
hmm.. interesting indeed. I take it that the ^S is the value of the tmp
string in db_get_result_u64()?
If so, the result from db_get_result() is off. You're using MySQL,
right? Maybe you should add some debug statements in mysql/dbmysql.c, to
see if anything goes wrong there.
I've looked through db_get_result() again, but can't seem to find
anything wrong.. Glad we narrowed down the search though.
Ilja