summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-10-19 22:50:45 +0200
committerSergei Golubchik <sergii@pisem.net>2011-10-19 22:50:45 +0200
commit42b8235788f7556fef1295dc281a29da4afe0f7d (patch)
treed3eff679ca6e85c187aa26218c78e89e3e4710d3 /sql/sql_table.cc
parent533d274c03fe424dacfb9e119ea5f98799373b73 (diff)
downloadmariadb-git-42b8235788f7556fef1295dc281a29da4afe0f7d.tar.gz
cleanups
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 2ead7a167e5..a5ef2c4b7fc 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -3876,6 +3876,7 @@ void sp_prepare_create_field(THD *thd, Create_field *sql_field)
}
+#ifdef WITH_PARTITION_STORAGE_ENGINE
/**
Auxiliary function which allows to check if freshly created .FRM
file for table can be opened.
@@ -3913,6 +3914,7 @@ static bool check_if_created_table_can_be_opened(THD *thd,
(void) file->ha_create_handler_files(path, NULL, CHF_DELETE_FLAG, create_info);
return result;
}
+#endif
/**