Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
...
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Thies C. Arntzen
a9e0de3947
@- Improved the stability of OCIPlogon() after a database restart. (Thies)
2001-07-25 22:34:25 +00:00
Thies C. Arntzen
3db0b1813a
clearify ocisetprefetch
2001-07-14 12:45:42 +00:00
Thies C. Arntzen
0ef0f8e32b
ZVAL_BOOL(v,0) -> ZVAL_FALSE(v)
2001-07-11 12:42:25 +00:00
Thies C. Arntzen
9f3110ea32
fix newly introduced SEFAULT.
2001-07-09 18:01:18 +00:00
Thies C. Arntzen
1e3553bd42
use erealloc for zvals!
2001-07-09 06:48:15 +00:00
Thies C. Arntzen
423613f4ee
@ - Make sure that OCI8 outbound variables are always zero-terminated. (Thies)
2001-07-08 12:37:08 +00:00
Andi Gutmans
c977f29862
- Use ALLOC_HASHTABLE() instead of emalloc(sizeof(HashTable))
2001-06-19 16:03:35 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Andy Sautins
c3106f4c3e
Change OCIFreeColl to OCIFreeCollection for consistency
...
with OCINewCursor/OCIFreeCursor
2001-06-06 00:08:21 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Sterling Hughes
439038759b
should fix compile warnings on win32
2001-05-30 17:49:33 +00:00
Sterling Hughes
c9ce7fcfc3
fix compile
2001-05-30 17:43:32 +00:00
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
2001-05-24 10:07:29 +00:00
Andy Sautins
915875a667
- Add correct OCIObjectFree to free collections immediately ( OCI_FREECOLLECTION_FORCE )
...
- Added schema optional parameter to OCINewCollection to allow accessing types in
other schemas.
- Added OCI_TYPECODE_TABLE to OCINewCollection to allow creation of collection of TYPES
as well as VARRAYS
2001-05-22 23:16:03 +00:00
Thies C. Arntzen
a085b708e1
namespace-protect "open"
2001-05-04 14:53:45 +00:00
Andi Gutmans
4c823e8a89
- Change macros from V_ to VCWD_ because of AIX name clash
2001-04-30 12:45:02 +00:00
Andy Sautins
1dc4678d44
Collections cleanup
...
- Removed date specific methods. Dates work consistently with
the rest of the oci8 code.
- Removed unused variables from collection code.
- RETURN_FALSE on all errors.
- fix error prints to php_error.
2001-04-25 17:48:30 +00:00
Thies C. Arntzen
c03efd49f4
fixed ZTS buidl - still some WS pollution left
2001-04-23 11:54:02 +00:00
Jason Greene
ebad4ff6af
Change all // to /* */, fixed small whitespace.
...
Builds on Solaris now.
2001-04-19 22:00:34 +00:00
Thies C. Arntzen
c42f260145
enable temporary LOBs when we detect oracle 8.1
...
enabled by default in Win32 project!
2001-04-14 09:51:29 +00:00
Thies C. Arntzen
8ac2502dfe
@- Added temporary LOB support in OCI8 (Patch by David Benson)
2001-04-14 08:38:46 +00:00
Thies C. Arntzen
b9216bcc1b
@ - OCI8 now supports binding of collections
...
@ (Patch by Andy Sautins <asautins@veripost.net>)
2001-04-13 14:43:39 +00:00
Thies C. Arntzen
cb88701315
never initialize oci in OCI_THREADED mode. seems to break win32.
2001-04-11 15:46:03 +00:00
Thies C. Arntzen
1b7eaa76c4
@- Fixed binding of ROWIDs in OCI8. (Thies)
2001-03-02 09:12:55 +00:00
Andi Gutmans
01ed33d1b6
- Pointed out by Andrei. zval_ptr_dtor() should be used instead of the
...
zval_del_ref() function which should be nuked.
2001-02-27 20:16:35 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Thies C. Arntzen
5f4090d0e0
- Fixed crash in OCI8 when using unitialized LOBs. (Thies)
2001-02-18 11:10:30 +00:00
Thies C. Arntzen
67c2eaa6ea
make oci work again.
2001-02-17 15:54:40 +00:00
Thies C. Arntzen
8499b430cf
@- Fixed some modules to allow using output-buffering. (Thies)
...
i nuked all unneded calls to php_header() - i'm not too sure how we do
handle HEAD Requests as they were only detected via php_header(). but calling
php_header from a module makes output-buffering unusable.
NOTICE: there is some EBSDIC stuff in gd.c - i think it's obsolete.
2001-02-15 14:49:01 +00:00
Thies C. Arntzen
ecaeac5881
ocifreedesc() now spits a NOTICE when called the "wrong" way.
2001-02-14 13:06:03 +00:00
Thies C. Arntzen
201342385e
@- Improved OCI8 dead-session detection. (Patch by: George Schlossnagle)
2001-02-12 14:36:28 +00:00
Thies C. Arntzen
d79071b2da
fix small leak in ociexecute()
...
fixes : #8573
submitted by: tcarroll@chc-chimes.com
2001-01-07 11:43:07 +00:00
Thies C. Arntzen
31f63bee93
don't use TLS in MINIT function.
2000-11-16 10:16:22 +00:00
Thies C. Arntzen
db65d0e076
@- Fixed column-title buffer-overflow in OCIFetchStatement(). (Thies)
...
fix #7784
2000-11-13 17:30:52 +00:00
Thies C. Arntzen
825457ae64
update my email.
2000-10-29 09:14:55 +00:00
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
2000-10-25 17:44:02 +00:00
Thies C. Arntzen
248d8527fd
@- OCIBindByName() now does better parameter-checking. (Thies)
2000-10-22 19:33:59 +00:00
Daniel Beulshausen
1d582b8829
added missing def.
2000-10-21 21:17:31 +00:00
Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
...
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number
@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Thies C. Arntzen
6b5441c30f
@- Fixed returning of empty LOB fields in OCI8. (Thies)
2000-10-07 09:10:54 +00:00
Thies C. Arntzen
ffad41019e
compile fix
2000-08-16 15:23:05 +00:00
Hartmut Holzgraefe
66f9f8bf38
return type in proto for OCIError fixed
2000-08-11 13:13:11 +00:00
Thies C. Arntzen
e05fbd00c2
fixed binary mode for Win32
2000-08-07 12:01:52 +00:00
Thies C. Arntzen
8289c85438
@- Fixed CLOB handling in OCI8 driver when using variable-width
...
@ character sets. (Thies)
2000-08-07 11:34:48 +00:00
Thies C. Arntzen
53defde3e2
@- Fixed warning when shutting down OCINLogon() connections. (Thies)
2000-08-05 10:45:55 +00:00
Thies C. Arntzen
34dfe582ff
@- OCIError() would sometimes not report failed connections. (Thies)
2000-08-05 10:07:39 +00:00
Thies C. Arntzen
cef6cc1ec0
fixed uninitilized var in ZTS mode.
2000-07-15 14:54:04 +00:00
Thies C. Arntzen
d58ff645ff
@- Fixed crash on OCI?Logon() failure. (thies)
2000-07-03 15:05:46 +00:00