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
19f947e8
Commit
19f947e8
authored
Sep 03, 1999
by
Byron Nikolaidis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
driver v06-40-0007
parent
51f62ea4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
src/interfaces/odbc/environ.c
src/interfaces/odbc/environ.c
+2
-1
src/interfaces/odbc/statement.c
src/interfaces/odbc/statement.c
+1
-1
src/interfaces/odbc/statement.h
src/interfaces/odbc/statement.h
+1
-0
No files found.
src/interfaces/odbc/environ.c
View file @
19f947e8
...
@@ -111,7 +111,7 @@ int status;
...
@@ -111,7 +111,7 @@ int status;
strcpy
(
szSqlState
,
"00000"
);
strcpy
(
szSqlState
,
"00000"
);
// just information that is returned, no error
// just information that is returned, no error
break
;
break
;
case
STMT_
EXEC
_ERROR
:
case
STMT_
BAD
_ERROR
:
strcpy
(
szSqlState
,
"08S01"
);
strcpy
(
szSqlState
,
"08S01"
);
// communication link failure
// communication link failure
break
;
break
;
...
@@ -195,6 +195,7 @@ int status;
...
@@ -195,6 +195,7 @@ int status;
strcpy
(
szSqlState
,
"S1011"
);
strcpy
(
szSqlState
,
"S1011"
);
break
;
break
;
case
STMT_EXEC_ERROR
:
default:
default:
strcpy
(
szSqlState
,
"S1000"
);
strcpy
(
szSqlState
,
"S1000"
);
// also a general error
// also a general error
...
...
src/interfaces/odbc/statement.c
View file @
19f947e8
...
@@ -875,7 +875,7 @@ QueryInfo qi;
...
@@ -875,7 +875,7 @@ QueryInfo qi;
*/
*/
}
}
else
{
else
{
self
->
errornumber
=
STMT_
EXEC
_ERROR
;
self
->
errornumber
=
STMT_
BAD
_ERROR
;
self
->
errormsg
=
"Error while executing the query"
;
self
->
errormsg
=
"Error while executing the query"
;
}
}
...
...
src/interfaces/odbc/statement.h
View file @
19f947e8
...
@@ -74,6 +74,7 @@ typedef enum {
...
@@ -74,6 +74,7 @@ typedef enum {
#define STMT_VALUE_OUT_OF_RANGE 24
#define STMT_VALUE_OUT_OF_RANGE 24
#define STMT_OPERATION_INVALID 25
#define STMT_OPERATION_INVALID 25
#define STMT_PROGRAM_TYPE_OUT_OF_RANGE 26
#define STMT_PROGRAM_TYPE_OUT_OF_RANGE 26
#define STMT_BAD_ERROR 27
/* statement types */
/* statement types */
enum
{
enum
{
...
...
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