summaryrefslogtreecommitdiff
path: root/storage/innobase/os/os0file.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-09-11 10:57:05 +0200
committerSergei Golubchik <serg@mariadb.org>2016-09-11 10:57:05 +0200
commitdc900cc8461ed995875d0dda5d372d95c58a94f0 (patch)
tree017f9d4d900a80171b8cd47a4184f7e02dd8500e /storage/innobase/os/os0file.cc
parentd019af402cdaa80bd03ad8a5cf2c11cf54443248 (diff)
downloadmariadb-git-dc900cc8461ed995875d0dda5d372d95c58a94f0.tar.gz
Remove a bunch of TODO's, fix perfschema.threads_innodb test
Diffstat (limited to 'storage/innobase/os/os0file.cc')
-rw-r--r--storage/innobase/os/os0file.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc
index 047eec7949c..02727ae9279 100644
--- a/storage/innobase/os/os0file.cc
+++ b/storage/innobase/os/os0file.cc
@@ -926,7 +926,7 @@ os_aio_windows_handler(
IORequest* type);
#endif /* WIN_ASYNC_IO */
-#ifdef MYSQL_COMPRESSION_ENCRYPTION
+#ifdef MYSQL_COMPRESSION
/** Allocate a page for sync IO
@return pointer to page */
static
@@ -995,7 +995,7 @@ os_free_block(Block* block)
ut_free(block);
}
}
-#endif /* MYSQL_COMPRESSION_ENCRYPTION */
+#endif /* MYSQL_COMPRESSION */
/** Generic AIO Handler methods. Currently handles IO post processing. */
class AIOHandler {
@@ -1239,7 +1239,7 @@ AIOHandler::check_read(Slot* slot, ulint n_bytes)
err = DB_FAIL;
}
-#ifdef MYSQL_COMPRESSION_ENCRYPTION
+#ifdef MYSQL_COMPRESSION
if (slot->buf_block != NULL) {
os_free_block(slot->buf_block);
slot->buf_block = NULL;
@@ -1749,7 +1749,7 @@ os_file_io_complete(
ulint offset,
ulint len)
{
-#ifdef MYSQL_ENCRYPTION_COMPRESSION
+#ifdef MYSQL_ENCRYPTION
/* We never compress/decompress the first page */
ut_a(offset > 0);
ut_ad(type.validate());
@@ -1805,7 +1805,7 @@ os_file_io_complete(
}
ut_ad(!type.is_log());
-#endif /* MYSQL_ENCRYPTION_COMPRESSION */
+#endif /* MYSQL_ENCRYPTION */
return(DB_SUCCESS);
}