bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public ExecRow getLastRow() throws StandardException { ExecRow result; if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "next"); } /* Have we already seen the last row? */ if (seenLast) { // Return null if the set was empty if (lastPosition == 0) { curren...
public ExecRow getLastRow() throws StandardException { ExecRow result; if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "next"); } /* Have we already seen the last row? */ if (seenLast) { // Return null if the set was empty if (lastPosition == 0) { curren...
1,104,066
public ExecRow getLastRow() throws StandardException { ExecRow result; if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "next"); } /* Have we already seen the last row? */ if (seenLast) { // Return null if the set was empty if (lastPosition == 0) { curren...
public ExecRow getLastRow() throws StandardException { ExecRow result; if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "next"); } /* Have we already seen the last row? */ if (SanityManager.DEBUG) { if (!isTopResultSet) { SanityManager.THROWASSERT( this + "expected...
1,104,067
public ExecRow getLastRow() throws StandardException { ExecRow result; if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "next"); } /* Have we already seen the last row? */ if (seenLast) { // Return null if the set was empty if (lastPosition == 0) { curren...
public ExecRow getLastRow() throws StandardException { ExecRow result; if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "next"); } /* Have we already seen the last row? */ if (seenLast) { // Return null if the set was empty if (lastPosition == 0) { curren...
1,104,068
public ExecRow getLastRow() throws StandardException { ExecRow result; if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "next"); } /* Have we already seen the last row? */ if (seenLast) { // Return null if the set was empty if (lastPosition == 0) { curren...
public ExecRow getLastRow() throws StandardException { ExecRow result; if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "next"); } /* Have we already seen the last row? */ if (seenLast) { // Return null if the set was empty if (lastPosition == 0) { curren...
1,104,069
protected static void dropConstraintAndIndex(DependencyManager dm, TableDescriptor td, DataDictionary dd, ConstraintDescriptor conDesc, TransactionController tc, Activation activation, boolean clearDependencies) throws StandardException { if (SanityManager.DEBU...
public static void dropConstraintAndIndex(DependencyManager dm, TableDescriptor td, DataDictionary dd, ConstraintDescriptor conDesc, TransactionController tc, Activation activation, boolean clearDependencies) throws StandardException { if (SanityManager.DEBUG) ...
1,104,071
protected static void dropConstraintAndIndex(DependencyManager dm, TableDescriptor td, DataDictionary dd, ConstraintDescriptor conDesc, TransactionController tc, Activation activation, boolean clearDependencies) throws StandardException { if (SanityManager.DEBU...
protected static void dropConstraintAndIndex(DependencyManager dm, TableDescriptor td, DataDictionary dd, ConstraintDescriptor conDesc, TransactionController tc, LanguageConnectionContext lcc, boolean clearDependencies) throws StandardException { if (SanityManager...
1,104,072
protected static void dropConstraintAndIndex(DependencyManager dm, TableDescriptor td, DataDictionary dd, ConstraintDescriptor conDesc, TransactionController tc, Activation activation, boolean clearDependencies) throws StandardException { if (SanityManager.DEBU...
protected static void dropConstraintAndIndex(DependencyManager dm, TableDescriptor td, DataDictionary dd, ConstraintDescriptor conDesc, TransactionController tc, Activation activation, boolean clearDependencies) throws StandardException { if (SanityManager.DEBU...
1,104,073
protected static void dropConstraintAndIndex(DependencyManager dm, TableDescriptor td, DataDictionary dd, ConstraintDescriptor conDesc, TransactionController tc, Activation activation, boolean clearDependencies) throws StandardException { if (SanityManager.DEBU...
protected static void dropConstraintAndIndex(DependencyManager dm, TableDescriptor td, DataDictionary dd, ConstraintDescriptor conDesc, TransactionController tc, Activation activation, boolean clearDependencies) throws StandardException { if (SanityManager.DEBU...
1,104,074
public void executeConstantAction( Activation activation ) throws StandardException { ConstraintDescriptor conDesc = null; TableDescriptor td; UUID indexId = null; String indexUUIDString; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDat...
public void executeConstantAction( Activation activation ) throws StandardException { ConstraintDescriptor conDesc = null; TableDescriptor td; UUID indexId = null; String indexUUIDString; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDat...
1,104,075
public void executeConstantAction( Activation activation ) throws StandardException { ConstraintDescriptor conDesc = null; TableDescriptor td; UUID indexId = null; String indexUUIDString; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDat...
public void executeConstantAction( Activation activation ) throws StandardException { ConstraintDescriptor conDesc = null; TableDescriptor td; UUID indexId = null; String indexUUIDString; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDat...
1,104,076
public static String getNumber(int o){ return getInstance().getNumberAsString(o); }
public static String getNumber(long o){ return getInstance().getNumberAsString(o); }
1,104,078
public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { bos = new Buffered...
public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { bos = new Buffered...
1,104,079
double getRowCountEstimate( double leftRowCount, double rightRowCount) { switch( opType) { case INTERSECT_OP: // The result has at most min( leftRowCount, rightRowCount). Estimate the actual row count at // half that. return Math.min( leftRowCount, rightRowCo...
double getRowCountEstimate( double leftRowCount, double rightRowCount) { switch( opType) { case INTERSECT_OP: // The result has at most min( leftRowCount, rightRowCount). Estimate the actual row count at // half that. return Math.min( leftRowCount, rightRowCo...
1,104,082
protected void initResetPreparedStatement() { warnings_ = null; //section_ = null; resultSet_ = null; updateCount_ = -1; returnValueFromProcedure_ = 0; cursorName_ = null; openOnClient_ = true; openOnServer_ = false; indexOfCurrentResultSet_ = -1; ...
protected void initResetPreparedStatement() { warnings_ = null; //section_ = null; resultSet_ = null; updateCount_ = -1; returnValueFromProcedure_ = 0; cursorName_ = null; openOnClient_ = true; openOnServer_ = false; indexOfCurrentResultSet_ = -1; ...
1,104,083
AttributeEntry(ClassInput in) throws IOException { attribute_name_index = in.getU2(); infoIn = in.getU1Array(in.getU4()); }
AttributeEntry(ClassInput in) throws IOException { attribute_name_index = in.getU2(); infoIn = in.getU1Array(in.getU4()); }
1,104,085
public static String formatMessage(ResourceBundle bundle, String messageId, Object[] arguments, boolean composeDefault) { String message = null; String badArgsMessage = null; if (arguments == null) arguments = new Object[0]; if (bundle != null) { try...
public static String formatMessage(ResourceBundle bundle, String messageId, Object[] arguments, boolean composeDefault) { String message = null; String badArgsMessage = null; if (arguments == null) arguments = new Object[0]; if (bundle != null) { try...
1,104,086
public String getCursorName() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getCursorName"); } checkForClosedResultSet(); if (generate...
public String getCursorName() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getCursorName"); } checkForClosedResultSet(); if (generate...
1,104,088
protected NetConnection createNetConnection (NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn) t...
protected NetConnection createNetConnection (NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn) t...
1,104,089
protected final PreparedStatement getPreparedStatement() throws SQLException { return getCallableStatement(); }
public final PreparedStatement getPreparedStatement() throws SQLException { return getCallableStatement(); }
1,104,090
public ResultColumnList addColsToList ( ResultColumnList inputRcl, FormatableBitSet colsWeWant ) throws StandardException { ResultColumnList rcList = null; ResultColumn resultColumn; ValueNode valueNode; ColumnDescriptor cd = null; TableName exposedName; /* Cache exposed name for this ...
public ResultColumnList addColsToList ( ResultColumnList inputRcl, FormatableBitSet colsWeWant ) throws StandardException { ResultColumnList rcList = null; ResultColumn resultColumn; ValueNode valueNode; ColumnDescriptor cd = null; TableName exposedName; /* Cache exposed name for this ...
1,104,091
public ResultSetNode bindNonVTITables(DataDictionary dataDictionary, FromList fromListParam) throws StandardException { TableDescriptor tableDescriptor = bindTableDescriptor(); if (tableDescriptor.getTableType() == TableDescriptor.VTI_TYPE) { ResultSetNode vtiNode = getNodeFactory().mapTableAsVTI( ...
public ResultSetNode bindNonVTITables(DataDictionary dataDictionary, FromList fromListParam) throws StandardException { TableDescriptor tableDescriptor = bindTableDescriptor(); if (tableDescriptor.getTableType() == TableDescriptor.VTI_TYPE) { ResultSetNode vtiNode = getNodeFactory().mapTableAsVTI( ...
1,104,092
public ResultColumnList genResultColList() throws StandardException { ResultColumnList rcList = null; ResultColumn resultColumn; ValueNode valueNode; ColumnDescriptor colDesc = null; TableName exposedName; /* Cache exposed name for this table. * The exposed name becomes the qualifier for ...
public ResultColumnList genResultColList() throws StandardException { ResultColumnList rcList = null; ResultColumn resultColumn; ValueNode valueNode; ColumnDescriptor colDesc = null; TableName exposedName; /* Cache exposed name for this table. * The exposed name becomes the qualifier for ...
1,104,094
public ResultColumnList getAllResultColumns(TableName allTableName) throws StandardException { return getResultColumnsForList(allTableName, resultColumns, tableName); }
public ResultColumnList getAllResultColumns(TableName allTableName) throws StandardException { return getResultColumnsForList(allTableName, resultColumns, getOrigTableName()); }
1,104,095
public String getExposedName() { if (correlationName != null) return correlationName; else return tableName.getFullTableName(); }
public String getExposedName() { if (correlationName != null) return correlationName; else return getOrigTableName().getFullTableName(); }
1,104,096
public ResultColumn getMatchingColumn(ColumnReference columnReference) throws StandardException { ResultColumn resultColumn = null; TableName columnsTableName; TableName exposedTableName; columnsTableName = columnReference.getTableNameNode(); if(columnsTableName != null) { if(columnsTableName.g...
public ResultColumn getMatchingColumn(ColumnReference columnReference) throws StandardException { ResultColumn resultColumn = null; TableName columnsTableName; TableName exposedTableName; columnsTableName = columnReference.getTableNameNode(); if(columnsTableName != null) { if(columnsTableName.g...
1,104,097
public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c...
public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c...
1,104,099
public boolean rowDeleted() throws SQLException { checkIfClosed("rowDeleted"); return false; }
public boolean rowDeleted() throws SQLException { checkIfClosed("rowDeleted"); return false; }
1,104,100
public boolean rowUpdated() throws SQLException { checkIfClosed("rowUpdated"); return false; }
public boolean rowUpdated() throws SQLException { checkIfClosed("rowUpdated"); boolean rvalue = false; try { if (isForUpdate() && getType() == java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE) { rvalue = ((ScrollInsensitiveResultSet)theResults).isUpdated(); } } catch (Throwable t) { handleException(t); } return rvalue; }
1,104,101
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex...
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex...
1,104,102
public void testCombineAvailableNull() throws IOException { combiner = new ByteArrayCombinerStream(null, -34); assertEquals(0, combiner.available()); }
public void testCombineAvailableNull() throws IOException { combiner = new ByteArrayCombinerStream(null, -34); assertEquals(0, combiner.available()); }
1,104,103
public void testCombineNullRead() throws IOException { combiner = new ByteArrayCombinerStream(null, 10); assertEquals(-1, combiner.read()); }
public void testCombineNullRead() throws IOException { combiner = new ByteArrayCombinerStream(null, 0); assertEquals(-1, combiner.read()); }
1,104,104
public void testCombineNullReadArray() throws IOException { combiner = new ByteArrayCombinerStream(null, 10); assertEquals(-1, combiner.read(new byte[10], 0, 10)); }
public void testCombineNullReadArray() throws IOException { combiner = new ByteArrayCombinerStream(null, 0); assertEquals(-1, combiner.read(new byte[10], 0, 10)); }
1,104,105
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,107
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,108
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,109
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,110
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,111
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,112
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,113
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,114
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,115
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,116
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20...
1,104,117
B2IStaticCompiledInfo( TransactionController tc, B2I b2i) throws StandardException { this.b2i = b2i; this.base_table_static_info = tc.getStaticCompiledConglomInfo(b2i.baseConglomerateId); }
B2IStaticCompiledInfo( TransactionController tc, B2I b2i) throws StandardException { this.b2i = b2i; this.base_table_static_info = tc.getStaticCompiledConglomInfo(b2i.baseConglomerateId); }
1,104,118
B2IStaticCompiledInfo( TransactionController tc, B2I b2i) throws StandardException { this.b2i = b2i; this.base_table_static_info = tc.getStaticCompiledConglomInfo(b2i.baseConglomerateId); }
B2IStaticCompiledInfo( TransactionController tc, B2I b2i) throws StandardException { this.b2i = b2i; this.base_table_static_info = tc.getStaticCompiledConglomInfo(b2i.baseConglomerateId); }
1,104,119
public String getSchemaName(int column) throws SQLException { ResultColumnDescriptor cd = columnInfo[column - 1]; String s = cd.getSchemaName(); // database returns null when no schema name to differentiate from empty name return (s==null? "" : s); }
public String getSchemaName(int column) throws SQLException { ResultColumnDescriptor cd = columnInfo[column - 1]; String s = cd.getSourceSchemaName(); // database returns null when no schema name to differentiate from empty name return (s==null? "" : s); }
1,104,120
public boolean isWritable(int column) throws SQLException { validColumnNumber(column); // we just don't know if it is a base table column or not return false; }
public boolean isWritable(int column) throws SQLException { validColumnNumber(column); // we just don't know if it is a base table column or not return columnInfo[column - 1].updatableByCursor(); }
1,104,121
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
1,104,122
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
1,104,123
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
1,104,124
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
1,104,125
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
1,104,126
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
private void doBindTests(Connection conn) { // Make sure that attempts to bind _to_ XML will fail. System.out.println("\n[ Beginning XML binding tests. ]\n"); // Binding to an XML column. PreparedStatement pSt = null; try { // If we're running in embedded mode or els...
1,104,127
private void doXMLExistsTests(Connection conn) { System.out.println("\n[ Begin XMLEXISTS tests. ]\n"); // Run some sample queries. try { existsQuery(conn, "xTable.t1", "//abb"); existsQuery(conn, "xTable.t1", "//d50"); existsQuery(conn, "xTable.t1", "//person...
private void doXMLExistsTests(Connection conn) { System.out.println("\n[ Begin XMLEXISTS tests. ]\n"); // Run some sample queries. try { existsQuery(conn, "xTable.t1", "//abb"); existsQuery(conn, "xTable.t1", "//d50"); existsQuery(conn, "xTable.t1", "//person...
1,104,128
public ProcessStreamResult(InputStream in, BufferedOutputStream bos, String timemin) throws IOException, InterruptedException { this.in = in; this.bos = bos; this.startTime = System.currentTimeMillis(); if (timemin != null) { Integer i = new Integer(timemin); time...
public ProcessStreamResult(InputStream in, BufferedOutputStream bos, String timemin) throws IOException, InterruptedException { this.in = in; this.bos = bos; this.startTime = System.currentTimeMillis(); if (timemin != null) { Integer i = new Integer(timemin); time...
1,104,129
public void run() { //System.out.println("Thread run... " + tname); if ( in == null ) { System.out.println("The inputstream is null"); System.exit(1); } try { byte[] ba = new byte[1024]; int valid; interrupted = false; while ((valid = in.read(ba, 0, b...
public void run() { //System.out.println("Thread run... " + tname); if ( in == null ) { System.out.println("The inputstream is null"); System.exit(1); } try { char[] ca = new char[1024]; int valid; interrupted = false; while ((valid = in.read(ba, 0, b...
1,104,130
public void run() { //System.out.println("Thread run... " + tname); if ( in == null ) { System.out.println("The inputstream is null"); System.exit(1); } try { byte[] ba = new byte[1024]; int valid; interrupted = false; while ((valid = in.read(ba, 0, b...
public void run() { //System.out.println("Thread run... " + tname); if ( in == null ) { System.out.println("The inputstream is null"); System.exit(1); } try { byte[] ba = new byte[1024]; int valid; interrupted = false; InputStreamReader inStream; if(e...
1,104,131
public void run() { //System.out.println("Thread run... " + tname); if ( in == null ) { System.out.println("The inputstream is null"); System.exit(1); } try { byte[] ba = new byte[1024]; int valid; interrupted = false; while ((valid = in.read(ba, 0, b...
public void run() { //System.out.println("Thread run... " + tname); if ( in == null ) { System.out.println("The inputstream is null"); System.exit(1); } try { byte[] ba = new byte[1024]; int valid; interrupted = false; while ((valid = in.read(ba, 0, b...
1,104,132
public String getSubString(long pos, int length) throws SQLException { if (pos < 1) throw Util.generateCsSQLException( SQLState.BLOB_BAD_POSITION, new Long(pos)); if (length <= 0) throw Util.generateCsSQLException( SQLState.BLOB_NONPOSITIVE_LENGTH...
public String getSubString(long pos, int length) throws SQLException { if (pos < 1) throw Util.generateCsSQLException( SQLState.BLOB_BAD_POSITION, new Long(pos)); if (length <= 0) throw Util.generateCsSQLException( SQLState.BLOB_NONPOSITIVE_LENGTH...
1,104,133
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { redoLWM = CompressedNumber.readLong(in); undoLWM = CompressedNumber.readLong(in); int tsize = CompressedNumber.readInt(in); // is there any truncationLWM? if (tsize == 0) truncationLWM = null; else { truncationLWM = new Tru...
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { redoLWM = CompressedNumber.readLong(in); undoLWM = CompressedNumber.readLong(in); int tsize = CompressedNumber.readInt(in); // is there any truncationLWM? if (tsize == 0) truncationLWM = null; else { truncationLWM = new Tru...
1,104,134
public void writeExternal(ObjectOutput out) throws IOException { CompressedNumber.writeLong(out, redoLWM); CompressedNumber.writeLong(out, undoLWM); if (truncationLWM == null) CompressedNumber.writeInt(out, 0); // no other truncation LWM else { CompressedNumber.writeInt(out, truncationLWM.length); for (int...
public void writeExternal(ObjectOutput out) throws IOException { CompressedNumber.writeLong(out, redoLWM); CompressedNumber.writeLong(out, undoLWM); if (truncationLWM == null) CompressedNumber.writeInt(out, 0); // no other truncation LWM else { CompressedNumber.writeInt(out, truncationLWM.length); for (int...
1,104,135
public NetXAConnection createControlConnection(NetLogWriter logWriter, String user, String password, org.apache.derby.jdbc.ClientDataSource dataSource, ...
public NetXAConnection createControlConnection(NetLogWriter logWriter, String user, String password, org.apache.derby.jdbc.ClientDataSource dataSource, ...
1,104,136
protected EmbedBlob(DataValueDescriptor dvd, EmbedConnection con) throws StandardException { super(con); // if the underlying column is null, ResultSet.getBlob will return null, // never should get this far if (SanityManager.DEBUG) SanityManager.ASSERT(!dvd.isNull(),...
protected EmbedBlob(DataValueDescriptor dvd, EmbedConnection con) throws StandardException { super(con); // if the underlying column is null, ResultSet.getBlob will return null, // never should get this far if (SanityManager.DEBUG) SanityManager.ASSERT(!dvd.isNull(),...
1,104,138
private static void doCleanup(String javaVersion) throws IOException { boolean status = true; // The output files cannot be deleted if there // is still a reference to them -- even doing // this is not a guarantee that they will be deleted // It seems to depend on the Ja...
private static void doCleanup(String javaVersion) throws IOException { boolean status = true; // The output files cannot be deleted if there // is still a reference to them -- even doing // this is not a guarantee that they will be deleted // It seems to depend on the Ja...
1,104,140
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing Properties ptmp = System.getProperties(); ptmp.put("derby.system.home", systemHome); ...
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing Properties ptmp = System.getProperties(); ptmp.put("derby.system.home", systemHome); ...
1,104,141
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing Properties ptmp = System.getProperties(); ptmp.put("derby.system.home", systemHome); ...
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing Properties ptmp = System.getProperties(); ptmp.put("derby.system.home", systemHome); ...
1,104,142
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing Properties ptmp = System.getProperties(); ptmp.put("derby.system.home", systemHome); ...
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing Properties ptmp = System.getProperties(); ptmp.put("derby.system.home", systemHome); ...
1,104,143
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing Properties ptmp = System.getProperties(); ptmp.put("derby.system.home", systemHome); ...
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing Properties ptmp = System.getProperties(); ptmp.put("derby.system.home", systemHome); ...
1,104,144
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing Properties ptmp = System.getProperties(); ptmp.put("derby.system.home", systemHome); ...
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing Properties ptmp = System.getProperties(); ptmp.put("derby.system.home", systemHome); ...
1,104,145
private static JavaVersionHolder getProperties(Properties sp) throws Exception { // Get any properties specified on the command line searchCP = sp.getProperty("ij.searchClassPath"); framework = sp.getProperty("framework"); if (framework == null) framework = "embedded"; if (!verifyFramew...
private static JavaVersionHolder getProperties(Properties sp) throws Exception { // Get any properties specified on the command line searchCP = sp.getProperty("ij.searchClassPath"); String frameworkp = sp.getProperty("framework"); if (frameworkp != null) framework = frameworkp; if (framewo...
1,104,146
private static JavaVersionHolder getProperties(Properties sp) throws Exception { // Get any properties specified on the command line searchCP = sp.getProperty("ij.searchClassPath"); framework = sp.getProperty("framework"); if (framework == null) framework = "embedded"; if (!verifyFramew...
private static JavaVersionHolder getProperties(Properties sp) throws Exception { // Get any properties specified on the command line searchCP = sp.getProperty("ij.searchClassPath"); framework = sp.getProperty("framework"); if (framework == null) framework = "embedded"; if (!verifyFramew...
1,104,147
private static JavaVersionHolder getProperties(Properties sp) throws Exception { // Get any properties specified on the command line searchCP = sp.getProperty("ij.searchClassPath"); framework = sp.getProperty("framework"); if (framework == null) framework = "embedded"; if (!verifyFramew...
private static JavaVersionHolder getProperties(Properties sp) throws Exception { // Get any properties specified on the command line searchCP = sp.getProperty("ij.searchClassPath"); framework = sp.getProperty("framework"); if (framework == null) framework = "embedded"; if (!verifyFramew...
1,104,148
public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl...
public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl...
1,104,149
public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl...
public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl...
1,104,150
public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl...
public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl...
1,104,151
public void actionCompressSpaceOperation( RawTransaction t, BasePage allocPage, int new_highest_page, int num_pages_truncated) throws StandardException { Loggable lop = new CompressSpacePageOperation( (AllocPage)allocPage, new_highest_...
public void actionCompressSpaceOperation( RawTransaction t, BasePage allocPage, int new_highest_page, int num_pages_truncated) throws StandardException { Loggable lop = new CompressSpacePageOperation( (AllocPage)allocPage, new_highest_...
1,104,154
static public void setupDataSource(Object ds) throws Exception { // Loop over set methods on Datasource object, if there is a property // then call the method with corresponding value. java.lang.reflect.Method[] methods = ds.getClass().getMethods(); for (int i = 0; i < methods.length; i++) { java.lang.reflect.M...
static public void setupDataSource(Object ds,String dbName,boolean firstTime) throws Exception { // Loop over set methods on Datasource object, if there is a property // then call the method with corresponding value. java.lang.reflect.Method[] methods = ds.getClass().getMethods(); for (int i = 0; i < methods.length...
1,104,156
static public void setupDataSource(Object ds) throws Exception { // Loop over set methods on Datasource object, if there is a property // then call the method with corresponding value. java.lang.reflect.Method[] methods = ds.getClass().getMethods(); for (int i = 0; i < methods.length; i++) { java.lang.reflect.M...
static public void setupDataSource(Object ds) throws Exception { // Loop over set methods on Datasource object, if there is a property // then call the method with corresponding value. java.lang.reflect.Method[] methods = ds.getClass().getMethods(); for (int i = 0; i < methods.length; i++) { java.lang.reflect.M...
1,104,157
protected SpaceInformation getAllPageCounts( BaseContainerHandle handle, long firstAllocPageNumber) throws StandardException { long currAllocPages = 0; long numAllocatedPages = 0; long numFreePages = 0; long numUnfilledPages = 0; if (!isValid) validate(handle, fi...
protected SpaceInformation getAllPageCounts( BaseContainerHandle handle, long firstAllocPageNumber) throws StandardException { long currAllocPages = 0; long numAllocatedPages = 0; long numFreePages = 0; long numUnfilledPages = 0; if (!isValid) validate(handle, fi...
1,104,158
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
private void runTest() throws Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TEST_TABLE_NAME_1...
1,104,159
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
1,104,160
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
1,104,161
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
1,104,162
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
1,104,163
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test tables. dbActions.createTable(TEST_TABLE_NAME); dbActions.createTable(TES...
1,104,164
public static final java.math.BigDecimal getBigDecimal(byte[] buffer, int offset, int precision, int scale) throws java.io.UnsupportedEncoding...
public static final java.math.BigDecimal getBigDecimal(byte[] buffer, int offset, int precision, int scale) throws java.io.UnsupportedEncoding...
1,104,165
public static final double getDouble(byte[] buffer, int offset, int precision, int scale) throws java.io.UnsupportedEncodingException { // The byte-length of a packed decimal with precision...
public static final double getDouble(byte[] buffer, int offset, int precision, int scale) throws java.io.UnsupportedEncodingException { // The byte-length of a packed decimal with precision...
1,104,166
public static final long getLong(byte[] buffer, int offset, int precision, int scale) throws java.io.UnsupportedEncodingException { if (precision > 31) { // throw an exception here if nibble...
public static final long getLong(byte[] buffer, int offset, int precision, int scale) throws java.io.UnsupportedEncodingException { if (precision > 31) { // throw an exception here if nibble...
1,104,167
public static final java.sql.Date dateBytesToDate(byte[] buffer, int offset, java.sql.Date recyclableDate, String encoding) throws UnsupportedEncodingEx...
public static final java.sql.Date dateBytesToDate(byte[] buffer, int offset, java.sql.Date recyclableDate, String encoding) throws UnsupportedEncodingEx...
1,104,168
public static final int dateToDateBytes(byte[] buffer, int offset, java.sql.Date date) throws ConversionException { int year = date.getYear() + 1900; if (year > 9999) { throw new ConversionException("Year ...
public static final int dateToDateBytes(byte[] buffer, int offset, java.sql.Date date) throws SqlException { int year = date.getYear() + 1900; if (year > 9999) { throw new ConversionException("Year exceeds...
1,104,169
public static final int dateToDateBytes(byte[] buffer, int offset, java.sql.Date date) throws ConversionException { int year = date.getYear() + 1900; if (year > 9999) { throw new ConversionException("Year ...
public static final int dateToDateBytes(byte[] buffer, int offset, java.sql.Date date) throws ConversionException { int year = date.getYear() + 1900; if (year > 9999) { throw new SqlException(null, new Mes...
1,104,170
public static final int dateToTimestampBytes(byte[] buffer, int offset, java.sql.Date date) throws ConversionException { int year = date.getYear() + 1900; if (year > 9999) { throw new ConversionE...
public static final int dateToTimestampBytes(byte[] buffer, int offset, java.sql.Date date) throws SqlException { int year = date.getYear() + 1900; if (year > 9999) { throw new ConversionExceptio...
1,104,171
public static final int dateToTimestampBytes(byte[] buffer, int offset, java.sql.Date date) throws ConversionException { int year = date.getYear() + 1900; if (year > 9999) { throw new ConversionE...
public static final int dateToTimestampBytes(byte[] buffer, int offset, java.sql.Date date) throws ConversionException { int year = date.getYear() + 1900; if (year > 9999) { throw new SqlExceptio...
1,104,172
public static final int timestampToDateBytes(byte[] buffer, int offset, java.sql.Timestamp timestamp) throws ConversionException { int year = timestamp.getYear() + 1900; if (year > 9999) { throw ...
public static final int timestampToDateBytes(byte[] buffer, int offset, java.sql.Timestamp timestamp) throws SqlException { int year = timestamp.getYear() + 1900; if (year > 9999) { throw new Con...
1,104,173
public static final int timestampToDateBytes(byte[] buffer, int offset, java.sql.Timestamp timestamp) throws ConversionException { int year = timestamp.getYear() + 1900; if (year > 9999) { throw ...
public static final int timestampToDateBytes(byte[] buffer, int offset, java.sql.Timestamp timestamp) throws ConversionException { int year = timestamp.getYear() + 1900; if (year > 9999) { throw ...
1,104,174
public static final int timestampToTimestampBytes(byte[] buffer, int offset, java.sql.Timestamp timestamp) throws ConversionException { int year = timestamp.getYear() + 1900; if (year > 9999) { ...
public static final int timestampToTimestampBytes(byte[] buffer, int offset, java.sql.Timestamp timestamp) throws SqlException { int year = timestamp.getYear() + 1900; if (year > 9999) { ...
1,104,175
public static final int timestampToTimestampBytes(byte[] buffer, int offset, java.sql.Timestamp timestamp) throws ConversionException { int year = timestamp.getYear() + 1900; if (year > 9999) { ...
public static final int timestampToTimestampBytes(byte[] buffer, int offset, java.sql.Timestamp timestamp) throws ConversionException { int year = timestamp.getYear() + 1900; if (year > 9999) { ...
1,104,176
void createRoutinePermPublicDescriptor( UUID routineUUID, TransactionController tc) throws StandardException { RoutinePermsDescriptor routinePermDesc = new RoutinePermsDescriptor( this, "PUBLIC", authorizationDBA, routineUUID); addDescriptor( routinePermDesc, null, DataDictionary.SYSROUTINEPERMS_C...
void createRoutinePermPublicDescriptor( UUID routineUUID, TransactionController tc) throws StandardException { RoutinePermsDescriptor routinePermDesc = new RoutinePermsDescriptor( this, "PUBLIC", authorizationDBA, routineUUID); addDescriptor( routinePermDesc, null, DataDictionary.SYSROUTINEPERMS_C...
1,104,177
protected BasePage getPageForCompress( BaseContainerHandle handle, int flag, long pageno) throws StandardException { return(getPageForInsert(handle, flag)); }
protected BasePage getPageForCompress( BaseContainerHandle handle, int flag, long pageno) throws StandardException { BasePage p = null; boolean getLastInserted = (flag & ContainerHandle.GET_PAGE_UNFILLED) == 0; if (getLastInserted) { long localLastInsertedPage = getL...
1,104,179
protected void compressContainer( RawTransaction ntt, BaseContainerHandle allocHandle) throws StandardException { AllocPage alloc_page = null; AllocPage prev_alloc_page = null; if (firstAllocPageNumber == ContainerHandle.INVALID_PAGE_NUMBER) { // no allocation pages in container...
protected void compressContainer( RawTransaction ntt, BaseContainerHandle allocHandle) throws StandardException { AllocPage alloc_page = null; AllocPage prev_alloc_page = null; if (firstAllocPageNumber == ContainerHandle.INVALID_PAGE_NUMBER) { // no allocation pages in container...
1,104,180