OHRefreshOptions

enum OHRefreshOptions {}

Refresh options.

  • Refresh the grant tables, like FLUSH PRIVILEGES.

    Declaration

    Objective-C

    OHRefreshOptionGrant = 1
  • Flush the logs, like FLUSH LOGS.

    Declaration

    Objective-C

    OHRefreshOptionLog = 2
  • Flush the table cache, like FLUSH TABLES.

    Declaration

    Objective-C

    OHRefreshOptionTables = 4
  • Flush the host cache, like FLUSH HOSTS.

    Declaration

    Objective-C

    OHRefreshOptionHosts = 8
  • Reset status variables, like FLUSH STATUS.

    Declaration

    Objective-C

    OHRefreshOptionStatus = 16
  • Flush the thread cache.

    Declaration

    Objective-C

    OHRefreshOptionThreads = 32
  • On a slave replication server, reset the master server information and restart the slave, like RESET SLAVE.

    Declaration

    Objective-C

    OHRefreshOptionSlave = 64
  • On a master replication server, remove the binary log files listed in the binary log index and truncate the index file, like RESET MASTER.

    Declaration

    Objective-C

    OHRefreshOptionMaster = 128