Similar patch also discussed here: http://lists.pld-linux.org/mailman/pipermail/pld-cvs-commit/Week-of-Mon-20130812/374729.html
MariaDB's fix here https://mariadb.atlassian.net/secure/attachment/23302/mdev4902.patch - looks more extensive.
Similar patch also discussed here: http:// lists.pld- linux.org/ mailman/ pipermail/ pld-cvs- commit/ Week-of- Mon-20130812/ 374729. html
MariaDB's fix here https:/ /mariadb. atlassian. net/secure/ attachment/ 23302/mdev4902. patch - looks more extensive.