Merge in additional fixes found.
Remove some of the dependencies from session.h so that we make the include
structure a bit simpler.
use boost::posix_time::ptime instead of gettimeofday() to be a bit more portable
Incremental check - doesn't work. Adds replication state tables.
Fix serial to be the same in the parser.
use boost time_duration to generate our nice query duration stsring instead of math on a double
Adding build for unique column
use Session::(get|set)_proc_info instead of (get|set)_session_proc_info in ARCHIVE engine, which means we can remove the non-member functions.
properly encapsulate Session::tablespace_op and stop using (and remove) session_tablespace_op(session)
removes session_tx_isolation() and replace with Session::tx_isolation()
properly encapsulate Session::Lex->sql_command and stop using (and remove) session_sql_command(session)
fix up two uses of session->tx_isolation to be correct call
Merge trunk into branch
Replace macros by const vars
Replace macros by const vars
Merge possible fix for bug 715312
Merge Lee - 714638: [user_locks plugin] Compilation aborts on FreeBSD 8.1 after complaining about overloaded abs function
Merge Olaf - macro functions should be c++ template functions
Merge Lee - update valgrind suppressions on 32bit machines
Make class of TYPELIB