Adding Akelos version of pcntl_fork for preventing forked processes from killing the database connection.
Adding Akelos version of pcntl_fork for preventing forked processes from killing the database connection.

See http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

This is done by closing the connection before forking and reconnecting on the child & parent process.

Returns the same as pcntl_fork (PID of the children to the parent, 0 to the children process and -1 if fails).


git-svn-id: 5f76af778521e055889025f914577fb058643471@1437 a2fa5c27-f921-0410-a72c-bf682d381be0

bermi/akelos,bermi/akelos