~mysql/myconnpy/1.1

Viewing all changes in revision 448.

  • Committer: Geert Vanderkelen
  • Date: 2014-03-28 10:26:54 UTC
  • Revision ID: geert.vanderkelen@oracle.com-20140328102654-nwv66rtt589zrspm
BUG#18465605: Fixed testing using relative server folder

This patch fixes a few problems with unit testing using
certain command line arguments of unittests.py.

It was not possible to use --mysql-topdir using a relative
directory. We now make sure when a relative folder is
provided, it is first made absolute.

Another problem was fixed when the MySQL server was installed
in a location such as /usr. The language files and
script to bootstrap the database could not be found. We
now try to figure out where they are located using the
help output of mysqld. If we fail, we report an error
suggesting to use the new option --with-mysql-share.

We improved the detection of 'too long' Unix socket files.
For the MySQL server, a socket file can not be longer than
103 characters. We now report this error and suggest to
use the --unix-socket option to point to a location where
to create the Unix socket files.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: