Johannes Schlüter
46608a073c
Fix bug #61194 PDO should export compression flag with myslqnd
2012-03-05 23:57:24 +00:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Johannes Schlüter
6781f17575
- Fix bug #60155 (pdo_mysql.default_socket ignored).
2011-11-02 15:45:53 +00:00
Johannes Schlüter
539a0f3bd3
- Fix bug #60155 (pdo_mysql.default_socket ignored).
2011-11-02 15:45:53 +00:00
Johannes Schlüter
026445a0aa
- Fix bug #60155 (pdo_mysql.default_socket ignored).
2011-11-02 15:45:53 +00:00
Pierre Joye
e1ad60d3d5
- fix bug #55870 , PDO ignores all SSL parameters when used with mysql native driver
2011-10-08 06:17:08 +00:00
Johannes Schlüter
bb10815f7e
- Fix folding
2011-09-19 12:31:06 +00:00
Johannes Schlüter
2817c5f3e7
- Fix folding
2011-09-19 12:31:06 +00:00
Johannes Schlüter
2122879a7a
- Fix folding
2011-09-19 12:31:06 +00:00
Andrey Hristov
ab99790eca
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
Andrey Hristov
cc697fa5bf
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
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
Rob Richards
1b6dd18082
Implement FR #48587 (MySQL PDO driver doesn't support SSL connections)
2011-04-15 14:24:40 +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
504b6f695e
MFT: Implemented FR #47802 (Support for setting character sets in DSN strings)
2011-01-17 09:54:22 +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
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +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
Kalle Sommer Nielsen
cb30330800
Merge safe_mode changes into extensions that are in sync in both branches
2010-04-26 23:55:03 +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
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
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
Andrey Hristov
c8c250df80
Fix pdo build, forgot to remove the zval caching from pdo-mysql
2009-12-10 09:35:10 +00:00
Ulf Wendel
381ebe751b
mysqlnd supports INIT_COMMAND and so we can add it to PDO_MYSQL @ mysqlnd
2009-09-22 15:31:35 +00:00
Antony Dovgal
193bbbbd59
fix build broken by the fix for bug #49306
2009-08-21 07:46:43 +00:00
Ilia Alshanetsky
019f4f2c22
Fixed bug #49306 (inside pdo_mysql default socket settings are ignored).
2009-08-20 12:13:38 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Ilia Alshanetsky
bead44c487
MFB: Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL).
2008-12-30 19:11:13 +00:00
Johannes Schlüter
40e42663f5
MFH: Fix #44135 (PDO MySQL does not support CLIENT_FOUND_ROWS)
2008-10-27 18:32:08 +00:00
Johannes Schlüter
0614a7763e
MFH: Add PDO::MYSQL_ATTR_COMPRESS connection flag [DOC]
2008-10-14 19:00:53 +00:00
Jani Taskinen
b17dc14f18
MFH: nuketh C++ comments
2008-08-03 12:15:55 +00:00
Johannes Schlüter
be0793d2e7
MFH: Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,
...
pecl#12794, pecl#12401
# Running the tests:
# (Note: Doesn't work currnetly on HEAD, see:
# http://news.php.net/php.qa/64378 )
#
# PDO_MYSQL_TEST_DSN - DSN
# For example: mysql:dbname=test;host=localhost;port=3306
#
# PDO_MYSQL_TEST_HOST - database host
# PDO_MYSQL_TEST_DB - database (schema) name
# PDO_MYSQL_TEST_SOCKET - database server socket
# PDO_MYSQL_TEST_ENGINE - storage engine to use
# PDO_MYSQL_TEST_USER - database user
# PDO_MYSQL_TEST_PASS - database user password
# PDO_MYSQL_TEST_CHARSET - database charset
#
# NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
# part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
# for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
2008-07-21 13:09:28 +00:00
Andrey Hristov
5e79f2c476
Fix for bug#45179 --with-mysql-sock fails to compile & work
...
Now --with-mysql-sock controls all mysql extensions. If provided it will be
the default value as it was set in php.ini . php.ini will override it for
ext/mysql and ext/mysqli but not for pdo_mysql
2008-07-21 12:58:51 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Stanislav Malyshev
b925a9248b
Fix INFILE LOCAL option handling with MySQL - now not allowed when open_basedir
...
or safe_mode is active
2007-06-18 21:51:32 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
b7b0f4d988
Fixed bug #39759 (Can't use stored procedures fetching multiple result
...
sets in pdo_mysql).
2006-12-08 19:50:40 +00:00
Ilia Alshanetsky
e7c2bd6e40
Default to buffered queries (much faster)
...
Default to prepared statement emulation to avoid hitting MySQL bugs
2006-12-03 23:29:03 +00:00
Antony Dovgal
588c45ea8d
MFH: fix #38996 (PDO_MYSQL doesn't check connections for liveness)
2006-10-02 22:09:49 +00:00
Wez Furlong
b9f85f37cc
Fixed Bug #36602 : persistent connections don't work with MySQL 5.0.3+.
...
Fixed PECL Bug #6262 ; correctly fallback to emulated statements
when the server version is too old.
Also include code to default to using emulated prepared statements, as these
can take advantage of the query cache. Since it's a bit late in the release
process to spring this on the masses, the default has not been changed. The
code is included so that it doesn't get lost.
2006-04-09 08:11:31 +00:00
Pierre Joye
c4db88563f
- Fixed fetching of string value bigger than 128bytes when no options
...
are used
2006-03-23 01:24:36 +00:00
Ilia Alshanetsky
6fd71dbbe9
Allow PDO_MYSQL_ATTR_DIRECT_QUERY to be set via constructor
...
Allow getAttribute() to fetch MySQL specific attributes.
Eliminate unnecessary auto-commit call on connect.
2006-03-17 00:15:09 +00:00
Ilia Alshanetsky
41de805a9d
MFH:
...
Fixed bug #36572 (Added PDO::MYSQL_ATTR_DIRECT_QUERY constant that show be
set when executing internal queries such as "show master status" via MySQL).
Added missing constant for MAX_BUFFER_SIZE.
2006-03-05 17:18:01 +00:00
Ilia Alshanetsky
3608dd4c11
Fixed bug #36345 (PDO/MySQL problem loading BLOB over 1MB).
2006-02-14 14:26:11 +00:00