File tree 3 files changed +10
-4
lines changed
3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -1297,7 +1297,7 @@ drop view frag_ops;
1297
1297
drop table t1;
1298
1298
drop table t2;
1299
1299
1300
- ## Check the new tables return data and exists.
1300
+ ## Check that the new tables return data and exists.
1301
1301
select count(*) > 10 from ndb$blocks;
1302
1302
count(*) > 10
1303
1303
1
@@ -1311,7 +1311,7 @@ type_id type_name
1311
1311
2 User table
1312
1312
select * from ndb$dbtc_apiconnect_state;
1313
1313
select * from ndb$dblqh_tcconnect_state;
1314
- ## Check the new views return data and exists.
1314
+ ## Check that the new views return data and exists.
1315
1315
select block_number from blocks where block_name = "DBTC";
1316
1316
block_number
1317
1317
245
Original file line number Diff line number Diff line change @@ -686,7 +686,7 @@ drop table t2;
686
686
# - three new views was added to preserve backwards compatibility
687
687
# for those tabes which was changed to prefix ndb$
688
688
689
- ## Check the new tables return data and exists.
689
+ ## Check that the new tables return data and exists.
690
690
select count(*) > 10 from ndb$blocks;
691
691
select param_number, param_name from ndb$config_params
692
692
where param_name = "DataMemory";
@@ -696,7 +696,7 @@ select * from ndb$dbtc_apiconnect_state;
696
696
select * from ndb$dblqh_tcconnect_state;
697
697
--enable_result_log
698
698
699
- ## Check the new views return data and exists.
699
+ ## Check that the new views return data and exists.
700
700
select block_number from blocks where block_name = "DBTC";
701
701
select param_name from config_params where param_number = 101;
702
702
select type_name from ndb$dict_obj_types where type_id = 3;
Original file line number Diff line number Diff line change @@ -367,6 +367,12 @@ struct view {
367
367
" ON name.parent_obj_id=parent_name.id AND "
368
368
" name.parent_obj_type=parent_name.type"
369
369
},
370
+ // The blocks, dict_obj_types and config_params used
371
+ // to be stored in a different engine but have now
372
+ // been folded into hardcoded ndbinfo tables whose
373
+ // name include the special prefix.
374
+ // These views are defined to provide backward compatibility
375
+ // for code using the old names.
370
376
{ " blocks" ,
371
377
" SELECT block_number, block_name "
372
378
" FROM `<NDBINFO_DB>`.`<TABLE_PREFIX>blocks`"
You can’t perform that action at this time.
0 commit comments