Re: [opendbx] the bugtracker is down

2009-10-01 Thread Mariano Martinez Peck
On Thu, Oct 1, 2009 at 3:45 AM, Norbert Sendetzky wrote: > Hi Mariano > > > http://bugs.linuxnetworks.de/index.php?project=3 > > Down...or something similar hahaha. > > Thanks for the hint. Seemed to be some problem due to a PHP update my > provider > has done. > > You are welcome. Now it works ok

Re: [opendbx] Newbie questions about error handling

2009-10-01 Thread Mariano Martinez Peck
> > Sorry Norbert for my ignorance, but how can I now each element of the > enum > > what value is ? > > For example, -1 is ODBX_ERR_BACKEND ? where can I see that ? > > That's a little bit tricky if you don't know. > An enum without explicit enumeration of the elements is enumerated > automaticall

Re: [opendbx] Newbie questions about error handling

2009-10-01 Thread Norbert Sendetzky
Hi Marino > Suppose I want to map from OpenDBX errors to SqueakDBX exceptions, I have > to do it with the index of the array then. So, if you then change, reorder > or whatever you do with the array, I will map wrong exceptions :( That won't happen until 2.0 as I would break binary compatibilit

Re: [opendbx] Newbie questions about error handling

2009-10-01 Thread Mariano Martinez Peck
On Thu, Oct 1, 2009 at 1:14 PM, Norbert Sendetzky wrote: > Hi Marino > > > Suppose I want to map from OpenDBX errors to SqueakDBX exceptions, I have > > to do it with the index of the array then. So, if you then change, > reorder > > or whatever you do with the array, I will map wrong exceptions

Re: [opendbx] Newbie questions about error handling

2009-10-01 Thread Norbert Sendetzky
Hi Mariano > Why you think that is a bad idea? Don't you need (sometimes) to distinguish > between one error and others? for example, don't you need to do or not to > do something depending on the error you received ? Ok, you can have the > error number as an instance variable and then use a swi

Re: [opendbx] Newbie questions about error handling

2009-10-01 Thread Mariano Martinez Peck
On Thu, Oct 1, 2009 at 2:31 PM, Norbert Sendetzky wrote: > Hi Mariano > > > Why you think that is a bad idea? Don't you need (sometimes) to > distinguish > > between one error and others? for example, don't you need to do or not to > > do something depending on the error you received ? Ok, you ca

[opendbx] OpenDBX 1.4.4 released

2009-10-01 Thread Norbert Sendetzky
Dear OpenDBX users Some bugs in the mysql backend has been fixed in 1.4.4 that came up during testing with SqueakDBX, the Smalltalk wrapper around the OpenDBX library. Also, the sqlite3 backend suffered from using an uninitialized variable and both bugs were able to cause a segfault in certain

Re: [opendbx] OpenDBX 1.4.4 released

2009-10-01 Thread Mariano Martinez Peck
On Thu, Oct 1, 2009 at 3:43 PM, Norbert Sendetzky wrote: > Dear OpenDBX users > > Some bugs in the mysql backend has been fixed in 1.4.4 that came up during > testing with SqueakDBX, the Smalltalk wrapper around the OpenDBX library. > Also, the sqlite3 backend suffered from using an uninitialized