Bug #43120 | Backup tree does not compile on Windows Vista w/VS 2008 Pro | ||
---|---|---|---|
Submitted: | 23 Feb 2009 19:28 | Modified: | 26 Feb 2009 1:07 |
Reporter: | Chuck Bell | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S3 (Non-critical) |
Version: | 6.0.10 | OS: | Windows (Vista) |
Assigned to: | Vladislav Vaintroub | CPU Architecture: | Any |
[23 Feb 2009 19:28]
Chuck Bell
[24 Feb 2009 5:23]
Rafal Somla
Here is an alternative fix which avoids code repetition. === modified file 'sql/backup/backup_info.cc' --- sql/backup/backup_info.cc 2009-02-13 12:40:13 +0000 +++ sql/backup/backup_info.cc 2009-02-24 05:19:00 +0000 @@ -171,16 +171,15 @@ Backup_info::find_backup_engine(const ba #ifndef DBUG_OFF backup_factory *saved_factory; // to save hton->get_backup_engine +#ifndef WITH_MARIA_STORAGE_ENGINE + handlerton *maria_hton= (handlerton*) 1; +#endif DBUG_EXECUTE_IF("backup_test_dummy_be_factory", { handlerton *hton= se_hton(se); saved_factory= hton->get_backup_engine; - if (hton == myisam_hton -#ifdef WITH_MARIA_STORAGE_ENGINE - || hton == maria_hton -#endif - ) + if (hton == myisam_hton || hton == maria_hton) hton->get_backup_engine= dummy_backup_engine_factory; }); #endif
[24 Feb 2009 9:51]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/67328 3063 Vladislav Vaintroub 2009-02-24 Bug #43131 Maria compile error 6.0-main Bug #43120 Backup tree does not compile on Windows Vista w/VS 2008 Pro Use patches by Rafal and Sergei to fix compile problems on Windows debug
[24 Feb 2009 18:18]
Chuck Bell
Patch approved.
[25 Feb 2009 5:12]
Rafal Somla
Good to push.
[25 Feb 2009 9:03]
Bugs System
Pushed into 6.0.11-alpha (revid:alik@sun.com-20090225085147-fgsuroycbofgpm5b) (version source revid:vvaintroub@mysql.com-20090224095047-dpp5nc49hpmnd3mg) (merge vers: 6.0.11-alpha) (pib:6)
[26 Feb 2009 1:07]
Paul DuBois
Noted in 6.0.11 changelog. Compilation failures on Windows Vista using Visual Studio 2008 Professional were corrected.