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
Dan Kalowsky
b89d9db706
Reverting last change as it really doesn't fix longreadlen problems in all
...
cases.
2003-01-07 22:56:58 +00:00
Dan Kalowsky
86b99ffcf6
Patch for bug #19349
2003-01-06 18:23:55 +00:00
Dan Kalowsky
b588e10553
Correction for bug #21279
2003-01-06 18:10:06 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
foobar
2972859dcf
ws fixes
2002-11-12 17:31:39 +00:00
Dan Kalowsky
7d74a72dfd
Patch for windows DSN less connection #20086 (by john@johnandlouise.com)
2002-10-31 02:57:06 +00:00
Sascha Schumann
2909e5c9c9
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
...
instances
2002-10-24 13:15:49 +00:00
foobar
2a81281fd2
Align with other configure --help texts
2002-10-21 00:35:17 +00:00
Dan Kalowsky
161e279981
Silencing a compilier warning on windows
2002-08-14 20:40:48 +00:00
Dan Kalowsky
38a6873f20
correcting these to be only docref's not docref1's
2002-08-14 16:23:16 +00:00
Dan Kalowsky
2f1b6397bc
Fix for Bug #17572
2002-08-13 23:48:05 +00:00
Dan Kalowsky
ce160f1bde
fixing my misunderstanding of the php_error_docref
2002-08-13 21:39:36 +00:00
Dan Kalowsky
ea6ed5b8a5
Fixing the php_error_docref's to be compliant with the standard.
...
# Can't we just compress all these docrefs down to one function?!?
2002-08-13 13:26:31 +00:00
Dan Kalowsky
039902b912
spelling error
2002-08-13 04:52:50 +00:00
Dan Kalowsky
aed9e2355c
Added more folding markers....
2002-08-13 04:47:02 +00:00
Dan Kalowsky
099d7df2e5
Let to php_error_docref revolution begin
2002-08-13 00:45:08 +00:00
Dan Kalowsky
7d5d00bf81
Point corrected by Markus
2002-08-12 18:21:33 +00:00
Dan Kalowsky
8d2d105cff
Umm forgot to clean up the error messages, and add a stop for looping.
2002-08-12 16:17:18 +00:00
Dan Kalowsky
ee240f5e4b
cleaned up to work with OpenLink iODBC better
2002-08-12 16:04:48 +00:00
Dan Kalowsky
7b9de90061
okay confirmation they don't exist in another driver... they're gone
2002-08-12 00:00:54 +00:00
Dan Kalowsky
6b31498d09
The start of adding odbc_data_source() functionality
2002-08-11 23:39:03 +00:00
Dan Kalowsky
2832d8df94
WS
2002-07-31 13:51:20 +00:00
Dan Kalowsky
cc491407de
Just adding in an error check that seems to work here well.
2002-07-31 13:50:51 +00:00
foobar
34de1f6578
Better not pollute the EXTRA_LIBS with libpaths.
2002-06-26 21:44:58 +00:00
foobar
748e75774d
- Fixed bug #15803 (and propably others related too, part 2/2)
...
. Changed the configure/compile so that it doesn't "pollute" the INCLUDES
anymore and thus cause trouble with other extensions which
might use the same header files. (e.g. Informix)
. Separated the #include statements to own file so we don't get any
errors when compiling main/internal_functions.c
2002-06-14 00:07:16 +00:00
Dan Kalowsky
d55c9134c8
reverting the cursor change as it seems to break many ODBC drivers.
2002-04-30 13:17:48 +00:00
Dan Kalowsky
ce39ba7265
bug fix for bug #15758 , a double free'ing of an ODBC connection
2002-04-26 14:56:34 +00:00
Dan Kalowsky
55e43151d5
clearing up some code to remove any possible confusion in variable counts
2002-04-24 22:07:29 +00:00
foobar
7cafcc1ef5
ws fix
2002-04-08 22:54:06 +00:00
foobar
edead0523b
CPP directives must start on the beginning of line
2002-04-08 22:21:08 +00:00
jim winstead
d3400b2b5f
the 'setup' script was removed more than two years ago.
...
these can be safely removed from the 4.2 branch, too.
2002-03-16 00:21:40 +00:00
Andi Gutmans
c8e7db984c
- Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR
2002-03-12 20:18:01 +00:00
Sascha Schumann
283b860c58
php_new_extension
2002-03-12 16:53:19 +00:00
Andreas Karajannis
bcdf9b3d4c
Removed sqlrte from SAP DB liblist as it is not needed.
2002-03-12 09:54:46 +00:00
foobar
b4f73cc4f9
- Fix more possible bugs (bug #16008 related)
2002-03-12 02:27:03 +00:00
Dan Kalowsky
af4b22ceb5
Breaking BC, but making odbc_fetch_into behavior more consistent
2002-03-05 16:45:02 +00:00
Dan Kalowsky
1e0ee7b1b5
Added a comment for future reference
2002-03-05 06:15:01 +00:00
James Cox
c63843eb29
typos suck.
2002-03-04 17:09:09 +00:00
James Cox
0c78c87f34
Changing the Velocis extension to now be called Birdstep, due to a product/company change.
...
added aliases for Velocis to the birdstep functions.
# testing is both advised and encouraged!
@ The Velocis extension is no
2002-03-04 09:10:32 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Dan Kalowsky
a4113ee734
Bug fix 15719 as submited by Joseph Southwell and allows NULL values in ODBC
...
# I haven't been able to fully test this due to MacOSX compliation errors.
# if someone in the QA group could that'd be appriciated.
2002-02-26 15:33:54 +00:00
Dan Kalowsky
cd88ac738b
fix for bug 15516, patch submitted by torben@php.net
2002-02-15 17:24:44 +00:00
Derick Rethans
cee660a123
- Fix for bug 15404
2002-02-06 19:10:35 +00:00
Dan Kalowsky
860e2e97ee
Fix for bug #14803
2002-01-30 21:54:54 +00:00
Dan Kalowsky
31cd8e0b75
this closes off a number of ODBC bugs.
...
# this is a bit hack-ish in it's functionality. The proper answer (allowing
# users to set their cursor type) has bugs with some tests cases at this time.
# But this is being done to just get ODBC back into working order.
2002-01-21 14:11:17 +00:00
Hartmut Holzgraefe
3edcf21dda
proto fix
2002-01-04 13:51:03 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Dan Kalowsky
89aa330637
Fix for bug #13628 .
...
# basically handles a SQL_ERROR case for all odbc_execute()'s
2001-12-07 17:21:49 +00:00
Hartmut Holzgraefe
836e8af6ff
proto fixes
2001-12-07 10:17:20 +00:00
Hartmut Holzgraefe
15515da8a2
protos prepared
2001-12-07 07:21:05 +00:00
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Dan Kalowsky
24b54b866f
Patch to stop the crashing behavior exhibited by PHP/ODBC in SOLID/DB2
...
submitted by Walter Franzini (walter@sys-net.it )
@Fix for LONG_VARCHAR type crashing submitted by Walter Franzini (walter@sys-net.it )
#Should this also be put into the 4.0.7 RC cycle?
2001-09-05 16:19:48 +00:00
Andi Gutmans
9a3d4e736c
- More ZE2 fixes
2001-08-13 16:13:25 +00:00
Rasmus Lerdorf
4d11d90880
Track down a few more functions that don't check for 0 args and use
...
faster mechanism
2001-08-13 07:55:39 +00:00
Rasmus Lerdorf
8c497f05c4
We don't consistently check for args passed to functions that don't
...
take any args. In some cases we probably want to skip the check for
performance reasons, but in other cases where performance is unlikely
to be a factor, not throwing a warning on the wrong number of args passed
to a function is at best inconsistent, and at worst it could hide a bug.
So, add a few such checks. There are still lots of cases out there.
2001-08-13 06:43:47 +00:00
Andi Gutmans
d80ee070f9
- Make odbc_fetch_object() work with Engine 2
2001-08-11 18:28:31 +00:00