summaryrefslogtreecommitdiff
path: root/sql/partition_info.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2008-10-06 17:22:38 +0500
committerAlexey Botchkov <holyfoot@mysql.com>2008-10-06 17:22:38 +0500
commita66e58daee4c3b77a5ad02b7e6f72e597a70b688 (patch)
tree982a3d199b975a610f8c0fb1ad319e8b32359bac /sql/partition_info.h
parenteb656b216468c2739f22f1df0f828054ea6bf1cd (diff)
downloadmariadb-git-a66e58daee4c3b77a5ad02b7e6f72e597a70b688.tar.gz
Bug#38083 Error-causing row inserted into partitioned table despite error
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r--sql/partition_info.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 2af7fa1717c..703b92305b1 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -25,8 +25,9 @@ class partition_info;
typedef int (*get_part_id_func)(partition_info *part_info,
uint32 *part_id,
longlong *func_value);
-typedef uint32 (*get_subpart_id_func)(partition_info *part_info);
-
+typedef int (*get_subpart_id_func)(partition_info *part_info,
+ uint32 *part_id);
+
struct st_ddl_log_memory_entry;
class partition_info : public Sql_alloc