2 versions of MySqlTestRegister.cpp

Mateusz Loskot mateusz at loskot.net
Fri Dec 1 07:08:41 EST 2006


There are two versions of (almost) the same file:

UnitTest\MySqlTestRegister.cpp - for Linux
UnitTest\MySql\MySqlTestRegister.cpp - for Windows

Both files are have the same name and used for the same purpose.
The only difference is additional function and include headers for Linux.

Why not to merge these files into UnitTest\MySql\MySqlTestRegister.cpp
and support Linux/Windows specifics by conditional compilation?

Mateusz Loskot

More information about the Fdo-internals mailing list