Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 759070
Collapse All | Expand All

(-)mysql-orig/sql/mysqld.cc (-5 / +5 lines)
Lines 6369-6375 extern "C" void *handle_shutdown_and_res Link Here
6369
  /* This call should create the message queue for this thread. */
6369
  /* This call should create the message queue for this thread. */
6370
  PeekMessage(&msg, NULL, 1, 65534, PM_NOREMOVE);
6370
  PeekMessage(&msg, NULL, 1, 65534, PM_NOREMOVE);
6371
  DWORD ret_code = WaitForMultipleObjects(
6371
  DWORD ret_code = WaitForMultipleObjects(
6372
      2, static_cast<HANDLE *>(event_handles), FALSE, INFINITE);
6372
      2, static_cast<HANDLE *>(event_handles), false, INFINITE);
6373
6373
6374
  if (ret_code == WAIT_OBJECT_0 || ret_code == WAIT_OBJECT_0 + 1) {
6374
  if (ret_code == WAIT_OBJECT_0 || ret_code == WAIT_OBJECT_0 + 1) {
6375
    if (ret_code == WAIT_OBJECT_0)
6375
    if (ret_code == WAIT_OBJECT_0)
Lines 6401-6408 static void create_shutdown_and_restart_ Link Here
6401
  }
6401
  }
6402
6402
6403
  hEventShutdown =
6403
  hEventShutdown =
6404
      CreateEvent(shutdown_sec_attr, FALSE, FALSE, shutdown_event_name);
6404
      CreateEvent(shutdown_sec_attr, false, false, shutdown_event_name);
6405
  hEventRestart = CreateEvent(0, FALSE, FALSE, restart_event_name);
6405
  hEventRestart = CreateEvent(0, false, false, restart_event_name);
6406
6406
6407
  my_thread_attr_init(&thr_attr);
6407
  my_thread_attr_init(&thr_attr);
6408
6408
Lines 6988-6994 int mysqld_main(int argc, char **argv) Link Here
6988
  if (opt_keyring_migration_source || opt_keyring_migration_destination ||
6988
  if (opt_keyring_migration_source || opt_keyring_migration_destination ||
6989
      migrate_connect_options) {
6989
      migrate_connect_options) {
6990
    Migrate_keyring mk;
6990
    Migrate_keyring mk;
6991
    my_getopt_skip_unknown = TRUE;
6991
    my_getopt_skip_unknown = true;
6992
    if (mk.init(remaining_argc, remaining_argv, opt_keyring_migration_source,
6992
    if (mk.init(remaining_argc, remaining_argv, opt_keyring_migration_source,
6993
                opt_keyring_migration_destination, opt_keyring_migration_user,
6993
                opt_keyring_migration_destination, opt_keyring_migration_user,
6994
                opt_keyring_migration_host, opt_keyring_migration_password,
6994
                opt_keyring_migration_host, opt_keyring_migration_password,
Lines 11600-11606 bool update_named_pipe_full_access_group Link Here
11600
11600
11601
  @return a bool indicating partial_revokes status of the server.
11601
  @return a bool indicating partial_revokes status of the server.
11602
    @retval true  Parital revokes is ON
11602
    @retval true  Parital revokes is ON
11603
    @retval flase Partial revokes is OFF
11603
    @retval false Partial revokes is OFF
11604
*/
11604
*/
11605
bool mysqld_partial_revokes() {
11605
bool mysqld_partial_revokes() {
11606
  return partial_revokes.load(std::memory_order_relaxed);
11606
  return partial_revokes.load(std::memory_order_relaxed);

Return to bug 759070