bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
static void printPosition( int rowNum, String searchStr, long position, Clob clob, long clobLength) { try { long result = clob.position(searchStr,position); System.out.println("Found " + searchStr + " in row " + rowNum + " starti...
static void printPosition( int rowNum, String searchStr, long position, Clob clob, long clobLength) { try { long result = clob.position(searchStr,position); System.out.println("Found " + searchStr + " in row " + rowNum + " starti...
1,107,488
private static void setCharacterStreamTest(Connection conn) { ResultSet rs; Statement stmt; System.out.println(START + "setCharacterStreamTest"); try { stmt = conn.createStatement(); // forcing table with default table space. stmt.execute("call SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.stor...
private static void setCharacterStreamTest(Connection conn) { ResultSet rs; Statement stmt; System.out.println(START + "setCharacterStreamTest"); try { stmt = conn.createStatement(); // forcing table with default table space. stmt.execute("call SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.stor...
1,107,489
private static void unicodeTest() { System.out.println(START + "unicodeTest"); try { // String to Unicode bytes byte[] unicodeArray = {0xfffffffe, 0xffffffff, 0x01, 0x68, 0x00, 0x65, 0x00, 0x6c, 0x00, 0x6c, 0x00, 0x6f}; String str = ne...
private static void unicodeTest() { System.out.println(START + "unicodeTest"); try { // String to Unicode bytes byte[] unicodeArray = {0xfffffffe, 0xffffffff, 0x01, 0x68, 0x00, 0x65, 0x00, 0x6c, 0x00, 0x6c, 0x00, 0x6f}; String str = ne...
1,107,490
public static void main(String args[]) { TestConnection tc=null; Connection conn_main=null; CallableStatement cs_main=null; try { tc = new TestConnection(); conn_main = tc.createEmbeddedConnection(); } catch(Exception e) { e.printStackTrace...
public static void main(String args[]) { TestConnection tc=null; Connection conn_main=null; CallableStatement cs_main=null; try { tc = new TestConnection(); conn_main = tc.createEmbeddedConnection(); } catch(Exception e) { e.printStackTrace...
1,107,491
public static void main(String args[]) { TestConnection tc=null; Connection conn_main=null; CallableStatement cs_main=null; try { tc = new TestConnection(); conn_main = tc.createEmbeddedConnection(); } catch(Exception e) { e.printStackTrace...
public static void main(String args[]) { TestConnection tc=null; Connection conn_main=null; CallableStatement cs_main=null; try { tc = new TestConnection(); conn_main = tc.createEmbeddedConnection(); } catch(Exception e) { e.printStackTrace...
1,107,492
public static Properties getDataSourcePropertiesForDatabase (String databaseName) { Properties attrs = new Properties(); if (!(getCurrent().getJDBCClient() == JDBCClient.EMBEDDED)) { attrs.setProperty("serverName", getCurrent().getHostName()); attrs.setProperty("po...
public static Properties getDataSourcePropertiesForDatabase (String databaseName, String connAttrs) { Properties attrs = new Properties(); if (!(getCurrent().getJDBCClient() == JDBCClient.EMBEDDED)) { attrs.setProperty("serverName", getCurrent().getHostName()); att...
1,107,493
public static Properties getDataSourcePropertiesForDatabase (String databaseName) { Properties attrs = new Properties(); if (!(getCurrent().getJDBCClient() == JDBCClient.EMBEDDED)) { attrs.setProperty("serverName", getCurrent().getHostName()); attrs.setProperty("po...
public static Properties getDataSourcePropertiesForDatabase (String databaseName) { Properties attrs = new Properties(); if (!(getCurrent().getJDBCClient() == JDBCClient.EMBEDDED)) { attrs.setProperty("serverName", getCurrent().getHostName()); attrs.setProperty("po...
1,107,494
public static Properties getDefaultDataSourceProperties() { return getDataSourcePropertiesForDatabase( getCurrent().getDatabaseName()); }
public static Properties getDefaultDataSourceProperties() { return getDataSourcePropertiesForDatabase( getCurrent().getDatabaseName(), "create=true"); }
1,107,495
public Connection openConnection (String databaseName) throws SQLException { Connection con = null; JDBCClient client =getJDBCClient(); if (JDBC.vmSupportsJDBC2()) { loadJDBCDriver(client.getJDBCDriverName()); if (!isSingleLegXA()) { con = Driver...
public Connection openConnection (String databaseName) throws SQLException { Connection con = null; JDBCClient client =getJDBCClient(); if (JDBC.vmSupportsJDBC2()) { loadJDBCDriver(client.getJDBCDriverName()); if (!isSingleLegXA()) { con = Driver...
1,107,496
public Connection openDefaultConnection() throws SQLException { return openConnection(getDatabaseName()); }
public Connection openDefaultConnection() throws SQLException { return getDefaultConnection("create=true"); }
1,107,497
public void backup(String backupDir) throws StandardException { if (backupDir == null || backupDir.equals("")) { throw StandardException.newException( SQLState.RAWSTORE_CANNOT_CREATE_BACKUP_DIRECTORY, (File)null); } // in case this is an URL form String backupDirURL = null; try { U...
public void backup(String backupDir) throws StandardException { if (backupDir == null || backupDir.equals("")) { throw StandardException.newException( SQLState.RAWSTORE_CANNOT_CREATE_BACKUP_DIRECTORY, (File)null); } // in case this is an URL form String backupDirURL = null; try { U...
1,107,498
public void backup(String backupDir) throws StandardException { if (backupDir == null || backupDir.equals("")) { throw StandardException.newException( SQLState.RAWSTORE_CANNOT_CREATE_BACKUP_DIRECTORY, (File)null); } // in case this is an URL form String backupDirURL = null; try { U...
public void backup(String backupDir) throws StandardException { if (backupDir == null || backupDir.equals("")) { throw StandardException.newException( SQLState.RAWSTORE_CANNOT_CREATE_BACKUP_DIRECTORY, (File)null); } // in case this is an URL form String backupDirURL = null; try { U...
1,107,499
public void backupAndEnableLogArchiveMode(String backupDir,boolean deleteOnlineArchivedLogFiles) throws StandardException { logFactory.enableLogArchiveMode(); backup(backupDir); //After successful backup delete the archived log files //that are not necessary to do a roll-forward recovery //from this...
public void backupAndEnableLogArchiveMode(String backupDir,boolean deleteOnlineArchivedLogFiles) throws StandardException { logFactory.enableLogArchiveMode(); backup(backupDir); //After successful backup delete the archived log files //that are not necessary to do a roll-forward recovery //from this...
1,107,500
public void backupAndEnableLogArchiveMode(String backupDir,boolean deleteOnlineArchivedLogFiles) throws StandardException { logFactory.enableLogArchiveMode(); backup(backupDir); //After successful backup delete the archived log files //that are not necessary to do a roll-forward recovery //from this...
public void backupAndEnableLogArchiveMode(String backupDir,boolean deleteOnlineArchivedLogFiles) throws StandardException { logFactory.enableLogArchiveMode(); backup(backupDir); //After successful backup delete the archived log files //that are not necessary to do a roll-forward recovery //from this...
1,107,501
public TableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qua...
TableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qualifier[...
1,107,502
public TableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qua...
public TableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qua...
1,107,503
public TableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qua...
public TableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qua...
1,107,504
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { /* ** If scan tracing is turned on, print information about this ** TableScanResultSet when it is closed. */ if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("ScanTrace")) { //traceClose(...
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { /* ** If scan tracing is turned on, print information about this ** TableScanResultSet when it is closed. */ if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("ScanTrace")) { //traceClose(...
1,107,505
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
1,107,506
private int bigDecimalToPackedDecimalBytes (java.math.BigDecimal b, int precision, int scale) throws SQLException { int declaredPrecision = precision; int declaredScale = scale; // packed decimal may only be up to 31 digits. if (decla...
private int bigDecimalToPackedDecimalBytes (java.math.BigDecimal b, int precision, int scale) throws SQLException { int declaredPrecision = precision; int declaredScale = scale; // packed decimal may only be up to 31 digits. if (decla...
1,107,507
private int bigDecimalToPackedDecimalBytes (java.math.BigDecimal b, int precision, int scale) throws SQLException { int declaredPrecision = precision; int declaredScale = scale; // packed decimal may only be up to 31 digits. if (decla...
private int bigDecimalToPackedDecimalBytes (java.math.BigDecimal b, int precision, int scale) throws SQLException { int declaredPrecision = precision; int declaredScale = scale; // packed decimal may only be up to 31 digits. if (decla...
1,107,508
private void writeExtendedLengthBytes (int extendedLengthByteCount, long length) { int shiftSize = (extendedLengthByteCount -1) * 8; for (int i = 0; i < extendedLengthByteCount; i++) { bytes[offset + i] = (byte) ((length >>> shiftSize) & 0xff); shiftSize -= 8; } off...
private void writeExtendedLengthBytes (int extendedLengthByteCount, long length) { int shiftSize = (extendedLengthByteCount -1) * 8; for (int i = 0; i < extendedLengthByteCount; i++) { bytes[offset + i] = (byte) ((length >>> shiftSize) & 0xff); shiftSize -= 8; } off...
1,107,509
protected void writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, EXTDTAInputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent o...
protected void writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, EXTDTAInputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent o...
1,107,511
protected void writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, EXTDTAInputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent o...
protected void writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, EXTDTAInputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent o...
1,107,512
protected void writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, EXTDTAInputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent o...
protected void writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, EXTDTAInputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent o...
1,107,513
protected void writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, EXTDTAInputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent o...
protected void writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, EXTDTAInputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent o...
1,107,514
public static void assertFullResultSet(ResultSet rs, Object [][] expectedRows, boolean allAsTrimmedStrings) throws SQLException { int rows; ResultSetMetaData rsmd = rs.getMetaData(); // Assert that we have the right number of columns. Assert.assertEquals("Unexpected colu...
public static void assertFullResultSet(ResultSet rs, Object [][] expectedRows, boolean allAsTrimmedStrings) throws SQLException { int rows; ResultSetMetaData rsmd = rs.getMetaData(); // Assert that we have the right number of columns. Assert.assertEquals("Unexpected colu...
1,107,515
private static void assertRowInResultSet(ResultSet rs, int rowNum, Object [] expectedRow, boolean asTrimmedStrings) throws SQLException { String s; boolean ok; Object obj = null; ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < expectedRow.length; i++) ...
private static void assertRowInResultSet(ResultSet rs, int rowNum, Object [] expectedRow, boolean asTrimmedStrings) throws SQLException { String s; boolean ok; Object obj = null; ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < expectedRow.length; i++) ...
1,107,516
private int getScanArguments(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { int rclSize = resultColumns.size(); FormatableBitSet referencedCols = new FormatableBitSet(rclSize); int erdNumber = -1; int numSet = 0; // Get our final cost estimate. costEstimate = getF...
private int getScanArguments(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { int rclSize = resultColumns.size(); FormatableBitSet referencedCols = new FormatableBitSet(rclSize); int erdNumber = -1; int numSet = 0; // Get our final cost estimate. costEstimate = getF...
1,107,517
private void compressBLayerData (int continueDssHeaderCount) throws DRDAProtocolException { // jump to the last continuation header. int tempPos = 0; for (int i = 0; i < continueDssHeaderCount; i++) { // the first may be less than the size of a full DSS if (i == 0) { // only jump by the number of by...
private void compressBLayerData (int continueDssHeaderCount) throws DRDAProtocolException { // jump to the last continuation header. int tempPos = 0; for (int i = 0; i < continueDssHeaderCount; i++) { // the first may be less than the size of a full DSS if (i == 0) { // only jump by the number of by...
1,107,518
private void compressBLayerData (int continueDssHeaderCount) throws DRDAProtocolException { // jump to the last continuation header. int tempPos = 0; for (int i = 0; i < continueDssHeaderCount; i++) { // the first may be less than the size of a full DSS if (i == 0) { // only jump by the number of by...
private void compressBLayerData (int continueDssHeaderCount) throws DRDAProtocolException { // jump to the last continuation header. int tempPos = 0; for (int i = 0; i < continueDssHeaderCount; i++) { // the first may be less than the size of a full DSS if (i == 0) { // only jump by the number of by...
1,107,519
private void compressBLayerData (int continueDssHeaderCount) throws DRDAProtocolException { // jump to the last continuation header. int tempPos = 0; for (int i = 0; i < continueDssHeaderCount; i++) { // the first may be less than the size of a full DSS if (i == 0) { // only jump by the number of by...
private void compressBLayerData (int continueDssHeaderCount) throws DRDAProtocolException { // jump to the last continuation header. int tempPos = 0; for (int i = 0; i < continueDssHeaderCount; i++) { // the first may be less than the size of a full DSS if (i == 0) { // only jump by the number of by...
1,107,520
protected byte[] readBytes (int length) throws DRDAProtocolException { byte[] b; if (length < dssLength) { ensureBLayerDataInBuffer (length, ADJUST_LENGTHS); b = new byte[length]; System.arraycopy(buffer,pos,b,0,length); pos +=length; } else b = getExtData(length,false); return b; }
protected byte[] readBytes (int length) throws DRDAProtocolException { byte[] b; if (length < DssConstants.MAX_DSS_LENGTH) { ensureBLayerDataInBuffer (length, ADJUST_LENGTHS); b = new byte[length]; System.arraycopy(buffer,pos,b,0,length); pos +=length; } else b = getExtData(length,false); return b; ...
1,107,522
protected TabInfo getNonCoreTIByNumber(int catalogNumber) throws StandardException { int nonCoreNum = catalogNumber - NUM_CORE; // Look up the TabInfo in the array. This does not have to be // synchronized, because getting a reference is atomic. TabInfo retval = noncoreInfo[nonCoreNum]; if (retval == null) ...
protected TabInfo getNonCoreTIByNumber(int catalogNumber) throws StandardException { int nonCoreNum = catalogNumber - NUM_CORE; // Look up the TabInfo in the array. This does not have to be // synchronized, because getting a reference is atomic. TabInfo retval = noncoreInfo[nonCoreNum]; if (retval == null) ...
1,107,523
public void testSecurityMechanism(String user, String password,Short secmec,String msg) { Connection conn; String securityMechanismProperty = "SecurityMechanism"; Class[] argType = { Short.TYPE }; String methodName = TestUtil.getSetterName(securityMechanismProperty); Object[] args = new Short[1]; args[0] = secme...
public void testSecurityMechanism(String user, String password,Short secmec,String msg) { Connection conn; String securityMechanismProperty = "SecurityMechanism"; Class[] argType = { Short.TYPE }; String methodName = TestUtil.getSetterName(securityMechanismProperty); Object[] args = new Short[1]; args[0] = secme...
1,107,527
public void testSecurityMechanism(String user, String password,Short secmec,String msg) { Connection conn; String securityMechanismProperty = "SecurityMechanism"; Class[] argType = { Short.TYPE }; String methodName = TestUtil.getSetterName(securityMechanismProperty); Object[] args = new Short[1]; args[0] = secme...
public void testSecurityMechanism(String user, String password,Short secmec,String msg) { Connection conn; String securityMechanismProperty = "SecurityMechanism"; Class[] argType = { Short.TYPE }; String methodName = TestUtil.getSetterName(securityMechanismProperty); Object[] args = new Short[1]; args[0] = secme...
1,107,528
public void closeX() throws SqlException { if (!openOnClient_) { return; } // Regardless of whether or not this statement is in the prepared state, // we need to close any open cursors for this statement on the server. int numberOfResultSetsToClose = (resultSetList_ == ...
public void closeX() throws SqlException { if (!openOnClient_) { return; } // Regardless of whether or not this statement is in the prepared state, // we need to close any open cursors for this statement on the server. int numberOfResultSetsToClose = (resultSetList_ == ...
1,107,532
protected void finalize() throws java.lang.Throwable { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "finalize"); } if (openOnClient_) { synchronized (connection_) { closeX(); } } super.finalize(); }
protected void finalize() throws java.lang.Throwable { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "finalize"); } if (openOnClient_) { synchronized (connection_) { closeX(); } } super.finalize(); }
1,107,533
void markClosed() { openOnClient_ = false; markResultSetsClosed(); // in case a cursorName was set on the Statement but the Statement was // never used to execute a query, the cursorName will not be removed // when the resultSets are mark closed, so we need to remove the //...
void markClosed() { openOnClient_ = false; markResultSetsClosed(); // in case a cursorName was set on the Statement but the Statement was // never used to execute a query, the cursorName will not be removed // when the resultSets are mark closed, so we need to remove the //...
1,107,534
private int downgradeResultSetConcurrency(int resultSetConcurrency, int resultSetType) { if (resultSetConcurrency == java.sql.ResultSet.CONCUR_UPDATABLE && resultSetType == java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE) { accumulateWarning(new SqlWarning(agent_.logWriter_, "Insensitive...
private int downgradeResultSetConcurrency(int resultSetConcurrency, int resultSetType) { if (resultSetConcurrency == java.sql.ResultSet.CONCUR_UPDATABLE && resultSetType == java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE) { accumulateWarning(new SqlWarning(agent_.logWriter_, new MessageI...
1,107,535
private int downgradeResultSetType(int resultSetType) { if (resultSetType == java.sql.ResultSet.TYPE_SCROLL_SENSITIVE) { accumulateWarning(new SqlWarning(agent_.logWriter_, "Scroll sensitive result sets are not supported by server; remapping to forward-only cursor")); return java.sql.Re...
private int downgradeResultSetType(int resultSetType) { if (resultSetType == java.sql.ResultSet.TYPE_SCROLL_SENSITIVE) { accumulateWarning(new SqlWarning(agent_.logWriter_, new MessageId(SQLState.SCROLL_SENSITIVE_NOT_SUPPORTED))); return java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE; ...
1,107,536
public java.sql.SQLWarning getWarnings() { if (agent_.loggingEnabled()) { agent_.logWriter_.traceExit(this, "getWarnings", warnings_); } return warnings_; }
public java.sql.SQLWarning getWarnings() { if (agent_.loggingEnabled()) { agent_.logWriter_.traceExit(this, "getWarnings", warnings_); } return warnings_ == null ? null : warnings_.getSQLWarning(); }
1,107,537
public ColPermsDescriptor getColumnPermissions( UUID colPermsUUID) throws StandardException { ColPermsDescriptor key = new ColPermsDescriptor( this, colPermsUUID); return (ColPermsDescriptor) getPermissions( key); }
public ColPermsDescriptor getColumnPermissions( UUID colPermsUUID) throws StandardException { ColPermsDescriptor key = new ColPermsDescriptor( this, colPermsUUID); return getUncachedColPermsDescriptor( key ); }
1,107,538
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { EmbeddedXADataSource dscsx = new EmbeddedXADataSource(); dscsx.setDatabaseName("wombat"); XAConnection xac = dscsx.getXAConnection("fred", "wilma"); XAResource xr = xac.getXAResource(); Xid xid = getXid(25, (byte) 21...
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { EmbeddedXADataSource dscsx = new EmbeddedXADataSource(); dscsx.setDatabaseName("wombat"); XAConnection xac = dscsx.getXAConnection("fred", "wilma"); XAResource xr = xac.getXAResource(); Xid xid = getXid(25, (byte) 21...
1,107,539
public ResultColumnList getAllResultColumns(String allTableName) throws StandardException { /* We need special processing when there is a USING clause. * The resulting table will be the join columns from * the outer table followed by the non-join columns from * left side plus the non-join columns from the r...
public ResultColumnList getAllResultColumns(TableName allTableName) throws StandardException { /* We need special processing when there is a USING clause. * The resulting table will be the join columns from * the outer table followed by the non-join columns from * left side plus the non-join columns from th...
1,107,540
private ResultColumnList getAllResultColumnsNoUsing(String allTableName) throws StandardException { ResultColumnList leftRCL = leftResultSet.getAllResultColumns(allTableName); ResultColumnList rightRCL = rightResultSet.getAllResultColumns(allTableName); /* If allTableName is null, then we want to return the spl...
private ResultColumnList getAllResultColumnsNoUsing(TableName allTableName) throws StandardException { ResultColumnList leftRCL = leftResultSet.getAllResultColumns(allTableName); ResultColumnList rightRCL = rightResultSet.getAllResultColumns(allTableName); /* If allTableName is null, then we want to return the ...
1,107,541
public ScrollInsensitiveResultSet(NoPutResultSet source, Activation activation, int resultSetNumber, int sourceRowWidth, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws StandardException { super(activation, resultSetNumber, optim...
public ScrollInsensitiveResultSet(NoPutResultSet source, Activation activation, int resultSetNumber, int sourceRowWidth, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws StandardException { super(activation, resultSetNumber, optim...
1,107,542
public ScrollInsensitiveResultSet(NoPutResultSet source, Activation activation, int resultSetNumber, int sourceRowWidth, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws StandardException { super(activation, resultSetNumber, optim...
public ScrollInsensitiveResultSet(NoPutResultSet source, Activation activation, int resultSetNumber, int sourceRowWidth, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws StandardException { super(activation, resultSetNumber, optim...
1,107,543
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { if (closeCleanup != null) { closeCleanup.invoke(activation); // let activation tidy up } currentRow = null; source.close(); if (ht != null) { ht.close(); ht = null; } super.clo...
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { if (closeCleanup != null) { closeCleanup.invoke(activation); // let activation tidy up } currentRow = null; source.close(); if (ht != null) { ht.close(); ht = null; } super.clo...
1,107,544
public void boot(boolean create, Properties startParams) throws StandardException { jbmsVersion = Monitor.getMonitor().getEngineVersion(); dataDirectory = startParams.getProperty(PersistentService.ROOT); UUIDFactory uf = Monitor.getMonitor().getUUIDFactory(); identifier = uf.createUUID(); PersistentService ...
public void boot(boolean create, Properties startParams) throws StandardException { jbmsVersion = Monitor.getMonitor().getEngineVersion(); dataDirectory = startParams.getProperty(PersistentService.ROOT); UUIDFactory uf = Monitor.getMonitor().getUUIDFactory(); identifier = uf.createUUID(); PersistentService ...
1,107,546
public TablePermsDescriptor( DataDictionary dd, String grantee, String grantor, UUID tableUUID, String selectPriv, String deletePriv, ...
public TablePermsDescriptor( DataDictionary dd, String grantee, String grantor, UUID tableUUID, String selectPriv, String deletePriv, ...
1,107,547
private void initScanParams( DataValueDescriptor[] startKeyValue, int startSearchOperator, Qualifier qualifier[][], DataValueDescriptor[] stopKeyValue, int stopSearchOperator) throws StandardException { // startKeyValue init. th...
private void initScanParams( DataValueDescriptor[] startKeyValue, int startSearchOperator, Qualifier qualifier[][], DataValueDescriptor[] stopKeyValue, int stopSearchOperator) throws StandardException { // startKeyValue init. th...
1,107,548
private void initScanParams( DataValueDescriptor[] startKeyValue, int startSearchOperator, Qualifier qualifier[][], DataValueDescriptor[] stopKeyValue, int stopSearchOperator) throws StandardException { // startKeyValue init. th...
private void initScanParams( DataValueDescriptor[] startKeyValue, int startSearchOperator, Qualifier qualifier[][], DataValueDescriptor[] stopKeyValue, int stopSearchOperator) throws StandardException { // startKeyValue init. th...
1,107,549
public int getTransactionIsolation() throws SQLException { try { checkForClosedConnection(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceExit(this, "getTransactionIsolation", isolation_); } return isolation_; } catch ( ...
public int getTransactionIsolation() throws SQLException { try { checkForClosedConnection(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceExit(this, "getTransactionIsolation", isolation_); } autoCommit_ = false; if (getTransact...
1,107,551
public JSQLType getJSQLType ( ) { if ( jsqlType == null ) { if ( value.isParameterNode() ) { jsqlType = ((ParameterNode) value).getJSQLType(); } else { DataTypeDescriptor dtd = value.getTypeServices(); if (dtd != null) jsqlType = new JSQLType( dtd ); } } return jsqlType; }
public JSQLType getJSQLType ( ) { if ( jsqlType == null ) { if ( value.isParameterNode() ) { jsqlType = ((ParameterNode) value).getJSQLType(); } else { DataTypeDescriptor dtd = value.getTypeServices(); if (dtd != null) jsqlType = new JSQLType( dtd ); } } return jsqlType; }
1,107,553
public JSQLType getJSQLType ( ) { if ( jsqlType == null ) { if ( value.isParameterNode() ) { jsqlType = ((ParameterNode) value).getJSQLType(); } else { DataTypeDescriptor dtd = value.getTypeServices(); if (dtd != null) jsqlType = new JSQLType( dtd ); } } return jsqlType; }
public JSQLType getJSQLType ( ) { if ( jsqlType == null ) { if ( value.requiresTypeFromContext()) { jsqlType = ((ParameterNode) value).getJSQLType(); } else { DataTypeDescriptor dtd = value.getTypeServices(); if (dtd != null) jsqlType = new JSQLType( dtd ); } } return jsqlType; }
1,107,554
public JSQLType getJSQLType ( ) { if ( jsqlType == null ) { if ( value.isParameterNode() ) { jsqlType = ((ParameterNode) value).getJSQLType(); } else { DataTypeDescriptor dtd = value.getTypeServices(); if (dtd != null) jsqlType = new JSQLType( dtd ); } } return jsqlType; }
public JSQLType getJSQLType ( ) { if ( jsqlType == null ) { if ( value.isParameterNode() ) { ParameterNode pn; if (value instanceof UnaryOperatorNode) pn = ((UnaryOperatorNode)value).getParameterOperand(); else pn = (ParameterNode) (value); jsqlType = pn.getJSQLType(); } else { DataTypeDescriptor...
1,107,555
public static Test suite() { TestSuite suite = new TestSuite("XML Missing Classes Suite"); if (!JDBC.classpathHasXalanAndJAXP()) { // Run this test in embedded and client modes. suite.addTest(TestConfiguration.defaultSuite( XMLMissingClassesTest.class)); ...
public static Test suite() { TestSuite suite = new TestSuite("XML Missing Classes Suite"); if (!XML.classpathHasXalanAndJAXP()) { // Run this test in embedded and client modes. suite.addTest(TestConfiguration.defaultSuite( XMLMissingClassesTest.class)); ...
1,107,557
private String[] getContainerNames() { actionCode = GET_CONTAINER_NAMES_ACTION; try{ return (String[]) AccessController.doPrivileged( this); } catch( PrivilegedActionException pae){ return null;} }
private synchronized String[] getContainerNames() { actionCode = GET_CONTAINER_NAMES_ACTION; try{ return (String[]) AccessController.doPrivileged( this); } catch( PrivilegedActionException pae){ return null;} }
1,107,558
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(); sep = System.getProperty("file.s...
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(); sep = System.getProperty("file.s...
1,107,559
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(); sep = System.getProperty("file.s...
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(); sep = System.getProperty("file.s...
1,107,560
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(); sep = System.getProperty("file.s...
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(); sep = System.getProperty("file.s...
1,107,561
private final void compressBLayerData(int continueDssHeaderCount) throws org.apache.derby.client.am.DisconnectException { int tempPos = 0; // jump to the last continuation header. for (int i = 0; i < continueDssHeaderCount; i++) { // the first may be less than the size of a full dss ...
private final void compressBLayerData(int continueDssHeaderCount) throws org.apache.derby.client.am.DisconnectException { int tempPos = 0; // jump to the last continuation header. for (int i = 0; i < continueDssHeaderCount; i++) { // the first may be less than the size of a full dss ...
1,107,562
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); newHighestPage = CompressedNumber.readInt(in); num_pages_truncated = CompressedNumber.readInt(in); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); newHighestPage = CompressedNumber.readInt(in); num_pages_truncated = CompressedNumber.readInt(in); }
1,107,565
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); CompressedNumber.writeInt(out, newHighestPage); CompressedNumber.writeInt(out, num_pages_truncated); }
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); CompressedNumber.writeInt(out, newHighestPage); CompressedNumber.writeInt(out, num_pages_truncated); }
1,107,566
public ScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, Activation a, GeneratedMethod ra, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws StandardE...
ScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, Activation a, GeneratedMethod ra, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws StandardExceptio...
1,107,567
public ScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, Activation a, GeneratedMethod ra, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws StandardE...
public ScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, Activation a, GeneratedMethod ra, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws StandardE...
1,107,568
public ScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, Activation a, GeneratedMethod ra, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws StandardE...
public ScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, Activation a, GeneratedMethod ra, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws StandardE...
1,107,569
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo...
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo...
1,107,570
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo...
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo...
1,107,571
public final void closeX() throws SqlException { if (!openOnClient_) { return; } try { if (openOnServer_) { flowCloseAndAutoCommitIfNotAutoCommitted(); } else { statement_.resultSetCommitting(this); } } finally { ...
public final void closeX() throws SqlException { if (!openOnClient_) { return; } try { if (openOnServer_) { flowCloseAndAutoCommitIfNotAutoCommitted(); } else { statement_.resultSetCommitting(this); } } finally { ...
1,107,574
void markClosed() { openOnClient_ = false; openOnServer_ = false; statement_.resetCursorNameAndRemoveFromWhereCurrentOfMappings(); // for SELECT...FOR UPDATE queries statement_.removeClientCursorNameFromCache(); markPositionedUpdateDeletePreparedStatementsClosed(); }
void markClosed() { openOnClient_ = false; openOnServer_ = false; statement_.resetCursorNameAndRemoveFromWhereCurrentOfMappings(); // for SELECT...FOR UPDATE queries statement_.removeClientCursorNameFromCache(); markPositionedUpdateDeletePreparedStatementsClosed(); }
1,107,575
public Optimizable modifyAccessPath(JBitSet outerTables) throws StandardException { boolean origChildOptimizable = true; /* It is okay to optimize most nodes multiple times. However, * modifying the access path is something that should only be done * once per node. One reason for this is that the predicate l...
public Optimizable modifyAccessPath(JBitSet outerTables) throws StandardException { boolean origChildOptimizable = true; /* It is okay to optimize most nodes multiple times. However, * modifying the access path is something that should only be done * once per node. One reason for this is that the predicate l...
1,107,576
public boolean pushOptPredicate(OptimizablePredicate optimizablePredicate) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(optimizablePredicate instanceof Predicate, "optimizablePredicate expected to be instanceof Predicate"); SanityManager.ASSERT(! optimizablePredicate.hasSubquer...
public boolean pushOptPredicate(OptimizablePredicate optimizablePredicate) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(optimizablePredicate instanceof Predicate, "optimizablePredicate expected to be instanceof Predicate"); SanityManager.ASSERT(! optimizablePredicate.hasSubquer...
1,107,577
private void ensureLength (int length) { length += offset; if (length > bytes.length) { if (SanityManager.DEBUG) { agent.trace("DANGER - Expensive expansion of buffer"); } byte newBytes[] = new byte[Math.max (bytes.length << 1, length)]; System.arraycopy (bytes, 0, newBytes, 0, offset); bytes = newBy...
private void ensureLength (int length) { length += offset; if (length > bytes.length) { if (SanityManager.DEBUG) { agent.trace("DANGER - Expensive expansion of buffer"); } byte newBytes[] = new byte[Math.max (bytes.length << 1, length)]; System.arraycopy (bytes, 0, newBytes, 0, offset); bytes = newBy...
1,107,578
private void writeExtendedLengthBytes (int extendedLengthByteCount, long length) { int shiftSize = (extendedLengthByteCount -1) * 8; for (int i = 0; i < extendedLengthByteCount; i++) { bytes[offset + i] = (byte) ((length >>> shiftSize) & 0xff); shiftSize -= 8; } offset += extendedLengthByteCount; }
private void writeExtendedLengthBytes (int extendedLengthByteCount, long length) { int shiftSize = (extendedLengthByteCount -1) * 8; for (int i = 0; i < extendedLengthByteCount; i++) { bytes[offset + i] = (byte) ((length >>> shiftSize) & 0xff); shiftSize -= 8; } offset += extendedLengthByteCount; }
1,107,580
private void writeExtendedLengthBytes (int extendedLengthByteCount, long length) { int shiftSize = (extendedLengthByteCount -1) * 8; for (int i = 0; i < extendedLengthByteCount; i++) { bytes[offset + i] = (byte) ((length >>> shiftSize) & 0xff); shiftSize -= 8; } offset += extendedLengthByteCount; }
private void writeExtendedLengthBytes (int extendedLengthByteCount, long length) { int shiftSize = (extendedLengthByteCount -1) * 8; for (int i = 0; i < extendedLengthByteCount; i++) { bytes[offset + i] = (byte) ((length >>> shiftSize) & 0xff); shiftSize -= 8; } offset += extendedLengthByteCount; }
1,107,581
protected void writeString(String s) throws DRDAProtocolException { try { writeBytes(s.getBytes(NetworkServerControlImpl.DEFAULT_ENCODING)); } catch (Exception e) { //this should never happen agent.agentError("Encoding " + NetworkServerControlImpl.DEFAULT_ENCODING + " not supported"); } }
protected void writeString(String s) throws DRDAProtocolException { try { writeBytes(s.getBytes(NetworkServerControlImpl.DEFAULT_ENCODING)); } catch (Exception e) { //this should never happen agent.agentError("Encoding " + NetworkServerControlImpl.DEFAULT_ENCODING + " not supported"); } }
1,107,582
protected int readXaPrepare(NetConnection conn) throws DisconnectException { startSameIdChainParse(); int synctype = parseSYNCCTLreply(conn); endOfSameIdChainData(); NetXACallInfo callInfo = conn.xares_.callInfoArray_[conn.currXACallInfoOffset_]; if (synctype == NetXAResource.XARE...
protected int readXaPrepare(NetConnection conn) throws DisconnectException { startSameIdChainParse(); int synctype = parseSYNCCTLreply(conn); endOfSameIdChainData(); NetXACallInfo callInfo = conn.xares_.callInfoArray_[conn.currXACallInfoOffset_]; if (synctype == XAResource.XA_RDON...
1,107,584
public dblook(String[] args) { // Adjust the application in accordance with derby.ui.locale // and derby.ui.codeset langUtil = LocalizedResource.getInstance(); // Initialize class variables. initState(); // Parse the command line. if (!parseArgs(args)) { System.out.println(lookupMessage("CSLOOK_Usage"))...
public dblook(String[] args) { // Adjust the application in accordance with derby.ui.locale // and derby.ui.codeset langUtil = LocalizedResource.getInstance(); // Initialize class variables. initState(); // Parse the command line. if (!parseArgs(args)) { System.out.println(lookupMessage("DBLOOK_Usage"))...
1,107,585
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("DBLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
1,107,586
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("DBLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
1,107,587
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("DBLOOK_Timestamp", new Timestamp(System.currentTimeMil...
1,107,588
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
1,107,589
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
1,107,590
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
private void showVariables() { if (ddlFileName != null) { Logs.reportString("============================\n"); Logs.reportMessage("CSLOOK_FileCreation"); if (verbose) writeVerboseOutput("CSLOOK_OutputLocation", ddlFileName); } Logs.reportMessage("CSLOOK_Timestamp", new Timestamp(System.currentTimeMil...
1,107,591
public static void main(String[] args) { Connection con = null; Statement s; CallableStatement cs; PreparedStatement ps; ParameterMetaData paramMetaData; System.out.println("Test parameterMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection....
public static void main(String[] args) { Connection con = null; Statement s; CallableStatement cs; PreparedStatement ps; ParameterMetaData paramMetaData; System.out.println("Test parameterMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection....
1,107,592
public DistinctGroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMet...
DistinctGroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) ...
1,107,593
public DistinctGroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMet...
public DistinctGroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMet...
1,107,594
public DistinctGroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMet...
public DistinctGroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMet...
1,107,595
public void saveConnectionVariables() { in_ = actualConn_.getInputStream(); out_ = actualConn_.getOutputStream(); crrtkn_ = actualConn_.getCorrelatorToken(); }
public void saveConnectionVariables() { in_ = actualConn_.getInputStream(); out_ = actualConn_.getOutputStream(); crrtkn_ = actualConn_.getCorrelatorToken(); }
1,107,596
private void switchLogFile() throws StandardException { boolean switchedOver = false; ///////////////////////////////////////////////////// // Freeze the log for the switch over to a new log file. // This blocks out any other threads from sending log // record to the log stream. // // The switching of the log ...
private void switchLogFile() throws StandardException { boolean switchedOver = false; ///////////////////////////////////////////////////// // Freeze the log for the switch over to a new log file. // This blocks out any other threads from sending log // record to the log stream. // // The switching of the log ...
1,107,598
private void switchLogFile() throws StandardException { boolean switchedOver = false; ///////////////////////////////////////////////////// // Freeze the log for the switch over to a new log file. // This blocks out any other threads from sending log // record to the log stream. // // The switching of the log ...
private void switchLogFile() throws StandardException { boolean switchedOver = false; ///////////////////////////////////////////////////// // Freeze the log for the switch over to a new log file. // This blocks out any other threads from sending log // record to the log stream. // // The switching of the log ...
1,107,599
public UpgradeTester(String oldJarLoc, String newJarLoc, int oldMajorVersion, int oldMinorVersion, int newMajorVersion, int newMinorVersion, boolean allowPreReleaseUpgrade) { this.oldJarLoc = oldJarLoc; this.newJarLoc = newJarLoc; this.oldMajorVersion = oldMajorVersion; this.oldMinorVersion = oldMi...
public UpgradeTester(String oldJarLoc, String newJarLoc, int oldMajorVersion, int oldMinorVersion, int newMajorVersion, int newMinorVersion, boolean allowPreReleaseUpgrade) { this.oldJarLoc = oldJarLoc; this.newJarLoc = newJarLoc; this.oldMajorVersion = oldMajorVersion; this.oldMinorVersion = oldMi...
1,107,600
public UpgradeTester(String oldJarLoc, String newJarLoc, int oldMajorVersion, int oldMinorVersion, int newMajorVersion, int newMinorVersion, boolean allowPreReleaseUpgrade) { this.oldJarLoc = oldJarLoc; this.newJarLoc = newJarLoc; this.oldMajorVersion = oldMajorVersion; this.oldMinorVersion = oldMi...
public UpgradeTester(String oldJarLoc, String newJarLoc, int oldMajorVersion, int oldMinorVersion, int newMajorVersion, int newMinorVersion, boolean allowPreReleaseUpgrade) { this.oldJarLoc = oldJarLoc; this.newJarLoc = newJarLoc; this.oldMajorVersion = oldMajorVersion; this.oldMinorVersion = oldMi...
1,107,601
private Connection getConnectionUsingDataSource(URLClassLoader classLoader, Properties prop) throws Exception{ Connection conn = null; Class testUtilClass = Class.forName("org.apache.derbyTesting.functionTests.util.TestUtil", true, classLoader); Object testUtilObject = testUtilClass.newInstance(); /...
private Connection getConnectionUsingDataSource(URLClassLoader classLoader, Properties prop) throws Exception{ Connection conn = null; Class testUtilClass = Class.forName("org.apache.derbyTesting.functionTests.util.TestUtil", true, classLoader); Object testUtilObject = testUtilClass.newInstance(); /...
1,107,602
public static void main(String[] args) { if(args.length != 6) { System.out.println("USAGE: java UpgradeTester <location of old jars> <location of new jars> <old major version> <old minor version> <new major version> <new minor version>"); System.out.println("e.g: java UpgradeTester C:\\derby\\10.1\\lib C:\\derb...
public static void main(String[] args) { if(args.length != 6) { System.out.println("USAGE: java UpgradeTester <location of old jars> <location of new jars> <old major version> <old minor version> <new major version> <new minor version>"); System.out.println("e.g: java UpgradeTester C:\\derby\\10.1\\lib C:\\derb...
1,107,604
public static void main(String[] args) { if(args.length != 6) { System.out.println("USAGE: java UpgradeTester <location of old jars> <location of new jars> <old major version> <old minor version> <new major version> <new minor version>"); System.out.println("e.g: java UpgradeTester C:\\derby\\10.1\\lib C:\\derb...
public static void main(String[] args) { if(args.length != 6) { System.out.println("USAGE: java UpgradeTester <location of old jars> <location of new jars> <old major version> <old minor version> <new major version> <new minor version>"); System.out.println("e.g: java UpgradeTester C:\\derby\\10.1\\lib C:\\derb...
1,107,605
public static void main(String[] args) { if(args.length != 6) { System.out.println("USAGE: java UpgradeTester <location of old jars> <location of new jars> <old major version> <old minor version> <new major version> <new minor version>"); System.out.println("e.g: java UpgradeTester C:\\derby\\10.1\\lib C:\\derb...
public static void main(String[] args) { if(args.length != 6) { System.out.println("USAGE: java UpgradeTester <location of old jars> <location of new jars> <old major version> <old minor version> <new major version> <new minor version>"); System.out.println("e.g: java UpgradeTester C:\\derby\\10.1\\lib C:\\derb...
1,107,606
private void runMetadataTest(URLClassLoader classLoader, Connection conn) throws Exception{ Statement stmt = conn.createStatement(); Class metadataClass = Class.forName("org.apache.derbyTesting.functionTests.tests.jdbcapi.metadata", true, classLoader); Object metadataObject = metadataCl...
private void runMetadataTest(URLClassLoader classLoader, Connection conn) throws Exception{ Statement stmt = conn.createStatement(); Class metadataClass = Class.forName("org.apache.derbyTesting.functionTests.tests.jdbcapi.metadata", true, classLoader); Object metadataObject = metadataCl...
1,107,607