bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public ValueNode preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) throws StandardException { boolean eliminateLikeComparison = false; String greaterEqualString = null; String lessThanString = null; String pattern; /* We...
public ValueNode preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) throws StandardException { boolean eliminateLikeComparison = false; String greaterEqualString = null; String lessThanString = null; String pattern; /* We...
1,107,127
private ValueNode setupOptimizeStringFromParameter(ValueNode parameterNode, ValueNode escapeNode,String methodName) throws StandardException { Vector param; if (escapeNode != null) { param = new Vector(2); methodName += "WithEsc"; } else param = new Vector(1); StaticMethodCallNode methodCall = (StaticM...
private ValueNode setupOptimizeStringFromParameter(ValueNode parameterNode, ValueNode escapeNode,String methodName, int maxWidth) throws StandardException { Vector param; if (escapeNode != null) { param = new Vector(2); methodName += "WithEsc"; } else param = new Vector(1); StaticMethodCallNode methodC...
1,107,128
public NetXAResource(XAConnection xaconn, int rmId, String userId, String password, org.apache.derby.client.net.NetXAConnection conn) { xaconn_ = xaconn; rmId_ = rmId; conn_ = conn; rmIdx_ = userId; rmIdy_ = password; port_ = ...
public NetXAResource(XAConnection xaconn, int rmId, String userId, String password, org.apache.derby.client.net.NetXAConnection conn) { xaconn_ = xaconn; rmId_ = rmId; conn_ = conn.getNetConnection(); netXAConn_ = conn; rmIdx_ = userId; ...
1,107,132
public NetXAResource(XAConnection xaconn, int rmId, String userId, String password, org.apache.derby.client.net.NetXAConnection conn) { xaconn_ = xaconn; rmId_ = rmId; conn_ = conn; rmIdx_ = userId; rmIdy_ = password; port_ = ...
public NetXAResource(XAConnection xaconn, int rmId, String userId, String password, org.apache.derby.client.net.NetXAConnection conn) { xaconn_ = xaconn; rmId_ = rmId; conn_ = conn; rmIdx_ = userId; rmIdy_ = password; port_ = ...
1,107,133
public NetXAResource(XAConnection xaconn, int rmId, String userId, String password, org.apache.derby.client.net.NetXAConnection conn) { xaconn_ = xaconn; rmId_ = rmId; conn_ = conn; rmIdx_ = userId; rmIdy_ = password; port_ = ...
public NetXAResource(XAConnection xaconn, int rmId, String userId, String password, org.apache.derby.client.net.NetXAConnection conn) { xaconn_ = xaconn; rmId_ = rmId; conn_ = conn; rmIdx_ = userId; rmIdy_ = password; port_ = ...
1,107,134
public Object convert(Object value) { if (value != null) { int result = 0; StringTokenizer stok = new StringTokenizer(value.toString(), ", \t|", false); while (stok.hasMoreTokens()) { String tok = stok.nextToken(); result = result ...
public Object convert(Object value) { if (value != null) { int result = 0; StringTokenizer stok = new StringTokenizer(value.toString(), ", \t|", false); while (stok.hasMoreTokens()) { String tok = stok.nextToken(); result = result ...
1,107,135
public void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws SQLException { //If the column type is the right datatype, this method will eventually call getDVDforColumnToBeUpdated which will check for //the read only resultset. But for other datatypes, we want to catch if this updateChar...
public void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws SQLException { //If the column type is the right datatype, this method will eventually call getDVDforColumnToBeUpdated which will check for //the read only resultset. But for other datatypes, we want to catch if this updateChar...
1,107,136
protected void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, int length, String updateMethodName) throws SQLException { try { LimitReader limitIn = new LimitReader(reader); if (length != -1) limitIn.setLimit(length); ReaderToUTF8Stream utfIn = new ReaderToUTF8Stream(limitI...
protected void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, int length, String updateMethodName) throws SQLException { try { LimitReader limitIn = new LimitReader(reader); if (length != -1) limitIn.setLimit(length); ReaderToUTF8Stream utfIn = new ReaderToUTF8Stream(limitI...
1,107,137
public void updateClob(int columnIndex, Clob x) throws SQLException { checksBeforeUpdateXXX("updateClob", columnIndex); int colType = getColumnType(columnIndex); if (colType != Types.CLOB) throw dataTypeConversion(columnIndex, "java.sql.Clob"); if (x == null) updateNul...
public void updateClob(int columnIndex, Clob x) throws SQLException { checksBeforeUpdateXXX("updateClob", columnIndex); int colType = getColumnType(columnIndex); if (colType != Types.CLOB) throw dataTypeConversion(columnIndex, "java.sql.Clob"); if (x == null) updateNul...
1,107,138
private int parseSQLDCGRP(Sqlca[] rowsetSqlca, int lastRow) throws DisconnectException { int sqldcCode = readFastInt(); // SQLCODE String sqldcState = readFastString(5, netAgent_.targetTypdef_.getCcsidSbcEncoding()); // SQLSTATE int sqldcReason = readFastInt(); // REASON_CODE int sqldcL...
private int parseSQLDCGRP(Sqlca[] rowsetSqlca, int lastRow) throws DisconnectException { int sqldcCode = readFastInt(); // SQLCODE String sqldcState = readFastString(5, Typdef.UTF8ENCODING); // SQLSTATE int sqldcReason = readFastInt(); // REASON_CODE int sqldcLinen = readFastInt(); // L...
1,107,141
private int parseSQLDCGRP(Sqlca[] rowsetSqlca, int lastRow) throws DisconnectException { int sqldcCode = readFastInt(); // SQLCODE String sqldcState = readFastString(5, netAgent_.targetTypdef_.getCcsidSbcEncoding()); // SQLSTATE int sqldcReason = readFastInt(); // REASON_CODE int sqldcL...
private int parseSQLDCGRP(Sqlca[] rowsetSqlca, int lastRow) throws DisconnectException { int sqldcCode = readFastInt(); // SQLCODE String sqldcState = readFastString(5, netAgent_.targetTypdef_.getCcsidSbcEncoding()); // SQLSTATE int sqldcReason = readFastInt(); // REASON_CODE int sqldcL...
1,107,142
private int parseSQLDCGRP(Sqlca[] rowsetSqlca, int lastRow) throws DisconnectException { int sqldcCode = readFastInt(); // SQLCODE String sqldcState = readFastString(5, netAgent_.targetTypdef_.getCcsidSbcEncoding()); // SQLSTATE int sqldcReason = readFastInt(); // REASON_CODE int sqldcL...
private int parseSQLDCGRP(Sqlca[] rowsetSqlca, int lastRow) throws DisconnectException { int sqldcCode = readFastInt(); // SQLCODE String sqldcState = readFastString(5, netAgent_.targetTypdef_.getCcsidSbcEncoding()); // SQLSTATE int sqldcReason = readFastInt(); // REASON_CODE int sqldcL...
1,107,143
private int parseSQLDCGRP(Sqlca[] rowsetSqlca, int lastRow) throws DisconnectException { int sqldcCode = readFastInt(); // SQLCODE String sqldcState = readFastString(5, netAgent_.targetTypdef_.getCcsidSbcEncoding()); // SQLSTATE int sqldcReason = readFastInt(); // REASON_CODE int sqldcL...
private int parseSQLDCGRP(Sqlca[] rowsetSqlca, int lastRow) throws DisconnectException { int sqldcCode = readFastInt(); // SQLCODE String sqldcState = readFastString(5, netAgent_.targetTypdef_.getCcsidSbcEncoding()); // SQLSTATE int sqldcReason = readFastInt(); // REASON_CODE int sqldcL...
1,107,144
static void dumpRS(ResultSet s) throws SQLException { ResultSetMetaData rsmd = s.getMetaData (); // Get the number of columns in the result set int numCols = rsmd.getColumnCount (); if (numCols <= 0) { System.out.println("(no columns!)"); return; } // Display column headings for (int i=1; i<=numCols; i++)...
public static void dumpRS(ResultSet s) throws SQLException { ResultSetMetaData rsmd = s.getMetaData (); // Get the number of columns in the result set int numCols = rsmd.getColumnCount (); if (numCols <= 0) { System.out.println("(no columns!)"); return; } // Display column headings for (int i=1; i<=numCol...
1,107,148
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm...
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm...
1,107,149
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm...
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm...
1,107,150
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm...
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm...
1,107,151
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm...
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm...
1,107,152
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm...
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm...
1,107,153
private XADataSource getXADataSource() throws Exception { // We need to construct this object in this round about fashion because // if we new it directly, then it will the tools.jar file to bloat. try { if (isJCC) return (XADataSource) (Class.forName("com.ibm.db2.jcc.DB2XADataSource").newInstance()); ...
private XADataSource getXADataSource() throws Exception { // We need to construct this object in this round about fashion because // if we new it directly, then it will the tools.jar file to bloat. try { if (isJCC) return (XADataSource) (Class.forName("com.ibm.db2.jcc.DB2XADataSource").newInstance()); ...
1,107,154
public final void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException { checkStatus(); int jdbcTypeId = getParameterJDBCType(parameterIndex); switch (jdbcTypeId) { case Types.CHAR: case Types.VARCHAR: case Types.LONGVARCHAR: case Types.CLOB: break; default: throw data...
public final void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException { checkStatus(); int jdbcTypeId = getParameterJDBCType(parameterIndex); switch (jdbcTypeId) { case Types.CHAR: case Types.VARCHAR: case Types.LONGVARCHAR: case Types.CLOB: break; default: throw dat...
1,107,155
public final void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException { checkStatus(); int jdbcTypeId = getParameterJDBCType(parameterIndex); switch (jdbcTypeId) { case Types.BINARY: case Types.VARBINARY: case Types.LONGVARBINARY: case Types.BLOB: break; default: thro...
public final void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException { checkStatus(); int jdbcTypeId = getParameterJDBCType(parameterIndex); switch (jdbcTypeId) { case Types.BINARY: case Types.VARBINARY: case Types.LONGVARBINARY: case Types.BLOB: break; default: thro...
1,107,156
public final void setCharacterStream(int parameterIndex, java.io.Reader reader, int length) throws SQLException { checkStatus(); int jdbcTypeId = getParameterJDBCType(parameterIndex); switch (jdbcTypeId) { case Types.CHAR: case Types.VARCHAR: case Types.LONGVARCHAR: case Types.CLOB: break; ...
public final void setCharacterStream(int parameterIndex, java.io.Reader reader, int length) throws SQLException { checkStatus(); int jdbcTypeId = getParameterJDBCType(parameterIndex); switch (jdbcTypeId) { case Types.CHAR: case Types.VARCHAR: case Types.LONGVARCHAR: case Types.CLOB: break; ...
1,107,157
public void compileXQExpr(String queryExpr) throws StandardException { try { // The following XPath constructor compiles the expression // as part of the construction process. query = new XPath(queryExpr, null, null, XPath.SELECT); } catch (TransformerExcepti...
public void compileXQExpr(String queryExpr) throws StandardException { try { // The following XPath constructor compiles the expression // as part of the construction process. query = new XPath(queryExpr, null, null, XPath.SELECT); } catch (TransformerExcepti...
1,107,162
private void createAndLoadTable( Connection conn, String tblname) throws SQLException { Statement s = conn.createStatement(); s.execute( "create table " + tblname + "(keycol int, indcol1 int, indcol2 int, indcol3 int, data1 varchar(2000), data2 varchar(...
private void createAndLoadTable( Connection conn, boolean create_table, String tblname, int num_rows) throws SQLException { Statement s = conn.createStatement(); s.execute( "create table " + tblname + "(keycol int, indcol1 int, indcol2 int, ...
1,107,163
private void createAndLoadTable( Connection conn, String tblname) throws SQLException { Statement s = conn.createStatement(); s.execute( "create table " + tblname + "(keycol int, indcol1 int, indcol2 int, indcol3 int, data1 varchar(2000), data2 varchar(...
private void createAndLoadTable( Connection conn, String tblname) throws SQLException { if (create_table) { Statement s = conn.createStatement(); s.execute( "create table " + tblname + "(keycol int, indcol1 int, indcol2 int, indcol3 int, data1 varchar(2...
1,107,164
private void createAndLoadTable( Connection conn, String tblname) throws SQLException { Statement s = conn.createStatement(); s.execute( "create table " + tblname + "(keycol int, indcol1 int, indcol2 int, indcol3 int, data1 varchar(2000), data2 varchar(...
private void createAndLoadTable( Connection conn, String tblname) throws SQLException { Statement s = conn.createStatement(); s.execute( "create table " + tblname + "(keycol int, indcol1 int, indcol2 int, indcol3 int, data1 varchar(2000), data2 varchar(...
1,107,165
private void createAndLoadTable( Connection conn, String tblname) throws SQLException { Statement s = conn.createStatement(); s.execute( "create table " + tblname + "(keycol int, indcol1 int, indcol2 int, indcol3 int, data1 varchar(2000), data2 varchar(...
private void createAndLoadTable( Connection conn, String tblname) throws SQLException { Statement s = conn.createStatement(); s.execute( "create table " + tblname + "(keycol int, indcol1 int, indcol2 int, indcol3 int, data1 varchar(2000), data2 varchar(...
1,107,166
private void test1(Connection conn) throws SQLException { beginTest(conn, "test1"); createAndLoadTable(conn, "test1"); OnlineCompress.compressTable("APP", "TEST1", true, true, true); endTest(conn, "test1"); }
private void test1(Connection conn) throws SQLException { beginTest(conn, "test1"); int[] test_cases = {0, 1, 50, 10000}; OnlineCompress.compressTable("APP", "TEST1", true, true, true); endTest(conn, "test1"); }
1,107,168
private void test1(Connection conn) throws SQLException { beginTest(conn, "test1"); createAndLoadTable(conn, "test1"); OnlineCompress.compressTable("APP", "TEST1", true, true, true); endTest(conn, "test1"); }
private void test1(Connection conn) throws SQLException { beginTest(conn, "test1"); createAndLoadTable(conn, "test1"); for (int i = 0; i < test_cases.length; i++) { row_count_based_tests( conn, true, false, "APP", "TEST1", test_cases[i]); row_count_based_tests( conn, false, true...
1,107,169
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = dscsx.getXAConnection("fred", "wilma"); XAResource xr = xa...
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = dscsx.getXAConnection("fred", "wilma"); XAResource xr = xa...
1,107,170
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = dscsx.getXAConnection("fred", "wilma"); XAResource xr = xa...
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = dscsx.getXAConnection("fred", "wilma"); XAResource xr = xa...
1,107,171
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = dscsx.getXAConnection("fred", "wilma"); XAResource xr = xa...
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = dscsx.getXAConnection("fred", "wilma"); XAResource xr = xa...
1,107,172
public static void main(String[] args) throws Exception { checkDataSource30 tester = new checkDataSource30(); tester.runTest(args); tester.checkXAHoldability(); // Print a report on System.out of the issues // found with the security checks. SecurityCheck.report(); System.out.println("Completed checkDataSou...
public static void main(String[] args) throws Exception { checkDataSource30 tester = new checkDataSource30(); if (TestUtil.isEmbeddedFramework()) tester.runTest(args); tester.checkXAHoldability(); // Print a report on System.out of the issues // found with the security checks. SecurityCheck.report(); System...
1,107,173
private String parseCcsidSBC(int length) throws DRDAProtocolException { String strVal = null; String ccsidSBCEncoding = database.getCurrentStatement().ccsidSBCEncoding; if (length == 0) return null; byte [] byteStr = reader.readBytes(length); if (ccsidSBCEncoding != null) { try { strVal = new String(byteS...
private String parseCcsidSBC(int length) throws DRDAProtocolException { String strVal = null; DRDAStatement currentStatement; currentStatement = database.getCurrentStatement(); if (currentStatement == null) { currentStatement = database.getDefaultStatement(); currentStatement.initialize(); } String ccsidSBCEncodin...
1,107,174
private String parseOPNQRY() throws DRDAProtocolException, SQLException { String pkgnamcsn = null; boolean gotQryblksz = false; int blksize = 0; int qryblkctl = CodePoint.QRYBLKCTL_DEFAULT; int maxblkext = CodePoint.MAXBLKEXT_DEFAULT; int qryrowset = CodePoint.QRYROWSET_DEFAULT; int qryclsimp = DRDAResultSet.QR...
private String parseOPNQRY() throws DRDAProtocolException, SQLException { String pkgnamcsn = null; boolean gotQryblksz = false; int blksize = 0; int qryblkctl = CodePoint.QRYBLKCTL_DEFAULT; int maxblkext = CodePoint.MAXBLKEXT_DEFAULT; int qryrowset = CodePoint.QRYROWSET_DEFAULT; int qryclsimp = DRDAResultSet.QR...
1,107,175
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 d...
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 d...
1,107,176
private static void derby966(XADataSource xads) { System.out.println("derby966"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Xid xid = XATestUtil.getXid(996, 9, 48); Connection conn = xac.get...
private static void derby966(XADataSource xads) { System.out.println("derby966"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Xid xid = XATestUtil.getXid(996, 9, 48); Connection conn = xac.get...
1,107,177
private static void derby966(XADataSource xads) { System.out.println("derby966"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Xid xid = XATestUtil.getXid(996, 9, 48); Connection conn = xac.get...
private static void derby966(XADataSource xads) { System.out.println("derby966"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Xid xid = XATestUtil.getXid(996, 9, 48); Connection conn = xac.get...
1,107,178
protected void openCore() throws StandardException { int rowLocationColumn = -1; boolean firstRow = true; rs = activation.getTargetVTI(); ExecRow row = getNextRowCore(sourceResultSet); if( null != row) rowLocationColumn = row.nColumns(); if (!firstExecute) lcc.getStat...
protected void openCore() throws StandardException { int rowLocationColumn = -1; boolean firstRow = true; rs = activation.getTargetVTI(); ExecRow row = getNextRowCore(sourceResultSet); if( null != row) rowLocationColumn = row.nColumns(); if (!firstExecute) lcc.getStat...
1,107,180
public void openCore() throws StandardException { TransactionController tc; beginTime = getCurrentTimeMillis(); // source expected to be non-null, mystery stress test bug // - sometimes get NullPointerException in openCore(). if (SanityManager.DEBUG) { SanityManager.ASSERT(source != null, "HTRS().openCo...
public void openCore() throws StandardException { TransactionController tc; beginTime = getCurrentTimeMillis(); // source expected to be non-null, mystery stress test bug // - sometimes get NullPointerException in openCore(). if (SanityManager.DEBUG) { SanityManager.ASSERT(source != null, "HTRS().openCo...
1,107,181
protected void readPage(long pageNumber, byte[] pageData) throws IOException, StandardException { FileChannel ioChannel; synchronized (this) { ioChannel = ourChannel; if (SanityManager.DEBUG) { SanityManager.ASSERT(!getCommittedDropState()); }...
protected void readPage(long pageNumber, byte[] pageData) throws IOException, StandardException { FileChannel ioChannel; synchronized (this) { ioChannel = ourChannel; if (SanityManager.DEBUG) { SanityManager.ASSERT(!getCommittedDropState()); }...
1,107,183
protected void writePage(long pageNumber, byte[] pageData, boolean syncPage) throws IOException, StandardException { FileChannel ioChannel; synchronized(this) { // committed and dropped, do nothing. // This file container may only be a stub if (getCommittedD...
protected void writePage(long pageNumber, byte[] pageData, boolean syncPage) throws IOException, StandardException { FileChannel ioChannel; synchronized(this) { // committed and dropped, do nothing. // This file container may only be a stub if (getCommittedD...
1,107,184
void bindParameter() throws StandardException { /* ** If IS [NOT] NULL has a ? operand, we assume ** its type is varchar with the implementation-defined maximum length ** for a varchar. */ ((ParameterNode) operand).setDescriptor( new DataTypeDescriptor(TypeId.getBuiltInTypeId(Types.VARCHAR), true)); }
void bindParameter() throws StandardException { /* ** If IS [NOT] NULL has a ? operand, we assume ** its type is varchar with the implementation-defined maximum length ** for a varchar. */ ((ParameterNode) operand).setDescriptor( new DataTypeDescriptor(TypeId.getBuiltInTypeId(Types.VARCHAR), true)); }
1,107,185
public BrokeredPreparedStatement newBrokeredStatement(BrokeredStatementControl statementControl, String sql, Object generatedKeys) throws SQLException { return new BrokeredPreparedStatement40(statementControl, getJDBCLevel(), sql, generatedKeys); }
public BrokeredPreparedStatement newBrokeredStatement(BrokeredStatementControl statementControl, String sql, Object generatedKeys) throws SQLException { return new BrokeredPreparedStatement40(statementControl, getJDBCLevel(), sql, generatedKeys); }
1,107,187
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); String currentUser = lcc.getAuthorizationId(); TransactionControll...
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); String currentUser = lcc.getAuthorizationId(); TransactionControll...
1,107,188
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); String currentUser = lcc.getAuthorizationId(); TransactionControll...
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); String currentUser = lcc.getAuthorizationId(); TransactionControll...
1,107,189
static public int computeBigDecimalPrecision(java.math.BigDecimal decimal) { byte[] bBytes = decimal.unscaledValue().abs().toByteArray(); if (byteArrayCmp(bBytes, tenRadixArr[tenRadixArr.length - 1]) >= 0) { throw new java.lang.IllegalArgumentException("Precision exceeds 31 digits!"); ...
static public int computeBigDecimalPrecision(java.math.BigDecimal decimal) { byte[] bBytes = decimal.unscaledValue().abs().toByteArray(); if (byteArrayCmp(bBytes, tenRadixArr[tenRadixArr.length - 1]) >= 0) { throw new java.lang.IllegalArgumentException( MessageUtil.getCompleteMessage("J105"...
1,107,191
private void checkRequired(int codePoint) throws DRDAProtocolException { int firstMissing = 0; for (int i = 0; i < currentRequiredLength; i++) { if (required[i] != 0) { firstMissing = required[i]; break; } } if (firstMissing != 0) missingCodePoint(firstMissing); }
private void checkRequired(int codePoint) throws DRDAProtocolException { int firstMissing = 0; for (int i = 0; i < currentRequiredLength; i++) { if (required[i] != 0) { firstMissing = required[i]; break; } } if (firstMissing != 0) missingCodePoint(firstMissing); }
1,107,193
private void doneData(DRDAStatement stmt, ResultSet rs) throws DRDAProtocolException, SQLException { if (SanityManager.DEBUG) trace("*****NO MORE DATA!!"); int blksize = stmt.getBlksize() > 0 ? stmt.getBlksize() : CodePoint.QRYBLKSZ_MAX; if (rs != null) { if (stmt.isScrollable()) { //keep isAft...
private void doneData(DRDAStatement stmt, ResultSet rs) throws DRDAProtocolException, SQLException { if (SanityManager.DEBUG) trace("*****NO MORE DATA!!"); int blksize = stmt.getBlksize() > 0 ? stmt.getBlksize() : CodePoint.QRYBLKSZ_MAX; if (rs != null) { if (stmt.isScrollable()) { //keep isAft...
1,107,195
private int getConnFromDatabaseName() throws DRDAProtocolException { Properties p = new Properties(); databaseAccessException = null; //if we haven't got the correlation token yet, use session number for drdaID if (session.drdaID == null) session.drdaID = leftBrace + session.connNum + rightBrace; p.put(Attri...
private int getConnFromDatabaseName() throws DRDAProtocolException { Properties p = new Properties(); databaseAccessException = null; //if we haven't got the correlation token yet, use session number for drdaID if (session.drdaID == null) session.drdaID = leftBrace + session.connNum + rightBrace; p.put(Attri...
1,107,196
private int getExceptionSeverity (SQLException e) { int severity= CodePoint.SVRCOD_INFO; if (e == null) return severity; int ec = e.getErrorCode(); switch (ec) { case ExceptionSeverity.STATEMENT_SEVERITY: case ExceptionSeverity.TRANSACTION_SEVERITY: severity = CodePoint.SVRCOD_ERROR; break; ...
private int getExceptionSeverity (SQLException e) { int severity= CodePoint.SVRCOD_INFO; if (e == null) return severity; int ec = e.getErrorCode(); switch (ec) { case ExceptionSeverity.STATEMENT_SEVERITY: case ExceptionSeverity.TRANSACTION_SEVERITY: severity = CodePoint.SVRCOD_ERROR; break; ...
1,107,197
private int getExceptionSeverity (SQLException e) { int severity= CodePoint.SVRCOD_INFO; if (e == null) return severity; int ec = e.getErrorCode(); switch (ec) { case ExceptionSeverity.STATEMENT_SEVERITY: case ExceptionSeverity.TRANSACTION_SEVERITY: severity = CodePoint.SVRCOD_ERROR; break; ...
private int getExceptionSeverity (SQLException e) { int severity= CodePoint.SVRCOD_INFO; if (e == null) return severity; int ec = e.getErrorCode(); switch (ec) { case ExceptionSeverity.STATEMENT_SEVERITY: case ExceptionSeverity.TRANSACTION_SEVERITY: severity = CodePoint.SVRCOD_ERROR; break; ...
1,107,198
private int parseACCRDB() throws DRDAProtocolException { int codePoint; int svrcod = 0; copyToRequired(ACCRDB_REQUIRED); reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { //required case CodePoint.RDBACCCL: checkLength(CodePoint.RDBACCC...
private int parseACCRDB() throws DRDAProtocolException { int codePoint; int svrcod = 0; copyToRequired(ACCRDB_REQUIRED); reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { //required case CodePoint.RDBACCCL: checkLength(CodePoint.RDBACCC...
1,107,200
private int parseACCSEC() throws DRDAProtocolException { int securityCheckCode = 0; int securityMechanism = 0; byte [] publicKeyIn = null; reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch(codePoint) { //optional case CodePoint.SECMGRNM: // this ...
private int parseACCSEC() throws DRDAProtocolException { int securityCheckCode = 0; int securityMechanism = 0; byte [] publicKeyIn = null; reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch(codePoint) { //optional case CodePoint.SECMGRNM: // this ...
1,107,202
private int parseACCSEC() throws DRDAProtocolException { int securityCheckCode = 0; int securityMechanism = 0; byte [] publicKeyIn = null; reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch(codePoint) { //optional case CodePoint.SECMGRNM: // this ...
private int parseACCSEC() throws DRDAProtocolException { int securityCheckCode = 0; int securityMechanism = 0; byte [] publicKeyIn = null; reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch(codePoint) { //optional case CodePoint.SECMGRNM: // this ...
1,107,203
private int parseACCSEC() throws DRDAProtocolException { int securityCheckCode = 0; int securityMechanism = 0; byte [] publicKeyIn = null; reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch(codePoint) { //optional case CodePoint.SECMGRNM: // this ...
private int parseACCSEC() throws DRDAProtocolException { int securityCheckCode = 0; int securityMechanism = 0; byte [] publicKeyIn = null; reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch(codePoint) { //optional case CodePoint.SECMGRNM: // this ...
1,107,204
private int parseACCSEC() throws DRDAProtocolException { int securityCheckCode = 0; int securityMechanism = 0; byte [] publicKeyIn = null; reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch(codePoint) { //optional case CodePoint.SECMGRNM: // this ...
private int parseACCSEC() throws DRDAProtocolException { int securityCheckCode = 0; int securityMechanism = 0; byte [] publicKeyIn = null; reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch(codePoint) { //optional case CodePoint.SECMGRNM: // this ...
1,107,205
private DRDAStatement parseCLSQRY() throws DRDAProtocolException, SQLException { Pkgnamcsn pkgnamcsn = null; reader.markCollection(); long qryinsid = 0; boolean gotQryinsid = false; int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.R...
private DRDAStatement parseCLSQRY() throws DRDAProtocolException, SQLException { Pkgnamcsn pkgnamcsn = null; reader.markCollection(); long qryinsid = 0; boolean gotQryinsid = false; int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.R...
1,107,207
private DRDAStatement parseCNTQRY() throws DRDAProtocolException, SQLException { byte val; Pkgnamcsn pkgnamcsn = null; boolean gotQryblksz = false; boolean qryrelscr = true; long qryrownbr = 1; boolean qryrfrtbl = false; int nbrrow = 1; int blksize = 0; int maxblkext = -1; long qryinsid; boolean gotQryinsid = fa...
private DRDAStatement parseCNTQRY() throws DRDAProtocolException, SQLException { byte val; Pkgnamcsn pkgnamcsn = null; boolean gotQryblksz = false; boolean qryrelscr = true; long qryrownbr = 1; boolean qryrfrtbl = false; int nbrrow = 1; int blksize = 0; int maxblkext = -1; long qryinsid; boolean gotQryinsid = fa...
1,107,208
private String parseCcsidMBC(int length) throws DRDAProtocolException { String strVal = null; DRDAStatement currentStatement; currentStatement = database.getCurrentStatement(); if (currentStatement == null) { currentStatement = database.getDefaultStatement(); currentStatement.initialize(); } String cc...
private String parseCcsidMBC(int length) throws DRDAProtocolException { String strVal = null; DRDAStatement currentStatement; currentStatement = database.getCurrentStatement(); if (currentStatement == null) { currentStatement = database.getDefaultStatement(); currentStatement.initialize(); } String cc...
1,107,209
private String parseCcsidSBC(int length) throws DRDAProtocolException { String strVal = null; DRDAStatement currentStatement; currentStatement = database.getCurrentStatement(); if (currentStatement == null) { currentStatement = database.getDefaultStatement(); currentStatement.initialize(); } String ...
private String parseCcsidSBC(int length) throws DRDAProtocolException { String strVal = null; DRDAStatement currentStatement; currentStatement = database.getCurrentStatement(); if (currentStatement == null) { currentStatement = database.getDefaultStatement(); currentStatement.initialize(); } String ...
1,107,211
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check...
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check...
1,107,213
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check...
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check...
1,107,214
private boolean parseDSCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; boolean rtnOutput = true; // default Pkgnamcsn pkgnamcsn = null; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.TYPSQ...
private boolean parseDSCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; boolean rtnOutput = true; // default Pkgnamcsn pkgnamcsn = null; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.TYPSQ...
1,107,215
private void parseEXCSAT() throws DRDAProtocolException { int codePoint; String strVal; // There are three kinds of EXCSAT's we might get. // 1) Initial Exchange attributes. // For this we need to initialize the apprequester. // Session state is set to ATTEXC and then the AR must // follow up with ACCS...
private void parseEXCSAT() throws DRDAProtocolException { int codePoint; String strVal; // There are three kinds of EXCSAT's we might get. // 1) Initial Exchange attributes. // For this we need to initialize the apprequester. // Session state is set to ATTEXC and then the AR must // follow up with ACCS...
1,107,217
private void parseEXCSAT2() throws DRDAProtocolException { int codePoint; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.EXTNAM: case CodePoint.SRVNAM: case CodePoint.SRVRLSLV: case CodePoint.SR...
private void parseEXCSAT2() throws DRDAProtocolException { int codePoint; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.EXTNAM: case CodePoint.SRVNAM: case CodePoint.SRVRLSLV: case CodePoint.SR...
1,107,219
private int parseEXCSQLIMM() throws DRDAProtocolException,SQLException { int codePoint; reader.markCollection(); Pkgnamcsn pkgnamcsn = null; codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.RDBNAM: setDatabase(CodePoint.EXCSQLIMM); ...
private int parseEXCSQLIMM() throws DRDAProtocolException,SQLException { int codePoint; reader.markCollection(); Pkgnamcsn pkgnamcsn = null; codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.RDBNAM: setDatabase(CodePoint.EXCSQLIMM); ...
1,107,221
private boolean parseEXCSQLSET() throws DRDAProtocolException,SQLException { int codePoint; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.RDBNAM: setDatabase(CodePoint.EXCSQLSET); break; // optional ...
private boolean parseEXCSQLSET() throws DRDAProtocolException,SQLException { int codePoint; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.RDBNAM: setDatabase(CodePoint.EXCSQLSET); break; // optional ...
1,107,222
private void parseEXCSQLSETobjects() throws DRDAProtocolException, SQLException { boolean gotSqlStt = false; boolean hadUnrecognizedStmt = false; String sqlStmt = null; int codePoint; DRDAStatement drdaStmt = database.getDefaultStatement(); drdaStmt.initialize(); do { correlationID = reader.readDssHeader();...
private void parseEXCSQLSETobjects() throws DRDAProtocolException, SQLException { boolean gotSqlStt = false; boolean hadUnrecognizedStmt = false; String sqlStmt = null; int codePoint; DRDAStatement drdaStmt = database.getDefaultStatement(); drdaStmt.initialize(); do { correlationID = reader.readDssHeader();...
1,107,224
private void parseEXCSQLSETobjects() throws DRDAProtocolException, SQLException { boolean gotSqlStt = false; boolean hadUnrecognizedStmt = false; String sqlStmt = null; int codePoint; DRDAStatement drdaStmt = database.getDefaultStatement(); drdaStmt.initialize(); do { correlationID = reader.readDssHeader();...
private void parseEXCSQLSETobjects() throws DRDAProtocolException, SQLException { boolean gotSqlStt = false; boolean hadUnrecognizedStmt = false; String sqlStmt = null; int codePoint; DRDAStatement drdaStmt = database.getDefaultStatement(); drdaStmt.initialize(); do { correlationID = reader.readDssHeader();...
1,107,225
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; Pkgnamcsn pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default value ...
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; Pkgnamcsn pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default value ...
1,107,226
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; Pkgnamcsn pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default value ...
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; Pkgnamcsn pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default value ...
1,107,227
private void parseMGRLVLLS(int time) throws DRDAProtocolException { int manager, managerLevel; int currentLevel; // set up vectors to keep track of manager information unknownManagers = new Vector(); knownManagers = new Vector(); errorManagers = new Vector(); errorManagersLevel = new Vector(); if (SanityManager....
private void parseMGRLVLLS(int time) throws DRDAProtocolException { int manager, managerLevel; int currentLevel; // set up vectors to keep track of manager information unknownManagers = new Vector(); knownManagers = new Vector(); errorManagers = new Vector(); errorManagersLevel = new Vector(); if (SanityManager....
1,107,228
private void parseMGRLVLLS(int time) throws DRDAProtocolException { int manager, managerLevel; int currentLevel; // set up vectors to keep track of manager information unknownManagers = new Vector(); knownManagers = new Vector(); errorManagers = new Vector(); errorManagersLevel = new Vector(); if (SanityManager....
private void parseMGRLVLLS(int time) throws DRDAProtocolException { int manager, managerLevel; int currentLevel; // set up vectors to keep track of manager information unknownManagers = new Vector(); knownManagers = new Vector(); errorManagers = new Vector(); errorManagersLevel = new Vector(); if (SanityManager....
1,107,229
private Pkgnamcsn parseOPNQRY() throws DRDAProtocolException, SQLException { Pkgnamcsn pkgnamcsn = null; boolean gotQryblksz = false; int blksize = 0; int qryblkctl = CodePoint.QRYBLKCTL_DEFAULT; int maxblkext = CodePoint.MAXBLKEXT_DEFAULT; int qryrowset = CodePoint.QRYROWSET_DEFAULT; int qryclsimp = DRDAResultS...
private Pkgnamcsn parseOPNQRY() throws DRDAProtocolException, SQLException { Pkgnamcsn pkgnamcsn = null; boolean gotQryblksz = false; int blksize = 0; int qryblkctl = CodePoint.QRYBLKCTL_DEFAULT; int maxblkext = CodePoint.MAXBLKEXT_DEFAULT; int qryrowset = CodePoint.QRYROWSET_DEFAULT; int qryclsimp = DRDAResultS...
1,107,231
private void parseOUTOVR(DRDAStatement stmt) throws DRDAProtocolException, SQLException { boolean first = true; int numVars; int dtaGrpLen; int tripType; int tripId; int precision; int start = 0; while (true) { dtaGrpLen = reader.readUnsignedByte(); tripType = reader.readUnsignedByte(); tripId = reader.re...
private void parseOUTOVR(DRDAStatement stmt) throws DRDAProtocolException, SQLException { boolean first = true; int numVars; int dtaGrpLen; int tripType; int tripId; int precision; int start = 0; while (true) { dtaGrpLen = reader.readUnsignedByte(); tripType = reader.readUnsignedByte(); tripId = reader.re...
1,107,232
private void parseOUTOVR(DRDAStatement stmt) throws DRDAProtocolException, SQLException { boolean first = true; int numVars; int dtaGrpLen; int tripType; int tripId; int precision; int start = 0; while (true) { dtaGrpLen = reader.readUnsignedByte(); tripType = reader.readUnsignedByte(); tripId = reader.re...
private void parseOUTOVR(DRDAStatement stmt) throws DRDAProtocolException, SQLException { boolean first = true; int numVars; int dtaGrpLen; int tripType; int tripId; int precision; int start = 0; while (true) { dtaGrpLen = reader.readUnsignedByte(); tripType = reader.readUnsignedByte(); tripId = reader.re...
1,107,233
private int parsePRPSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; boolean rtnsqlda = false; boolean rtnOutput = true; // Return output SQLDA is default String typdefnam; Pkgnamcsn pkgnamcsn = null; DRDAStatement stmt = null; Database databaseToSet = null; reader.markCollection(); codePoi...
private int parsePRPSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; boolean rtnsqlda = false; boolean rtnOutput = true; // Return output SQLDA is default String typdefnam; Pkgnamcsn pkgnamcsn = null; DRDAStatement stmt = null; Database databaseToSet = null; reader.markCollection(); codePoi...
1,107,235
private int parseSECCHK() throws DRDAProtocolException { int codePoint, securityCheckCode = 0; int securityMechanism = 0; databaseAccessException = null; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { //optional, ignorable case CodePoin...
private int parseSECCHK() throws DRDAProtocolException { int codePoint, securityCheckCode = 0; int securityMechanism = 0; databaseAccessException = null; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { //optional, ignorable case CodePoin...
1,107,237
private int parseSECCHK() throws DRDAProtocolException { int codePoint, securityCheckCode = 0; int securityMechanism = 0; databaseAccessException = null; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { //optional, ignorable case CodePoin...
private int parseSECCHK() throws DRDAProtocolException { int codePoint, securityCheckCode = 0; int securityMechanism = 0; databaseAccessException = null; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { //optional, ignorable case CodePoin...
1,107,238
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { String strVal; PreparedStatement ps = stmt.getPreparedStatement(); int codePoint; EmbedParameterSetMetaData pmeta = null; Vector paramDrdaTypes = new Vector(); Vector paramLens = new Vector(); ArrayList paramExtPosition...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { String strVal; PreparedStatement ps = stmt.getPreparedStatement(); int codePoint; EmbedParameterSetMetaData pmeta = null; Vector paramDrdaTypes = new Vector(); Vector paramLens = new Vector(); ArrayList paramExtPosition...
1,107,239
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { String strVal; PreparedStatement ps = stmt.getPreparedStatement(); int codePoint; EmbedParameterSetMetaData pmeta = null; Vector paramDrdaTypes = new Vector(); Vector paramLens = new Vector(); ArrayList paramExtPosition...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { String strVal; PreparedStatement ps = stmt.getPreparedStatement(); int codePoint; EmbedParameterSetMetaData pmeta = null; Vector paramDrdaTypes = new Vector(); Vector paramLens = new Vector(); ArrayList paramExtPosition...
1,107,240
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { String strVal; PreparedStatement ps = stmt.getPreparedStatement(); int codePoint; EmbedParameterSetMetaData pmeta = null; Vector paramDrdaTypes = new Vector(); Vector paramLens = new Vector(); ArrayList paramExtPosition...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { String strVal; PreparedStatement ps = stmt.getPreparedStatement(); int codePoint; EmbedParameterSetMetaData pmeta = null; Vector paramDrdaTypes = new Vector(); Vector paramLens = new Vector(); ArrayList paramExtPosition...
1,107,241
private void parseTYPDEFOVR(DRDAStatement st) throws DRDAProtocolException { int codePoint; int ccsidSBC = 0; int ccsidDBC = 0; int ccsidMBC = 0; String ccsidSBCEncoding = null; String ccsidDBCEncoding = null; String ccsidMBCEncoding = null; reader.markCollection(); codePoint = reader.getCodePoint(); // at leas...
private void parseTYPDEFOVR(DRDAStatement st) throws DRDAProtocolException { int codePoint; int ccsidSBC = 0; int ccsidDBC = 0; int ccsidMBC = 0; String ccsidSBCEncoding = null; String ccsidDBCEncoding = null; String ccsidMBCEncoding = null; reader.markCollection(); codePoint = reader.getCodePoint(); // at leas...
1,107,243
private void parseTYPDEFOVR(DRDAStatement st) throws DRDAProtocolException { int codePoint; int ccsidSBC = 0; int ccsidDBC = 0; int ccsidMBC = 0; String ccsidSBCEncoding = null; String ccsidDBCEncoding = null; String ccsidMBCEncoding = null; reader.markCollection(); codePoint = reader.getCodePoint(); // at leas...
private void parseTYPDEFOVR(DRDAStatement st) throws DRDAProtocolException { int codePoint; int ccsidSBC = 0; int ccsidDBC = 0; int ccsidMBC = 0; String ccsidSBCEncoding = null; String ccsidDBCEncoding = null; String ccsidMBCEncoding = null; reader.markCollection(); codePoint = reader.getCodePoint(); // at leas...
1,107,244
private void parseTYPDEFOVR(DRDAStatement st) throws DRDAProtocolException { int codePoint; int ccsidSBC = 0; int ccsidDBC = 0; int ccsidMBC = 0; String ccsidSBCEncoding = null; String ccsidDBCEncoding = null; String ccsidMBCEncoding = null; reader.markCollection(); codePoint = reader.getCodePoint(); // at leas...
private void parseTYPDEFOVR(DRDAStatement st) throws DRDAProtocolException { int codePoint; int ccsidSBC = 0; int ccsidDBC = 0; int ccsidMBC = 0; String ccsidSBCEncoding = null; String ccsidDBCEncoding = null; String ccsidMBCEncoding = null; reader.markCollection(); codePoint = reader.getCodePoint(); // at leas...
1,107,245
private boolean positionCursor(DRDAStatement stmt, ResultSet rs) throws SQLException, DRDAProtocolException { boolean retval = false; switch (stmt.getQryscrorn()) { case CodePoint.QRYSCRREL: int rows = (int)stmt.getQryrownbr(); if ((rs.isAfterLast() && rows > 0) || (rs.isBeforeFirst() && rows < 0)) { ...
private boolean positionCursor(DRDAStatement stmt, ResultSet rs) throws SQLException, DRDAProtocolException { boolean retval = false; switch (stmt.getQryscrorn()) { case CodePoint.QRYSCRREL: int rows = (int)stmt.getQryrownbr(); if ((rs.isAfterLast() && rows > 0) || (rs.isBeforeFirst() && rows < 0)) { ...
1,107,247
private boolean positionCursor(DRDAStatement stmt, ResultSet rs) throws SQLException, DRDAProtocolException { boolean retval = false; switch (stmt.getQryscrorn()) { case CodePoint.QRYSCRREL: int rows = (int)stmt.getQryrownbr(); if ((rs.isAfterLast() && rows > 0) || (rs.isBeforeFirst() && rows < 0)) { ...
private boolean positionCursor(DRDAStatement stmt, ResultSet rs) throws SQLException, DRDAProtocolException { boolean retval = false; switch (stmt.getQryscrorn()) { case CodePoint.QRYSCRREL: int rows = (int)stmt.getQryrownbr(); if ((rs.isAfterLast() && rows > 0) || (rs.isBeforeFirst() && rows < 0)) { ...
1,107,248
private boolean positionCursor(DRDAStatement stmt, ResultSet rs) throws SQLException, DRDAProtocolException { boolean retval = false; switch (stmt.getQryscrorn()) { case CodePoint.QRYSCRREL: int rows = (int)stmt.getQryrownbr(); if ((rs.isAfterLast() && rows > 0) || (rs.isBeforeFirst() && rows < 0)) { ...
private boolean positionCursor(DRDAStatement stmt, ResultSet rs) throws SQLException, DRDAProtocolException { boolean retval = false; switch (stmt.getQryscrorn()) { case CodePoint.QRYSCRREL: int rows = (int)stmt.getQryrownbr(); if ((rs.isAfterLast() && rows > 0) || (rs.isBeforeFirst() && rows < 0)) { ...
1,107,249
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; boolean checkSecurityCodepoint = session.requiresSecurityCodepoint(); do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); ...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; boolean checkSecurityCodepoint = session.requiresSecurityCodepoint(); do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); ...
1,107,251
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; boolean checkSecurityCodepoint = session.requiresSecurityCodepoint(); do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); ...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; boolean checkSecurityCodepoint = session.requiresSecurityCodepoint(); do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); ...
1,107,252
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; boolean checkSecurityCodepoint = session.requiresSecurityCodepoint(); do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); ...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; boolean checkSecurityCodepoint = session.requiresSecurityCodepoint(); do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); ...
1,107,253
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; boolean checkSecurityCodepoint = session.requiresSecurityCodepoint(); do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); ...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; boolean checkSecurityCodepoint = session.requiresSecurityCodepoint(); do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); ...
1,107,254
private void readAndSetAllExtParams(DRDAStatement stmt) throws SQLException, DRDAProtocolException { int numExt = stmt.cliParamExtPositions.size(); for (int i = 0; i < stmt.cliParamExtPositions.size(); i++) { int paramPos = ((Integer) (stmt.cliParamExtPositions).get(i)).intValue(); readAndSetExtParam(para...
private void readAndSetAllExtParams(DRDAStatement stmt) throws SQLException, DRDAProtocolException { int numExt = stmt.cliParamExtPositions.size(); for (int i = 0; i < stmt.cliParamExtPositions.size(); i++) { int paramPos = ((Integer) (stmt.cliParamExtPositions).get(i)).intValue(); readAndSetExtParam(para...
1,107,256
private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator...
private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator...
1,107,258
private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator...
private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator...
1,107,259
private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator...
private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator...
1,107,260
private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator...
private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator...
1,107,261
private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator...
private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator...
1,107,262