Commit Graph

220 Commits

Author SHA1 Message Date
Felipe Pena
133e8c5ccb - Improved fix for #42414 2009-05-14 17:23:51 +00:00
Felipe Pena
c71b5e616f - Fixed bug #42414 (some odbc_*() functions incompatible with Oracle ODBC driver) 2009-05-14 01:25:17 +00:00
Felipe Pena
ae8c593769 - Fixed bug #48038 (odbc_execute changes variables used to form params array) 2009-05-01 03:02:32 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Felipe Pena
8593425a60 - Fix proto 2009-02-17 12:32:06 +00:00
Felipe Pena
219b5e1d96 - Fixed bug #47390 (odbc_fetch_into - BC in php 5.3.0) 2009-02-17 12:03:43 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Patrick van Kleef
ecaf7b46c1 - Added odbc.default_cursortype to control the ODBC cursormodel (bug #43668)
#[DOC]
2008-08-29 19:15:39 +00:00
Patrick van Kleef
20960ec9ed - Fixed code to use ODBC 3.52 datatypes for 64bit systems (bug #43666) 2008-08-29 16:42:50 +00:00
Felipe Pena
06d26cf2a7 - New parameter parsing API
- CS
2008-08-24 20:50:02 +00:00
Felipe Pena
bc0af0579e MFB:
- Added arginfo
- Removed #include "zend_arg_defs.c"
2008-07-05 22:36:55 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Andrey Hristov
d768a03a12 MFB and unify code 2007-10-10 14:32:01 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Stanislav Malyshev
f1c12a32d0 MFB: fix odbc resource handling, patch by Dave Lawson 2007-03-13 00:12:08 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Antony Dovgal
86f29b0cf7 check SQLError() return value and output a meaningful errmsg when it fails 2007-02-19 20:22:29 +00:00
Ilia Alshanetsky
a7a9437199 MFB: Fixed output code inside odbc_result_all() 2007-01-16 18:56:55 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
0958fdb46e use strlcat() 2006-12-28 14:26:30 +00:00
Dmitry Stogov
441d051bcd Fixed compilation (automatic module globals management). 2006-06-14 05:51:16 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a9166edcf4 nuke php3 legacy 2005-12-06 01:00:13 +00:00
foobar
34ad5ab731 - list_entry -> zend_rsrc_list_entry 2005-12-05 23:31:09 +00:00
Dmitry Stogov
90b45fcbbd Fixed crash on AIX 2005-09-08 06:18:47 +00:00
foobar
91860cf594 No HTML output if html_errors is off (bug #34006) 2005-08-05 22:37:48 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Edin Kadribasic
9ac84b2f1a Don't crash on exit by destroying the same hash twice 2005-07-02 22:48:06 +00:00
Antony Dovgal
7e450f528c fix bug #33214 (odbc_next_result does not signal SQL errors with 2-statement SQL batches).
Path by rich at kastle dot com.
2005-06-02 15:40:45 +00:00
Antony Dovgal
63fbc27466 fix bug #30430 (odbc_next_result() doesn't bind values and that results in segfault)
fix protos
2005-01-18 15:03:51 +00:00
Antony Dovgal
7c152b6a8e fix weird DB2 issue:
DB2's SQLDataSources() returns _max available_ length of result string instead of
_real_ length and that results in strings a-la "\0                  "
2005-01-17 18:08:54 +00:00
Antony Dovgal
acbdbe1e65 fix leak appearing when odbc_errormsg() got invalid resource 2005-01-17 15:05:11 +00:00
Wez Furlong
f17311c9dd Add support for ODBCRouter 2005-01-13 02:06:39 +00:00
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
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
4c4d5a02b9 Fixed formatting issues (patch by: Joe Orton) 2003-10-17 02:21:27 +00:00
Zeev Suraski
8767205afa Fix Win32 linkage problems 2003-08-31 12:41:53 +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