Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
af700146
Commit
af700146
authored
Aug 27, 2001
by
Hiroshi Inoue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a complie error on Windows platform.
parent
34fd5088
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
src/interfaces/odbc/convert.c
src/interfaces/odbc/convert.c
+3
-5
src/interfaces/odbc/convert.h
src/interfaces/odbc/convert.h
+1
-3
No files found.
src/interfaces/odbc/convert.c
View file @
af700146
...
...
@@ -17,8 +17,6 @@
*/
/* Multibyte support Eiji Tokuya 2001-03-15 */
#include "convert.h"
#include <stdio.h>
#include <string.h>
#include <ctype.h>
...
...
@@ -37,6 +35,7 @@
#include <sqlext.h>
#endif
#include "convert.h"
#include <time.h>
#include <math.h>
#include <stdlib.h>
...
...
@@ -939,7 +938,7 @@ into_table_from(const char *stmt)
/*
* 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
e
limit!
* This function does a dynamic memory allocation to get rid of query siz
e
limit!
*/
int
copy_statement_with_parameters
(
StatementClass
*
stmt
)
...
...
@@ -961,8 +960,7 @@ 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
,
...
...
src/interfaces/odbc/convert.h
View file @
af700146
...
...
@@ -11,10 +11,8 @@
#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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment