summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 41621a19900..7252940eb27 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -1488,8 +1488,7 @@ int open_table_from_share(THD *thd, TABLE_SHARE *share, const char *alias,
Fix the partition functions and ensure they are not constant
functions
*/
- if (fix_partition_func(thd, share->normalized_path.str, outparam,
- is_create_table))
+ if (fix_partition_func(thd, outparam, is_create_table))
goto err;
}
#endif