1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Commit Graph

38 Commits

Author SHA1 Message Date
Felipe Pena fbf7cc72aa - Fixed memory leaks
- Added new tests (Coverage++)
2008-12-02 21:00:23 +00:00
Dmitry Stogov e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
Felipe Pena 611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Sebastian Bergmann 9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +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
Sebastian Bergmann 3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Wez Furlong c2a7928496 merge php5 pdo_sqlite into head; this source compiles on both php5 and php6. 2006-12-15 05:03:02 +00:00
Pierre Joye a6ec097ef9 - fix build on HEAD
(not sure if it should compile on 6 and 5 or if it is required only for
   pdo, other drivers require this fix)
2006-12-10 02:32:17 +00:00
Ilia Alshanetsky 9d48f6fb61 MFB: Additional expand_filepath() checks 2006-09-16 18:31:07 +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
Ilia Alshanetsky cf2e00bb39 MFB51: Proper error handling for persistent connections. 2005-12-20 14:50:30 +00:00
Ilia Alshanetsky 2c98f6435d MFB51: Fixed possible memory corruption. 2005-12-19 16:34:00 +00:00
foobar a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Ilia Alshanetsky 75555bc472 Allow overloading of PDO constructor. 2005-09-20 19:52:05 +00:00
Wez Furlong 37ace0651b merge other PDO fixes from 5.1 branch.
Allow pdo_sqlite to build against 5.0 and 5.1 too.
2005-09-11 05:08:49 +00:00
Dmitry Stogov 6b622046dc zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string). 2005-08-22 12:22:16 +00:00
Wez Furlong f6276a2b8a zts fixes 2005-08-12 23:32:31 +00:00
Ilia Alshanetsky 2d920f6848 Only set authorizer if we intend to use it (safe_mode or open_basedir). 2005-07-27 02:35:37 +00:00
Wez Furlong 711b4e0043 implement the 'request shutdown' hook; this allows us to register UDFs on
persistent handles safely. (it is dangerous to keep them registered between
requests, as there are 0 guarantees that functions with the same name are even
present on the next hit, let alone that the zvals we cache point to the right
place.
2005-06-10 05:49:48 +00:00
Wez Furlong 6cc74b0e39 add sqliteCreateAggregate() 2005-06-10 05:17:47 +00:00
Wez Furlong 41421c7d7a finish implementation of sqliteCreateFunction(). 2005-06-10 04:04:43 +00:00
Wez Furlong be76bd5278 work in progress on UDF.
Something is hokey in HEAD, checking it in to try it on another box.
2005-06-10 02:50:37 +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
Ilia Alshanetsky cd6d5fb18f Fixed compile warnings. 2005-02-09 16:33: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 d87c5ec288 update for api changes 2005-02-06 22:34:53 +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 a9d98544de Allow drivers to select bind emulation on a per statement basis 2005-01-18 04:58:50 +00:00
Wez Furlong c77bd71315 be aware of scrollable cursors; sqlite doesn't support them 2005-01-12 06:08:59 +00:00
Wez Furlong e6c282a766 jumbo commit; implement sqlstate error codes.
Bundle sqlite3
2005-01-07 05:27:27 +00:00
Wez Furlong 823d48bd37 hmmmmm. Bound params *were* working this way before, but now it seems that
I have to bind them as text.
2004-12-26 18:13:52 +00:00
Wez Furlong c8b2f43005 fix build issues 2004-12-25 04:01:30 +00:00
Wez Furlong 53ed3475ce add entry for liveness check 2004-09-23 20:09:00 +00:00
Wez Furlong f40608230b Use NO_PERM code here 2004-09-19 18:13:09 +00:00
Wez Furlong 6fa469f367 make it build on win32 2004-09-19 15:47:13 +00:00
Wez Furlong 0d4869f24b Add transaction support.
Add authorizer/safe_mode support
2004-09-19 12:42:39 +00:00
Wez Furlong 2f161ab79d First cut at a PDO driver for SQLite 3.x
Features:
- native prepare/execute and bound parameters.
- finally supports binary data (via bound parameter api)
- full unicode/utf-8 support

Missing:
- UDF functions
- authorizer hooks for safe_mode/open_basedir restrictions

You need to download, compile and install sqlite3 yourself; we're not bundling
it (at least, not yet).
2004-09-19 10:55:41 +00:00