Commit Graph

25233 Commits

Author SHA1 Message Date
Hannes Magnusson
872e9725ee Fixed creating directory structure when extracting phars 2009-06-04 12:21:59 +00:00
Kalle Sommer Nielsen
de20dd7ac8 Fix build 2009-06-04 08:18:32 +00:00
Felipe Pena
59b0990c1c - Fixed tests 2009-06-04 01:14:48 +00:00
Brian Shire
08f7c7f016 Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning 2009-06-03 19:37:22 +00:00
Ilia Alshanetsky
8768015b07 MFB: Fixed bug #46386 (Digest authentication with SOAP module fails against
MSSQL SOAP services)
2009-06-03 12:40:01 +00:00
Zoe Slattery
ab4ec6a5b4 Commiting testfest tests from tek 2009-06-03 12:29:57 +00:00
Pierre Joye
08528b4856 - fix title 2009-06-03 08:31:07 +00:00
Pierre Joye
0a170204f4 - MFB: fix parameter order and return value check in windows (Venkat Raman Don, Pierre)' link 2009-06-03 08:07:30 +00:00
Kalle Sommer Nielsen
5da75298a0 config.h is in this directory, not in ext/bcmath root, fixes re-compilation for me 2009-06-03 01:18:42 +00:00
Ilia Alshanetsky
ce046a899b ----------------------------------------------------------------------
Fixed test
2009-06-02 12:20:24 +00:00
Ilia Alshanetsky
5904ee8f8e MFB: Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values). 2009-06-01 13:11:09 +00:00
Zoe Slattery
f488c10b45 Fixes to work on Windows as well as Linux 2009-06-01 08:59:18 +00:00
Stanislav Malyshev
30846e5d0e fix for #48247 2009-05-31 21:29:54 +00:00
Ilia Alshanetsky
a1df5c8cb3 MFB: Fixed bug #48359 (Script hangs on snmprealwalk if OID is not
increasing)
2009-05-31 14:11:14 +00:00
Jani Taskinen
96d5773eb3 - No dots in error messages 2009-05-31 13:50:50 +00:00
Andrei Zmievski
3c3ae2812e Make a note. 2009-05-31 01:45:05 +00:00
Ulf Wendel
e92bf65c4c Fixing tests - messages/warnings can vary by version 2009-05-29 13:36:54 +00:00
Ulf Wendel
b592b26ff2 Updating test to reflect API changes. 2009-05-29 13:22:47 +00:00
Ulf Wendel
ce638000ae Skip test for libmysql. The MySQL C-API does not support it, mysqlnd does... 2009-05-29 13:12:24 +00:00
Andrey Hristov
1683d46dc9 Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x 2009-05-29 13:09:22 +00:00
Ulf Wendel
d8d9ef2c62 1) The wording of a message can differ by version and by libmysql vs. mysqlnd. 2) %i is better than %s 2009-05-29 13:02:30 +00:00
Ulf Wendel
0653a585d1 Behaviour is undefined with libmysql, accept whatever libmysql may return. With mysqlnd you get the defined value of -1 to indicate 'no value'. 2009-05-29 12:55:39 +00:00
Andrey Hristov
37234bb393 Fix for the failing mysql_stmt_execute() test. Data was cleaned after
stmt_reset() but it should stay and be freed as later as next stmt_execute()
2009-05-29 12:19:26 +00:00
Ulf Wendel
3da36d58dc 'Fixing' test to reflect a libmysql vs. mysqlnd difference. With libmysql it is not defined what mysql_stmt_store_result() shall return when one tries to store the (non-existing) result set of a failed SQL statement, http://dev.mysql.com/doc/refman/6.0/en/mysql-stmt-store-result.html . mysqlnd will detect the SQL failure and return false. libmysql will return true. If you want libmysql to change, file a bug report at MySQL... I don't think there is a good way to work around this in the extension itself. 2009-05-29 11:59:09 +00:00
Zoe Slattery
9421908753 better fix 2009-05-29 11:47:42 +00:00
Ulf Wendel
b59d4f6ffc Another detail where mysqlnd is superior than libmysql. The mysql_info() from libmysql does not support SELECT: http://dev.mysql.com/doc/refman/6.0/en/mysql-info.html . mysqlnd does support it. Libmysql feature request filed http://bugs.mysql.com/bug.php?id=45189 2009-05-29 11:00:53 +00:00
Ulf Wendel
64c8da2ff0 Weaker test - libmysql/server error messages can differ by version 2009-05-29 10:34:07 +00:00
Ulf Wendel
12c301e7ec Weaker test: functions are only available if HAVE_EMBEDDED_MYSQLI is set. There is probably no proper way to check this condition in the user land. 2009-05-29 10:25:37 +00:00
Ulf Wendel
05fdee2c65 Skip when using libmysql. Likely a regression bug - http://bugs.mysql.com/bug.php?id=45184 2009-05-29 10:15:32 +00:00
Zoe Slattery
0106b6e2df fixing to work with older levels of libcurl 2009-05-29 09:45:42 +00:00
Andrey Hristov
6b21010022 The option has changed the name, hence we change the test 2009-05-29 08:58:10 +00:00
Andrey Hristov
9230362631 Fix a very well hidden error because of not being careful with CPP.
I usually don't make this mistake :)
2009-05-29 08:05:21 +00:00
Kalle Sommer Nielsen
8a84716527 * Cast long to float in the T1* functions, we don't loose any data here
* Fix min/max redefs
2009-05-29 00:18:53 +00:00
Scott MacVicar
d8d4c1d188 Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here. 2009-05-28 21:56:35 +00:00
Kalle Sommer Nielsen
9cc941b31a zstr should be used here, this nukes another compiler warning 2009-05-28 20:53:09 +00:00
Kalle Sommer Nielsen
f490cdfae3 % shouldn't be escaped here 2009-05-28 20:46:05 +00:00
Kalle Sommer Nielsen
d1c04314c5 MFB: This should be in HEAD regradless of uint8_t is available or not 2009-05-28 19:40:37 +00:00
Ulf Wendel
8116eeb124 Asynchronous queries are mysqlnd only. If you want them with libmysql, ping JimW who works on Connector/C. 2009-05-28 18:57:14 +00:00
Ulf Wendel
db3f0aa99e Andrey needs to have a look at this one. The bug report itself is bogus. However, the bug report shows a result set and that is wrong. 2009-05-28 18:27:44 +00:00
Andrey Hristov
7b5dcc895a Forgot to commit this one, of the ANSI_QUOTES fame 2009-05-28 18:10:12 +00:00
Andrey Hristov
42495ccdde Fix again the tests for ANSI_QUOTES 2009-05-28 18:00:08 +00:00
Andrey Hristov
86aa4e8035 Fix a valgrind warning as well as more trace log information 2009-05-28 17:49:00 +00:00
Andrey Hristov
09b56ed2a5 Fix a problem with cursors, which did not happen with unbuffered PS for
some reason. Double free of the data, which led to valgrind warnigns.
The fix actually optimizes the code in this cases because the old code
used copy_ctor while the new one skips it because it is not needed.
Transferring data ownership and nulling works best, for PS where we
always copy the string from the result set, unlike the text protocol.
2009-05-28 16:35:16 +00:00
Ulf Wendel
f9fb575cd7 I had accidently removed Andrey's path to work with ANSI QUOTES... fixing what I broke (part 1) 2009-05-28 15:47:08 +00:00
Ulf Wendel
85cb084fc5 1) Changing EXPECT[F] sections to work with PHP 5.3 and PHP 6. 2) Merging a couple of fixes I applied to PHP 5.3 only yesterday. The changes should make it a little easier to do MFH and follow the rules in the future as we will soon have identical tests for PHP 5_3 and HEAD. 2009-05-28 14:11:41 +00:00
Ulf Wendel
ff1535fe73 Fixing test (its OK in 5_3 and needs to be fixed in HEAD) 2009-05-28 13:55:46 +00:00
Pierre Joye
c85b4de5fb #48378, exif_read_data() segfaults on certain corrupted .jpeg files 2009-05-28 13:44:43 +00:00
Arnaud Le Blanc
df4d44d78c New test 2009-05-28 13:22:15 +00:00
Pierre Joye
37eb8162a1 - MFB: fix build 2009-05-28 11:50:15 +00:00
Andrey Hristov
c90b10a290 Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised
function was called, which however, doesn't respect that during store the
raw data is not unpacked, to be lazy. The data is unpacked to zvals later,
during every row fetch. However, this way max_length won't be calculated
correctly. So, if a mysqlnd_fetch_field(_direct) call comes we need to
unpack everything and then calculate max_length...and that is expensive,
defies our lazy unpacking optimisation.
2009-05-28 11:47:15 +00:00