Kaydet (Commit) 626da721 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

duplicated code

Change-Id: Ifa9b93b2daf0bb448711eb1bd3ebab69febf4f9c
üst 7b4e7e02
......@@ -199,31 +199,6 @@ sal_Bool SAL_CALL OPreparedStatement::execute( ) throw(SQLException, RuntimeExc
{
}
// Now loop while more data is needed (i.e. a data-at-
// execution parameter was given). For each parameter
// that needs data, put the data from the input stream.
while (needData) {
// Get the parameter number that requires data
sal_Int32* paramIndex = 0;
N3SQLParamData (m_aStatementHandle,(SQLPOINTER*)&paramIndex);
// If the parameter index is -1, there is no more
// data required
if (*paramIndex == -1) {
needData = sal_False;
}
else {
// Now we have the proper parameter index,
// get the data from the input stream
// and do a SQLPutData
putParamData(*paramIndex);
}
}
// Now determine if there is a result set associated with
// the SQL statement that was executed. Get the column
// count, and if it is not zero, there is a result set.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment