Commit ea49441c authored by Aleksey Midenkov's avatar Aleksey Midenkov

Partition: uninitialized vers_info fix

parent 9cbf9e3b
...@@ -18,14 +18,18 @@ x ...@@ -18,14 +18,18 @@ x
delete from t1; delete from t1;
select * from t1; select * from t1;
x x
select * from t1 partition (p0);
x
select * from t1 partition (p1);
x
select * from t1 for system_time all; select * from t1 for system_time all;
x x
3 3
300 300
select * from t1 partition (p0); select * from t1 partition (p0) for system_time all;
x x
3 3
select * from t1 partition (p1); select * from t1 partition (p1) for system_time all;
x x
300 300
# Engine change native <-> non-native versioning prohibited # Engine change native <-> non-native versioning prohibited
......
...@@ -16,9 +16,11 @@ select * from t1 partition (p1); ...@@ -16,9 +16,11 @@ select * from t1 partition (p1);
delete from t1; delete from t1;
select * from t1; select * from t1;
select * from t1 for system_time all;
select * from t1 partition (p0); select * from t1 partition (p0);
select * from t1 partition (p1); select * from t1 partition (p1);
select * from t1 for system_time all;
select * from t1 partition (p0) for system_time all;
select * from t1 partition (p1) for system_time all;
--echo # Engine change native <-> non-native versioning prohibited --echo # Engine change native <-> non-native versioning prohibited
--replace_result $default_engine DEFAULT_ENGINE --replace_result $default_engine DEFAULT_ENGINE
......
...@@ -292,7 +292,7 @@ class partition_info : public Sql_alloc ...@@ -292,7 +292,7 @@ class partition_info : public Sql_alloc
part_expr(NULL), subpart_expr(NULL), item_free_list(NULL), part_expr(NULL), subpart_expr(NULL), item_free_list(NULL),
first_log_entry(NULL), exec_log_entry(NULL), frm_log_entry(NULL), first_log_entry(NULL), exec_log_entry(NULL), frm_log_entry(NULL),
bitmaps_are_initialized(FALSE), bitmaps_are_initialized(FALSE),
list_array(NULL), err_value(0), list_array(NULL), vers_info(NULL), err_value(0),
part_info_string(NULL), part_info_string(NULL),
curr_part_elem(NULL), current_partition(NULL), curr_part_elem(NULL), current_partition(NULL),
curr_list_object(0), num_columns(0), table(NULL), curr_list_object(0), num_columns(0), table(NULL),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment