File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1338,3 +1338,9 @@ drop table old_count;
1338
1338
set @@optimizer_switch=default;
1339
1339
1340
1340
select * from ndbinfo.config_params order by param_number;
1341
+ UPDATE ndb$config_params SET param_number=1 WHERE param_name = "NoOfReplicas";
1342
+ ERROR HY000: Table 'ndb$config_params' is read only
1343
+
1344
+ UPDATE config_params SET param_number=1 WHERE param_name = "NoOfReplicas";
1345
+ ERROR HY000: Table 'ndb$config_params' is read only
1346
+
Original file line number Diff line number Diff line change @@ -727,4 +727,16 @@ set @@optimizer_switch=default;
727
727
select * from ndbinfo.config_params order by param_number;
728
728
--enable_result_log
729
729
730
+ #
731
+ # Bug#11762750 TABLE NDBINFO.CONFIG_PARAMS SHOULD BE READ-ONLY (FOR NOW)
732
+ #
733
+ #
734
+ # Checking the table
735
+ --error ER_OPEN_AS_READONLY
736
+ UPDATE ndb$config_params SET param_number=1 WHERE param_name = "NoOfReplicas";
737
+
738
+ # Checking the view
739
+ --error ER_OPEN_AS_READONLY
740
+ UPDATE config_params SET param_number=1 WHERE param_name = "NoOfReplicas";
741
+
730
742
--source ndbinfo_drop.inc
You can’t perform that action at this time.
0 commit comments