• unknown's avatar
    InnoDB: Exclude code from InnoDB Hot Backup builds · ed4dbd12
    unknown authored
    by adding #ifndef UNIV_HOTBACKUP and adjusting some function
    declarations.
    
    
    innobase/data/data0type.c:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/dict/dict0dict.c:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/dict/dict0load.c:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/include/data0type.ic:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/include/srv0srv.h:
      Introduce srv_init(), so that it can be called in InnoDB Hot Backup
    innobase/include/srv0start.h:
      Introduce srv_add_path_separator_if_needed(), so that it can be
      invoked in InnoDB Hot Backup
    innobase/include/sync0sync.h:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/include/sync0sync.ic:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/include/trx0trx.h:
      trx_recover_for_mysql(): replace uint with ulint, as uint is not
      declared in InnoDB Hot Backup
    innobase/lock/lock0lock.c:
      Replace bool with ibool
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/row/row0ins.c:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/row/row0mysql.c:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/srv/srv0srv.c:
      Make srv_init() global, so that InnoDB Hot Backup can call it.
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/srv/srv0start.c:
      Make srv_add_path_separator_if_needed() global for InnoDB Hot Backup.
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/sync/sync0rw.c:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/sync/sync0sync.c:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/trx/trx0roll.c:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    innobase/trx/trx0trx.c:
      Replace uint with ulint, as uint is undeclared in InnoDB Hot Backup
    innobase/ut/ut0ut.c:
      Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
    ed4dbd12
srv0start.c 47.8 KB