Stanislav Malyshev
d465ee0565
fix redirect when test run from different places
2011-09-06 05:21:56 +00:00
Andrey Hristov
27a48f0b44
Fix for Bug #54158 MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE
...
and a bunch of other small preprocessor fixes
2011-09-02 13:53:41 +00:00
Ulf Wendel
56a2ff3b00
Hopefully, this is an even better way to check for InnoDB support as of MySQL 5.6.1
2011-09-02 11:06:51 +00:00
Johannes Schlüter
4eff96b99b
- Fix TSRM build
2011-09-01 12:04:54 +00:00
Johannes Schlüter
39b0be5126
- Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlnd
2011-08-31 20:30:08 +00:00
Johannes Schlüter
35597286d6
- Update PDO_mysql error mapping
2011-08-31 15:46:07 +00:00
Johannes Schlüter
dd8f68ecb0
- Be less restrictive on the SQL state, some server versions might fool us
2011-08-31 15:25:18 +00:00
Rasmus Lerdorf
dd4e07b9b4
Since we are creating this csv file locally this should obviously
...
be a a LOCAL infile here for this to work reliably. For robustness
this should probably have a check for the local-infile server
setting as well.
2011-08-31 07:43:58 +00:00
Rasmus Lerdorf
76976d0702
Fix test. I have no idea why the test author didn't expect to get back
...
latin2 when the test is setting it to latin2 here. Both PHP and MySQL
are doing the right thing here.
2011-08-31 07:19:20 +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
Ulf Wendel
63ebb30730
Would be nice if tests get updated whenever a feature is added by the person adding the feature...
2011-07-26 09:33:01 +00:00
Ulf Wendel
ff58394fd6
Fix mysqlnd detection
2011-07-26 09:30:49 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
b86161982b
- Fixed bug #54929 (Parse error with single quote in sql comment)
2011-06-04 22:54:40 +00:00
Johannes Schlüter
0179c5a0e6
- Fix Bug #53782 (foreach throws irrelevant exception)
2011-05-16 15:37:39 +00:00
Rasmus Lerdorf
08792f6f9b
Cache the pdo include path
2011-05-15 05:03:29 +00:00
Johannes Schlüter
410a781063
- Fix bug #54644 (wrong pathes in php_pdo_mysql_int.h)
2011-05-09 11:34:17 +00:00
Rob Richards
944a2b0c80
Implement FR #48587 (MySQL PDO driver doesn't support SSL connections)
2011-04-15 14:24:40 +00:00
Kalle Sommer Nielsen
dc8da85778
Remove this void comment (c/p mistake)
2011-01-17 09:59:07 +00:00
Johannes Schlüter
fc49f76caa
- Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver)
2011-01-14 14:57:57 +00:00
Kalle Sommer Nielsen
ee62a1a747
Added test case for #47802 and fixed macro name after the move to mysql_options()
2011-01-07 17:18:30 +00:00
Kalle Sommer Nielsen
1351c2e2c6
Update to use mysql_options() instead of mysql_set_character_set() (As suggested by Andrey)
2011-01-07 14:58:23 +00:00
Kalle Sommer Nielsen
e4c36b054c
Implemented FR #47802 , support for character sets in DSN strings for PDO_MYSQL
2011-01-07 14:39:56 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Andrey Hristov
fe719c5e42
profiling in trace mode
2010-10-22 15:46:26 +00:00
Ulf Wendel
8c319bf942
Fix test: third parameter can be false.
2010-10-05 14:41:08 +00:00
Kalle Sommer Nielsen
d6efd2fef4
Fixed constness compiler warning in pdo_mysql
2010-10-05 09:58:15 +00:00
Ulf Wendel
8236f62ce2
Test update for sql_mode = ANSI
2010-09-22 15:16:07 +00:00
Ulf Wendel
70d231bf13
Dont be strict on error messages, they can vary by server version
2010-09-20 09:04:48 +00:00
Ulf Wendel
d3670280f0
PHP has changed (undefined) behaviour from 5.3.2 to 5.3.3: ->{} = , which seems to have been never an officially supported syntax and have never been a valid property name, is no longer allowed and PHP bails.
2010-08-31 14:43:02 +00:00
Ulf Wendel
b12d435b14
If you add functions to the PDO core, take care not to break other PDO drivers tests, document the function and provide a function test for the PDO core to check your default/fallback implementation.
2010-08-30 09:20:48 +00:00
Johannes Schlüter
eaad585a2e
- Drop (broken) support for libmysql 3.23 and 4.0 from pdo_mysql, see bug #51259
2010-08-05 13:29:44 +00:00
Ulf Wendel
aa9915ce5d
Fixing test - see also gcov results
2010-05-31 13:28:15 +00:00
Ulf Wendel
51044eb919
Improve EXPECTF to work with other than default schemata
2010-05-31 10:52:14 +00:00
Andrey Hristov
7f44538a11
Fix for Bug #51870
...
PDO::fetchAll after a PDO::execute with bindings lead to a segv.
It is only in unreleased code and thus doesn't deserve a NEWS entry
2010-05-21 11:09:28 +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
Antony Dovgal
adaf07849d
fix typo
2010-04-06 13:42:21 +00:00
Andrey Hristov
7496cc761e
decouple the methods in MYSQLND_STMT from the data,
...
needed to move to a new structure MYSQLND_STMT. Makes
the code cleaner and less error-prone.
Also fix PDO/MySQL which directly touch mysqlnd internals
instead of using API calls.
2010-03-16 12:36:57 +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
Andrey Hristov
e50de7d982
Pass tsrmls to all functions, which might need it in the future.
...
We are anyway breaking the internal ABI in 5.3.2 so this won't hurt
and make us prepared for the future.
2010-02-03 17:31:29 +00:00
Gwynne Raskind
775659b921
ZEND_EXTERN_MODULE_GLOBALS() is necessary with ZTS, at least on OS X. How confusing.
2010-01-31 20:00:36 +00:00
Ilia Alshanetsky
6616ceaefa
Fixed crash in ZTS mode due to ini values not being initialized
2010-01-31 19:18:56 +00:00
Rasmus Lerdorf
693eff5dc2
Blah, PDO_DBG_ENABLED is a 0/1 toggle
2010-01-31 17:07:31 +00:00
Rasmus Lerdorf
cc4e15ce53
RINIT/RSHUTDOWN do nothing unless PDO_DBG_ENABLED is defined,
...
so don't waste time calling them on every request.
2010-01-31 16:56:52 +00:00
Ilia Alshanetsky
daa380c0cb
Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is ignored)
2010-01-26 13:15:52 +00:00
Johannes Schlüter
6dda7add54
Overlong hostnames breakthistest on NIS enabled FreeBSD
2010-01-21 13:30:46 +00:00
Andrey Hristov
176e6dd2f2
make mysqlnd's tracing API more reusable
2010-01-13 14:06:02 +00:00
Ilia Alshanetsky
d2e14e3f20
Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0)
2010-01-12 12:46:54 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00