Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 72f3b9f

Browse files
committed
More cleanups.
1 parent 9c891ac commit 72f3b9f

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

src/interfaces/odbc/connection.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929

3030
typedef enum
3131
{
32-
CONN_NOT_CONNECTED, /* Connection has not been established */
33-
CONN_CONNECTED, /* Connection is up and has been
34-
* established */
35-
CONN_DOWN, /* Connection is broken */
36-
CONN_EXECUTING /* the connection is currently executing a
37-
* statement */
32+
CONN_NOT_CONNECTED, /* Connection has not been established */
33+
CONN_CONNECTED, /* Connection is up and has been
34+
* established */
35+
CONN_DOWN, /* Connection is broken */
36+
CONN_EXECUTING /* the connection is currently executing a
37+
* statement */
3838
} CONN_Status;
3939

4040
/* These errors have general sql error state */

src/interfaces/odbc/isql.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ typedef signed short RETCODE;
3030
#define SQL_MAX_DSN_LENGTH 32
3131

3232
/* return code */
33-
#define SQL_INVALID_HANDLE (-2)
34-
#define SQL_ERROR (-1)
35-
#define SQL_SUCCESS 0
36-
#define SQL_SUCCESS_WITH_INFO 1
37-
#define SQL_NO_DATA_FOUND 100
33+
#define SQL_INVALID_HANDLE (-2)
34+
#define SQL_ERROR (-1)
35+
#define SQL_SUCCESS 0
36+
#define SQL_SUCCESS_WITH_INFO 1
37+
#define SQL_NO_DATA_FOUND 100
3838

3939
/* standard SQL datatypes (agree with ANSI type numbering) */
4040
#define SQL_CHAR 1

src/interfaces/odbc/isqlext.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@
128128

129129
#define SQL_API_SQLDRIVERS 71
130130
#define SQL_API_SQLBINDPARAMETER 72
131-
#define SQL_EXT_API_LAST SQL_API_SQLBINDPARAMETER
132-
#define SQL_NUM_EXTENSIONS (SQL_EXT_API_LAST - SQL_EXT_API_START + 1)
131+
#define SQL_EXT_API_LAST SQL_API_SQLBINDPARAMETER
132+
#define SQL_NUM_EXTENSIONS (SQL_EXT_API_LAST - SQL_EXT_API_START + 1)
133133

134134
#define SQL_API_ALL_FUNCTIONS 0
135135

0 commit comments

Comments
 (0)