@@ -112,25 +112,25 @@ typedef struct event {
112112} ibase_event ;
113113
114114enum 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 {
139139ZEND_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