Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
xtrabackup
percona-xtrabackup-2.3.3-disable-version-check....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File percona-xtrabackup-2.3.3-disable-version-check.patch of Package xtrabackup
Index: percona-xtrabackup-2.4.10/storage/innobase/xtrabackup/src/backup_copy.cc =================================================================== --- percona-xtrabackup-2.4.10.orig/storage/innobase/xtrabackup/src/backup_copy.cc +++ percona-xtrabackup-2.4.10/storage/innobase/xtrabackup/src/backup_copy.cc @@ -51,7 +51,7 @@ Place, Suite 330, Boston, MA 02111-1307 #include <set> #include <string> #include <mysqld.h> -#include <version_check_pl.h> +/* #include <version_check_pl.h> */ #include <sstream> #include <algorithm> #include "fil_cur.h" @@ -2057,6 +2057,7 @@ decrypt_decompress() return(ret); } +/* void version_check() { @@ -2087,3 +2088,4 @@ version_check() pclose(pipe); } +*/ Index: percona-xtrabackup-2.4.10/storage/innobase/xtrabackup/src/backup_copy.h =================================================================== --- percona-xtrabackup-2.4.10.orig/storage/innobase/xtrabackup/src/backup_copy.h +++ percona-xtrabackup-2.4.10/storage/innobase/xtrabackup/src/backup_copy.h @@ -42,8 +42,10 @@ bool copy_back(); bool decrypt_decompress(); +/* void version_check(); +*/ bool is_path_separator(char); bool Index: percona-xtrabackup-2.4.10/storage/innobase/xtrabackup/src/CMakeLists.txt =================================================================== --- percona-xtrabackup-2.4.10.orig/storage/innobase/xtrabackup/src/CMakeLists.txt +++ percona-xtrabackup-2.4.10/storage/innobase/xtrabackup/src/CMakeLists.txt @@ -29,11 +29,11 @@ MYSQL_CHECK_CURL() FIND_EV() # xxd is needed to embed version_check script -FIND_PROGRAM(XXD_PATH xxd) +#FIND_PROGRAM(XXD_PATH xxd) -IF(NOT XXD_PATH) - MESSAGE(FATAL_ERROR "xxd not found. Try to install vim-common.") -ENDIF(NOT XXD_PATH) +#IF(NOT XXD_PATH) +# MESSAGE(FATAL_ERROR "xxd not found. Try to install vim-common.") +#ENDIF(NOT XXD_PATH) INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/include @@ -57,13 +57,13 @@ ADD_DEFINITIONS(${SSL_DEFINES}) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/xtrabackup_version.h.in ${CMAKE_CURRENT_BINARY_DIR}/xtrabackup_version.h ) -ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/version_check_pl.h - COMMAND ${XXD_PATH} --include version_check.pl - ${CMAKE_CURRENT_BINARY_DIR}/version_check_pl.h - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) +#ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/version_check_pl.h +# COMMAND ${XXD_PATH} --include version_check.pl +# ${CMAKE_CURRENT_BINARY_DIR}/version_check_pl.h +# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) -ADD_CUSTOM_TARGET(GenVersionCheck - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/version_check_pl.h) +#ADD_CUSTOM_TARGET(GenVersionCheck +# DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/version_check_pl.h) SET(keyring_source_files keyring.cc Index: percona-xtrabackup-2.4.10/storage/innobase/xtrabackup/src/xtrabackup.cc =================================================================== --- percona-xtrabackup-2.4.10.orig/storage/innobase/xtrabackup/src/xtrabackup.cc +++ percona-xtrabackup-2.4.10/storage/innobase/xtrabackup/src/xtrabackup.cc @@ -8063,7 +8063,7 @@ xb_init() if (xtrabackup_backup) { if (!opt_noversioncheck) { - version_check(); + //version_check(); } if ((mysql_connection = xb_mysql_connect()) == NULL) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor