Could you add some optional logging to disk to your protocol so I
can send you what is happening during the communication process ?

        Giuseppe Chillemi

-----Messaggio originale-----
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di
[EMAIL PROTECTED]
Inviato: luned=EC 16 gennaio 2006 16.37
A: [EMAIL PROTECTED]
Oggetto: [REBOL] Re: R: fixes - Re: MySQL 1.0.0 beta driver released =
....
(BUG REPORT)


Hi,

Thanks for the bug report.

Just add a call to 'close on your port at end of your code and it will =
be=3D
 ok,
like this:

REBOL []
db: open mysql://root:[EMAIL PROTECTED]/prova
insert db "select * from tabella1"
print copy db
close db

BTW, I've noticed while testing this error that the current port get =
clos=3D
ed by
the REBOL GC wrongly. I've checked my code and I'm correctly cloning the =
=3D
port!
value and all the sub objects, so I guess that it is caused by a GC bug.

About the other error:
** User Error: ERROR 1043 : Bad handshake
it is something that happens randomly, I don't know what is causing =
that.=3D
 I'm
still investigating this issue, if someone have any clue or have a =
script=3D
 that
reproduce it everytime, please send it here.

--
DocKimbel.


Selon Giuseppe Chillemi <[EMAIL PROTECTED]>:

>
>
> Maybe I do some error but I have the following problem:
>
> This is the script I use:
>
> REBOL []
> db: open mysql://root:[EMAIL PROTECTED]/prova
> insert db "select * from tabella1"
> print copy db
>
> If I run mysql-protocol.r and start the script all is ok.
> If I start again my script I have the following error:
>
> >> do %provasql.r
> ** Access Error: Port prova already closed
> ** Where: read-rows
> ** Near: print copy db
>
> I must restart mysql-protocol.r to have it working again.
>
>
> Starting the script repeatly (in a short time range) I had this error =
=3D3D
> too:
>
> >> do %provasql.r
> ** User Error: ERROR 1043 : Bad handshake
> ** Near: db: open mysql://root:[EMAIL PROTECTED]/prova
>
> I have modified the script to MySQL protocol loaded at the start of =
the
> script
>
> REBOL []
> do %mysql-protocol.r
> db: open mysql://root:[EMAIL PROTECTED]/prova
> insert db "select * from tabella1"
> print first copy db
> wait 1
> insert db "select * from tabella1"
> print second copy db
>
> But I always have the same error if I start it repeatly
>
> >> do %provasql.r
> ** Access Error: Port prova already closed
> ** Where: read-rows
> ** Near: print copy db
>
> It seems there is some timing problem.
>
> Giuseppe Chillemi
>
>
>
>
> -----Messaggio originale-----
> Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto =
di=3D
 =3D3D
> Petr
> Krenzelok
> Inviato: venerd=3D3DEC 13 gennaio 2006 9.59
> A: [EMAIL PROTECTED]
> Oggetto: [REBOL] fixes - Re: MySQL 1.0.0 beta driver released ....
>
>
> For those who downloaded beta driver, please redownload, there were =
som=3D
e =3D3D
>
> fixes - not to new functionality, but some community member sent =
some=3D3D=3D
20
> fixes/improvements earlier to DocKimbel, which were now implemented. =
Fo=3D
r =3D3D
>
> more you can read:
>
> http://www.rebol.net/altweb/rebol3/chat220.html
>
> -pekr-
>
> Petr Krenzelok napsal(a):
>
> >Hi guys,
> >
> >I have very good news for you. Good old friend DocKimbel heard our =
cal=3D
l =3D3D
>
> >for update for mysql protocol, and here it is:
> >
> >New MySQL driver version 1.0.0 supporting servers v4.1.1+ =3D3D20
> >http://softinnov.org/tmp/mysql-protocol.r . This is a beta =
release,=3D3D=3D
20
> >please report any bugs, I will collect them and post back to altME. =
=3D3D
> This=3D3D20
> >release has not been tested with servers v3.x (but should work).
> >
> >I think it will work imediatelly though ...
> >
> >enjoy,
> >Petr
> > =3D3D20
> >
>
>
> --=3D3D20
> To unsubscribe from the list, just send an email to=3D3D20
> lists at rebol.com with unsubscribe as the subject.
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
>


--
--=20
To unsubscribe from the list, just send an email to=20
lists at rebol.com with unsubscribe as the subject.

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to