Portability fixes.
Handle cleanup when we get an error before the message file is read.
Fix bug in multi-table delete
include/mysql.h:
Portability fix
mysql-test/mysql-test-run.sh:
Don't use long names for sockets (portability fix)
sql/derror.cc:
Better cleanup
sql/mysqld.cc:
Fix that --enable-locking works.
Handle case when we get an error before the message file is read
sql/sql_delete.cc:
Fix bug in multi-table delete
sql/sql_select.cc:
Fix bug in multi-table delete
sql/table.h:
Fix bug in multi-table delete
tools/mysqlmanager.c:
Portability fixes