@@ -730,10 +730,10 @@ BtrBulk::logFreeCheck()
730
730
void
731
731
BtrBulk::release ()
732
732
{
733
- ut_ad (m_root_level + 1 == m_page_bulks-> size ());
733
+ ut_ad (m_root_level + 1 == m_page_bulks. size ());
734
734
735
735
for (ulint level = 0 ; level <= m_root_level; level++) {
736
- PageBulk* page_bulk = m_page_bulks-> at (level);
736
+ PageBulk* page_bulk = m_page_bulks. at (level);
737
737
738
738
page_bulk->release ();
739
739
}
@@ -743,10 +743,10 @@ BtrBulk::release()
743
743
void
744
744
BtrBulk::latch ()
745
745
{
746
- ut_ad (m_root_level + 1 == m_page_bulks-> size ());
746
+ ut_ad (m_root_level + 1 == m_page_bulks. size ());
747
747
748
748
for (ulint level = 0 ; level <= m_root_level; level++) {
749
- PageBulk* page_bulk = m_page_bulks-> at (level);
749
+ PageBulk* page_bulk = m_page_bulks. at (level);
750
750
page_bulk->latch ();
751
751
}
752
752
}
@@ -764,7 +764,7 @@ BtrBulk::insert(
764
764
dberr_t err = DB_SUCCESS;
765
765
766
766
/* Check if we need to create a PageBulk for the level. */
767
- if (level + 1 > m_page_bulks-> size ()) {
767
+ if (level + 1 > m_page_bulks. size ()) {
768
768
PageBulk* new_page_bulk
769
769
= UT_NEW_NOKEY (PageBulk (m_index, m_trx_id, FIL_NULL,
770
770
level, m_flush_observer));
@@ -773,16 +773,16 @@ BtrBulk::insert(
773
773
return (err);
774
774
}
775
775
776
- m_page_bulks-> push_back (new_page_bulk);
777
- ut_ad (level + 1 == m_page_bulks-> size ());
776
+ m_page_bulks. push_back (new_page_bulk);
777
+ ut_ad (level + 1 == m_page_bulks. size ());
778
778
m_root_level = level;
779
779
780
780
is_left_most = true ;
781
781
}
782
782
783
- ut_ad (m_page_bulks-> size () > level);
783
+ ut_ad (m_page_bulks. size () > level);
784
784
785
- PageBulk* page_bulk = m_page_bulks-> at (level);
785
+ PageBulk* page_bulk = m_page_bulks. at (level);
786
786
787
787
if (is_left_most && level > 0 && page_bulk->getRecNo () == 0 ) {
788
788
/* The node pointer must be marked as the predefined minimum
@@ -838,7 +838,7 @@ BtrBulk::insert(
838
838
839
839
/* Set new page bulk to page_bulks. */
840
840
ut_ad (sibling_page_bulk->getLevel () <= m_root_level);
841
- m_page_bulks-> at (level) = sibling_page_bulk;
841
+ m_page_bulks. at (level) = sibling_page_bulk;
842
842
843
843
UT_DELETE (page_bulk);
844
844
page_bulk = sibling_page_bulk;
@@ -871,11 +871,11 @@ BtrBulk::insert(
871
871
if (big_rec != NULL ) {
872
872
ut_ad (dict_index_is_clust (m_index));
873
873
ut_ad (page_bulk->getLevel () == 0 );
874
- ut_ad (page_bulk == m_page_bulks-> at (0 ));
874
+ ut_ad (page_bulk == m_page_bulks. at (0 ));
875
875
876
876
/* Release all latched but leaf node. */
877
877
for (ulint level = 1 ; level <= m_root_level; level++) {
878
- PageBulk* page_bulk = m_page_bulks-> at (level);
878
+ PageBulk* page_bulk = m_page_bulks. at (level);
879
879
880
880
page_bulk->release ();
881
881
}
@@ -884,7 +884,7 @@ BtrBulk::insert(
884
884
885
885
/* Latch */
886
886
for (ulint level = 1 ; level <= m_root_level; level++) {
887
- PageBulk* page_bulk = m_page_bulks-> at (level);
887
+ PageBulk* page_bulk = m_page_bulks. at (level);
888
888
page_bulk->latch ();
889
889
}
890
890
}
@@ -909,17 +909,17 @@ BtrBulk::finish(dberr_t err)
909
909
910
910
ut_ad (!dict_table_is_temporary (m_index->table ));
911
911
912
- if (m_page_bulks-> size () == 0 ) {
912
+ if (m_page_bulks. size () == 0 ) {
913
913
/* The table is empty. The root page of the index tree
914
914
is already in a consistent state. No need to flush. */
915
915
return (err);
916
916
}
917
917
918
- ut_ad (m_root_level + 1 == m_page_bulks-> size ());
918
+ ut_ad (m_root_level + 1 == m_page_bulks. size ());
919
919
920
920
/* Finish all page bulks */
921
921
for (ulint level = 0 ; level <= m_root_level; level++) {
922
- PageBulk* page_bulk = m_page_bulks-> at (level);
922
+ PageBulk* page_bulk = m_page_bulks. at (level);
923
923
924
924
last_page_no = page_bulk->getPageNo ();
925
925
0 commit comments