Ilia Alshanetsky
daa380c0cb
Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is ignored)
2010-01-26 13:15:52 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Pierre Joye
af206a90ae
- fix build, come on, it is not that hard to test before commit, is it?
2009-12-11 16:35:42 +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
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +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
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
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +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
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Antony Dovgal
9ffefbc74e
MFH: add MySQL options and corresponding constants
2005-10-27 17:34:24 +00:00
Ilia Alshanetsky
4b6d351cd3
Missing bit of the previous commits
2005-07-20 16:22:09 +00:00
Wez Furlong
d7e5dfb2de
Enable native mysql 4.1.x prepared statement support
...
# the hardest part was installing 4.1.x on a gentoo box over a 56k modem
2005-07-03 02:20:08 +00:00
Ilia Alshanetsky
348c0cddae
Added PDO_MYSQL_ATTR_USE_BUFFERED_QUERY parameter for pdo_mysql, to toggle
...
usage of buffered queries.
2005-06-24 19:45:59 +00:00
Hartmut Holzgraefe
f7e8fcb8e0
fully distinguish between database and statement level errors
2005-02-27 20:34:36 +00:00
Hartmut Holzgraefe
dd7d41e938
use fetch_fields only once and remember the result
2005-02-27 12:43:23 +00:00
Hartmut Holzgraefe
beb7151936
cols
2005-02-27 11:46:38 +00:00
Wez Furlong
af2aa721df
zts fix ;)
2004-05-20 16:17:37 +00:00
Ilia Alshanetsky
40b04cd54b
Correctly report errors for statment problems.
2004-05-20 16:13:13 +00:00
Ilia Alshanetsky
0d6aa20880
Error handling support.
...
Fixed possible crash when trying to fetch data from a failed query.
2004-05-20 15:51:25 +00:00
Ilia Alshanetsky
074ba3fbc0
Added lastInsertId() method for retrieving last insert id.
...
Made affectedRows() work for MySQL.
Populate error value in MySQL on error.
2004-05-19 17:35:39 +00:00
Ilia Alshanetsky
b5f8bd8e9e
Simplify config via the use of mysql_config.
...
Fixed errno naming conflict.
2004-05-19 15:12:05 +00:00
Wez Furlong
8759648192
Update prepare() prototype.
...
Attempt to hunt down the cause of a build warning under win32 by adjust the
name of the error function.
2004-05-19 12:40:11 +00:00
Wez Furlong
b54a4dfeeb
Minor tweaks
2004-05-18 19:25:45 +00:00
Wez Furlong
df69bf6c06
mySQL, not Oracle ;)
2004-05-18 19:06:47 +00:00
George Schlossnagle
71728cc2b2
initial import of mysql 3.x pdo driver
2004-05-18 18:01:52 +00:00