~maria-captains/maria/5.3

Viewing all changes in revision 3142.

  • Committer: Vladislav Vaintroub
  • Date: 2011-08-08 16:01:33 UTC
  • Revision ID: wlad@montyprogram.com-20110808160133-n7ylyayc55hc0iti
LPBUG#882689 - crash during startup on XP.

The reason for the crash is Innodb assertion after trying to load condition variables function
dynamically and not finding them

The fix is to skip dynamic loading if srv_use_native_conditions is FALSE. srv_use_native_conditions 
is derived from Windows version and would be FALSE on XP and TRUE on later Windows.

This is the same handling as in MySQL 5.. In Maria 5.3 srv_use_native_conditions check was 
presumably  lost in the downporting.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: