Christopher Jones
4840a4a28b
Update SKIPIFs for test portability
2011-09-08 20:13:32 +00:00
Christopher Jones
47f3bf02c9
Update SKIPIFs for test portability
2011-09-08 20:13:32 +00:00
Christopher Jones
e81fed3df5
Update SKIPIFs for test portability
2011-09-08 20:13:32 +00:00
Pierre Joye
0295d0d1aa
- add skipif
2011-09-06 06:50:56 +00:00
Pierre Joye
0878034b62
- add skipif
2011-09-06 06:50:56 +00:00
Pierre Joye
bd0a02b72b
- add skipif
2011-09-06 06:50:56 +00:00
Xinchen Hui
83f61c2c53
Fixed compiler warning "incompatible pointer type"
2011-09-05 15:02:21 +00:00
Xinchen Hui
6a4153db0c
Fixed compiler warning "incompatible pointer type"
2011-09-05 15:02:21 +00:00
Christopher Jones
43e4d8cade
gcov test fixes
2011-09-02 22:19:03 +00:00
Christopher Jones
bfdd2c38d9
gcov test fixes
2011-09-02 22:19:03 +00:00
Christopher Jones
06cc022740
gcov test fixes
2011-09-02 22:19:03 +00:00
Ilia Alshanetsky
42f3972e61
Avoid strcpy() usage
2011-08-08 00:07:54 +00:00
Ilia Alshanetsky
1271828ee4
Avoid strcpy() usage
2011-08-08 00:07:54 +00:00
Ilia Alshanetsky
ebefefeba8
Avoid strcpy() usage
2011-08-08 00:07:54 +00:00
Ilia Alshanetsky
34f08a3715
Fixes for variety of issues identified by coverity scan
2011-08-07 23:46:00 +00:00
Ilia Alshanetsky
9db1c59325
Fixes for variety of issues identified by coverity scan
2011-08-07 23:46:00 +00:00
Ilia Alshanetsky
04d7804aec
Fixes for variety of issues identified by coverity scan
2011-08-07 23:46:00 +00:00
Rasmus Lerdorf
37c18f5ebe
Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
...
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf
7eb5bbbf65
Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
...
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf
2449c41698
Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat.
2011-08-07 15:45:18 +00:00
Rasmus Lerdorf
ee729585b3
Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat.
2011-08-07 15:45:18 +00:00
Rasmus Lerdorf
bfffb28ebf
Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat.
2011-08-07 15:45:18 +00:00
Felipe Pena
997f323e3a
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
707a8f70b8
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
9480eace41
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Pierre Joye
9805e1674a
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Pierre Joye
cc1c7af037
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Felipe Pena
bf1779e973
- Added missing arginfos for void params and void param checks
2011-06-18 15:56:14 +00:00
Felipe Pena
ebf9db550f
- Added missing arginfos for void params and void param checks
2011-06-18 15:56:14 +00:00
Felipe Pena
2b309c8f9e
- Added missing arginfos for void params and void param checks
2011-06-18 15:56:14 +00:00
Felipe Pena
087a134b50
- Fixed bug #54929 (Parse error with single quote in sql comment)
2011-06-04 22:54:40 +00:00
Felipe Pena
e1a5443f97
- Fixed bug #54929 (Parse error with single quote in sql comment)
2011-06-04 22:54:40 +00:00
Felipe Pena
b86161982b
- Fixed bug #54929 (Parse error with single quote in sql comment)
2011-06-04 22:54:40 +00:00
Ilia Alshanetsky
83d01bd81b
Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE settings).
2011-06-01 13:23:25 +00:00
Ilia Alshanetsky
a8b8fe1f7f
Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE settings).
2011-06-01 13:23:25 +00:00
Ilia Alshanetsky
8083c1ab89
Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE settings).
2011-06-01 13:23:25 +00:00
Ilia Alshanetsky
f15452af96
Fixed compiler warning
2011-02-22 15:48:25 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Ilia Alshanetsky
73c49036ce
Fixed compiler warning
2010-12-23 14:38:15 +00:00
Gustavo André dos Santos Lopes
9b698dbcea
- Revert of revision 306542, turns out the semantics of compare() are
...
different in SplMinHeap and SplMaxHeap.
2010-12-21 19:52:17 +00:00
Pierre Joye
aea6771d19
- add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :)
2010-12-13 18:43:10 +00:00
Pierre Joye
a7ffa09e18
- add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd
2010-12-11 22:18:10 +00:00
Eyal Teutsch
30d290a31e
pdo_025 expected a certain extra character that is not part of windows output. changed to optional char: %a -> %A
2010-12-09 12:04:18 +00:00
Eyal Teutsch
4e37118801
pdo_025 expected a certain extra character that is not part of windows output. changed to optional char: %a -> %A
2010-12-09 12:04:18 +00:00
Felipe Pena
0f53b4e515
- Fixed tests
2010-12-04 12:28:23 +00:00
Felipe Pena
57fc653c05
- Fixed tests
2010-12-04 12:28:23 +00:00
Felipe Pena
76ba9b44b4
- Fixed test
2010-12-03 23:25:27 +00:00
Felipe Pena
11a3a52fc8
- Fixed test
2010-12-03 23:25:27 +00:00
Felipe Pena
3dc4f14c6b
- Fixed test
2010-12-03 22:58:21 +00:00
Felipe Pena
955ebdf10c
- Fixed test
2010-12-03 22:58:21 +00:00
Felipe Pena
3cace9cbcc
- Fix wrong argument to read_property call
2010-11-15 18:48:48 +00:00
Felipe Pena
e6de920a27
- Fix wrong argument to read_property call
2010-11-15 18:48:48 +00:00
Ulf Wendel
1c9e784985
Skip if PDO_SQLITE is not available
2010-09-17 17:11:21 +00:00
Ulf Wendel
2d656381f8
Skip if PDO_SQLITE is not available
2010-09-17 17:11:21 +00:00
Ulf Wendel
d67c72668f
Remove OS dependent directory separator from EXPECT
2010-09-17 16:40:02 +00:00
Ulf Wendel
fe726b1beb
Remove OS dependent directory separator from EXPECT
2010-09-17 16:40:02 +00:00
Dmitry Stogov
f2df6a4a3e
- Improved memory usage
...
. zend_function.pass_rest_by_reference is replaced by
ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags
. zend_function.return_reference is replaced by ZEND_ACC_RETURN_REFERENCE
in zend_function.fn_flags
. zend_arg_info.required_num_args removed. it was needed only for internal
functions. Now the first arg_info for internal function (which has special
meaning) is represented by zend_internal_function_info structure.
. zend_op_array.size, size_var, size_literal, current_brk_cont,
backpatch_count moved into CG(context), because they are used only during
compilation.
. zend_op_array.start_op is moved into EG(start_op), because it's used
only for 'interactive' execution of single top-level op-array.
. zend_op_array.done_pass_two is replaced by ZEND_ACC_DONE_PASS_TWO in
zend_op_array.fn_flags.
. op_array.vars array is trimmed (reallocated) during pass_two.
. zend_class_entry.constants_updated is replaced by
ZEND_ACC_CONSTANTS_UPDATED in zend_class_entry.ce_flags
. the size of zend_class_entry is reduced by sharing the same memory space
by different information for internal and user classes.
See zend_class_inttry.info union.
2010-09-15 07:38:52 +00:00
Felipe Pena
8fba11c57b
- Fixed bug #52699 (PDO bindValue writes long int 32bit enum)
2010-08-25 22:03:03 +00:00
Felipe Pena
cbe9f57a17
- Fixed bug #52699 (PDO bindValue writes long int 32bit enum)
2010-08-25 22:03:03 +00:00
Felipe Pena
7b9fe96774
- Fixed bug #52487 (PDO::FETCH_INTO leaks memory)
2010-07-29 23:38:55 +00:00
Felipe Pena
e3ddef53b4
- Fixed bug #52487 (PDO::FETCH_INTO leaks memory)
2010-07-29 23:38:55 +00:00
Kalle Sommer Nielsen
e71ee33358
Fixed bug #51943 (Several files are out of ANSI spec)
...
# Based on patch by CoreyStup at gmail dot com
2010-07-13 23:59:54 +00:00
Kalle Sommer Nielsen
aeb1dc7cc4
Fixed bug #51943 (Several files are out of ANSI spec)
...
# Based on patch by CoreyStup at gmail dot com
2010-07-13 23:59:54 +00:00
Felipe Pena
13b692e4c9
- New tests related to #52098
2010-06-16 23:33:01 +00:00
Felipe Pena
42c4bafbbd
- New tests related to #52098
2010-06-16 23:33:01 +00:00
Felipe Pena
a7210008db
- Fix crash when calling a method of a class that inherits PDOStatement if instantiated directly
2010-06-16 23:13:29 +00:00
Felipe Pena
d596ea742a
- Fix crash when calling a method of a class that inherits PDOStatement if instantiated directly
2010-06-16 23:13:29 +00:00
Ilia Alshanetsky
24b8bc3489
Removed the in_transaction handler for 5.3 to avoid BC break due to structure change
2010-06-15 11:13:20 +00:00
Ilia Alshanetsky
90906a91e9
Added inTransaction() method to PDO, with specialized support for Postgres
2010-06-10 12:11:19 +00:00
Ilia Alshanetsky
6ed1819bf4
Added inTransaction() method to PDO, with specialized support for Postgres
2010-06-10 12:11:19 +00:00
Felipe Pena
9f67894c6f
- Removed clone_obj from PDORow object handlers, as zend_objects_store_clone_obj requires a clone handler (ce->clone == NULL -> error) and it is not supplied, hence it is being useless and leading ReflectionClass::isCloneable() to give false positive information
2010-06-02 16:54:13 +00:00
Dmitry Stogov
c5237d82bf
Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties
2010-05-24 14:11:39 +00:00
Derick Rethans
2bc3611c74
- Fixed name.
2010-05-19 20:20:10 +00:00
Dmitry Stogov
77b2e54658
Fixed PDO objects binary incompatibility
2010-05-06 08:37:41 +00:00
Pierrick Charron
8f128b2b13
Fixed bug #51670 getColumnMeta causes segfault when re-executing query after calling nextRowset
2010-04-27 05:56:56 +00:00
Pierrick Charron
1892d92d68
Fixed bug #51670 getColumnMeta causes segfault when re-executing query after calling nextRowset
2010-04-27 05:56:56 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Dmitry Stogov
94dd83722b
Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table
2010-04-20 10:57:45 +00:00
Ilia Alshanetsky
e670a3f9fd
On beginTransaction() reset error state
2010-04-01 12:08:55 +00:00
Ilia Alshanetsky
c2e16d3c5b
On beginTransaction() reset error state
2010-04-01 12:08:55 +00:00
Johannes Schlüter
ed03634a8c
Revert 290786: Fixed bug #49521 (PDO fetchObject sets values before calling
...
constructor)
2010-02-11 22:14:06 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Sebastian Bergmann
ebb467ff02
sed -i "s#1997-2009#1997-2010#g" **/*.re **/*.y **/*.l
2010-01-03 08:22:14 +00:00
Matteo Beccati
9326c7e3a2
- Updated pdo_pgsql tests to be 8.5+ friendly
2009-12-25 20:11:07 +00:00
Felipe Pena
286f36e702
- Fixed memory leak when E_STRICT message is getted
2009-12-14 21:44:56 +00:00
Pierrick Charron
7d4643193d
- Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures)
2009-12-14 03:44:33 +00:00
Felipe Pena
93a406ac9c
- Fixed bug #49174 (crash on queryString set)
2009-12-13 19:53:44 +00:00
Felipe Pena
5eae703705
- Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault).
...
(Original patch by davbrown4 at yahoo dot com)
2009-12-11 22:30:46 +00:00
Felipe Pena
a94558c855
- Added MAKE_COPY_ZVAL(ppzv, pzv) macro
2009-12-08 01:57:37 +00:00
Pierrick Charron
99ba48dc60
Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN even in the middle of a string).
2009-12-06 21:32:58 +00:00
Ilia Alshanetsky
bf550fe8da
Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN).
2009-12-06 19:34:12 +00:00
Pierrick Charron
e2efe4bc7b
Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement).
2009-12-03 15:24:43 +00:00
Ilia Alshanetsky
51c17c413c
Don't ignore the 2nd parameter to PDO's quote() method that identifies the data type
2009-11-20 18:54:08 +00:00
Felipe Pena
4bafbf58f8
- Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
...
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Felipe Pena
b394a75ad5
- Fixed PDORow and PDOStatement crashes when instantiating throught Reflection
2009-10-12 17:09:11 +00:00
Felipe Pena
9f8ff2f968
- Revert my mistake
2009-07-19 22:46:03 +00:00