Commit Graph

283 Commits

Author SHA1 Message Date
Dan Kalowsky
206c05dc47 Checking in a patch by Dave Lawson (dlawson@masterytech.com) to correct
some of the behavior found in the odbc_fetch_*() functions.  This patch
NEEDS to be tested on MS Access before a release is done with it.  This
submission is to get it into the daily builds for testing.
2004-08-13 19:33:24 +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
Dan Kalowsky
f20849d12e Bug 29058 (patch submitted by bug reporter) 2004-07-15 15:09:12 +00:00
Ilia Alshanetsky
0c72b185fd Fixed possible memory leak. 2004-06-18 00:44:35 +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
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
05b9b20ed8 Add new (optional!) win32 build infrastructure.
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +00:00
foobar
7a3ad4172f - Fixed bug #26376 (typo in ext/odbc/config.m4: DBMaker test fails) 2003-11-25 08:07:35 +00:00
Ilia Alshanetsky
4c4d5a02b9 Fixed formatting issues (patch by: Joe Orton) 2003-10-17 02:21:27 +00:00
foobar
db50cd251e Aligned configure help texts. 2003-10-03 05:24:33 +00:00
Moriyoshi Koizumi
5fee3a3ce1 Alignment fix 2003-10-03 01:13:44 +00:00
Zeev Suraski
8767205afa Fix Win32 linkage problems 2003-08-31 12:41:53 +00:00
Andrey Hristov
b2eb454171 format string fixes 2003-08-28 21:00:24 +00:00
foobar
04bbd9a2f7 Revert the patch per Dan\´s request 2003-08-28 16:35:32 +00:00
foobar
29b9d26223 typofix 2003-08-28 09:55:11 +00:00
Dan Kalowsky
0347ca91f4 Committing a patch for IBM DB2 BLOB support submitted by Clara Liu
(clara@zealworks.com).
# I haven't had time to completely test this patch, a few users have stated
# that it works well for them and a few others want to test with windows
# builds, hence the submission.
2003-08-27 18:21:52 +00:00
Ilia Alshanetsky
741014089e emalloc -> safe_emalloc 2003-08-18 04:41:48 +00:00
Ilia Alshanetsky
e6b916cb15 Fixed bug #25081 (odbc_fetch_array() may mangle numeric fields). 2003-08-14 14:36:38 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +00:00
foobar
7f5dc67bb0 Fix compile warning 2003-08-11 02:03:40 +00:00
Zeev Suraski
538d58dd5f Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
foobar
d862a8ee90 WS fix 2003-07-14 16:11:38 +00:00
foobar
c751ba0cc8 Remove un-used code. 2003-07-11 15:56:23 +00:00
Dan Kalowsky
a1d8121bda Fix for bug #22897 2003-07-11 13:13:32 +00:00
Andrey Hristov
8934146246 proto fixes
#my head hurts now. no more fixes today ;)
2003-06-16 16:36:51 +00:00
Frank M. Kromann
60d161a382 Updating email address 2003-06-14 03:35:16 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
foobar
935672787a MFB 2003-05-31 02:30:50 +00:00
Ilia Alshanetsky
ded4aadde0 Fixed bug #23898 (Proper handling of NULLs in odbc_result, odbc_fetch_into
and odbc_result_all)
2003-05-30 14:44:15 +00:00
foobar
20d88e4c34 - Fixed bug #22580 (ext/odbc compile failure with dbmaker) 2003-05-02 00:40:20 +00:00
Wez Furlong
9db67f05e1 UnixODBC also supports the fetch_array() and fetch_object() functions... 2003-04-30 23:32:36 +00:00
Wez Furlong
6fc4f3a2ef Fix memory leak in odbc_fetch_(array|object).
Enable those functions for IBM DB2.
2003-04-30 10:45:45 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
Ilia Alshanetsky
68e36864c9 Fixed spprintf() usage.
Fixed compiler warnings.
2003-03-12 04:46:03 +00:00
foobar
9e501d4f37 - Fixed bug #20715 (odbc could not be compiled as shared extension) 2003-03-11 03:11:36 +00:00
foobar
3c9155e0cb Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
foobar
e32eaf29de Fixed typo caught by Dave. 2003-03-07 04:32:36 +00:00
Ilia Alshanetsky
c5053e0f62 Fixed bug #22437. 2003-03-04 16:34:52 +00:00
foobar
400f466040 Cleanup 2003-02-25 11:48:50 +00:00
Wez Furlong
0a18a9d744 A add much more useful select(2) implementation than is provided by
windows sockets.  The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library.  In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default.  It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe.  This test will only work on NT, win2k and XP platforms.  Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered.  I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Dan Kalowsky
cba812ef5c MFB 2003-02-07 02:59:16 +00:00
Dan Kalowsky
b48d709746 Patch for bug #21844 2003-01-24 22:40:38 +00:00
Ilia Alshanetsky
dc150fd2ea getParameters -> zend_get_parameters_ex. 2003-01-21 15:27:39 +00:00
Ilia Alshanetsky
aebb39b014 Changed php_error to php_error_docref.
Thanks to Marcus Börger for writing a script that significantly simplifies
this process.
2003-01-18 21:31:11 +00:00
Ilia Alshanetsky
e2868b5788 Removed pointless memory allocation checks. 2003-01-18 19:41:56 +00:00
Dan Kalowsky
dacf98c86f typo corrected 2003-01-16 16:42:25 +00:00
Dan Kalowsky
ae8f64e325 Adding in test ability for WIndows to fetch_objects 2003-01-16 16:27:31 +00:00
Ilia Alshanetsky
ac3e8601ae Version is char ;). 2003-01-08 00:38:36 +00:00
Dan Kalowsky
19b25ca5d2 Version tag for future move to PECL 2003-01-07 23:00:11 +00:00