Bug#11758766:MYSQLD CONTINUES OPERATION WITHOUT LOGGING WHEN
BINLOGS CANNOT BE WRITTEN

Fixing a typo.
Bug#11758766:MYSQLD CONTINUES OPERATION WITHOUT LOGGING WHEN
BINLOGS CANNOT BE WRITTEN

Merge from mysql-5.6 to mysql-trunk
Bug #17357528 BACKPORT BUG#16513435 TO 5.5 AND 5.6

Description: Backporting BUG#16513435 to 5.5 and 5.6
This is a fix for REMOTE PREAUTH USER ENUMERATION FLAW bug
Bug #17357528 BACKPORT BUG#16513435 TO 5.5 AND 5.6

Merging from mysql-5.5 to mysql-5.6
Bug #17357528 BACKPORT BUG#16513435 TO 5.5 AND 5.6

Null merge from mysql-5.6 to mysql-trunk
Bug #17657223	 EXCESSIVE TEMPORARY FILE USAGE IN ALTER TABLE
	Reverting the patch due to pb2 failure.
Bug #17657223	 EXCESSIVE TEMPORARY FILE USAGE IN ALTER TABLE
	Reverting the patch due to pb2 failure.
WL#6835 - Change thd_tx_priority and tx_priority from bool to int.
WL#6835 - Improved tests.
- Follow-up performance fix for WL#7682.

  Intrinsic Table: Optimization to use dict_table_t for caching row_id/trx_id
  instead of innodb_session_t

  With WL#7682 we introduced intrinsic tables. Given that these tables has
  session scope row_id and trx_id needed for these tables were cached in
  innodb_session_t (session structure cached in thd).

  Unfortunately, accessing these ids through session is performance costly as
  it involves lookup into map using table name and loading of thd that in turn
  causes invalidation the CPU cache.

  We observed a regression upto 35% with Wisconsin-DB queries.

  So we are moving back to original idea of caching these ids as part of
  dict_table_t.

  Approved by: Jimmy (rb#5881)
- WL#6965: merge from mysql-trunk
Bug #17357528 BACKPORT BUG#16513435 TO 5.5 AND 5.6

Follow up patch to fix testcase failure.
Bug #17357528 BACKPORT BUG#16513435 TO 5.5 AND 5.6

Follow-up patch to fix testcase.
Null merge from mysql-5.6 to trunk
- WL#6965: Truncate UNDO logs.
  - Addressed review comments.
WL#6835 - Patch from Nuno Carvalho
Raise version number after cloning 5.5.39
Raise version number after cloning  and merging back the changes from 5.5
Empty version change upmerge
WL#6835 - Update test to match record lock jump queue semantics.
WL#6835 - Remove debugging instrumentation.