Example #1
0
void
trace_SQLDescribeColW (int trace_leave, int retcode,
  SQLHSTMT		  StatementHandle,
  SQLSMALLINT		  ColumnNumber,
  SQLWCHAR		* ColumnName,
  SQLSMALLINT		  BufferLength,
  SQLSMALLINT		* NameLengthPtr,
  SQLSMALLINT		* DataTypePtr,
  SQLULEN		* ColumnSizePtr,
  SQLSMALLINT		* DecimalDigitsPtr,
  SQLSMALLINT		* NullablePtr)
{
  /* Trace function */
  _trace_print_function (en_DescribeColW, trace_leave, retcode);
  
  /* Trace Arguments */
  _trace_handle (SQL_HANDLE_STMT, StatementHandle);
  _trace_usmallint (ColumnNumber);
  _trace_string_w (ColumnName, BufferLength, NameLengthPtr, TRACE_OUTPUT_SUCCESS);
  _trace_stringlen ("SQLSMALLINT", BufferLength);
  _trace_smallint_p (NameLengthPtr, TRACE_OUTPUT_SUCCESS);
  _trace_sql_type_p (DataTypePtr, TRACE_OUTPUT_SUCCESS);
  _trace_ulen_p (ColumnSizePtr, TRACE_OUTPUT_SUCCESS);
  _trace_smallint_p (DecimalDigitsPtr, TRACE_OUTPUT_SUCCESS);
  _trace_desc_null (NullablePtr, TRACE_OUTPUT_SUCCESS);
}
Example #2
0
void
trace_SQLExtendedFetch (int trace_leave, int retcode,
  SQLHSTMT		  hstmt,
  SQLUSMALLINT		  fFetchType,
  SQLLEN		  irow,
  SQLULEN 	 	* pcrow,
  SQLUSMALLINT    	* rgfRowStatus)
{
  /* Trace function */
  _trace_print_function (en_ExtendedFetch, trace_leave, retcode);

  /* Trace Arguments */
  _trace_handle (SQL_HANDLE_STMT, hstmt);
  _trace_fetchtype (fFetchType);
  _trace_len (irow);
  _trace_ulen_p (pcrow, TRACE_OUTPUT_SUCCESS);
  _trace_usmallint_p (rgfRowStatus, 0);
}
void 
trace_SQLDescribeParam (int trace_leave, int retcode,
  SQLHSTMT		  hstmt,
  SQLUSMALLINT		  ipar,
  SQLSMALLINT 	 	* pfSqlType,
  SQLULEN	   	* pcbColDef,
  SQLSMALLINT  		* pibScale,
  SQLSMALLINT  		* pfNullable)
{
  /* Trace function */
  _trace_print_function (en_DescribeParam, trace_leave, retcode);

  /* Trace Arguments */
  _trace_handle (SQL_HANDLE_STMT, hstmt);
  _trace_usmallint (ipar);
  _trace_sql_type_p (pfSqlType, TRACE_OUTPUT_SUCCESS);
  _trace_ulen_p (pcbColDef, TRACE_OUTPUT_SUCCESS);
  _trace_smallint_p (pibScale, TRACE_OUTPUT_SUCCESS);
  _trace_smallint_p (pfNullable, TRACE_OUTPUT_SUCCESS);
}