Andi Gutmans
c8e7db984c
- Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR
2002-03-12 20:18:01 +00:00
Dan Kalowsky
af4b22ceb5
Breaking BC, but making odbc_fetch_into behavior more consistent
2002-03-05 16:45:02 +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
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
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
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
Sascha Schumann
373b3e101e
more tsrm cleanup -- output.c is not doing any fetches anymore
2001-08-05 15:55:43 +00:00
Zeev Suraski
aa1772ca72
More TSRMLS_FETCH annihilation
2001-07-31 05:44:11 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
797a079a95
More TSRMLS_FETCH work, and a bit of cleanup
2001-07-30 06:18:13 +00:00
Zeev Suraski
7b1c400631
More TSRMLS_FETCH annihilation (Zend compatibility patch)
2001-07-30 04:58:07 +00:00
Andi Gutmans
75ba1461dd
- Object macros...
2001-07-28 19:29:16 +00:00
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
Dan Kalowsky
746dd9cbe4
Closed off Solid DB access to a function that it doesn't support in 3.0 and less.
...
Thanks to Eric Veldhuzen
2001-06-19 17:58:09 +00:00
Dan Kalowsky
f2ec3fa6e5
adding in some error checking for parameter counts, and some thread safety for
...
functions
2001-06-14 15:02:17 +00:00
Dan Kalowsky
a7e9b56112
# just correcting the evil vim removal of {{{'s and }}}'s ... bad vim! no folding for you!
2001-06-11 01:00:43 +00:00
Dan Kalowsky
eea60318d7
corrected a compile error (named variable missing). thanks to sebastian for pointing it out
...
# but why is he getting php-cvs commit messages and i'm not?!?
# i hope to hear that the mailing lists will be back online soon...
2001-06-10 22:40:32 +00:00
Dan Kalowsky
c3a3d5c853
added in a bit more checking on the persistent connection checks...
2001-06-08 15:31:29 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +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
foobar
328258ac08
Output something if password is not set.
2001-06-01 05:01:50 +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
Frank M. Kromann
251996bb79
Fixing prototypes to match function names
2001-05-22 18:26:36 +00:00
Dan Kalowsky
b3a509ac9e
this is a fix for bug 10250. it basically provides the unixODBC driver with
...
access to the SQLDriver functions. patch originally submitted by
dzoll@nyscul.org , and is going to be tested by some of the unixODBC people.
2001-05-08 19:47:20 +00:00
Andi Gutmans
eb4d840a40
- More strncpy() -> strlcpy() changes. Am I getting bored yet? :)
2001-05-02 23:20:04 +00:00
Andi Gutmans
a5a4b4e2f8
- Use memcpy() instead of strlcpy() which is faster.
2001-04-19 21:42:45 +00:00
Dan Kalowsky
d7383e3255
appling patch for joey since he has no ODBC karma. this is for bug #10252
2001-04-19 19:55:05 +00:00
Dan Kalowsky
f41f369754
corrects bug #7488 , patch supplied by submitter (torben@php.net).
...
quick local tests show it to work.
2001-04-19 02:31:23 +00:00
Dan Kalowsky
685186f9fd
This change seems to fix bugs 7158, 7807, 8531, and 8636. After asking why this patch was applied no one seemed to respond with anything useful. If you find this change in error, sorry, I tested it on as many systems as I could.
2001-04-17 02:02:36 +00:00
Kevin
3cd2c989d3
Fixed compatibility issues in the ODBC extension for the Velocis Database server. Specifically, config.m4 was changed to use the client libraries instead of the serer libraries, and to look for the libs in the $RDSHOME/lin directory ass opposed to the $RDSHOME/bin directory. Makefile.in was changed to use the php_odbc.c file as the source for Velocis support. Other misc changes include a few #defines for some undefined data types and some #ifdefs for unsupported functions.
2001-04-10 16:26:28 +00:00
Nick Gorham
971d65059a
Added small change to php_odbc module, to check for failed SQLDisconnects
...
and to close any outstanding transactions if the call fails, then disconnect
again. This can cause chaos with SQL Server, this regards a SELECT as
starting a transaction, and will leave it open if the result set is not all
read.
2001-04-02 15:18:47 +00:00
Dan Kalowsky
959f40a957
The last fix was missing a &, Marc Boeren either made the patch wrong, or I applied it improperly. Anyways, Sebastian Bergmann discovered it, and supposedly is fixed with this.
2001-03-27 15:46:27 +00:00
Dan Kalowsky
0d7729ed58
Fix for Bug #9272 , as submitted by marc boeren (m.boeren@guidance.nl).
...
Applied by me, due to apparently a lack of cvs access to ext/odbc for him.
2001-03-27 14:17:52 +00:00
Frank M. Kromann
f98710c870
Adding a new function odbc_next_result() allowing the query to return more than one result.
...
This can be done with a stored procedure or by sending more than one select to the server.
2001-03-09 23:44:55 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Zeev Suraski
90c8e2cf75
Fix Win32 build
2001-01-15 10:22:19 +00:00