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

« back to all changes in this revision

Viewing changes to DriverManager/SQLProcedureColumns.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: SQLProcedureColumns.c,v 1.1.1.1 2001/10/17 16:40:06 lurcher Exp $
 
30
 * $Id: SQLProcedureColumns.c,v 1.3 2002/12/05 17:44:31 lurcher Exp $
31
31
 *
32
32
 * $Log: SQLProcedureColumns.c,v $
 
33
 * Revision 1.3  2002/12/05 17:44:31  lurcher
 
34
 *
 
35
 * Display unknown return values in return logging
 
36
 *
 
37
 * Revision 1.2  2002/07/24 08:49:52  lurcher
 
38
 *
 
39
 * Alter UNICODE support to use iconv for UNICODE-ANSI conversion
 
40
 *
33
41
 * Revision 1.1.1.1  2001/10/17 16:40:06  lurcher
34
42
 *
35
43
 * First upload to SourceForge
96
104
 
97
105
#include "drivermanager.h"
98
106
 
99
 
static char const rcsid[]= "$RCSfile: SQLProcedureColumns.c,v $ $Revision: 1.1.1.1 $";
 
107
static char const rcsid[]= "$RCSfile: SQLProcedureColumns.c,v $ $Revision: 1.3 $";
100
108
 
101
109
SQLRETURN SQLProcedureColumns(
102
110
    SQLHSTMT           statement_handle,
260
268
            return function_return( statement, SQL_ERROR );
261
269
        }
262
270
 
263
 
        s1 = ansi_to_unicode( sz_catalog_name, cb_catalog_name );
264
 
        s2 = ansi_to_unicode( sz_schema_name, cb_schema_name );
265
 
        s3 = ansi_to_unicode( sz_proc_name, cb_proc_name );
266
 
        s4 = ansi_to_unicode( sz_column_name, cb_column_name );
 
271
        s1 = ansi_to_unicode_alloc( sz_catalog_name, cb_catalog_name, statement -> connection );
 
272
        s2 = ansi_to_unicode_alloc( sz_schema_name, cb_schema_name, statement -> connection );
 
273
        s3 = ansi_to_unicode_alloc( sz_proc_name, cb_proc_name, statement -> connection );
 
274
        s4 = ansi_to_unicode_alloc( sz_column_name, cb_column_name, statement -> connection );
267
275
 
268
276
        ret = SQLPROCEDURECOLUMNSW( statement -> connection ,
269
277
                statement -> driver_stmt,
338
346
    {
339
347
        sprintf( statement -> msg, 
340
348
                "\n\t\tExit:[%s]",
341
 
                    __get_return_status( ret ));
 
349
                    __get_return_status( ret, s1 ));
342
350
 
343
351
        dm_log_write( __FILE__, 
344
352
                __LINE__,