]> granicus.if.org Git - php/commit
- Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,
authorJohannes Schlüter <johannes@php.net>
Mon, 21 Jul 2008 13:05:51 +0000 (13:05 +0000)
committerJohannes Schlüter <johannes@php.net>
Mon, 21 Jul 2008 13:05:51 +0000 (13:05 +0000)
commitae1cd8e253ff1a38a07b7d6636cdc57bfe73b1b0
tree1be53da74ed05784774bb8b53eb7ac33066f7681
parent0df974b7a599ae424bc7f80c23b4c721d689ce9c
- 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.
105 files changed:
ext/pdo/pdo_stmt.c
ext/pdo/php_pdo_driver.h
ext/pdo_mysql/CREDITS
ext/pdo_mysql/config.m4
ext/pdo_mysql/config.w32
ext/pdo_mysql/mysql_driver.c
ext/pdo_mysql/mysql_statement.c
ext/pdo_mysql/pdo_mysql.c
ext/pdo_mysql/php_pdo_mysql.h
ext/pdo_mysql/php_pdo_mysql_int.h
ext/pdo_mysql/tests/README [new file with mode: 0644]
ext/pdo_mysql/tests/bug_33689.phpt
ext/pdo_mysql/tests/bug_37445.phpt
ext/pdo_mysql/tests/bug_39483.phpt
ext/pdo_mysql/tests/bug_39858.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_41125.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_41698.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_41997.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_42499.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_43371.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_44454.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_44707.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_45120.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_pecl_12925.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_pecl_7976.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/config.inc
ext/pdo_mysql/tests/last_insert_id.phpt
ext/pdo_mysql/tests/mysql_pdo_test.inc [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql___construct.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql___construct_ini.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql___construct_options_libmysql.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql___construct_uri.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_autocommit.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_case.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_client_version.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_connection_status.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_driver_name.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_errmode.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_fetch_table_names.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_init_command.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_max_buffer_size.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_prefetch.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_server_info.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_server_version.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_attr_statement_class.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_begintransaction.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_bit.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_commit.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_errorcode.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_errorinfo.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_exec.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_exec_ddl.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_exec_select.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_fetch_both.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_get_attribute.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_interface.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_last_insert_id.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_emulated.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_emulated_anonymous.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_emulated_placeholder_everywhere.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_match_against.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_native.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_native_clear_error.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_native_column.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_native_dup_named_placeholder.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_native_mixed_style.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_native_named_placeholder.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_prepare_native_placeholder_everywhere.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_rollback.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_bindcolumn.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_bindparam.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_bindparam_types.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_bindvalue.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_blobfromsteam.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_blobs.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_closecursor.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_closecursor_empty.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_columncount.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_errorcode.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_errorinfo.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_non_select.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize_simple.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_fetchobject.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_getcolumnmeta.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_nextrowset.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_rowcount.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_unbuffered_2050.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_stmt_variable_columncount.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_subclass.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_types.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pdo_mysql_types_zerofill.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pecl_bug_5200.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pecl_bug_5780.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/pecl_bug_5802.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/show_tables.phpt
ext/pdo_mysql/tests/skipif.inc [new file with mode: 0755]
ext/pdo_mysql/tests/table.inc [new file with mode: 0644]