Commit Graph

15463 Commits

Author SHA1 Message Date
Wez Furlong
742b0ab676 build bundled sqlite on win32 2005-02-28 03:23:56 +00:00
Wez Furlong
c145e5a7e3 juggle around a bit; commit generated file 2005-02-28 03:21:52 +00:00
Wez Furlong
f58e2006d5 fix for PECL Bug #3452 2005-02-28 01:30:14 +00:00
Marcus Boerger
fdc3fce335 - Fix missapplied logic inversion 2005-02-28 01:08:07 +00:00
Marcus Boerger
8de753f09e - Add tests 2005-02-27 23:15:52 +00:00
Marcus Boerger
fef7cb4e29 - Disable direct serializing for PHP 5.0 2005-02-27 22:58:08 +00:00
Marcus Boerger
6b18b88b2c - Allow default fetch mode to contain fetch flags 2005-02-27 22:48:14 +00:00
Marcus Boerger
d0a76e992b - Add new test 2005-02-27 22:39:35 +00:00
Marcus Boerger
03a4a8c11d - Add some fetch column related capailities
- Add direct (classtype based) unserializing capabilities
2005-02-27 22:32:11 +00:00
Marcus Boerger
893e9c0498 - Add new test 2005-02-27 22:25:11 +00:00
Marcus Boerger
c4bc32ff7b - Add two new methods
- Fix signature, no need to cast it
2005-02-27 22:21:17 +00:00
Hartmut Holzgraefe
f7e8fcb8e0 fully distinguish between database and statement level errors 2005-02-27 20:34:36 +00:00
Ilia Alshanetsky
0367674517 Fixed compiler warnings. 2005-02-27 17:08:18 +00:00
Hartmut Holzgraefe
dd7d41e938 use fetch_fields only once and remember the result 2005-02-27 12:43:23 +00:00
Hartmut Holzgraefe
04f2f981e0 changed the error checks on result set retrieval
UPDATEs not modifying anything are not actually bugs
2005-02-27 12:15:47 +00:00
Hartmut Holzgraefe
81770f3c39 no need to check for execution status, always free a result set if there
is one
2005-02-27 12:05:46 +00:00
Hartmut Holzgraefe
fa5070b39c just to be sure ... 2005-02-27 11:55:39 +00:00
Hartmut Holzgraefe
beb7151936 cols 2005-02-27 11:46:38 +00:00
Hartmut Holzgraefe
8725ed75cd CS / whitespace 2005-02-27 11:42:18 +00:00
Hartmut Holzgraefe
d3fcc41be7 use auto generated error -> state mappings 2005-02-27 11:39:15 +00:00
Hartmut Holzgraefe
4c4ec3c5db line endings 2005-02-27 11:36:07 +00:00
Hartmut Holzgraefe
409a94ffea error code mapping (generated from mysql 5 sql_state.h file using
the get_error_codes.php script)
2005-02-27 11:31:49 +00:00
Stanislav Malyshev
634a5ec6f8 fix typo 2005-02-27 11:30:41 +00:00
Hartmut Holzgraefe
49a383ef4f initial checkin 2005-02-27 11:29:17 +00:00
Sara Golemon
00c6078ff1 Enum filters in phpinfo() 2005-02-27 08:12:12 +00:00
Wez Furlong
ae5649598d upgrade bundled sqlite to sqlite 3.1.3 2005-02-27 05:20:19 +00:00
Wez Furlong
cbe40ddd2d fix comma 2005-02-27 01:30:58 +00:00
Wez Furlong
2c5b2fc105 Alan: moved your fields away, but reserved you a pointer.
Changed PDO::lastInsertId() to have following proto:

	string PDO::lastInsertId([string name])

this allows arbitrary unique identitifers to be returned from the driver.

The optional name parameter is for databases that require additional contextual
information to be able to return the correct identifier.  None currently use
it, but pgsql will be on the list of drivers that do.
2005-02-26 17:27:51 +00:00
Wez Furlong
31239f2130 *cough* 2005-02-26 16:03:55 +00:00
Wez Furlong
09fee0bf21 and the generated file 2005-02-26 15:45:43 +00:00
Wez Furlong
b4ad599df2 fix for PECL #3545 2005-02-26 15:44:38 +00:00
Wez Furlong
31f5f8f907 fix line endings 2005-02-26 15:41:54 +00:00
Wez Furlong
8be87fbab0 fix broken line endings 2005-02-26 15:35:41 +00:00
Marcus Boerger
f6bf9e67a8 - Make detection work for macros 2005-02-26 02:15:00 +00:00
Marcus Boerger
ec2babc448 - Simplify 2005-02-26 02:06:49 +00:00
Marcus Boerger
74dba52933 - Prepare for db1.85 emulation with db3 2005-02-26 01:05:33 +00:00
Marcus Boerger
9ffeb12c4c - Add support for db1 through emulation
# Most probably db4 requires a slightly different detection since functions
# are macros which most probably doesn't work with current configure check.
2005-02-25 23:51:53 +00:00
Frank M. Kromann
28dbc778d8 FreeTDS does not have support for DBTEXTLIMIT 2005-02-25 23:24:18 +00:00
Frank M. Kromann
9d0e081c56 Kill warnings. There should be no need for this flag as it's already defined in libxml headers. 2005-02-25 22:59:26 +00:00
Marcus Boerger
d907a500bd - Align 2005-02-25 20:02:45 +00:00
Antony Dovgal
4707b43193 fix bug preventing from building oci8 as shared module
(patch by stanislav dot voroniy at portavita dot nl)
2005-02-25 11:31:10 +00:00
Georg Richter
2e2bfb83c4 fix for bug #31939 2005-02-25 08:43:41 +00:00
Marcus Boerger
5b1af1c1ed - Change to enable (synch with unix build system) 2005-02-25 01:17:45 +00:00
Ilia Alshanetsky
a3085602d0 Fixed bug #32081 (default socket value is not being used). 2005-02-24 23:58:59 +00:00
Marcus Boerger
89d75d5c9c - Little speed up 2005-02-24 20:22:40 +00:00
Marcus Boerger
72dc2d1025 - This must be == 1 2005-02-24 20:22:18 +00:00
foobar
34805e8d39 - Fixed all buildconf warnings + cross-compiling issues 2005-02-24 19:27:10 +00:00
foobar
129a8a7607 - Generated with re2c 0.9.4 2005-02-24 17:50:20 +00:00
Pierre Joye
a6b93ee6a0 - we do not use any global 2005-02-24 15:35:56 +00:00
Pierre Joye
ec93388662 - we do not need this function anymore 2005-02-24 15:30:24 +00:00
Pierre Joye
19c1535ae5 - revert previous commit, use libxml version to enable or not a function
(safer)
- add xmlwriter_flush, flush the buffer, works with both file and mem
  buffer, BC kept
- use ifdef for the function implementation
(Rob, Pierre)
2005-02-24 15:08:37 +00:00
Stanislav Malyshev
8919a7ae08 fix typo 2005-02-24 10:58:16 +00:00
Marcus Boerger
f982890a58 - Missed during last committs somehow 2005-02-24 00:14:50 +00:00
Marcus Boerger
30f870f957 - Prevent superflous memory allocation 2005-02-24 00:12:15 +00:00
Marcus Boerger
b89fda667f - Drop driver name from generic tests and reserve those names for driver
specific tests.
# Well a little design correction
2005-02-24 00:11:16 +00:00
Ilia Alshanetsky
fac3e54ad9 Additional safety checks.
# More to follow
2005-02-23 23:39:36 +00:00
Marcus Boerger
b786b93b7a - Delay ctor call so that it can overwrite everything and the data can
already be accessed from the ctor.
2005-02-23 23:28:30 +00:00
Marcus Boerger
03c03f5890 - Checks for older versions of libxml2 2005-02-23 23:02:01 +00:00
Marcus Boerger
3f5e714d7b - Slightly redesign
# More to follow, explanation follows at more public place
2005-02-23 22:49:32 +00:00
Rasmus Lerdorf
06aede5b5d Filter skeleton code. No actual filters yet. 2005-02-23 22:41:43 +00:00
Ard Biesheuvel
f21ab2f60f Fixed bug #31597: ibase_connect() - incorrect warning 2005-02-23 20:20:25 +00:00
Ilia Alshanetsky
bd0d48f7a5 Fixed compiler warning. 2005-02-23 18:53:09 +00:00
Ilia Alshanetsky
5ffe5a485d MFB_4_3: Fixed bug #29521 (compress.bzip2 returns error when used with http
wrapper).
2005-02-23 18:48:49 +00:00
Stefan Esser
0ef1f50383 Correcting bounds check before someone uses this code 2005-02-23 18:26:39 +00:00
Ard Biesheuvel
b9b03a7feb Added search for libfbclient 2005-02-23 17:44:22 +00:00
Moriyoshi Koizumi
d2627b5107 - Synch with the latest checkouts. (include fix by Joe Orton. Thanks.) 2005-02-23 13:35:34 +00:00
Derick Rethans
30d9fd6bba - Fixed bug #32076 (ReflectionMethod :: isDestructor() always return true)
(Patch by Antony Dogval)
2005-02-23 12:20:04 +00:00
Rob Richards
6966023564 fix libxml versions for comments 2005-02-23 11:25:32 +00:00
Stanislav Malyshev
db3fdce304 Custom object serializer infrastructure - PHP implementation
# The detailed announce on the list will follow
2005-02-23 11:17:52 +00:00
Marcus Boerger
e0c445d9b1 - Update docu 2005-02-23 01:34:14 +00:00
Marcus Boerger
3f1738f96d - Add new tests 2005-02-23 01:13:13 +00:00
Marcus Boerger
5f1c3f4a7e - Allow to convert traversable into Iterator 2005-02-23 01:03:16 +00:00
Marcus Boerger
3cb441df9a - Add new tests 2005-02-23 00:56:34 +00:00
Marcus Boerger
40d180a87d - Reorganize ctor_args handling (fixes some bugs) 2005-02-23 00:52:46 +00:00
Marcus Boerger
effe989d91 - Show that PDOStatement implements Traversable 2005-02-23 00:52:14 +00:00
Marcus Boerger
77cf78caa1 - Make ctor args optional 2005-02-23 00:29:44 +00:00
Marcus Boerger
994006abd4 - Need to also revert operator 2005-02-22 21:22:23 +00:00
Marcus Boerger
d235a2bf4a - Put this back in (forgot to revert) 2005-02-22 20:59:52 +00:00
Marcus Boerger
cb9658feef - Revert signature of PDO:prepare()
old: proto object PDO::prepare(string statment [, array driver_options [, string classname ]])
  now: proto object PDO::prepare(string statment [, array options])
  param 'classname' and and 'ctor_args' are now set through options
  using index PDO_ATTR_STATEMENT_CLASS
- Change all deriver_options parameters to 'options' to reflect the fact
  that they may contain statement as well as driver specific flags
2005-02-22 20:25:56 +00:00
Marcus Boerger
3c743e3a98 - Allow to derive PDOStatement
- Verify fetch modes
- Add last fetch mode PDO_FETCH_FUNC (only valid inside fetchAll()) that
  allows to completley customize the way data is treated on the fly
2005-02-22 19:27:34 +00:00
Ilia Alshanetsky
d97da3e222 Fixed bug #31288 (Possible crash in mysql_fetch_field(), if
mysql_list_fields() was not called previously).
2005-02-22 14:58:49 +00:00
Marcus Boerger
18985accc4 - Call dtor 2005-02-22 11:37:53 +00:00
Moriyoshi Koizumi
20f709f339 - Update libmbfl (fixes bug #32063). 2005-02-22 09:57:45 +00:00
Pierre Joye
0802829ad4 - ifdef all (protos and functions) and using the correct version
- fix protos ending
- ws
2005-02-22 08:05:05 +00:00
Ilia Alshanetsky
c7b931d80d Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so). 2005-02-22 00:24:13 +00:00
Marcus Boerger
ab8f1f316b - Add new test 2005-02-21 18:55:51 +00:00
Marcus Boerger
74b1cee57f - Show warnings 2005-02-21 18:54:45 +00:00
Hartmut Holzgraefe
0ef339df92 "SET SESSION" is not supported by MySQL 3.23, as session is the default
scope for SET anyway we can drop the SESSION specifier (PECL Bug #3470)
2005-02-21 16:10:03 +00:00
Pierre Joye
ec684f72f8 - examples usage, initial commit 2005-02-21 15:31:35 +00:00
Moriyoshi Koizumi
3093ceb3da - WS fix. 2005-02-21 15:14:32 +00:00
Moriyoshi Koizumi
0d7845384f - Fix bug #28568 (known_post_content_types is not thread safe).
# What is eventually necessiated is entire SAPI redesign, I think.
2005-02-21 15:14:02 +00:00
Pierre Joye
46eb3e977c - add xmlTextWriterStartComment and xmlTextWriterEndComment support 2005-02-21 15:05:54 +00:00
Ard Biesheuvel
bafbe90392 Fixed PECL bug #3527: Missing quotation marks in php_pdo_firebird_int.h 2005-02-21 13:57:02 +00:00
Moriyoshi Koizumi
01c0d589ef - Fix bug #30868 (evaluated pointer comparison in mbregex causes compile
failure).
2005-02-21 10:19:11 +00:00
Moriyoshi Koizumi
e8901dc170 - Fix bug #30573 (compiler warning due to invalid type cast) 2005-02-21 10:12:43 +00:00
Anantha Kesari H Y
459313c26d In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG 2005-02-21 09:50:48 +00:00
Anantha Kesari H Y
bf427d4a0d NetWare LibC has pwd.h. Removed unwanted extern basic_globals_id declaration for Netware. 2005-02-21 09:44:58 +00:00
Moriyoshi Koizumi
d7d7ca62d4 - Fix bug #29989 (type re_registers redefined in oniguruma.h) 2005-02-21 09:43:55 +00:00
Anantha Kesari H Y
3e204f3e07 NetWare has pwd.h and removed unwanted check on NEW_LIBC while including param.h 2005-02-21 09:17:30 +00:00
Anantha Kesari H Y
8bd83a53ac NetWare LibC has pwd.h 2005-02-21 09:12:44 +00:00
Anantha Kesari H Y
f43386764f In NetWare statfs f_bavail member is known as f_bfree 2005-02-21 09:08:54 +00:00
Moriyoshi Koizumi
8d73dc7bfc - Fix compiler warnings. 2005-02-21 07:57:08 +00:00
Moriyoshi Koizumi
df3c2b5808 - Add testcases for bug #28220 and #30549. 2005-02-21 07:45:37 +00:00
Hartmut Holzgraefe
fd39b78b39 fix for PECL bug #3529 2005-02-20 23:56:14 +00:00
Hartmut Holzgraefe
5f3dd68ac5 fix for PECL bug 3530 2005-02-20 23:08:34 +00:00
Pierre Joye
7eaece85a8 - zend_bool for boolean arg 2005-02-20 22:56:32 +00:00
Moriyoshi Koizumi
a796dc2b81 - Forgot to add this one. 2005-02-20 22:20:23 +00:00
Moriyoshi Koizumi
5b5e012bc2 - Update libmbfl (fixes bug #30549 and #31911).
- Update oniguruma to 3.7.0
2005-02-20 22:18:09 +00:00
Rob Richards
8913ddc295 use new error handling when not throwing exceptions 2005-02-20 22:01:24 +00:00
Rob Richards
b7cf6f4539 add function to allow extensions to use new error handling if set by user 2005-02-20 21:49:45 +00:00
Pierre Joye
f67803801e - more zend_bool.
Fix flush buffer in output_memory
  Fix isparm in start_dtd_entity
2005-02-20 19:31:52 +00:00
Marcus Boerger
a455c7abcb - Shutup notices 2005-02-20 19:26:27 +00:00
Marcus Boerger
5a48f0ec38 - Add tests 2005-02-20 19:26:05 +00:00
Marcus Boerger
fc2276c955 - Change tests to use ' instead of " for string values becuase that is
working for more SQL dialects.
2005-02-20 19:25:17 +00:00
Marcus Boerger
f607beb486 - Forgot to change extension name 2005-02-20 19:12:55 +00:00
Pierre Joye
3e5b42a291 - int is not zend_bool, fixed indented output 2005-02-20 19:00:25 +00:00
Ilia Alshanetsky
1aab604198 Simplify Code. 2005-02-20 18:23:33 +00:00
Marcus Boerger
776144866c - Add tests 2005-02-20 18:23:12 +00:00
Marcus Boerger
94c286f2ef - Attempt at an unified test suite 2005-02-20 17:56:19 +00:00
Marcus Boerger
26677dd2a2 - Add test 2005-02-20 16:16:45 +00:00
Marcus Boerger
d56ce00b85 - Add fetch flag PDO_FETCH_CLASSTYPE 2005-02-20 16:12:57 +00:00
Marcus Boerger
567fd3159d - Update tests 2005-02-20 15:28:31 +00:00
Marcus Boerger
3239a56526 - Only call the ctor once 2005-02-20 15:28:09 +00:00
Marcus Boerger
dcf89ff197 - Bump API 2005-02-20 15:07:29 +00:00
Marcus Boerger
5a2620349e - Fix memleak and optimize PDO_FETCH_CLASS 2005-02-20 14:31:44 +00:00
Marcus Boerger
883ee83478 - Call ctor after initializing the props like regular db exts do 2005-02-20 13:42:03 +00:00
Marcus Boerger
44ab1ef86c - Update test 2005-02-20 13:37:04 +00:00
Marcus Boerger
07a8ea220f - Need to specify class_entry in PDO_FETCH_CLASS mode 2005-02-20 13:33:45 +00:00
Marcus Boerger
96e8cca9bc - Add test 2005-02-19 23:58:03 +00:00
Marcus Boerger
6045a3a5e1 - Add test 2005-02-19 23:48:47 +00:00
Marcus Boerger
b788dc9d2a - Add fetch mode PDO_FETCH_UNIQUE 2005-02-19 23:48:30 +00:00
Marcus Boerger
a452a445cf - Simplify 2005-02-19 23:36:58 +00:00
Marcus Boerger
422e2b639e - Add PDO_FETCH_GROUP test 2005-02-19 23:12:24 +00:00
Marcus Boerger
474fcab623 - Add PDO_FETCH_GROUP to fetchAll() 2005-02-19 23:11:23 +00:00
Marcus Boerger
1fee3962b0 - Update/Add tests 2005-02-19 21:50:46 +00:00
Marcus Boerger
41674da59f - Add full PDO_FETCH_CLASS capabilities to fetchAll() 2005-02-19 21:49:42 +00:00
Marcus Boerger
e6a5ebbdab - Default to stdClass in PDO_FETCH_CLASS mode if no classname is given 2005-02-19 21:35:31 +00:00
Marcus Boerger
89f1128cf4 - Add first tests 2005-02-19 19:52:41 +00:00
Marcus Boerger
253cd12753 - Regroup and add a test 2005-02-19 14:02:24 +00:00
Wez Furlong
cdbe7b7afa add this note. 2005-02-18 15:39:22 +00:00
Wez Furlong
9653864fbd prep for release 2005-02-18 15:32:14 +00:00
Wez Furlong
86708673fb Fix connecting to remote host, patch by Tim Friebe 2005-02-18 15:11:27 +00:00
Derick Rethans
ff1687731d - Fixed bug #32021: Crash caused by range('', 'z') 2005-02-18 13:37:23 +00:00
Rob Richards
b1157ff8d9 Fragment must have associated document to append xml otherwise it is read-only 2005-02-18 11:57:24 +00:00
Rob Richards
e46e7309f8 Fixed bug #32011 (Fragments which replaced Nodes are not globaly useable) 2005-02-18 11:47:20 +00:00
Wez Furlong
3f0f701639 Update for pending PEAR release. 2005-02-18 01:39:36 +00:00
Ilia Alshanetsky
6af3197b90 Improved search paths. 2005-02-17 22:56:47 +00:00
Andi Gutmans
27b13ba47c - Fix Bug #31960: msql_fetch_row() and msql_fetch_array() dropping columns with NULL values 2005-02-17 20:11:20 +00:00
Ilia Alshanetsky
f2eb0acfcf Fixed bug #27633 (Double \r\r problem on ftp_get in ASCII mode on Win32). 2005-02-17 15:37:24 +00:00
Joe Orton
4f4cb65300 Declare error_mapping array as static and more const. 2005-02-17 15:05:16 +00:00
Anantha Kesari H Y
5f243d7af7 NetWare LibC has pwd.h 2005-02-17 13:57:21 +00:00
Anantha Kesari H Y
67a2998335 NetWare libc has pwd.h 2005-02-17 13:56:49 +00:00
Wez Furlong
9296eb0fd2 George too 2005-02-17 04:50:49 +00:00
Wez Furlong
ede312933c ran ./scripts/dev/credits to update credits to reflect recent removals and
additions.
2005-02-17 04:49:52 +00:00
Wez Furlong
55f53a5a96 symlinked pdo drivers under ext.
Enabled PDO and PDO_SQLITE by default.
Fixup PDO header detection so that it searches in the correct order, and
correctly picks up the headers when building from outside of the source
tree.

TODO: make pdo_XXX auto-enable when XXX is enabled.  Volunteers welcome.
2005-02-17 04:23:15 +00:00
foobar
4585c15cb0 - Fixed bug #29554 (compile failure when using --with-pspell=/usr/local) 2005-02-17 03:51:19 +00:00
Marcus Boerger
80af3ac83d - Add version information 2005-02-17 00:24:57 +00:00
Marcus Boerger
e9b635b6e7 - For now we need the simple way 2005-02-17 00:16:00 +00:00
foobar
3f9dc8814e PHP_WIN32 is defined or not defined. 2005-02-16 23:47:38 +00:00
Wez Furlong
7215b2b8fb use a number here, fixes PECL #3493 2005-02-16 18:09:26 +00:00
Edin Kadribasic
d388e4dc16 Enable mbstring use on windows. We were linking against mbstring for
some time now, but have never actually used it on Windows.
Fixes #31980.
2005-02-16 09:53:26 +00:00
Ilia Alshanetsky
43d1785ea1 Fixed bug #31986 (Max nesting limit set too low). 2005-02-15 21:56:17 +00:00
Marcus Boerger
7956ca0211 - SQLite depends on SPL if it is present
- Add SQLiteResult::count()
- SQLiteResult implements Countable if present
2005-02-15 21:09:42 +00:00
Edin Kadribasic
2c306869c5 Fixed bug #3478: handling of 64bit return values on 32bit machine 2005-02-15 12:41:24 +00:00
foobar
67a965a7e0 No tabs here 2005-02-15 01:44:10 +00:00
foobar
b6b3659224 - More sock->error resets 2005-02-14 23:44:23 +00:00
Edin Kadribasic
4a133ae725 ws fix 2005-02-14 23:40:24 +00:00
Edin Kadribasic
70e0849416 Added pg_field_type_oid() function 2005-02-14 23:36:16 +00:00
Edin Kadribasic
84a6e90b7d Added missing defines (#31751) 2005-02-14 23:01:57 +00:00
foobar
a66b053ac9 - Removed duplicate error + reset error in new sockets 2005-02-14 22:16:06 +00:00
Marcus Boerger
3ab88a4718 - Disallow illegal class names (.c part) 2005-02-14 21:03:09 +00:00
Marcus Boerger
ff8055fc5c - Disallow illegal class names 2005-02-14 20:58:22 +00:00
Wez Furlong
6c1c64c2e7 experimental hooks for alan.
Off limits to everyone else... pretend they are not there :)
2005-02-14 15:52:06 +00:00
Antony Dovgal
47e1961561 add markers for nice vim foldings 2005-02-14 13:38:09 +00:00
Antony Dovgal
7d4bf3ccd9 free errmsg & prevent leaks 2005-02-14 13:31:34 +00:00
Antony Dovgal
ff23184893 fix indentation and add check for PDO includes 2005-02-14 12:52:34 +00:00
foobar
28f0397803 Nuke unused code 2005-02-14 08:21:34 +00:00
Edin Kadribasic
6ff3368e1b Simplify 2005-02-13 23:40:30 +00:00
Edin Kadribasic
14819d0f14 Allow pdo to be statically compiled in, while modules remain dynamic 2005-02-13 23:19:00 +00:00
Wez Furlong
06cf185298 fix pdo_mssql.dll build 2005-02-13 23:13:14 +00:00
Marcus Boerger
a57b6bad69 - Be more gracious in reflection API 2005-02-13 23:04:49 +00:00
Ilia Alshanetsky
cd0435b15a Fixed test. 2005-02-13 19:23:53 +00:00
Marcus Boerger
21705a45bf - Little code reordering 2005-02-13 18:30:26 +00:00
Marcus Boerger
f04134aee0 - Drop unneccessary rinit/rshutown,mshutdown
- Add protos
2005-02-13 18:14:34 +00:00
Marcus Boerger
ef2b59f772 - Expand tests to have it work inside PHP 5.0 2005-02-13 18:13:44 +00:00
foobar
3ca8ad73a4 - Missing $Id$ tags 2005-02-13 17:54:04 +00:00
Ilia Alshanetsky
f57b8d6dc5 Set auto-commit after establishing the connection, otherwise we have a crash. 2005-02-13 17:16:24 +00:00
Marcus Boerger
f860c70362 - In fetch mode PDO_FETCH_CLASS handle constructor args
- Add PDOStatement::fetchObject
2005-02-13 17:04:04 +00:00
Marcus Boerger
746d5490cf - Use runtimeException as base if present (synch with other dbs) 2005-02-13 15:40:15 +00:00
Hartmut Holzgraefe
aedea8539c no need to check for all functions of a group,
added check for prepared statement functions
2005-02-13 14:42:46 +00:00
Marcus Boerger
d308d6d462 - Rename 2005-02-13 13:57:51 +00:00
Marcus Boerger
0a9e940ab7 - Add new test 2005-02-13 13:50:30 +00:00
foobar
7281cd8082 MFB_4_3: cvs diff -r1.84.2.5 -r1.84.2.6 php_session.h 2005-02-13 07:55:27 +00:00
Hartmut Holzgraefe
1f98a966c5 fix aclocal "underquoted argument" warnings 2005-02-13 07:31:02 +00:00
Hartmut Holzgraefe
fc20765c5e fix aclocal warning (newer versions are more strict about this) 2005-02-13 07:17:06 +00:00
Hartmut Holzgraefe
e087455493 add function existance check 2005-02-13 07:15:02 +00:00
Wez Furlong
427c5e0e4f tidy up error case 2005-02-13 07:00:29 +00:00
Wez Furlong
0be93c95c9 prep for release 2005-02-13 06:56:16 +00:00
Hartmut Holzgraefe
b6828f5949 Fixed domain socket / named pipe handling 2005-02-13 06:52:45 +00:00
Wez Furlong
81999fdeba Fix variable declaration 2005-02-13 06:42:19 +00:00
Wez Furlong
f2d2da300f zts 2005-02-13 06:41:46 +00:00
Wez Furlong
47d1c2ad65 autocommit flag gets set always by PDO before invoking this method;
we should unconditionally inspect it here.
2005-02-13 06:37:29 +00:00
Wez Furlong
078b77619a commit generated version of the .re 2005-02-13 06:30:36 +00:00
Wez Furlong
0da6a84edf implement mapping of :name to ? parameters for drivers that only support ?
placeholders.
The current restriction is that you may not use the same named parameter
more than one in a given query, as there is a danger of scary things happen
with the zval if it gets bound multiple times.
2005-02-13 06:29:35 +00:00
Wez Furlong
2a32b478f9 typo-fix error message 2005-02-13 06:27:03 +00:00
Wez Furlong
5edd570b94 Correct the pdo header search order 2005-02-13 06:26:48 +00:00
Wez Furlong
fc51fd11b6 it's only an error in emulation mode; rewrite happens in prepare, which
happens before bindParam
2005-02-13 04:00:22 +00:00
Edin Kadribasic
ab9821d8c3 Do not shout :) 2005-02-13 03:27:48 +00:00
Wez Furlong
1051e7076f Fixes the crash part of PECL Bug #3434. 2005-02-13 03:26:43 +00:00
Wez Furlong
0aa82c3c83 same fix here 2005-02-13 03:15:11 +00:00
Wez Furlong
bee7f3d0ac correct backwards logic 2005-02-13 03:01:38 +00:00
Wez Furlong
08f683a645 Probably fix pecl vs bundled-shared build 2005-02-13 02:51:11 +00:00
Wez Furlong
4d80aaf47a try to handle OSX issues more gracefully 2005-02-13 01:54:59 +00:00
Wez Furlong
4dc3b75569 possible fix for snaps box 2005-02-13 01:32:27 +00:00
Antony Dovgal
175bf7e9a3 set username && password only if they were specified 2005-02-13 00:57:48 +00:00
Hartmut Holzgraefe
486370dc7c autocommit setting done right 2005-02-13 00:55:16 +00:00
Hartmut Holzgraefe
5d4fb518ae added MySQL transaction support 2005-02-13 00:51:17 +00:00
Ilia Alshanetsky
5904d59ffd Fixed compiler warnings. 2005-02-12 20:58:29 +00:00
Ilia Alshanetsky
9b394af973 Simplify code and fix compiler warning. 2005-02-12 20:55:28 +00:00
Ilia Alshanetsky
e5a906dcb9 Updated version without compiler warnings. 2005-02-12 20:34:20 +00:00
Marcus Boerger
1a35bcfcbc - Add new test 2005-02-12 18:40:19 +00:00
foobar
f485fc1a83 Missed one place.. 2005-02-12 18:29:42 +00:00
foobar
751712628a This was not good idea. 2005-02-12 18:27:22 +00:00
foobar
30deea4d30 Remove unused set_h_errno 2005-02-12 18:14:03 +00:00
Wez Furlong
9e31b10531 prep for release 2005-02-12 08:23:32 +00:00
Wez Furlong
002545fffb Fix bundled sqlite build (doh!) 2005-02-12 08:20:17 +00:00
Wez Furlong
91eab3e5bc typo 2005-02-11 02:05:05 +00:00
Wez Furlong
1f06eb1c5c update in anticipation of a release later tonight 2005-02-11 01:22:44 +00:00
Wez Furlong
ccd242665b Fix PDO::query() for drivers that emulate bound parameters. 2005-02-11 01:20:59 +00:00
Rob Richards
bb9ba8e36e fix segfault when retval_ptr is empty - such as when exception thrown 2005-02-10 22:59:26 +00:00
Hartmut Holzgraefe
2c6b600a90 test case for Bug #30266 2005-02-10 22:55:52 +00:00
Antony Dovgal
5b78e4c025 hm..
fix #28324 _properly_
2005-02-10 20:22:07 +00:00
Antony Dovgal
94982058b6 fix bug #28324 (HTTP_SESSION_VARS appear when register_long_arrays is Off) 2005-02-10 19:38:11 +00:00
Rob Richards
4967138514 initial cut of new error handling 2005-02-10 15:52:38 +00:00
Pierre Joye
162b91136c - fix #30745 and #31853 (php-bugs at demark dot org, pierre) 2005-02-10 14:31:32 +00:00
Ilia Alshanetsky
f257e10d48 Removed unused vars. 2005-02-10 14:11:06 +00:00
Wez Furlong
877a2bd690 prep for release 2005-02-10 02:06:49 +00:00
Wez Furlong
69cbb7f958 prep for release 2005-02-10 01:56:20 +00:00
Wez Furlong
e9f5fb53f3 only do this magic on non-win32 platforms 2005-02-10 01:34:39 +00:00
Wez Furlong
3b857ea987 rename ancient method 2005-02-09 23:34:53 +00:00
Frank M. Kromann
d2ae18d76e change return value from false to true, when a statement was executed with warnings 2005-02-09 19:32:03 +00:00
Frank M. Kromann
4b0d9e2319 Check for warnings and return the warning texts 2005-02-09 18:49:38 +00:00
Ilia Alshanetsky
ee0e2d0ea3 Touch file. 2005-02-09 17:06:13 +00:00
Ilia Alshanetsky
cd6d5fb18f Fixed compile warnings. 2005-02-09 16:33:00 +00:00
Rasmus Lerdorf
4909775f04 Fix for bug #31901 2005-02-09 16:22:48 +00:00
Ilia Alshanetsky
2196c4335b kill unused var 2005-02-09 16:14:50 +00:00
Ilia Alshanetsky
1b3dd5db8b remove unused vars. 2005-02-09 15:56:27 +00:00
Wez Furlong
94d5261f73 cosmetic changes 2005-02-09 15:12:41 +00:00
Wez Furlong
ad60999858 proper fix for PECL Bug #3412 2005-02-09 14:32:04 +00:00
Rob Richards
08592b38da Fixed bug #31878 (Segmentation fault using clone keyword on nodes) 2005-02-09 11:46:43 +00:00
Wez Furlong
1cdde9e3ed update with changes 2005-02-09 07:02:00 +00:00
Wez Furlong
211206b2e4 Add PDO_ATTR_TIMEOUT support.
Fix PECL Bug #3391
2005-02-09 07:00:00 +00:00
Wez Furlong
f6aa8f5d90 keep a log here for now 2005-02-09 06:44:08 +00:00
Wez Furlong
902ca8c1cf Expose the quoter method of the driver as PDO::quote().
Closes PECL Bug #3393
2005-02-09 06:43:15 +00:00
Wez Furlong
d57a169500 typo fix 2005-02-09 06:14:48 +00:00
Wez Furlong
dbaa3bfdfa hope it works! 2005-02-09 05:26:38 +00:00
Wez Furlong
c28a0b9fcb disable dep 2005-02-09 05:18:02 +00:00
Wez Furlong
44cec3d456 disable dep for pecl release 2005-02-09 05:12:41 +00:00
Wez Furlong
201ec3dc02 prep for release 2005-02-09 05:04:40 +00:00
Wez Furlong
3047ced496 prep for possible release 2005-02-09 05:00:58 +00:00
Wez Furlong
229ea4bbfc update ready for release.
Disable dependency macro for compatibility with existing PHP 5.0.x releases.
2005-02-09 04:57:32 +00:00
Wez Furlong
b9a951aa1a be realistic... 2005-02-09 04:56:10 +00:00
Wez Furlong
5a2cb4154a update ready for release
# includes big hack to help guide people into running "make install" so
# that the headers get installed; works around a pear bug.
2005-02-09 04:54:56 +00:00
Wez Furlong
5304374fc5 fix typo 2005-02-09 00:38:11 +00:00
Marcus Boerger
3fb1c65a41 - Initial Observer implementation 2005-02-08 20:42:48 +00:00
Marcus Boerger
2e8b9c005b - Update to 2005 2005-02-08 19:10:06 +00:00
Marcus Boerger
2f9662d156 - Fix year and speling 2005-02-08 19:05:25 +00:00
Marcus Boerger
e5fe40eac9 - Actually these are private 2005-02-08 19:00:19 +00:00
Ilia Alshanetsky
891745776e Removed pointless operations/declarations. 2005-02-08 15:30:42 +00:00
Ilia Alshanetsky
55fd7ac601 Added optional maxlen parameter to file_get_contents(). 2005-02-08 15:25:45 +00:00
Antony Dovgal
bc27a2af7a move ext/cpdf to PECL 2005-02-08 13:40:37 +00:00
Rasmus Lerdorf
bf7cb1179a Don't need MSHUTDOWN either here 2005-02-08 05:25:48 +00:00
Rasmus Lerdorf
3baf795c17 Get rid of more useless RINIT/RSHUTDOWN calls 2005-02-07 23:04:00 +00:00
Ilia Alshanetsky
aa6cb1055b Fixed bug #31527 (crash in msg_send() when non-string is stored without
being serialized).
2005-02-07 22:31:19 +00:00
Rasmus Lerdorf
9c530d79e7 No reason to call empty RINIT, RSHUTDOWN and MSHUTDOWN functions here 2005-02-07 22:16:46 +00:00
Marcus Boerger
a8552cb2f9 - Add missing '?>' 2005-02-07 16:27:41 +00:00
Antony Dovgal
96610aee08 fix leaks on shutdown
fix leaks appearing when trying to open several "databases"
2005-02-07 13:30:45 +00:00
Wez Furlong
dbcf51b5a8 a working implementation of LOB input parameters for ODBC.
however: when sending in a string from the script, we get a 1 byte overflow
of the pdo parameter structure... Need to install valgrind on the test box
2005-02-07 04:13:32 +00:00
Wez Furlong
ac018c38a8 This might allow piecewise sending of LOB data for input parameters. 2005-02-07 03:27:54 +00:00
Wez Furlong
ae5958570b update 2005-02-07 01:21:58 +00:00
Wez Furlong
29380a8e54 update for input/output parameters change 2005-02-07 01:17:24 +00:00
Wez Furlong
501000f129 Implement input/output parameters 2005-02-07 01:16:16 +00:00
Wez Furlong
36e3ea8cb2 add input/output parameter type flag 2005-02-07 01:12:49 +00:00
Wez Furlong
504afcfc5a and the generated file 2005-02-07 00:26:38 +00:00
Wez Furlong
2bd3536041 handle input LOBs (which are passed as streams) in bound parameter emulation.
Update error handling.
2005-02-07 00:26:22 +00:00
Wez Furlong
af162668e5 fix pointer indirection (and thus leak) 2005-02-07 00:04:20 +00:00
Wez Furlong
7279fe8ab0 centralize this define 2005-02-07 00:02:51 +00:00
Wez Furlong
61981912f8 hmmm 2005-02-06 23:58:53 +00:00
Wez Furlong
d134fb2a8d update for api changes 2005-02-06 23:22:37 +00:00
Wez Furlong
1069cefada support sucking data from streams in file_put_contents() 2005-02-06 23:05:24 +00:00
Ilia Alshanetsky
917648a232 Fixed possible un-initialized var on error. 2005-02-06 22:58:46 +00:00
Edin Kadribasic
22ff90f7ba Adjust for the new get_col api 2005-02-06 22:48:35 +00:00
Wez Furlong
d87c5ec288 update for api changes 2005-02-06 22:34:53 +00:00
Wez Furlong
3130ed3066 make configure smarter.
Update for new get_col() signature
2005-02-06 22:25:33 +00:00
Wez Furlong
ccf0a6a557 add a caller_frees parameter to get_col() to allow drivers that need
to allocate data on demand to do so without worrying about cleaning it up.

Spec out how LOB parameters are returned.
2005-02-06 22:11:12 +00:00
Wez Furlong
e3ba31e899 better handling of pdo-level errors 2005-02-06 21:05:59 +00:00
Wez Furlong
ec98e744be touch again 2005-02-06 21:05:28 +00:00
Wez Furlong
474a65e277 update todo 2005-02-06 19:59:32 +00:00
Wez Furlong
c56419ed78 support getting some more attributes 2005-02-06 17:49:48 +00:00
Wez Furlong
ca4dc0361c this one too 2005-02-06 17:33:12 +00:00
Wez Furlong
9ba84360e3 handle some generic attributes here 2005-02-06 17:25:09 +00:00
Wez Furlong
b2126a848a This will probably fix PECL Bug #3273 2005-02-06 16:46:18 +00:00
Wez Furlong
257dfcdde7 touch file 2005-02-06 16:29:33 +00:00
Timm Friebe
5eb673d1cb - Made error handler not output anything if error was not in error_reporting() mask 2005-02-06 14:08:11 +00:00
Timm Friebe
ca250d16dc - Fixed error handler for situations in which an error
was raised in an include file
2005-02-06 14:06:21 +00:00
Timm Friebe
6a4d498af4 - Initial release
# Used for being able to run .phpt-files in a webserver environment
# Incomplete and pretty basic but serves its purpose ATM
2005-02-06 13:35:09 +00:00
Timm Friebe
57fa001979 - Prefixed all temporary names with "phpt_" 2005-02-06 12:59:03 +00:00
Timm Friebe
2a595d116e - Initial release
# Works perfectly with php-cli
2005-02-06 11:58:53 +00:00
Timm Friebe
e47835b90e - "Unified" test name 2005-02-06 11:58:18 +00:00
Edin Kadribasic
accdde8c19 Finalized pgsql LOB support using native pgsql bytea type.
If paramater is bound with type PDO_PARAM_LOB the quoter function
gets a hint that specific LOB type quoting should be used:

$stmt->bindParam(":lob", $lob, PDO_PARAM_LOB);
2005-02-06 01:27:27 +00:00
Edin Kadribasic
0d9b0606b9 Don't segault when we have placeholders but no bound params 2005-02-06 00:46:17 +00:00
Edin Kadribasic
bf77a39349 Decode pgsql LOB objects (bytea type) on fetch 2005-02-05 22:55:23 +00:00
Edin Kadribasic
64e8c3105c Return lobs as strings for now 2005-02-05 22:46:26 +00:00
Wez Furlong
74821473e2 update separately 2005-02-05 21:30:19 +00:00
Wez Furlong
15e754201f pass param type to quoter functions 2005-02-05 21:29:42 +00:00
Edin Kadribasic
95cc208464 Removed unused variebles.
Return OID as int.
2005-02-05 20:38:47 +00:00
Georg Richter
ef6f0f00a6 fix for bug #29329 2005-02-05 10:59:38 +00:00
foobar
71b9c41a6b fix test 2005-02-04 23:23:34 +00:00
Dmitry Stogov
625b79c3ba Fixed bug #31832 (SOAP encoding problem with complex types in WSDL mode with multiple parts) 2005-02-04 15:42:46 +00:00
Derick Rethans
0242ae498e - Fixed bug #31754 (dbase_open() fails for mode = 1). (Mehdi, Derick) 2005-02-04 14:28:50 +00:00
foobar
b61a63d008 - Fixed bug #31842 (*date('r') does not return RFC2822 conforming date string). 2005-02-04 13:08:56 +00:00
Edin Kadribasic
1a962e9d98 Get OID of the last inserted row 2005-02-04 01:48:01 +00:00
Ilia Alshanetsky
779edcb01d Proper fix for bug #31796 . 2005-02-04 00:21:50 +00:00
Ilia Alshanetsky
5879c5cf21 Fixed bug #31796 (readline completion handler does not handle empty return
values).
2005-02-03 22:45:36 +00:00
Ilia Alshanetsky
996b464e30 Use the created connection string. 2005-02-03 22:24:50 +00:00
Magnus M��tt�
fda27b4465 Fix typos. 2005-02-03 17:02:42 +00:00
Zeev Suraski
11339ee42e Removing this file has been long due...
API's and functionality are stable.
2005-02-02 17:22:19 +00:00
foobar
75b4e2c832 - Moved ext/w32api to PECL. 2005-02-02 14:43:26 +00:00
foobar
0741be6f3c - Moved ext/yp to PECL. 2005-02-02 14:33:23 +00:00
foobar
439c5f4f33 - Moved ext/dio to PECL. 2005-02-02 14:29:58 +00:00
Stanislav Malyshev
7b241027fa fix memory leak if function call fails 2005-02-02 10:37:50 +00:00
Dmitry Stogov
3c31410074 Fixed bug #31747 (SOAP Digest Authentication doesn't work with "HTTP/1.1 100 Continue" response) 2005-02-02 10:34:39 +00:00
Dmitry Stogov
83e6e40438 Fixed bug #31755 (Cannot create SOAP header in no namespace) 2005-02-02 09:11:46 +00:00
Ilia Alshanetsky
8c97b9dc73 Fixed bug #31797 (exif_read_data() uses too low nesting limit). 2005-02-01 23:27:33 +00:00
Marcus Boerger
0bb81ce1d6 - Add ReclectionClass:hasProperty(), ReflectionClass::hasConstant()
to complete api (johannes@php.net)
2005-01-31 22:56:01 +00:00
Dmitry Stogov
fea1b5b3a0 Fixed SIGSEGV when restoring WSDL without functions from cache 2005-01-31 15:08:24 +00:00
Antony Dovgal
5e8cd3a2da fix segfault when failed to open magic file 2005-01-31 15:01:47 +00:00
Dmitry Stogov
950632519b Empty "detail" was removed from SoapFault object. 2005-01-31 14:26:06 +00:00
Dmitry Stogov
6e8d3e9023 Fixed memory allocation bug 2005-01-31 14:02:19 +00:00
Ilia Alshanetsky
112eb3b35d Fix handling of INF/NAN in unserialize(). 2005-01-30 16:38:53 +00:00
Georg Richter
32aaa6a7be fixed a bug in mysql_affected_rows and mysql_stmt_affected_rows
in case affected_rows function returns (my_ulonglong) -1 for errors.
(Thanks to Antony Dovgal for reporting this bug)
2005-01-28 17:35:37 +00:00
Antony Dovgal
999c63d9d7 improve CS & error messages 2005-01-28 16:42:26 +00:00
Antony Dovgal
c61ce71a01 MFB: explain why ftok() failed 2005-01-28 16:36:46 +00:00
Dmitry Stogov
d5d127c3ad Memory leak was fixed 2005-01-28 10:33:46 +00:00
Antony Dovgal
f7326d6279 MFB: fix #31732 2005-01-28 02:00:39 +00:00
Antony Dovgal
3ff7f46fd4 change return type from NULL to FALSE when parameter parsing failed
(as was requested by Ilia)
2005-01-28 01:38:56 +00:00
Antony Dovgal
75725c57a5 MFB: fix posix_getsid() & posix_getpgid() 2005-01-28 00:27:48 +00:00
Frank M. Kromann
a13734d2f7 Hack to fix crash caused by FBCAccess not returning errors when creating an index that exists in the database. 2005-01-27 20:13:04 +00:00
Ilia Alshanetsky
42155f6028 Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar) 2005-01-27 16:37:34 +00:00
Antony Dovgal
6ffd569410 MFB: fix leak in mysqli_fetch_array() 2005-01-27 14:41:48 +00:00
Georg Richter
7148919940 fix for bug #31710 (return value for mysql_rollback is reverted)
fixed also same behaviour for mysql_commit and mysql_autocommit
2005-01-27 10:18:28 +00:00
Antony Dovgal
9d9e4379af MFB: fix segfault when invalid field offset is passed to mysqli_fetch_field_direct() 2005-01-27 01:14:43 +00:00
Marcus Boerger
5cabd2f12b - Move tests to proper location now that the tested classes are hardcoded 2005-01-27 00:34:13 +00:00
Marcus Boerger
faba10853f - Unify 2005-01-27 00:26:13 +00:00
Marcus Boerger
f1e34911a9 - Add new test 2005-01-27 00:22:28 +00:00
Marcus Boerger
f18aa85252 - Know whether ew refer to an external array (is_ref) or not 2005-01-27 00:22:06 +00:00
Ilia Alshanetsky
4a5294788e Fixed bug #31699 (unserialize() float problem on non-English locales). 2005-01-26 16:55:17 +00:00
Ilia Alshanetsky
c85a9abc4c Fixed bug #29733 (printf() handles repeated placeholders wrong).
# Original patch by bugs dot php dot net at bluetwanger dot de
2005-01-26 00:01:26 +00:00
Andrei Zmievski
9ab8deb33c Don't depend on empty_string. 2005-01-25 23:58:22 +00:00
Ilia Alshanetsky
8c22d51070 Fixed bug #31465 (False warning in unpack() when working with *). 2005-01-25 22:50:39 +00:00
Andrei Zmievski
27b1a27faf MFB (Fix several egregious leaks in ext/browscap and sapi/embed). 2005-01-25 21:33:58 +00:00
Marcus Boerger
1c2b14b92f - Proto fix 2005-01-25 19:08:38 +00:00
Antony Dovgal
c404bdb9f8 check body for NULL before using and prevent segfaults 2005-01-25 14:20:02 +00:00
foobar
af854a8409 - Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings) 2005-01-25 13:42:52 +00:00
Dmitry Stogov
2d8e73b963 Fixed bug #28041 (SOAP HTTP Digest Access Authentication was implemented) 2005-01-25 11:03:20 +00:00
Ilia Alshanetsky
25fd4c3bc2 Fixed ZTS build 2005-01-24 23:53:00 +00:00
Marcus Boerger
b570ad759b - Unify 2005-01-24 21:28:56 +00:00
Marcus Boerger
e1737ca88a - Bugfix #31346 2005-01-24 21:27:36 +00:00
Marcus Boerger
06dbcb22a1 - Update 2005-01-24 21:13:52 +00:00
Marcus Boerger
36e6841ef5 - Add new test 2005-01-24 20:22:56 +00:00
Marcus Boerger
3c36e73b95 - bugfix 31348 2005-01-24 20:21:11 +00:00
Marcus Boerger
7ec2fe9dcd - Synch with MYSQLi extension and use RuntimeException as base for
SQLiteException if SPL is present.
2005-01-24 18:46:50 +00:00
Antony Dovgal
5a559e9a57 add test 2005-01-24 14:19:53 +00:00
Antony Dovgal
9e55579cb0 fix msg_recieve() returning TRUE instead of FALSE when unserialize failed
(patch by Andrey Hristov)
2005-01-24 14:12:01 +00:00
Wez Furlong
ebaf95b13a make this the right size... 2005-01-23 15:34:48 +00:00
Sergey Kartashoff
618b7c267c - A bug in mnogosearch module in ispell loading code was fixed 2005-01-23 15:01:20 +00:00
Edin Kadribasic
60f5e66aa9 Add support for fetching meta data 2005-01-23 14:50:06 +00:00
Edin Kadribasic
d8aa131ca0 Store pgsql_type, intval and boolav per column 2005-01-23 10:57:11 +00:00
Edin Kadribasic
902c2b43cb Remove debug stuff 2005-01-22 23:51:09 +00:00
Edin Kadribasic
e58a8671a2 Support for native nulls, bools and ints 2005-01-22 23:31:19 +00:00
Marcus Boerger
1d5c13bdad - Fix #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.) 2005-01-22 12:23:01 +00:00
Marcus Boerger
bad986232b - Update after fixing it 2005-01-22 12:22:01 +00:00
Marcus Boerger
a01e3435de _ Add test for bug 31651 2005-01-22 11:46:56 +00:00
foobar
f8a540d105 - Typofix + removed unnecessary unsets caused by it 2005-01-22 01:31:54 +00:00
Andrei Zmievski
ecb9f8668d MFB (bugfix for 24851) 2005-01-22 00:01:33 +00:00
Stefan Esser
581265f4d1 Correctly initialize ZVAL 2005-01-21 16:03:47 +00:00
Antony Dovgal
5e1b127864 destruct return_value 2005-01-21 10:55:41 +00:00
Wez Furlong
0162d0093d picky picky.
Lets make those OUTPUT rather than INPUT-OUTPUT.
We need some flag from the user if they want that.
2005-01-21 06:11:10 +00:00
Wez Furlong
e5b6b0dbee Allow static build (better detection of PDO headers).
Copy error code into driver code, so PDO can handle it correctly.
Less leaks
2005-01-21 04:43:06 +00:00
Wez Furlong
7a137a5f84 fix leak 2005-01-21 04:41:52 +00:00
Wez Furlong
8ebcbfdf1b hrmm. Really really really really touch the timestamp in CVS to avoid
crappy makefile annoyance.
2005-01-21 04:34:41 +00:00
Wez Furlong
bc55e7f3e2 make use of the query rewriter (even though it doesn't do anything yet) 2005-01-21 04:22:06 +00:00
Wez Furlong
53af3dc4f2 update 2005-01-21 04:02:41 +00:00
Wez Furlong
dede3c59fe fix encoding nastiness that snuck in from the copy-n-paste of error code
descriptions from a web page.
2005-01-21 03:59:41 +00:00
Wez Furlong
88640832be and check in the generated c file later, to avoid remaking it in fresh checkouts. 2005-01-21 03:58:09 +00:00
Wez Furlong
6ddbfa0733 Revise query parser so that it can rewrite from one bind syntax to another.
Expose it as PDO_API.  No drivers utilize this feature yet.
2005-01-21 03:57:06 +00:00
Wez Furlong
26f97a911b Eliminate unused parameter.
Don't start a transaction when asking for a cursor with pgsql.
Fix parameter binding for sqlite3
2005-01-21 00:39:03 +00:00
Wez Furlong
dcd3d84ddb Eliminate unused parameter 2005-01-21 00:38:09 +00:00
Wez Furlong
08fa032b80 fix backslash 2005-01-21 00:04:50 +00:00
Antony Dovgal
d0427feee4 fix bug #31623 (OCILogin does not support password grace period) 2005-01-20 18:39:48 +00:00
Antony Dovgal
84a8849a3a fix error message 2005-01-20 18:08:08 +00:00
Antony Dovgal
4f3e113e38 fix segfault in imap_sort() - it segfaults when options is less than 0.
it looks like c-client bug, but we still need a workaround.
also, convert_to_string search criteria.
2005-01-20 18:03:35 +00:00
Dmitry Stogov
a343fc848d Support for HTTP error codes 2005-01-20 17:29:16 +00:00
Edin Kadribasic
93e4213bfe Add support for the 'official' build machine layout 2005-01-20 15:54:35 +00:00
Dmitry Stogov
c35353ea20 Fixed bug #30901 (can't send cookies with soap envelop).
void SoapClient::__setCookie(string name [, string value])
2005-01-20 14:29:19 +00:00
Antony Dovgal
9812f55289 fix segfault in imap_headerinfo() when fromlength or subjectlength are less than 0
+ fix protos
2005-01-20 14:04:50 +00:00
Dmitry Stogov
a830b0fc6b Fixed bug #31422 (No Error-Logging on SoapServer-Side). 2005-01-20 12:48:01 +00:00
Rob Richards
dd2f5ed142 Fixed bug #28817 (Var problem when extending domDocument). 2005-01-20 11:47:05 +00:00
Antony Dovgal
6a9579bd7e fix typos in error messages 2005-01-20 09:59:23 +00:00
Antony Dovgal
5aa42a202a fix typos in error messages & resource name 2005-01-20 09:57:57 +00:00
Dmitry Stogov
56025c6a1a Support for HTTPS with digital certificates. 2005-01-20 06:08:04 +00:00
Wez Furlong
1312fe469e Fix segfault on stmt close.
Make scrollable cursors actually work
2005-01-20 06:06:26 +00:00
Wez Furlong
e21e1c65e3 Juggle/enhance mssql library detection 2005-01-20 05:09:06 +00:00
Wez Furlong
84aa902015 Generate pdo_oci.dll for modern SDKs and pdo_oci8.dll for ye-olde oci805 libs.
I'm told that oci805 is required for connectivity to oci805 servers, which are
no longer supported in more recent SDK releases.

Edin: please grab:

http://download.oracle.com/otn/nt/instantclient/instantclient-basic-win32-10.1.0.3-20050113.zip
http://download.oracle.com/otn/nt/instantclient/instantclient-sdk-win32-10.1.0.3-20050113.zip

and extract them under php_build, so that you end up with php_build/instantclient10_1
2005-01-20 03:33:17 +00:00
Wez Furlong
9fe37737f9 generate dblib and mssql variants in the same build 2005-01-20 03:29:53 +00:00
foobar
2c65e09a4b - Revert the weird change of ZEND_STRS() macro and use the correct
ZEND_STRL() macro.
# ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
2005-01-20 02:02:09 +00:00
Wez Furlong
e28d2c8032 Take a stab at implementing out parameters for odbc 2005-01-19 05:27:15 +00:00
Wez Furlong
a39d50c95f don't propogate an unspecified length to the driver.
Drivers will used a 0 length as a hint that the parameter is an in-out or out
parameter.
2005-01-19 05:25:40 +00:00
Wez Furlong
769d399be5 add dep 2005-01-19 03:50:32 +00:00
Wez Furlong
ffd35bb63d allow static linkage.
Avoid segv when no username is passed
2005-01-19 03:45:21 +00:00
Wez Furlong
a536e31fb1 leak/segv less 2005-01-19 03:44:49 +00:00
Wez Furlong
434d068994 *compile before commit *
*compile before commit *
*compile before commit *
2005-01-19 01:17:13 +00:00
Wez Furlong
af8bb16ec1 implement nextRowset for ODBC
# this might even work first time
2005-01-19 01:13:39 +00:00
Wez Furlong
544d61873d proto bool PDOStatement::nextRowset()
Advances to the next rowset in a multi-rowset statement handle. Returns true if
it succeded, false otherwise
2005-01-19 01:12:52 +00:00
Wez Furlong
9b36089838 let it compile again 2005-01-19 00:33:56 +00:00
foobar
c245e1f0f7 - ldap_start_tls() requires ldapv3 protocol -> force it 2005-01-19 00:27:21 +00:00
Ilia Alshanetsky
c78db34489 Fixed bug #31142 (crash, memory leak and data loss by imap_mail_compose). 2005-01-18 23:36:08 +00:00
Frank M. Kromann
736ff0319a Set the MSSQL_VERSION to FreeTDS when that lib is used 2005-01-18 22:39:01 +00:00
Frank M. Kromann
4b4cde0702 Rename php_freetds.dll to php_dblib.dll (still using the freetds libs).
Allow the build of both versions in the same process
2005-01-18 22:38:24 +00:00
Antony Dovgal
84fe72612e add checks for libs & headers required by IBM DB2 2005-01-18 21:16:32 +00:00
Ilia Alshanetsky
023c1bccb3 Fixed bug #31480 (Possible infinite loop in imap_mail_compose()). 2005-01-18 16:32:53 +00:00
Ilia Alshanetsky
1e6454a67b Fixed bug #31479 (Fixed crash in chunk_split(), when chunklen > strlen). 2005-01-18 15:47:57 +00:00
foobar
64e40c2271 - Make sure FD_CLOEXEC is always defined. 2005-01-18 15:44:33 +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
foobar
197711bb7d Add test for bug #31402 2005-01-18 11:36:44 +00:00
foobar
bed68d8828 Touch the generated file. 2005-01-18 10:57:05 +00:00
Dmitry Stogov
ea6ea21939 Fixed bug #31190 (exceptions in call_user_func_array()) 2005-01-18 10:38:04 +00:00
Frank M. Kromann
25917d5885 Make this compile with the generic ntwdblib from Microsoft 2005-01-18 07:17:01 +00:00
Frank M. Kromann
14821bb8cf use the static dblib.lib to avoid the need for extra dll's 2005-01-18 06:42:08 +00:00
Frank M. Kromann
008d859df9 add --with-freetds option to win32 build.
TODO make it work when both mssql and freetds is included or bail out with an error
2005-01-18 06:32:11 +00:00
Frank M. Kromann
01b426c452 make the mssql extension work with freetds on win32 2005-01-18 06:29:45 +00:00
Frank M. Kromann
d56b42bec4 make the mssql extension work with freetds on win32 2005-01-18 06:09:48 +00:00
Wez Furlong
a9d98544de Allow drivers to select bind emulation on a per statement basis 2005-01-18 04:58:50 +00:00
Wez Furlong
d911f19862 doh 2005-01-18 04:35:47 +00:00
Wez Furlong
505fbb1966 nice and fluffy error handling 2005-01-18 02:42:52 +00:00
Wez Furlong
8b35436cb1 remove error and hook up rowCount 2005-01-18 00:58:15 +00:00
Wez Furlong
37ea5fbeb5 Tidy up driver specific method handling 2005-01-17 23:59:16 +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
foobar
e82eb93cf2 - Added some sanity checks by changing to the parameter parsing API 2005-01-17 17:07:28 +00:00
Christian Stocker
8d10b52ddf fix protos (by Mehdi Achour ) 2005-01-17 15:56:17 +00:00