Examples of checkConsistency()


Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

            //                ")" + template);
            if (index_cc.insert(template.getRow()) != 0)
                throw T_Fail.testFailMsg("insert failed");
        }

        index_cc.checkConsistency();

        ((B2IController)index_cc).debugConglomerate();

        ret_val = t_003_scan_test_cases(tc, index_conglomid, template);
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

            base_cc.insertAndFetchLocation(base_row, rowloc);
            if (index_cc.insert(index_row.getRow()) != 0)
                throw T_Fail.testFailMsg("insert failed");
        }

        index_cc.checkConsistency();

    // Close the conglomerate.
    index_cc.close();

        tc.commit();
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

                        null,
                        null, ScanController.NA);
        if (empty_scan.next())
      throw T_Fail.testFailMsg("t_005: there are still rows in table.");

        index_cc.checkConsistency();

        for (int i = 600; i >= 400; i -= 3)
        {
            ((SQLLongint)base_row[0]).setValue(1);
            ((SQLLongint)base_row[1]).setValue(i);
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

            base_cc.insertAndFetchLocation(base_row, rowloc);
            if (index_cc.insert(index_row.getRow()) != 0)
                throw T_Fail.testFailMsg("insert failed");
        }

        index_cc.checkConsistency();

        tc.abort();

        // index check - there should be no records left.
        empty_scan =
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

        key = ((SQLLongint)(index_row.getRow()[1])).getLong();

        if (SanityManager.DEBUG)
            SanityManager.ASSERT(key == 3000);

        index_cc.checkConsistency();

        index_cc.close();
        scan.close();

        REPORT("Ending t_008");
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

            if (index_cc.insert(index_row.getRow()) != 0)
                throw T_Fail.testFailMsg("insert failed");
        }

        index_cc.checkConsistency();

    // Close the conglomerate.
    index_cc.close();

        tc.dropConglomerate(create_ret.index_conglomid);
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

        if (!(index_cc instanceof B2IController))
        {
      throw T_Fail.testFailMsg("openConglomerate returned wrong type");
        }

        index_cc.checkConsistency();

    // Create a row and insert into base table, remembering it's location.
    DataValueDescriptor[] r1           = TemplateRow.newU8Row(2);
        T_SecondaryIndexRow   index_row1   = new T_SecondaryIndexRow();
        RowLocation           base_rowloc1 = base_cc.newRowLocationTemplate();
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

        if (!(index_cc instanceof B2IController))
        {
      throw T_Fail.testFailMsg("openConglomerate returned wrong type");
        }

        index_cc.checkConsistency();

    // Create a row and insert into base table, remembering it's location.
    DataValueDescriptor[] r1            = TemplateRow.newU8Row(2);
        T_SecondaryIndexRow   index_row1    = new T_SecondaryIndexRow();
        RowLocation           base_rowloc1  = base_cc.newRowLocationTemplate();
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

            //                ")" + template);
            if (index_cc.insert(template.getRow()) != 0)
                throw T_Fail.testFailMsg("insert failed");
        }

        index_cc.checkConsistency();

        ((B2IController)index_cc).debugConglomerate();

        ret_val = t_desc_scan_test_cases(tc, index_conglomid, template);
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

            //                ")" + template);
            if (index_cc.insert(template.getRow()) != 0)
                throw T_Fail.testFailMsg("insert failed");
        }

        index_cc.checkConsistency();

        ((B2IController)index_cc).debugConglomerate();

        ret_val = t_ascdesc_scan_test_cases(tc, index_conglomid, template);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.