summaryrefslogtreecommitdiff
path: root/ext/interbase/php_interbase.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-09-26 10:06:22 +0000
committerArd Biesheuvel <abies@php.net>2003-09-26 10:06:22 +0000
commitc40234b47e9197dc098dd8df537a198f8d924734 (patch)
treede2699d6cf4b4774f1a966125d80487b00cd8a34 /ext/interbase/php_interbase.h
parentfbc1386eac57e87f467514668cf80afe35da796e (diff)
downloadphp-git-c40234b47e9197dc098dd8df537a198f8d924734.tar.gz
Let client library pick its own transaction param defaults
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r--ext/interbase/php_interbase.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h
index 176dacdbe6..275363c892 100644
--- a/ext/interbase/php_interbase.h
+++ b/ext/interbase/php_interbase.h
@@ -186,17 +186,17 @@ enum php_interbase_option {
PHP_IBASE_DATE = 2,
PHP_IBASE_TIME = 4,
/* transaction access mode */
- PHP_IBASE_WRITE = 0, /* default */
- PHP_IBASE_READ = 1,
+ PHP_IBASE_WRITE = 1,
+ PHP_IBASE_READ = 2,
/* transaction isolation level */
- PHP_IBASE_CONCURRENCY = 0, /* default */
- PHP_IBASE_COMMITTED = 2,
- PHP_IBASE_REC_NO_VERSION = 0, /* default */
- PHP_IBASE_REC_VERSION = 4,
- PHP_IBASE_CONSISTENCY = 8,
+ PHP_IBASE_CONCURRENCY = 4,
+ PHP_IBASE_COMMITTED = 8,
+ PHP_IBASE_REC_NO_VERSION = 32,
+ PHP_IBASE_REC_VERSION = 64,
+ PHP_IBASE_CONSISTENCY = 16,
/* transaction lock resolution */
- PHP_IBASE_WAIT = 0, /* default */
- PHP_IBASE_NOWAIT = 16
+ PHP_IBASE_WAIT = 128,
+ PHP_IBASE_NOWAIT = 256
};
#ifdef ZTS