|
Functions |
| static int | _bcp_add_fixed_columns (DBPROCESS *dbproc, BEHAVIOUR behaviour, BYTE *rowbuffer, int start) |
| static int | _bcp_add_variable_columns (DBPROCESS *dbproc, BEHAVIOUR behaviour, BYTE *rowbuffer, int start, int *pncols) |
| static RETCODE | _bcp_build_bulk_insert_stmt (TDSSOCKET *, TDS_PBCB *, TDSCOLUMN *, int) |
| static RETCODE | _bcp_exec_in (DBPROCESS *dbproc, DBINT *rows_copied) |
| static RETCODE | _bcp_exec_out (DBPROCESS *dbproc, DBINT *rows_copied) |
| static char * | _bcp_fgets (char *buffer, size_t size, FILE *f) |
| static void | _bcp_free_columns (DBPROCESS *dbproc) |
| static void | _bcp_free_storage (DBPROCESS *dbproc) |
| 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) |
| static offset_type | _bcp_measure_terminated_field (FILE *hostfile, BYTE *terminator, int term_len) |
| static RETCODE | _bcp_read_hostfile (DBPROCESS *dbproc, FILE *hostfile, int *row_error) |
| static int | _bcp_readfmt_colinfo (DBPROCESS *dbproc, char *buf, BCP_HOSTCOLINFO *ci) |
| static RETCODE | _bcp_send_bcp_record (DBPROCESS *dbproc, BEHAVIOUR behaviour) |
| static RETCODE | _bcp_send_colmetadata (DBPROCESS *) |
| static RETCODE | _bcp_start_copy_in (DBPROCESS *) |
| static RETCODE | _bcp_start_new_batch (DBPROCESS *) |
| static int | rtrim (char *, int) |
| | trim a string of trailing blanks
|