"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dblib/bcp.c" between
freetds-1.2.11.tar.bz2 and freetds-1.2.12.tar.bz2

About: freetds is an open-source implementation of the TDS (Tabular DataStream) database client access protocol and related libraries used by Sybase and Microsoft ("making the leap to SQL Server").

bcp.c  (freetds-1.2.11.tar.bz2):bcp.c  (freetds-1.2.12.tar.bz2)
skipping to change at line 184 skipping to change at line 184
if (dbproc->tds_socket->conn->tds_version < 0x500) { if (dbproc->tds_socket->conn->tds_version < 0x500) {
dbperror(dbproc, SYBETDSVER, 0); dbperror(dbproc, SYBETDSVER, 0);
return FAIL; return FAIL;
} }
if (tblname == NULL) { if (tblname == NULL) {
dbperror(dbproc, SYBEBCITBNM, 0); dbperror(dbproc, SYBEBCITBNM, 0);
return FAIL; return FAIL;
} }
if (strlen(tblname) > 92 && !IS_TDS7_PLUS(dbproc->tds_socket->conn)) { / if (direction != DB_QUERYOUT && !IS_TDS7_PLUS(dbproc->tds_socket->conn) &
* 30.30.30 */ &
strlen(tblname) > 92) { /* 30.30.30 for Sybase */
dbperror(dbproc, SYBEBCITBLEN, 0); dbperror(dbproc, SYBEBCITBLEN, 0);
return FAIL; return FAIL;
} }
if (direction != DB_IN && direction != DB_OUT && direction != DB_QUERYOUT ) { if (direction != DB_IN && direction != DB_OUT && direction != DB_QUERYOUT ) {
dbperror(dbproc, SYBEBDIO, 0); dbperror(dbproc, SYBEBDIO, 0);
return FAIL; return FAIL;
} }
/* Free previously allocated storage in dbproc & initialise flags, etc. * / /* Free previously allocated storage in dbproc & initialise flags, etc. * /
 End of changes. 1 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)