Dmitry Stogov
cf15b8d1dc
Fixed bug #42326 (SoapServer crash)
2007-08-31 08:07:46 +00:00
Jani Taskinen
e873b05288
- Include php_ini.h (needed in future, does not break anything)
2007-08-31 07:41:46 +00:00
Christopher Jones
c9a404eba8
MFB New tests
2007-08-30 17:34:01 +00:00
Rob Richards
e10e348c5d
fix bug #42462 (Segmentation when trying to set an attribute in DOMElement)
2007-08-30 16:31:57 +00:00
Raghubansh Kumar
668d2d59c2
fix tests: do not run when noatime set
2007-08-30 04:02:57 +00:00
Greg Beaver
33347b19f2
when opening an internal file read-only, recycle the phar archive's fp. This makes phar twice as fast (2.21x according to callgrind)
2007-08-30 02:30:16 +00:00
Derick Rethans
6810f84761
- Put the PHPAPI php_u_str_to_str() function in the .h, just like the rest.
2007-08-29 14:11:30 +00:00
Raghubansh Kumar
57bc6ad6bb
fix tests: do not run on MACOS
2007-08-29 10:13:25 +00:00
Raghubansh Kumar
ae2808fdb8
fix test, do not run on macos
2007-08-29 04:37:17 +00:00
Ilia Alshanetsky
0c773a50fc
not exprimental
2007-08-29 00:10:58 +00:00
Pierre Joye
268386674a
- gd #106 , imagerectangle draws 1x1 rectangles as 1x3 rectangles
2007-08-26 20:33:22 +00:00
Ilia Alshanetsky
7453fe94f7
PDO is not experimental anymore
2007-08-26 17:00:47 +00:00
Greg Beaver
ccb840fb92
add missing /* }}} */
2007-08-25 01:36:21 +00:00
Greg Beaver
543ad01efd
move to 1.3.0 development
...
add Phar::delete()
2007-08-25 01:32:35 +00:00
Greg Beaver
0a13146bbe
prepare release
2007-08-25 01:04:49 +00:00
Sara Golemon
883372e224
Prep for 1.5 release
2007-08-24 21:33:05 +00:00
Sara Golemon
88322b95b3
Fix hash_init() for PHP < 6
2007-08-24 21:27:38 +00:00
Zoe Slattery
b2c5bdfd98
adding check for rc1 to version-compare test
2007-08-24 14:46:34 +00:00
Dmitry Stogov
611abb17fc
Namespace constants
2007-08-24 13:50:52 +00:00
Antony Dovgal
41bda78bd2
fix segfault on shutdown due to UG(utf8_conv) being destroyed twice
2007-08-24 12:13:30 +00:00
Antony Dovgal
f41ab21d0b
fix test name
2007-08-24 12:06:03 +00:00
Greg Beaver
5178a94545
add test for pre-existing alias failure, fix source to fail if alias already exists
2007-08-23 23:23:26 +00:00
Jani Taskinen
24c98f8aa3
MFB: Fixed bug #37273 (Symlinks and mod_files session handler allow open_basedir bypass)
2007-08-23 13:38:49 +00:00
Jani Taskinen
197b51e796
MFB: -r1.100.2.3.2.5
2007-08-23 13:09:27 +00:00
Jani Taskinen
af83e1cad2
missing )
2007-08-23 11:38:56 +00:00
Derick Rethans
947b50b30f
- Make version_compare() also understand the lower case variant of "RC".
2007-08-23 11:36:14 +00:00
Raghubansh Kumar
6ff029a37d
fix tests
2007-08-23 09:34:15 +00:00
Greg Beaver
0bd0d85673
implement Phar->setAlias()
2007-08-23 04:49:39 +00:00
Jani Taskinen
8fd677763a
- Fixed bug #42365 (glob() crashes with invalid flags)
2007-08-22 14:58:30 +00:00
Dmitry Stogov
d7c3646eb6
Fixed bug #42183 (classmap cause crashr in non-wsdl mode)
2007-08-22 14:18:28 +00:00
Ilia Alshanetsky
08f9a66c98
Fixed bug #42368 (Incorrect error message displayed by pg_escape_string)
2007-08-21 23:51:34 +00:00
Johannes Schlüter
6eccdf9203
- Fixed Bug #42364 Crash when using getRealPath with DirectoryIterator
2007-08-21 22:43:38 +00:00
Sara Golemon
16b1288ee1
Bagder says I don't need these ifdefs
2007-08-21 21:23:35 +00:00
Sara Golemon
0deb7d03df
Add support for CURLPROXY_SOCKS4
2007-08-20 18:56:05 +00:00
Sebastian Bergmann
89c30a380b
- MFB: Fugbix typo.
2007-08-20 17:01:59 +00:00
Raghubansh Kumar
1419d23f6a
fix test: skip if user is root
2007-08-20 04:08:15 +00:00
Raghubansh Kumar
66fe5012a2
fix tests
2007-08-20 03:40:41 +00:00
Raghubansh Kumar
1aad43dc22
fix test: skip if user is root
2007-08-20 03:14:58 +00:00
Rui Hirokawa
cec32074d7
added negative offset support in mbfl_strrpos ( fixed #42085 )
2007-08-19 01:57:53 +00:00
Johannes Schlüter
b83198cd2c
- Mark the parameter for ReflectionProperty::GetValue as optional
...
# [DOC] The documentation on this is wrong, too. The parameter is only
# needed for getting the value of an object's property, not for static
# ones. (I'm not sure if it has always been that way...)
2007-08-17 14:21:00 +00:00
Christopher Jones
a3b4762c70
MFH: PDO_OCI: fix Instant Client build broken by logic correction in previous Solaris lib/lib32 fix
2007-08-17 13:33:07 +00:00
Jani Taskinen
8c43fddada
- Fixed bug #41904 (proc_open with empty env array)
2007-08-17 10:42:12 +00:00
Greg Beaver
5d8919938d
fix issue with large number of open file handles killing php with large phars on creation
...
- close file handles that have no references for entries
- add just-in-time re-processing of file handles
- make sure file size is set in renaming
- add old_flags to phar_entry_info so we can decompress when flushing a modified entry whose fp is closed
2007-08-17 04:47:50 +00:00
Greg Beaver
a7d7b956f9
fix dump_entry
2007-08-17 04:46:04 +00:00
Greg Beaver
c6fee51126
add dump_entry
2007-08-16 19:56:02 +00:00
Raghubansh Kumar
4669c2d40a
fix test
2007-08-16 16:33:16 +00:00
Greg Beaver
d43eaabd1e
add docs
2007-08-15 23:37:13 +00:00
Greg Beaver
417b2cfb5e
make pharglobals hidden func
2007-08-15 23:35:27 +00:00
Greg Beaver
2211e8e14f
add fp and refcount display
2007-08-15 23:34:37 +00:00
Greg Beaver
46db4d3f65
add helper functions for gdb debugging phar reference counting (needs more work, but a good start)
2007-08-15 03:49:44 +00:00
Raghubansh Kumar
ae5dcdccf2
fix tests
2007-08-14 14:10:31 +00:00
Antony Dovgal
da2a302e78
fix lib/lib32 checks to work with broken Solaris shell
2007-08-14 12:14:53 +00:00
Rob Richards
4d17d8c681
fix bug #42259 (SimpleXMLIterator loses ancestry)
...
add test
2007-08-14 12:09:52 +00:00
Antony Dovgal
d43c8ad4eb
make sure the temp file is closed before removing it
2007-08-13 12:46:34 +00:00
Raghubansh Kumar
1514977352
New testcase for clearstatcache() function
2007-08-13 11:50:47 +00:00
Raghubansh Kumar
c0ebb17904
New testcase for parse_ini_file() function
2007-08-13 11:37:11 +00:00
Jani Taskinen
bdd54e7c9b
MFB: Fix tests + directory check inside copy() function
2007-08-13 08:14:03 +00:00
Raghubansh Kumar
721e2ab3a7
New testcases for fgetss() function
2007-08-12 06:55:52 +00:00
Raghubansh Kumar
c7d2d62a02
More new testcases for fopen() & fclose() functions
2007-08-12 05:14:13 +00:00
Rui Hirokawa
424d842729
MF PHP_5_2
2007-08-12 02:00:03 +00:00
Antony Dovgal
ceb482dfb1
more fixed tests
2007-08-11 22:42:19 +00:00
Antony Dovgal
44d8314d9c
fix tests failing on 64bit
2007-08-11 22:18:33 +00:00
Nuno Lopes
fc86edab7d
fix typo in tmp file path
2007-08-11 15:38:34 +00:00
Raghubansh Kumar
30a08a895b
New testcases for fscanf() function
2007-08-10 17:56:45 +00:00
Raghubansh Kumar
fb3c7a7250
New testcases for htmlentities() & htmlspecialchars()
2007-08-10 15:08:45 +00:00
Jani Taskinen
a6c2fdb9a5
MFB: sync
2007-08-10 13:28:12 +00:00
Antony Dovgal
ee8851dfda
split the test
2007-08-10 13:27:05 +00:00
Antony Dovgal
a254d5c574
empty/invalid names are not allowed (empty prefixes are)
2007-08-10 13:20:22 +00:00
Antony Dovgal
c13e337f27
allow empty prefix (restore 5_2 behavior)
2007-08-10 12:54:38 +00:00
Jani Taskinen
28cf1788a9
MFB: Fixed the fix for bug #42233 and added test for it.
2007-08-10 12:23:16 +00:00
Antony Dovgal
edb216d3dc
fix tests
2007-08-10 12:10:19 +00:00
Dmitry Stogov
c9ecd0169a
Fixed generation on DH publick key for given private key
2007-08-10 10:43:37 +00:00
Antony Dovgal
25af0b4382
MFB: Fixed bug #42117 (bzip2.compress loses data in internal buffer)
2007-08-10 09:00:42 +00:00
Antony Dovgal
edd76024a3
MFB: Fixed bug #42243 (copy() does not ouput an error when the first arg is a dir)
2007-08-10 08:58:12 +00:00
Antony Dovgal
a6c19f6ede
MFB: Fixed bug #42261 (header wrong for date field)
2007-08-10 08:56:23 +00:00
Christopher Jones
c581da4b56
oci8: merge changes to build with Oracle Database 11g
2007-08-10 06:58:12 +00:00
Christopher Jones
eda449eeac
pdo_oci: merge changes to build with Oracle Database 11g
2007-08-10 06:57:41 +00:00
Raghubansh Kumar
96fc4edc59
more new testcases for tempnam() function
2007-08-10 03:33:00 +00:00
Raghubansh Kumar
b71984f4bc
New testcases for strtolower() and strtoupper() functions
2007-08-10 03:05:00 +00:00
Raghubansh Kumar
752ead40e2
More new testcases for copy() function
2007-08-10 02:58:50 +00:00
Johannes Schlüter
951ad867b6
- Write to the correct file...
2007-08-09 22:24:41 +00:00
Mattias Bengtsson
94bf93f531
-MFB: libgd #101 , imagecreatefromgd can crash if gdImageCreate fails
2007-08-09 14:22:38 +00:00
Mattias Bengtsson
3b8fc04079
-MFB: libgd #94 , imagecreatefromxbm can crash if gdImageCreate fails
2007-08-09 12:09:30 +00:00
Ulf Wendel
fb4967900d
Same as for ext/mysqli tests: addition of a new environment variable
...
MYSQL_TEST_SKIP_CONNECT_FAILURE which controls how to deal with connection
problems. If MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) connection
problems will make a test fail. If you set MYSQL_TEST_SKIP_CONNECT_FAILURE
to any value that evaluates to true in PHP, a test which cannot connect to
the database will be skipped.
2007-08-09 11:53:17 +00:00
Ulf Wendel
a166bd39ac
I forgot those files when merging mysqlnd SVN and HEAD. Only required by
...
tests that test experimental features and are skipped by default that's why
I missed them.
2007-08-09 10:16:24 +00:00
Ulf Wendel
af91a4056a
No need for an extra skip*.inc file, this check is done in just one place
2007-08-09 10:10:46 +00:00
Ulf Wendel
5846d6b84b
More changes related to MYSQL_TEST_SKIP_CONNECT_FAILURE.
2007-08-09 10:01:20 +00:00
Ulf Wendel
112b742518
New tests (stubs?) for a few experimental (to be removed?) functions.
...
The tests will only be run if you set MYSQL_TEST_EXPERIMENTAL = 1.
2007-08-09 09:59:15 +00:00
Ulf Wendel
974935e6b8
Next set of files which now feature the new environment variable
...
MYSQL_TEST_SKIP_CONNECT_FAILURE which controls how connection problems
are handled: failure (MYSQL_TEST_SKIP_CONNECT_FAILURE = false, default)
or skip (MYSQL_TEST_SKIP_CONNECT_FAILURE = true)
Also, some minor tweaking of connection parameters in the tests.
2007-08-09 09:43:28 +00:00
Jani Taskinen
8b3c737889
- Fixed bug #42247 (ldap_parse_result() not defined under win32)
2007-08-09 08:42:31 +00:00
Ulf Wendel
1855a57471
Introducing new environment variable:
...
MYSQL_TEST_SKIP_CONNECT_FAILURE = false
Every test that needs a working MySQL connection now includes
skipifconnectfailure.inc. If MYSQL_TEST_SKIP_CONNECT_FAILURE evaluates
to true skipifconnectfailure.inc tries to establish a database
connection. If no connection can be opened, the test will be skipped.
In case of MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) an no
connection, a test who cannot establish a connection will fail.
So, if you have a buggy configuration or a server that is sometimes
not available, you can now decide if you want the tests to ignore this
and skip the test or to fail (MYSQL_TEST_CONNECT_FAILURE = false, default).
Other, minor tweaks:
042.phpt - whitespace
067.phpt - parse error in SKIPIF section fixed
2007-08-09 08:41:12 +00:00
Raghubansh Kumar
6cb89102e7
New testcases for tempnam() function
2007-08-09 03:35:22 +00:00
Johannes Schlüter
ab79c3dea9
- Fix build (patch by Ulf Wendel)
2007-08-08 14:52:40 +00:00
Raghubansh Kumar
8d87a8cf70
New testcases for fgetcsv() function
2007-08-08 13:15:01 +00:00
Raghubansh Kumar
34a7853c49
More testcases for fputcsv() function
2007-08-08 13:09:42 +00:00
Nuno Lopes
59f172e1e6
MFB: fix bug #41973
2007-08-08 11:38:32 +00:00
Jani Taskinen
f602af17b4
MFB: Fix bug #42233
2007-08-08 07:46:00 +00:00
Pierre Joye
6f7b46afbd
- MFB: fix regressio introduced by #42222
2007-08-08 06:30:56 +00:00
Raghubansh Kumar
e2d9b55057
New testcases for fputcsv() function
2007-08-08 03:55:05 +00:00
Hannes Magnusson
330797ea73
- Fix isset/empty($ZipArchive->property)
...
- Add test
2007-08-06 21:59:11 +00:00
Christopher Jones
bf94c89a8c
flush persistent connection after password change
2007-08-06 20:31:40 +00:00
Pierre Joye
ac3a73972a
- MFB: #42222 , forgot this one (thanks mattias)
2007-08-06 19:50:16 +00:00
Pierre Joye
0f55627dee
- MFB: #42222 , truncate the _default to the buffer size (was 200 since day #1 , we don't need dynamic alloc here)
2007-08-06 19:13:05 +00:00
Jani Taskinen
f3c9b3ec86
Touch generated file
2007-08-06 18:30:53 +00:00
Jani Taskinen
117ea0d3d1
ws fix
2007-08-06 18:25:41 +00:00
Jani Taskinen
6646603725
MFB: fix compile warning (+ some ws fixes)
2007-08-06 18:20:30 +00:00
Rob Richards
ebd85732fa
fix bug #42082 (NodeList length zero should be empty). (Hannes)
...
add and update tests
2007-08-06 16:21:45 +00:00
Andrey Hristov
de29322de4
Fix crashes with pconn in ext/mysql
2007-08-06 15:11:46 +00:00
Dmitry Stogov
a433f85ce1
Improved ext/openssl
...
. Added support for OpenSSL digest functions
. Added support for OpenSSL cipher functions
. Added access to internal values of DSA, RSA and DH keys
2007-08-06 08:43:43 +00:00
Jani Taskinen
def23a6e7d
MFB: Test for bug #42208 . Fix is not needed in HEAD, zend_parse_parameters is used here
2007-08-05 19:54:42 +00:00
Jani Taskinen
5735862a92
MFB (since Ilia is too lazy..): Fix bug #42135
2007-08-05 13:10:32 +00:00
Sara Golemon
6a0d08ae26
Bugfix#36492 Userfilters can leak buckets
2007-08-04 07:51:15 +00:00
Andrey Hristov
7186530157
Update CVS
...
- Fix BIT problem for BIT values represented with 5 bytes. Typo.
- Make it possible with an ini variable to switch off/on statistics
collection.
- Compile-out debug checking of uneaten data from the line, when the
build is release. According to callgrind this was eating some percentage.
2007-08-03 16:32:27 +00:00
Christopher Jones
6f58b504ad
MFB: New oci8 test for oci_password_change()
2007-08-03 01:55:34 +00:00
Stanislav Malyshev
d4cc7daba2
MF5: fix for access control with .htaccess
2007-08-03 01:40:05 +00:00
Christopher Jones
88edc2cf95
Treat privileged oci_pconnect() as non-persistent
2007-08-02 22:49:58 +00:00
Christopher Jones
0f8ab9db14
Fix message grammar and capitalization
2007-08-02 19:37:30 +00:00
Christopher Jones
95461653da
Bug #42173 (INTERVAL and TIMESTAMP type fixes)
2007-08-02 19:04:21 +00:00
Stanislav Malyshev
8db866bd55
fix win32 build
2007-08-02 00:04:05 +00:00
Christopher Jones
d9f25a2924
New test for error handling
2007-08-01 15:18:25 +00:00
Antony Dovgal
467b4569df
an attempt to fix win32 build
2007-08-01 11:43:27 +00:00
Dmitry Stogov
5430582586
Fixed bug #42151 (__destruct functions not called after catching a SoapFault exception)
2007-08-01 10:39:49 +00:00
Johannes Schlüter
b5c28aef4e
- Use a script to generate tokenizer data from zend_language_parser.h
2007-07-31 23:23:37 +00:00
Antony Dovgal
a2eef01a45
add test (thanks Chris!)
2007-07-31 21:11:22 +00:00
Antony Dovgal
c26725cc1a
missing part of the fix for bug #42134
2007-07-31 21:08:38 +00:00
Antony Dovgal
ac1452b21f
fix #42134 (oci_error() returns false after oci_new_collection() fails)
2007-07-31 19:19:39 +00:00
Rob Richards
6d0247ed7c
fix bug #41833 (addChild() on a non-existent node, no node created, getName() segfaults)
2007-07-31 15:39:59 +00:00
Rob Richards
142356ba19
fix possible crash
2007-07-31 15:07:15 +00:00
Jani Taskinen
099f5966ef
- Fix some lib vs. $PHP_LIBDIR issues.
2007-07-31 13:01:42 +00:00
Antony Dovgal
24c766b902
fix typo
...
it would be much better if Gentoo people send us this patch long ago instead of using their private patches.
2007-07-31 12:23:42 +00:00
Stanislav Malyshev
3592865320
sometimes c-client returns non-null entry with null host
2007-07-31 00:32:18 +00:00
Pierre Joye
322a68f726
- MFB:
...
- fix gd bug #102 , < 0 means that no load are loaded, return false
- add error code in the warning
2007-07-30 21:44:53 +00:00
Rob Richards
a1cf7cec92
allow user specified class to be returned from transformToDoc
2007-07-28 09:16:15 +00:00
Rob Richards
7fac5158d7
MFB: Fixed Bug #42112 (deleting a node produces memory corruption)
...
add test
2007-07-28 08:34:09 +00:00
Jani Taskinen
6287087e70
- Align help texts and added note about embedded not being available when
...
the MySQL native driver is used.
2007-07-27 01:09:18 +00:00
Jani Taskinen
a250d34000
I must be blind..
2007-07-26 19:07:53 +00:00
Jani Taskinen
4323e38314
- copy-paste typo
2007-07-26 18:49:51 +00:00
Jani Taskinen
b0b1438882
- Fixed bug #42107 (sscanf broken when using %2$s type format parameters)
2007-07-26 15:23:31 +00:00
Jani Taskinen
f771450890
- Check also if ulong is available
2007-07-26 14:54:49 +00:00
Andrey Hristov
2a80356a52
Return to previous code
2007-07-26 14:40:18 +00:00
Jani Taskinen
931c9a0556
- ws + cs fixes
2007-07-26 14:30:08 +00:00
Jani Taskinen
b16daf597c
fix typo
2007-07-26 14:29:03 +00:00
Raghubansh Kumar
6842c58737
file.inc : Added dumping of stat array in functions (compare_self_stat() & compare_stats() )
...
Smaller testcases for lstat_stat_variation[1-7].phpt files
2007-07-26 13:55:42 +00:00
Hannes Magnusson
15bac417cd
Add arginfo
2007-07-26 13:19:22 +00:00
Jani Taskinen
f3c2a33f42
- Moved mysqnd to it's own directory: It is sort of an extension itself.
...
(Similar to what ext/libxml is..)
2007-07-25 23:47:33 +00:00
Dmitry Stogov
11c5577116
Fixed EOF handling in case of reading from file opened in write only mode.
2007-07-25 16:34:27 +00:00
Andrey Hristov
7bb46902f8
Alignment fixes for 64bit and fixing macroses
2007-07-25 12:42:00 +00:00
Hannes Magnusson
1eaf171d98
Show "wrong parameter count" error messages
2007-07-25 09:05:55 +00:00
Johannes Schlüter
610f70fcf5
- MFB: New ReflectionExtension::info() function to print the phpinfo() block
...
for an extension.
2007-07-24 23:16:47 +00:00
Hannes Magnusson
374e0a5d02
Fixed bug#42090 (json_decode causes segmentation fault)
2007-07-24 22:54:26 +00:00
Antony Dovgal
0209e41563
add PCRE_VERSION constant to ext/pcre
2007-07-24 22:34:17 +00:00
Antony Dovgal
f0cde2c03d
namespace protection
...
GD uses the same variable, too.
2007-07-24 20:11:13 +00:00
Dmitry Stogov
cb27d5dbae
Fixed test
2007-07-24 20:03:30 +00:00
Andrey Hristov
bb4b052c23
Don't use AC_CHECK_TYPES, as autoconf 2.13 is buggy, use an workaround.
2007-07-24 19:20:28 +00:00
Andrey Hristov
02b2d0a4ac
Add missing file
2007-07-24 16:50:20 +00:00
Andrey Hristov
222174e23f
Import of mysqlnd and ext/mysql + ext/mysqli patched to be built either
...
with libmysql or mysqld.
Use --with-mysql=mysqlnd --with-mysqli=mysqlnd to build with mysqlnd.
2007-07-24 16:13:26 +00:00
Jani Taskinen
3d06e9db7f
- Added missing constants for MSG_EOR and MSG_EOF
2007-07-24 11:33:47 +00:00
Jani Taskinen
5dceae6f8f
- Removed useless file
2007-07-24 11:15:29 +00:00
Andrey Hristov
cbba608856
MFB
2007-07-24 09:32:11 +00:00
Dmitry Stogov
08bbb3269b
Fixed bug #41983 (Error Fetching http headers terminated by '\n')
2007-07-24 09:28:12 +00:00
Antony Dovgal
adf53be4ed
fix test
2007-07-23 22:14:41 +00:00
Jani Taskinen
8eaa978e97
- Fixed str_pad() when passed huge negative pad_length
2007-07-23 13:27:34 +00:00
Ulf Wendel
9b035b58f5
Damn, Pierre is clever.
...
[14:35] <_jani_> nixnutz_: why don't you just commit everything in one go..?
[14:35] <_jani_> this "spamming" is getting quite boring..
[14:36] <Pierre> 20â¬/commit :)
2007-07-23 12:38:41 +00:00
Ulf Wendel
512f62a5a9
Tests for mysqli_stmt_send_long_data()
2007-07-23 12:36:06 +00:00
Ulf Wendel
613947afc6
Tests which verify that you really cannot clone any of the mysqli
...
objects. Technically it might be possible to tweak ext/mysqli and make
the objects cloneable - tough, we haven't checked in depth.
So, if one is interested, raise a discussion.
2007-07-23 12:34:09 +00:00
Ulf Wendel
fe8c5d1243
Tests that check mysqli_fetch_field(), mysqli_fetch_field_direct() and
...
retrieve metadata
2007-07-23 12:28:56 +00:00
Ulf Wendel
a1c14bfffd
Tests for mysqli_fetch_object()
2007-07-23 12:28:12 +00:00
Ulf Wendel
16008bc577
Another nice new function that comes with mysqlnd: return all rows of
...
a result set in one array. This is handy if want to fetch all results and
pass the data directly to a template engine, for example. In this case
you save a loop.
1) Currently:
$all_rows = array();
while ($row = mysqli_fetch_assoc($res))
$all_rows[] = $row;
2) With mysqli_fetch_all:
$all_rows = mysqli_fetch_all($res, MYSQL_ASSOC)
Note: if you need the loop for processing each row, try variant 1) for
performance reasons.
2007-07-23 12:27:39 +00:00
Ulf Wendel
ff87d3ec5b
Adding tests for a few new functions that come with mysqlnd:
...
mysqli_stmt_get_result() - create mysqli_result set from stmt
mysqli_get_cache_stats() - mysqlnd internal status/stats
mysqli_get_client_stats() - mysqlnd internal status/stats/
2007-07-23 12:24:02 +00:00
Ulf Wendel
8e85715547
Playing with background processing: parent and child process fetching data
...
from the "same" result handle and checking with each other if the fetched
rows are the same or not. Inspired by a bug report. There seem to be really
people doing this...
2007-07-23 12:20:25 +00:00
Ulf Wendel
8d61b27811
Tests for mysqli_fetch_assoc(), mysqli_fetch_array(), mysqli_fetch_row()
2007-07-23 12:16:55 +00:00
Ulf Wendel
7432e6f873
Tests for mysqli_connect(), mysqli_real_connect(), mysqli_connect_errno(),
...
mysqli_connect_error()
2007-07-23 12:15:20 +00:00
Ulf Wendel
c41dc41f64
Tests that deal with mysqli_set_local_infile_handler() and mysqli_set_local_infile_default()
2007-07-23 12:13:15 +00:00
Ulf Wendel
937962ebe6
Adding new tests that check the interface of the classes exported by mysqli
2007-07-23 12:11:38 +00:00
Ulf Wendel
1884a16d01
Primarily whitespace/CS - synching with mysqlnd SVN repository
2007-07-23 12:04:19 +00:00
Jani Taskinen
7bfd857fa1
MFB: Fixed "Floating point exception" inside wordwrap()
2007-07-23 11:47:44 +00:00
Jani Taskinen
6b7c17e222
fix descriptions
2007-07-23 10:45:53 +00:00
Raghubansh Kumar
d4b7248e8a
More new testcases for glob()
2007-07-23 10:45:11 +00:00
Jani Taskinen
0a625249c3
fix test descriptions
2007-07-23 10:44:04 +00:00
Antony Dovgal
9f46c89c3b
more tests
2007-07-23 09:14:28 +00:00
Dmitry Stogov
16fa4dcbf7
Fixed wrong expectation
2007-07-23 08:57:47 +00:00
Ulf Wendel
307d9364ab
Whitespace (space to tab)/CS
...
With this commit the MySQL internal mysqlnd set of ext/mysql tests is in
sync with HEAD. It's likely that php.net/HEAD fails on quite some tests.
Using ext/mysql from the MySQL internal mysqlnd SVN there should be zero
failures. Merging the MySQL internal mysqlnd SVN into HEAD will happen
soon so that we get a bug free version on php.net in the near future.
2007-07-23 07:51:37 +00:00
Raghubansh Kumar
c06a7d5ffd
New testcases for glob() function
2007-07-23 05:25:19 +00:00
Hannes Magnusson
8bff918046
MFB: Avoid endless loop
2007-07-23 01:21:04 +00:00
Jani Taskinen
993f77ef9d
- Fixed bug #21197 (socket_read() outputs error with PHP_NORMAL_READ)
2007-07-22 23:00:14 +00:00
Jani Taskinen
08b144f722
WS fix
2007-07-22 22:46:52 +00:00
Jani Taskinen
4e921b7ea6
MFB: sockepair is not always available
2007-07-22 22:17:51 +00:00
Raghubansh Kumar
e5a2101c2a
More new testcases for fread() function
2007-07-22 17:38:48 +00:00
Raghubansh Kumar
00ecf433a6
New testcases for fread() functions
2007-07-22 17:30:27 +00:00
Raghubansh Kumar
7c205bb294
smaller testcases for stat() function on Windows
2007-07-22 12:32:45 +00:00
Raghubansh Kumar
3f04550eea
New testcases for ftruncate() function
2007-07-22 12:30:53 +00:00
Raghubansh Kumar
995caaf5ba
fix tests
2007-07-22 12:28:31 +00:00
Raghubansh Kumar
c4e10a6be1
New testcases for umask() function
2007-07-21 18:18:23 +00:00
Raghubansh Kumar
aeac0426f5
New testcases for lstat() and stat() functions
2007-07-21 17:27:45 +00:00
Raghubansh Kumar
cde94cb7b1
New testcases for is_file() function
2007-07-21 17:25:59 +00:00
Raghubansh Kumar
e889f297f3
New testcases for is_dir() function
2007-07-21 17:24:29 +00:00
Raghubansh Kumar
e41c15f71e
New testcases for fseek(), ftell() & rewind() functions
2007-07-21 17:22:32 +00:00
Raghubansh Kumar
edad34bd15
New testcases for fflush() function
2007-07-21 17:19:27 +00:00
Raghubansh Kumar
75ad7fa7db
New testcases for fwrite(), fgetc() and fgets() functions
2007-07-21 08:01:25 +00:00
Jani Taskinen
b0bbc60209
- Fix compile warnings
2007-07-21 01:23:37 +00:00
Jani Taskinen
7e9e8c950f
- ws + compile warning fixes
2007-07-21 00:49:53 +00:00
Jani Taskinen
5c0df4eb38
- Fix warnings
2007-07-20 23:53:29 +00:00
Raghubansh Kumar
c61fda5b94
Fix for fill_file() function in file.inc
...
New testcases for readfile() and umask() functions
2007-07-20 18:09:11 +00:00
Antony Dovgal
c771e2bf44
fix #41691 (ArrayObject::exchangeArray hangs Apache)
2007-07-20 10:53:45 +00:00
Antony Dovgal
5613d65043
revert
2007-07-20 10:10:11 +00:00
Antony Dovgal
3e72a3636e
fix #41989 (move_uploaded_file() & relative path in ZTS mode)
2007-07-19 15:56:33 +00:00
Antony Dovgal
44df63c8ae
fix tests, add 64bit versions
2007-07-19 15:15:15 +00:00
Antony Dovgal
383a8264e9
split the test
2007-07-19 15:04:05 +00:00
Antony Dovgal
04dc0ced37
fix unicode mode
2007-07-19 14:36:39 +00:00
Antony Dovgal
999c50f5b0
fix test
2007-07-19 14:35:45 +00:00
Antony Dovgal
d6688619fd
fix ws & folding
2007-07-19 14:25:37 +00:00
Antony Dovgal
bbf8afc3a4
make sure the cache is flushed when doing stat calls
2007-07-19 12:16:24 +00:00
Jani Taskinen
717f391d32
- Fixed bug #41433 (DBA: configure fails to include correct db.h for db4)
2007-07-19 10:48:34 +00:00
Christopher Jones
ab25af8aeb
Add casts to fix compilation warnings
2007-07-18 15:09:37 +00:00
Antony Dovgal
8464268a3f
fix test
2007-07-18 13:54:30 +00:00
Nuno Lopes
8171d5cc68
attempt to fix pdo_pgsql tests in HEAD
2007-07-18 12:28:08 +00:00
Raghubansh Kumar
dc721705af
New testcases for filesystem handling function : unlink()
2007-07-18 04:57:25 +00:00
Jani Taskinen
e70f6d70f1
- Fixed bug #42019 (configure option --with-adabas=DIR does not work)
2007-07-17 12:11:41 +00:00
Nuno Lopes
859841cf8c
MFB: update
2007-07-17 10:30:50 +00:00
Jani Taskinen
54519ad478
MFB: %f -> %F
2007-07-17 09:09:03 +00:00
Jani Taskinen
3229215255
- Fixed bug #42015 (ldap_rename() gets server error "DSA is unwilling to perform")
2007-07-17 08:38:19 +00:00
Antony Dovgal
e8dcb7a3b6
MFB: initialize glob struct
2007-07-16 20:29:37 +00:00
Antony Dovgal
78c7fde94a
fix typo
2007-07-16 19:36:28 +00:00
Antony Dovgal
a26699d806
more build fixes
2007-07-16 19:16:00 +00:00
Antony Dovgal
f3c571484e
fix win32 build
2007-07-16 19:12:47 +00:00
Antony Dovgal
d7ab2da30b
there is no such file
2007-07-16 19:07:22 +00:00
Raghubansh Kumar
eadb9f96c1
fix tests
2007-07-16 18:02:11 +00:00
Raghubansh Kumar
b4c1b36999
New testcases
2007-07-16 17:36:33 +00:00
Jani Taskinen
7bb7cae6a9
- Fix win32 build (I guess..:)
2007-07-16 13:51:41 +00:00
Antony Dovgal
a63e107188
add missing skipifs
2007-07-16 13:46:38 +00:00
Jani Taskinen
7c44729e41
- Cleanup and simplify
2007-07-16 13:41:12 +00:00
Antony Dovgal
514dfc34ca
remove ext/informix leftovers
2007-07-16 13:37:50 +00:00
Antony Dovgal
e3472f198a
add skipif
2007-07-16 13:35:31 +00:00
Antony Dovgal
c875f6493c
fix test
2007-07-16 13:31:34 +00:00
Antony Dovgal
8300bed9f9
add missing skipif sections
2007-07-16 13:29:41 +00:00
Jani Taskinen
d7e208a6c6
- Use explode instead of split (ereg goes bye bye..)
2007-07-16 12:35:33 +00:00
Antony Dovgal
febe567acb
split test
2007-07-16 10:59:07 +00:00
Antony Dovgal
b28ea6b885
fix test
2007-07-16 10:39:34 +00:00
Jani Taskinen
a1fd81368e
- Skip these tests always if unicode.semantics=on
2007-07-15 20:03:16 +00:00
Jani Taskinen
41c6375840
- Moved the old regex functions to it's own extension: ereg
2007-07-15 19:50:07 +00:00
Jani Taskinen
15ad001163
- Initial commit (files will be moved from elsewhere in CVS!)
2007-07-15 15:40:11 +00:00
Antony Dovgal
b608bd654d
fix ws, cs & folding
2007-07-14 08:38:20 +00:00
Derick Rethans
56828aba9a
- Let's always use the macro as llabs() requires c99.
2007-07-13 17:49:18 +00:00
Antony Dovgal
44d1ccca25
fix test
2007-07-13 17:15:12 +00:00
Antony Dovgal
6e5c6bbd26
add key values to the output
2007-07-13 17:07:33 +00:00
Antony Dovgal
d8354fe6ff
add 64bit version
2007-07-13 16:42:42 +00:00
Antony Dovgal
38283545ee
split one more huge test into several smaller ones
2007-07-13 16:39:55 +00:00
Antony Dovgal
2c0bd79e91
fix test, add 64bit version
2007-07-13 16:07:42 +00:00
Antony Dovgal
c601b252a0
fix %u in Unicode mode
2007-07-13 15:52:38 +00:00
Dmitry Stogov
e76b7240a1
Unicode support
2007-07-13 15:22:34 +00:00