Browse Source

Fix Windows compiler error.

replace/d7d589dc01f6d70d1518b74d46fd3b75e76267f5
Jan Lindström 11 years ago
committed by Sergei Golubchik
parent
commit
46785bac5f
  1. 2
      storage/innobase/os/os0file.cc
  2. 2
      storage/xtradb/os/os0file.cc

2
storage/innobase/os/os0file.cc

@ -2944,7 +2944,7 @@ try_again:
/* If page is encrypted we need to decrypt it first */ /* If page is encrypted we need to decrypt it first */
if (fil_page_is_encrypted((byte *)buf)) { if (fil_page_is_encrypted((byte *)buf)) {
if (fil_decrypt_page( if (fil_decrypt_page(
NULL
NULL,
(byte *)buf, (byte *)buf,
n, n,
NULL, NULL,

2
storage/xtradb/os/os0file.cc

@ -3140,7 +3140,7 @@ try_again:
/* If page is encrypted we need to decrypt it first */ /* If page is encrypted we need to decrypt it first */
if (fil_page_is_encrypted((byte *)buf)) { if (fil_page_is_encrypted((byte *)buf)) {
if (fil_decrypt_page( if (fil_decrypt_page(
NULL
NULL,
(byte *)buf, (byte *)buf,
n, n,
NULL, NULL,

Loading…
Cancel
Save