The current state of myodbc - recent posts on this list

The current state of myodbc - recent posts on this list

am 09.03.2006 22:05:25 von Martin.Evans

Not that I want to start (continue) an argument on this list but....

I know about ODBC, I've written an ODBC driver but in a purely commercial
arena. Until recently, I've never used MySQL (other than under bugzilla)
or MyODBC in a development scenario. Since Xmas, I've been using
MySQL 5, MyODBC, DBD::ODBC with MyODBC and DBD::mysql
in a project where we needed a database for prototyping. I'm using it
for "free", i.e. I've not spent any money on purchasing it.

In the 2-3 months I've been using it I've found 5-10 bugs in the perl
driver and MyODBC and some have been awkward and time
consuming to diagnose. However, I got all the MySQL software
and drivers for "free" so I've invested time in locating the issues
and attempting to fix them, and where possible posted patches
for the fixes.

I know not everyone is capable of locating bugs, fixing them and posting
patches but I feel it still needs mentioning that OS software
progresses best where people contribute. If you can't fix a problem
you can still do a lot to help diagnose the issue - providing detailed
and exact ways of reproducing the problem, providing logs etc - as with
other mailing lists for OS software sometimes this has not happened.

It would seem MySQL are in the middle - the software is available
in source form but you can purchase support. Obviously some people
on this list have purchased support and have problems and in that
respect I can understand their frustration.

Personally, I'm Ok. I have the ability to locate the problems
and fix them and I'm not complaining about the software because
I didn't pay anything for it. However, I would say I've got around
4/5 fixes in particular for DBD::mysql and a few for MyODBC
which have been posted in this list and the dbi-users list but I've
still not seen them included in any distribution or even pre-release.
It makes little difference to me but I suspect others could benefit
from some of the fixes.

I have a lot of respect for Peter who started unixODBC and wrote much of
the original code and is looking after MyODBC these days. Help
him and MySQL to be better by providing good reproducible problems
with logs. To MySQL, I'd say, try a little harder to take bugs and
fixes/patches
under your wing and turn around pre-releases a little faster - in fairness
this is more directed at DBD::mysql (for my part) than MyODBC.

As an aside (but an example), a recent issue I found was in MyODBC
and I'd imagine it would be trivial to change (should it be deemed the
right thing to do). Options = 2 (I think, off the top of my head) causes
MyODBC to return the true affected rows (like other DBs do e.g. the
rows in the select list of an update) rather than the rows actually changed.
I hit problems doing "update table set column = ? where column = 'xxx'
because
the affected rows when ? = 'xxx' is 0. In my opion the default should
be the other way around (which I believe is the way other DBs work).

Martin



--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org

Re: The current state of myodbc - recent posts on this list

am 09.03.2006 23:50:34 von pharvey

>
> As an aside (but an example), a recent issue I found was in MyODBC
> and I'd imagine it would be trivial to change (should it be deemed the
> right thing to do). Options = 2 (I think, off the top of my head) causes
> MyODBC to return the true affected rows (like other DBs do e.g. the
> rows in the select list of an update) rather than the rows actually
> changed.
> I hit problems doing "update table set column = ? where column = 'xxx'
> because
> the affected rows when ? = 'xxx' is 0. In my opion the default should
> be the other way around (which I believe is the way other DBs work).
>
>

Martin;

Thanks for your comments. I am switching between v3 work and v5 work. In
fact I was only planning on making v3.51.13 a quick release with just a
few fixs. This in light of the fact that I will be at a MySQL dev
meeting next week and on vacation for the 2 weeks after that (cycling
from Naples to Madrid). But I have been spending more time than planned
on this visit to v3 in the hope to address some of these long standing
or more serious issues.

It is clear to me that we can do much better. One of the things which
will give me more time to do fixs & dev is to see about getting our
engineering team to do the distro and post-build testing work (they do
this for the server). I think we may also have to consider reducing our
platform list a bit so we can spend more time on MS Windows, Linux, and
OSX (particularly MS Windows as many people use MS Access & ODBC to get
to our server).

The 'end-game' is v5 so this is what I really need to stay focused upon.
v5 is a completely different code base so some fixs are not as relevant
to v5 as they are to v3.

With v5 we will have support for things like;

- unicode
- proper support for descriptors
- complete support for diagnostics
- multiple result-sets
- latest server features
- and a host of internal things to make maintaining the driver easier
and us more responsive

Now with that said; it would seem that I have promised to get back to a
few people about some bugs and my day is slipping away :)

BTW: Martin, I will be contacting you about those fixs you mentioned but
probably not until I am back from Europe. Thanks much!

--
Peter Harvey
www.mysql.com

..




--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org