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

« back to all changes in this revision

Viewing changes to DriverManager/SQLBulkOperations.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: SQLBulkOperations.c,v 1.1.1.1 2001/10/17 16:40:05 lurcher Exp $
 
30
 * $Id: SQLBulkOperations.c,v 1.2 2002/12/05 17:44:30 lurcher Exp $
31
31
 *
32
32
 * $Log: SQLBulkOperations.c,v $
 
33
 * Revision 1.2  2002/12/05 17:44:30  lurcher
 
34
 *
 
35
 * Display unknown return values in return logging
 
36
 *
33
37
 * Revision 1.1.1.1  2001/10/17 16:40:05  lurcher
34
38
 *
35
39
 * First upload to SourceForge
89
93
 
90
94
#include "drivermanager.h"
91
95
 
92
 
static char const rcsid[]= "$RCSfile: SQLBulkOperations.c,v $ $Revision: 1.1.1.1 $";
 
96
static char const rcsid[]= "$RCSfile: SQLBulkOperations.c,v $ $Revision: 1.2 $";
93
97
 
94
98
SQLRETURN SQLBulkOperations(
95
99
    SQLHSTMT        statement_handle,
97
101
{
98
102
    DMHSTMT statement = (DMHSTMT)statement_handle;
99
103
    SQLRETURN ret;
 
104
    SQLCHAR s1[ 100 + LOG_MESSAGE_LEN ];
100
105
 
101
106
    /*
102
107
     * check statement
284
289
    {
285
290
        sprintf( statement -> msg, 
286
291
                "\n\t\tExit:[%s]",
287
 
                    __get_return_status( ret ));
 
292
                    __get_return_status( ret, s1 ));
288
293
 
289
294
        dm_log_write( __FILE__, 
290
295
                __LINE__,