Wez Furlong [Sat, 26 Feb 2005 17:27:51 +0000 (17:27 +0000)]
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.
Marcus Boerger [Fri, 25 Feb 2005 23:51:53 +0000 (23:51 +0000)]
- 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.
Edin Kadribasic [Fri, 25 Feb 2005 00:20:19 +0000 (00:20 +0000)]
Added --enable-debug-pack which will create a zip file with *.pdb debug
symbol files. Could be used to allow windows users to use free Microsoft
debugging tools to generate useful backtraces.
Debug tools can be found at:
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
CLAGS used described in:
http://support.microsoft.com/default.aspx?scid=kb;en-us;291585
Andi Gutmans [Thu, 24 Feb 2005 19:25:44 +0000 (19:25 +0000)]
- Make one line comments work the same with <script ...> </script> as with
- other tags. This will break scripts that have whitespace at the end
- of the closing tag </script > but this is barely used as it is
- and I doubt ppl used whitespace. (patch by Jani)
foobar [Thu, 24 Feb 2005 18:11:36 +0000 (18:11 +0000)]
- Restructured and added a few comments here and there.
- Made macros of couple of tests previously littering configure.in
(e.g. PHP_PROG_AWK, PHP_PROG_LEX, PHP_PROG_BISON..)
- Moved all PHP_SUBST() calls into their respective macros.
(no point adding empty entries in Makefile if macro is not used)
Pierre Joye [Thu, 24 Feb 2005 15:08:37 +0000 (15:08 +0000)]
- 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)
Andi Gutmans [Thu, 24 Feb 2005 02:35:59 +0000 (02:35 +0000)]
- Revert following patch until we decide what is the right way to handle
- this:
- Fix signatures they are all meant to be able to deal with any type in any
object storage (though we are still missing several parts)
Marcus Boerger [Tue, 22 Feb 2005 20:25:56 +0000 (20:25 +0000)]
- 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
Marcus Boerger [Tue, 22 Feb 2005 19:27:34 +0000 (19:27 +0000)]
- 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
Marcus Boerger [Tue, 22 Feb 2005 14:53:57 +0000 (14:53 +0000)]
- We cannot provide this fallback becuase it requires zend_object ptr's.
# Found that out after discussing with Stas. As a consequence still every
# extension that provides specialised class types is responsible for
# calling its __destruct. This is currently not done for several exts.