MySQL 4.1 uses Microsoft code

Summary:Code that Microsoft made available under a public licence earlier this year will be used to build the next production release of the open-source database

MySQL developers have used Microsoft source code in version 4.1 of the open-source database, which is due for final release in two weeks.

Microsoft made the code for its Windows Installer XML (WiX) toolset available under an open-source licence in April 2004. The toolset is used by companies that develop applications for the Windows environment to build a Windows installation package.

David Axmark, co-founder of MySQL, said to ZDNet UK on Monday that the code has been used by MySQL developers to generate binary install files for the Windows environment. The code is not used for the MySQL database itself, but for building installers for the database and the administration tool which connects to the database.

As Microsoft is known for zealously protecting the source code of its applications, some open-source developers were suspicious when they heard it was releasing the source code of WiX. But Axmark said MySQL had little hesitation about using it.

"If Microsoft releases something under public licence we will use it," he said.

However, he said that the code is only part of the build process rather than key application functionality.

"It's not that useful," said Axmark. "We may need to modify the code slightly so it has some value. But it doesn't have as much value as something you would put into an application."

Simon Riggs, a developer on PostgreSQL, an alternative open-source database, said that future versions of PostgreSQL will not use the Microsoft source code as the database already uses the WiX API for its installer which he said works fine.

Riggs pointed out that the WiX toolset is already an open API, so there is little need to customise it.

Riggs pointed out that the WiX toolset is already programmable so there is little need to customise it.

"Microsoft open-sourcing this is like taking the top off a jar that is already open," said Riggs. "We're not interested in this bit of their source code."

A Microsoft spokeswoman said on Monday that Microsoft is committed to providing tools to aid software development. "WiX is just one example of our engagement with the open-source community and it helps software developers as they build software that runs on Windows," said the spokeswoman.

Topics: Apps, Software Development

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.

Related Stories

The best of ZDNet, delivered

You have been successfully signed up. To sign up for more newsletters or to manage your account, visit the Newsletter Subscription Center.
Subscription failed.