[freetds] [ freetds-Patches-974778 ] bcp upgrade anddbbind/dbnullbind

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Thu Jun 17 11:40:48 EDT 2004


> 
> Patches item #974778, was opened at 2004-06-17 14:41
> Message generated for change (Tracker Item Submitted) made by 
> Item Submitter
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=407808&aid=9
> 74778&group_id=33106
> 
> Category: db-lib
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Bill Thompson (thompbil)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: bcp upgrade and dbbind/dbnullbind
> 
> Initial Comment:
> This patch contains my rework of the dblibrary bcp api, 
> and also enhancements to freebcp.
> As a by-product, I also enhanced dbbind/dbnullbind
> 
> The patch is a gzipped tar of a directory.
> 
> The directory contains a diff -u file, and after images of 
> all the changed files. This patch was constructed from 
> the snapshot of June 17th 2004

Applied

Following warnings reported (no errors)

dblib.c: In function `buffer_transfer_bound_data':
dblib.c:395: warning: unused variable `destlen'
bcp.c: In function `bcp_init':
bcp.c:99: warning: implicit declaration of function `_bcp_free_storage'
bcp.c:95: warning: unused variable `colsize'
bcp.c: In function `bcp_collen':
bcp.c:226: warning: unused variable `i'
bcp.c:227: warning: unused variable `col_found'
bcp.c: In function `bcp_colptr':
bcp.c:454: warning: unused variable `i'
bcp.c: In function `_bcp_exec_out':
bcp.c:493: warning: unused variable `bcpcol'
bcp.c:498: warning: `srclen' might be used uninitialized in this
function
bcp.c: In function `_bcp_add_fixed_columns':
bcp.c:1241: warning: implicit declaration of function
`_bcp_get_col_data'
bcp.c: In function `bcp_sendrow':
bcp.c:1481: warning: implicit declaration of function
`_bcp_build_bcp_record'
bcp.c:1425: warning: unused variable `bcpcol'
bcp.c:1428: warning: unused variable `i'
bcp.c:1428: warning: unused variable `ret'
bcp.c:1431: warning: unused variable `rowbuffer'
bcp.c:1432: warning: unused variable `row_pos'
bcp.c:1433: warning: unused variable `row_sz_pos'
bcp.c:1434: warning: unused variable `row_size'
bcp.c:1436: warning: unused variable `blob_cols'
bcp.c:1437: warning: unused variable `var_cols_written'
bcp.c: In function `_bcp_exec_in':
bcp.c:1498: warning: unused variable `bcpcol'
bcp.c:1502: warning: unused variable `rowbuffer'
bcp.c:1503: warning: unused variable `row_pos'
bcp.c:1507: warning: unused variable `row_sz_pos'
bcp.c:1508: warning: unused variable `row_size'
bcp.c:1510: warning: unused variable `ret'
bcp.c:1511: warning: unused variable `blob_cols'
bcp.c:1515: warning: unused variable `var_cols_written'
bcp.c: At top level:
bcp.c:2501: warning: `_bcp_build_bcp_record' was used with no prototype
before its definition
bcp.c:2501: warning: `_bcp_build_bcp_record' was declared implicitly
`extern' and later `static'
bcp.c:1599: warning: previous declaration of `_bcp_build_bcp_record'
bcp.c:2729: warning: no previous prototype for `_bcp_get_col_data'
bcp.c: In function `_bcp_get_col_data':
bcp.c:2730: warning: unused variable `i'
bcp.c: At top level:
bcp.c:2863: warning: no previous prototype for `_bcp_free_storage'
freebcp.c: In function `main':
freebcp.c:66: warning: `direction' might be used uninitialized in this
function

freddy77



More information about the FreeTDS mailing list