~ubuntu-branches/debian/sid/unixodbc/sid

« back to all changes in this revision

Viewing changes to DriverManager/SQLParamData.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2004-10-15 03:07:52 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041015030752-dzw4vhxlgycz3woj
Tags: 2.2.4-11
Brown paper bag me: conflicts do not write themselves just because
you add a line to the changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 *
28
28
 **********************************************************************
29
29
 *
30
 
 * $Id: SQLParamData.c,v 1.1.1.1 2001/10/17 16:40:06 lurcher Exp $
 
30
 * $Id: SQLParamData.c,v 1.2 2002/12/05 17:44:31 lurcher Exp $
31
31
 *
32
32
 * $Log: SQLParamData.c,v $
 
33
 * Revision 1.2  2002/12/05 17:44:31  lurcher
 
34
 *
 
35
 * Display unknown return values in return logging
 
36
 *
33
37
 * Revision 1.1.1.1  2001/10/17 16:40:06  lurcher
34
38
 *
35
39
 * First upload to SourceForge
101
105
 
102
106
#include "drivermanager.h"
103
107
 
104
 
static char const rcsid[]= "$RCSfile: SQLParamData.c,v $ $Revision: 1.1.1.1 $";
 
108
static char const rcsid[]= "$RCSfile: SQLParamData.c,v $ $Revision: 1.2 $";
105
109
 
106
110
SQLRETURN SQLParamData( SQLHSTMT statement_handle,
107
111
           SQLPOINTER *value )
108
112
{
109
113
    DMHSTMT statement = (DMHSTMT) statement_handle;
110
114
    SQLRETURN ret;
 
115
    SQLCHAR s1[ 100 + LOG_MESSAGE_LEN ];
111
116
 
112
117
    /*
113
118
     * check statement
303
308
        sprintf( statement -> msg, 
304
309
                "\n\t\tExit:[%s]\
305
310
                \n\t\t\tValue = %p",
306
 
                    __get_return_status( ret ),
 
311
                    __get_return_status( ret, s1 ),
307
312
                    *value );
308
313
 
309
314
        dm_log_write( __FILE__,