summaryrefslogtreecommitdiff
path: root/dev-db/mysql/mysql-8.0.21-icu-68.1.patch
blob: be7a27e3ea7d84716fe9df57fa00747505442267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff -urNp mysql-orig/sql/mysqld.cc mysql-dwok/sql/mysqld.cc
--- mysql-orig/sql/mysqld.cc	2020-12-09 17:31:52.696925139 +0100
+++ mysql-dwok/sql/mysqld.cc	2020-12-09 17:32:59.401936084 +0100
@@ -6369,7 +6369,7 @@ extern "C" void *handle_shutdown_and_res
   /* This call should create the message queue for this thread. */
   PeekMessage(&msg, NULL, 1, 65534, PM_NOREMOVE);
   DWORD ret_code = WaitForMultipleObjects(
-      2, static_cast<HANDLE *>(event_handles), FALSE, INFINITE);
+      2, static_cast<HANDLE *>(event_handles), false, INFINITE);
 
   if (ret_code == WAIT_OBJECT_0 || ret_code == WAIT_OBJECT_0 + 1) {
     if (ret_code == WAIT_OBJECT_0)
@@ -6401,8 +6401,8 @@ static void create_shutdown_and_restart_
   }
 
   hEventShutdown =
-      CreateEvent(shutdown_sec_attr, FALSE, FALSE, shutdown_event_name);
-  hEventRestart = CreateEvent(0, FALSE, FALSE, restart_event_name);
+      CreateEvent(shutdown_sec_attr, false, false, shutdown_event_name);
+  hEventRestart = CreateEvent(0, false, false, restart_event_name);
 
   my_thread_attr_init(&thr_attr);
 
@@ -6988,7 +6988,7 @@ int mysqld_main(int argc, char **argv)
   if (opt_keyring_migration_source || opt_keyring_migration_destination ||
       migrate_connect_options) {
     Migrate_keyring mk;
-    my_getopt_skip_unknown = TRUE;
+    my_getopt_skip_unknown = true;
     if (mk.init(remaining_argc, remaining_argv, opt_keyring_migration_source,
                 opt_keyring_migration_destination, opt_keyring_migration_user,
                 opt_keyring_migration_host, opt_keyring_migration_password,
@@ -11600,7 +11600,7 @@ bool update_named_pipe_full_access_group
 
   @return a bool indicating partial_revokes status of the server.
     @retval true  Parital revokes is ON
-    @retval flase Partial revokes is OFF
+    @retval false Partial revokes is OFF
 */
 bool mysqld_partial_revokes() {
   return partial_revokes.load(std::memory_order_relaxed);