|
Functions |
| static int | _bcp_add_fixed_columns (DBPROCESS *dbproc, BEHAVIOUR behaviour, BYTE *rowbuffer, int start) |
| | Add fixed size columns to the row.
|
| static int | _bcp_add_variable_columns (DBPROCESS *dbproc, BEHAVIOUR behaviour, BYTE *rowbuffer, int start, int *pncols) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static RETCODE | _bcp_build_bulk_insert_stmt (TDSSOCKET *tds, TDS_PBCB *clause, TDSCOLUMN *bcpcol, int first) |
| | - Parameters:
-
|
| static RETCODE | _bcp_exec_in (DBPROCESS *dbproc, DBINT *rows_copied) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static RETCODE | _bcp_exec_out (DBPROCESS *dbproc, DBINT *rows_copied) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static char * | _bcp_fgets (char *buffer, size_t size, FILE *f) |
| | - Parameters:
-
|
| static void | _bcp_free_columns (DBPROCESS *dbproc) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static void | _bcp_free_storage (DBPROCESS *dbproc) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static RETCODE | _bcp_get_col_data (DBPROCESS *dbproc, TDSCOLUMN *bindcol) |
| | For a bcp in from program variables, get the data from the host variable.
|
| static RETCODE | _bcp_get_term_var (BYTE *pdata, BYTE *term, int term_len) |
| | Get the data for bcp-in from program variables, where the program data have been identified as character terminated, This is a low-level, internal function.
|
| static offset_type | _bcp_measure_terminated_field (FILE *hostfile, BYTE *terminator, int term_len) |
| | - Parameters:
-
|
| static RETCODE | _bcp_read_hostfile (DBPROCESS *dbproc, FILE *hostfile, int *row_error) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static int | _bcp_readfmt_colinfo (DBPROCESS *dbproc, char *buf, BCP_HOSTCOLINFO *ci) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static RETCODE | _bcp_send_bcp_record (DBPROCESS *dbproc, BEHAVIOUR behaviour) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static RETCODE | _bcp_send_colmetadata (DBPROCESS *dbproc) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static RETCODE | _bcp_start_copy_in (DBPROCESS *dbproc) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static RETCODE | _bcp_start_new_batch (DBPROCESS *dbproc) |
| | - Parameters:
-
| dbproc | contains all information needed by db-lib to manage communications with the server. |
|
| static int | rtrim (char *str, int len) |
| | trim a string of trailing blanks
|