*/
/* Multibyte support Eiji Tokuya 2001-03-15 */
-#include "convert.h"
-
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <sqlext.h>
#endif
+#include "convert.h"
#include <time.h>
#include <math.h>
#include <stdlib.h>
/*
* This function inserts parameters into an SQL statements.
* It will also modify a SELECT statement for use with declare/fetch cursors.
- * This function does a dynamic memory allocation to get rid of query siz elimit!
+ * This function does a dynamic memory allocation to get rid of query size limit!
*/
int
copy_statement_with_parameters(StatementClass *stmt)
time_t t = time(NULL);
struct tm *tim;
SDWORD used;
- char *buffer,
- *buf;
+ char *buffer, *buf;
BOOL in_quote = FALSE, in_dquote = FALSE, in_escape = FALSE;
Oid lobj_oid;
int lobj_fd,
#include "psqlodbc.h"
-#include "isql.h"
-
/* copy_and_convert results */
-#define COPY_OK 0
+#define COPY_OK 0
#define COPY_UNSUPPORTED_TYPE 1
#define COPY_UNSUPPORTED_CONVERSION 2
#define COPY_RESULT_TRUNCATED 3