Antony Dovgal
cbd5396cbb
fix build
2004-07-19 07:35:41 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Antony Dovgal
f6eb507b2c
fix #29012 (Potential race during first connection) thanks to cjbj at hotmail dot com
2004-07-15 11:00:14 +00:00
Antony Dovgal
08486a0ea3
fix #28978 (multiple OCIBindByName on the same placeholder eats memory)
2004-07-12 07:40:05 +00:00
Ilia Alshanetsky
e81addb5ca
C++ comments.
2004-04-29 12:59:26 +00:00
Antony Dovgal
af96ad84b5
hmm. this comma is supposed to be a semicolon.
2004-04-26 14:49:41 +00:00
Antony Dovgal
e001a041f3
add account names & emails
2004-03-24 07:46:18 +00:00
Hartmut Holzgraefe
eeb172b29f
"The Visa to Sibiria" (work in progress)
...
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +00:00
Ard Biesheuvel
81f05c18f5
Wordsize fixes
2004-02-25 20:16:27 +00:00
Antony Dovgal
7837416c2b
this should really fix compile failure with gcc 2.96
2004-02-20 12:47:56 +00:00
foobar
26332c0436
Fix compile failure
2004-02-20 03:16:51 +00:00
foobar
6e15162724
Only use Z_TYPE* with zvals..
2004-02-20 03:05:42 +00:00
Stig Bakken
4127b304ea
* email address update
2004-02-12 19:05:41 +00:00
Stig Bakken
f8125ed92d
* update my email address
2004-02-12 19:03:03 +00:00
Antony Dovgal
d3cd05c95a
fix bug #27149
...
(offset should start with 1)
2004-02-05 08:29:16 +00:00
Antony Dovgal
f1c40a4a22
-remove obsolete types
...
-changes in config.m4 to make oci8 to compile with Oracle 10g
(thanks to cjbj at hotmail dot com for reporting both problems)
2004-02-03 14:21:09 +00:00
Antony Dovgal
c7699856fc
add missing alias for ocifreecursor()
2004-02-02 08:26:15 +00:00
Antony Dovgal
fec01159b1
fix yet another possible segfault
2004-02-02 08:09:53 +00:00
Antony Dovgal
fab593566e
two fixes:
...
-oci_lob_load shouldn't reset LOB's length to zero
-Oracle feels bad, but reports no error, when trying to erase LOB with offset bigger than LOB
2004-01-28 07:15:55 +00:00
Antony Dovgal
6fe26e966d
change to use different allocator (Sascha, thanks =) )
2004-01-26 15:42:24 +00:00
Antony Dovgal
83a1eaf75a
fix this annoying notice about limited range
2004-01-26 15:25:32 +00:00
Antony Dovgal
f64928bdce
improve debug messages
2004-01-26 15:21:52 +00:00
Antony Dovgal
9fcb1dd2c9
oops =(
...
forgot these brackets..
2004-01-26 14:02:08 +00:00
Antony Dovgal
15f22a5796
fix oci_field_type_raw's proto
...
oci_collection_element_get should return FALSE only if there is no such element and NULL, if it's null
2004-01-26 13:59:42 +00:00
Antony Dovgal
a729ce0434
add collections support to win32 build
2004-01-22 14:42:17 +00:00
Antony Dovgal
dbb29baefe
add missing protos
...
and some minor changes
2004-01-22 08:39:50 +00:00
Antony Dovgal
261726099c
MFB
...
oci_lob_save() should be removed indeed, but we're already in feature freeze =(
2004-01-22 08:05:14 +00:00
Antony Dovgal
02ded9766a
*change constant name, coz it doesn't comply with others
...
*add constant's alias, coz others do have aliases
*change protos (oops =))
*add notices to collection functions
*change coll_element_get & coll_assign to inform user, that this type of element is not supported yet.
2004-01-21 16:18:58 +00:00
Antony Dovgal
c375c68073
fix potential segfault in oci_lob_write()
...
change oci_lob_trim() - truncate length should be 0 by default.
2004-01-21 12:30:05 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
Antony Dovgal
88ccaf664e
Add myself at last =)
2004-01-16 10:03:27 +00:00
Antony Dovgal
649b844c3c
Fix bug #26892 , ORA-21301 in ocinewcollection() call.
...
pEnv should be initialized in object mode too.
2004-01-15 15:06:57 +00:00
foobar
ad11617f29
Fix typo
2004-01-15 06:30:23 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
48b96c10d2
glob-ify lib checks; this simplifies writing of config.w32 files a little.
2004-01-07 20:06:32 +00:00
foobar
0eead3672c
ws + cs
2004-01-02 15:32:09 +00:00
foobar
2cf5871377
another ZTS fix
2004-01-02 14:09:49 +00:00
foobar
3c73c91e7a
fix ZTS build
2004-01-02 02:21:44 +00:00
foobar
2b06ad1389
Fix the include path for Zend
2003-12-30 15:40:23 +00:00
Antony Dovgal
12c7ae9f55
workaround for possible ORA-22280 warning if buffers were not flushed
2003-12-25 13:54:50 +00:00
Antony Dovgal
f95db00d6c
separate oci_lob_flush() to use it in oci_lob_append() etc. in the future
2003-12-24 15:01:54 +00:00
Antony Dovgal
107221252c
add oci_fetch_assoc(), oci_fetch_object(), oci_fetch_array() & oci_fetch_row()
...
change ocifetchinto() to use php_oci_fetch_row()
2003-12-23 16:02:53 +00:00
Antony Dovgal
7aac9069d4
huge patch
...
change almost all func names to match naming conventions
keep ocifetchinto & *buffering for awhile - they will be rewritten soon
old names are kept as aliases
2003-12-23 15:45:36 +00:00
Antony Dovgal
cf45beedb5
do not delete connection ids, we need them
2003-12-23 09:21:14 +00:00
Antony Dovgal
f5bd0b73cf
add tests to HEAD
2003-12-19 17:03:12 +00:00
Wez Furlong
0c126e1233
make these build with new win32 build system.
...
mcve untested (I don't have those libs/headers)
2003-12-19 15:04:31 +00:00
Antony Dovgal
c002553d7c
fix bug #26133 (thanks to Harald)
...
rename constant and add library check to config.m4
add info lines to see if Collection & Temp Lob support enabled or not
add OCI_THREADED to use thread safe OCI mode with ZTS (should fix bug #26558 )
2003-12-16 15:58:10 +00:00
Antony Dovgal
c0e519e6ea
fix warning, concerned to second _oci_close_server() call
2003-12-16 15:48:20 +00:00
Harald Radi
e0a0e9d831
fix non-zts build errors
2003-12-16 11:15:55 +00:00