Re: [Dovecot] Oracle SQL driver

2010-01-20 Thread Alexander Bukharov
Ok. I'll fix in couple of days. Alexander Bukharov Timo Sirainen От: dovecot-bounces+bukharov=bpc...@dovecot.org 19.01.2010 16:27 Срок ответа для: Dovecot Mailing List Кому Alexander Bukharov Копия Dovecot Mailing List Тема Re: [Dovecot] Oracle SQL driver On Wed, 2010-01-

Re: [Dovecot] Oracle SQL driver

2010-01-19 Thread Timo Sirainen
On Wed, 2010-01-06 at 15:09 +0300, Alexander Bukharov wrote: > AFAIK there is no possibility to use C types in PREPARE statement. What about elsewhere? Looking at my old code I see for example: int main(int argc, char *argv[]) .. EXEC SQL CONNECT :*argv; So it looks like in at least some

Re: [Dovecot] Oracle SQL driver

2010-01-09 Thread Alexander Bukharov
Added free() for the used VARCHAR pointer. driver-oracle.pc.gz Description: Binary data

Re: [Dovecot] Oracle SQL driver

2010-01-06 Thread Alexander Bukharov
> There wouldn't be any uncommitted statements. The only such statements are > sent inside commit(), the others are SELECTs and such that don't modify > anything. Ok. I made things this way. > Well, that also wastes memory :) I thought I remembered using VARCHAR > pointers about 10 years ago. I t

Re: [Dovecot] Oracle SQL driver

2010-01-06 Thread Timo Sirainen
On 6.1.2010, at 14.09, Alexander Bukharov wrote: >> The transaction handling doesn't look correct to me. The sql_update()s >> just add the change to a linked list and commit() is then supposed to >> run them in one transaction and either everything should succeed or >> fail. Your commit appears to

Re: [Dovecot] Oracle SQL driver

2010-01-06 Thread Alexander Bukharov
> The transaction handling doesn't look correct to me. The sql_update()s > just add the change to a linked list and commit() is then supposed to > run them in one transaction and either everything should succeed or > fail. Your commit appears to ignore errors and just commit everything > that goes

Re: [Dovecot] Oracle SQL driver

2009-12-31 Thread Timo Sirainen
On Thu, 2009-12-31 at 10:11 +0300, Alexander Bukharov wrote: > It would be great if you consider to include this driver to mainstream so > Dovecot will be the first IMAP server supporting Oracle as auth backend. The transaction handling doesn't look correct to me. The sql_update()s just add the c

Re: [Dovecot] Oracle SQL driver

2009-12-30 Thread Alexander Bukharov
And here is an example of dovecot-sql.conf dovecot-sql.conf Description: Binary data

[Dovecot] Oracle SQL driver

2009-12-30 Thread Alexander Bukharov
Hi all. Recently I was looking for an IMAP-server with Oracle support and unfortunatelly I couldn't find one. It was a surprise for me but there is no such functionality at all. So I've chosen an IMAP-server with most flexible and convinient architecture that was Dovecot-1.2.9 and written a dr