Skip to content

Commit fe5a7d6

Browse files
committed
Whitespace mess
1 parent e6ff7cc commit fe5a7d6

File tree

3 files changed

+30
-31
lines changed

3 files changed

+30
-31
lines changed

ibase_query.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
#include "php_ibase_includes.h"
4040
#include "pdo_firebird_utils.h"
4141

42-
#define ISC_LONG_MIN INT_MIN
43-
#define ISC_LONG_MAX INT_MAX
42+
#define ISC_LONG_MIN INT_MIN
43+
#define ISC_LONG_MAX INT_MAX
4444

45-
#define QUERY_RESULT 1
46-
#define EXECUTE_RESULT 2
45+
#define QUERY_RESULT 1
46+
#define EXECUTE_RESULT 2
4747

48-
#define FETCH_ROW 1
49-
#define FETCH_ARRAY 2
48+
#define FETCH_ROW 1
49+
#define FETCH_ARRAY 2
5050

5151
typedef struct {
5252
ISC_ARRAY_DESC ar_desc;

interbase.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545

4646
#include <time.h>
4747

48-
#define ROLLBACK 0
49-
#define COMMIT 1
50-
#define RETAIN 2
48+
#define ROLLBACK 0
49+
#define COMMIT 1
50+
#define RETAIN 2
5151

5252
#define CHECK_LINK(link) { if (link==NULL) { php_error_docref(NULL, E_WARNING, "A link to the server could not be established"); RETURN_FALSE; } }
5353

php_ibase_includes.h

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -112,25 +112,25 @@ typedef struct event {
112112
} ibase_event;
113113

114114
enum php_interbase_option {
115-
PHP_IBASE_DEFAULT = 0,
116-
PHP_IBASE_CREATE = 0,
115+
PHP_IBASE_DEFAULT = 0,
116+
PHP_IBASE_CREATE = 0,
117117
/* fetch flags */
118-
PHP_IBASE_FETCH_BLOBS = 1,
119-
PHP_IBASE_FETCH_ARRAYS = 2,
120-
PHP_IBASE_UNIXTIME = 4,
118+
PHP_IBASE_FETCH_BLOBS = 1,
119+
PHP_IBASE_FETCH_ARRAYS = 2,
120+
PHP_IBASE_UNIXTIME = 4,
121121
/* transaction access mode */
122-
PHP_IBASE_WRITE = 1,
123-
PHP_IBASE_READ = 2,
122+
PHP_IBASE_WRITE = 1,
123+
PHP_IBASE_READ = 2,
124124
/* transaction isolation level */
125-
PHP_IBASE_CONCURRENCY = 4,
126-
PHP_IBASE_COMMITTED = 8,
127-
PHP_IBASE_REC_NO_VERSION = 32,
128-
PHP_IBASE_REC_VERSION = 64,
129-
PHP_IBASE_CONSISTENCY = 16,
125+
PHP_IBASE_CONCURRENCY = 4,
126+
PHP_IBASE_COMMITTED = 8,
127+
PHP_IBASE_REC_NO_VERSION = 32,
128+
PHP_IBASE_REC_VERSION = 64,
129+
PHP_IBASE_CONSISTENCY = 16,
130130
/* transaction lock resolution */
131-
PHP_IBASE_WAIT = 128,
132-
PHP_IBASE_NOWAIT = 256,
133-
PHP_IBASE_LOCK_TIMEOUT = 512,
131+
PHP_IBASE_WAIT = 128,
132+
PHP_IBASE_NOWAIT = 256,
133+
PHP_IBASE_LOCK_TIMEOUT = 512,
134134
};
135135

136136
#define IBG(v) ZEND_MODULE_GLOBALS_ACCESSOR(ibase, v)
@@ -139,12 +139,11 @@ enum php_interbase_option {
139139
ZEND_TSRMLS_CACHE_EXTERN()
140140
#endif
141141

142-
#define BLOB_ID_LEN 18
143-
#define BLOB_ID_MASK "0x%" LL_MASK "x"
144-
145-
#define BLOB_INPUT 1
146-
#define BLOB_OUTPUT 2
142+
#define BLOB_ID_LEN 18
143+
#define BLOB_ID_MASK "0x%" LL_MASK "x"
147144

145+
#define BLOB_INPUT 1
146+
#define BLOB_OUTPUT 2
148147

149148
#ifdef PHP_WIN32
150149
// Case switch, because of troubles on Windows and PHP 8.0
@@ -166,11 +165,11 @@ void _php_ibase_module_error(char *, ...)
166165
PHP_ATTRIBUTE_FORMAT(printf,1,2);
167166

168167
/* determine if a resource is a link or transaction handle */
169-
#define PHP_IBASE_LINK_TRANS(zv, lh, th) \
168+
#define PHP_IBASE_LINK_TRANS(zv, lh, th) \
170169
do { \
171170
if (!zv) { \
172171
lh = (ibase_db_link *)zend_fetch_resource2( \
173-
IBG(default_link), "InterBase link", le_link, le_plink); \
172+
IBG(default_link), "InterBase link", le_link, le_plink); \
174173
} else { \
175174
_php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, zv, &lh, &th); \
176175
} \

0 commit comments

Comments
 (0)