Name Date Size #Lines LOC

..17-Jul-2023-

foo/H31-Aug-2021-

CONFLICTSH A D31-Aug-20216 21

PDO_getAvaliableDrivers.phptH A D31-Aug-2021327 1413

README.mdH A D31-Aug-20211.1 KiB4228

bug41125.phptH A D31-Aug-20215.4 KiB175143

bug44327.phptH A D31-Aug-20211.6 KiB6759

bug46292.phptH A D11-Aug-20221.6 KiB7462

bug53551.phptH A D31-Aug-20211.6 KiB7563

bug53782.phptH A D31-Aug-2021815 4337

bug54929.phptH A D31-Aug-20211.6 KiB7666

bug63176.phptH A D11-Aug-20221.1 KiB5751

bug63185.phptH A D31-Aug-20211.7 KiB7569

bug66141.phptH A D31-Aug-20211.2 KiB4031

bug66528.phptH A D31-Aug-20212 KiB5346

bug66878.phptH A D31-Aug-2021755 3832

bug67004.phptH A D31-Aug-2021901 3630

bug68371.phptH A D31-Aug-20212.4 KiB10297

bug70066.phptH A D31-Aug-2021679 2924

bug70272.phptH A D31-Aug-2021609 3329

bug70389.phptH A D31-Aug-2021641 3531

bug70862.phptH A D11-Aug-20221.2 KiB4840

bug71145.phptH A D31-Aug-2021694 2823

bug71569.phptH A D31-Aug-2021511 2522

bug75177.phptH A D31-Aug-20211.1 KiB4843

bug76815.phptH A D31-Aug-20211.1 KiB4237

bug77289.phptH A D31-Aug-2021622 2623

bug78152.phptH A D31-Aug-20211.1 KiB3531

bug79132.phptH A D31-Aug-20211.5 KiB6860

bug79375.phptH A D31-Aug-20213.2 KiB116104

bug79596.phptH A D31-Aug-2021941 3329

bug79872.phptH A D31-Aug-2021768 2824

bug80458.phptH A D31-Aug-20214.2 KiB189167

bug80808.phptH A D31-Aug-2021777 2924

bug80908.phptH A D31-Aug-20211.3 KiB5145

bug81037.phptH A D31-Aug-2021847 3733

bug_33689.phptH A D31-Aug-20211.5 KiB6861

bug_37445.phptH A D31-Aug-2021674 2624

bug_38546.phptH A D31-Aug-20216.1 KiB288245

bug_39483.phptH A D31-Aug-2021661 3230

bug_39858.phptH A D31-Aug-20212.3 KiB112101

bug_41125.phptH A D31-Aug-20211.7 KiB7772

bug_41698.phptH A D31-Aug-2021929 4037

bug_41997.phptH A D31-Aug-20211.7 KiB8175

bug_42499.phptH A D31-Aug-20212.7 KiB8267

bug_43371.phptH A D31-Aug-2021441 2118

bug_44454.phptH A D31-Aug-20213 KiB115101

bug_44707.phptH A D31-Aug-20212.4 KiB10689

bug_45120.phptH A D31-Aug-20211.3 KiB5141

bug_50323.phptH A D31-Aug-20211.6 KiB6352

bug_51670.phptH A D31-Aug-2021630 2625

bug_61207.phptH A D31-Aug-20212.4 KiB11192

bug_61411.phptH A D31-Aug-20211.3 KiB5648

bug_61755.phptH A D31-Aug-2021966 4437

bug_64705.phptH A D31-Aug-2021371 1615

bug_74376.phptH A D31-Aug-2021740 3125

bug_pecl_12925.phptH A D31-Aug-20211.3 KiB6457

bug_pecl_7976.phptH A D31-Aug-20211.9 KiB9281

change_column_count.phptH A D31-Aug-20211.3 KiB6356

common.phptH A D31-Aug-2021714 2824

config.incH A D31-Aug-20212.4 KiB5346

construct_persistent_failure.phptH A D16-Nov-2021298 1716

gh-11587.phptH A D17-Jul-20233.4 KiB164145

gh11550.phptH A D04-Aug-20231.7 KiB8377

last_insert_id.phptH A D31-Aug-2021878 3934

mysql_pdo_test.incH A D31-Aug-20215.3 KiB178141

native_types.phptH A D31-Aug-20211.1 KiB5247

pdo_mysql___construct.phptH A D12-Oct-202313.8 KiB308255

pdo_mysql___construct_ini.phptH A D31-Aug-20211.5 KiB5849

pdo_mysql___construct_options.phptH A D31-Aug-20219.2 KiB186156

pdo_mysql___construct_options_libmysql.phptH A D31-Aug-20213.2 KiB8069

pdo_mysql___construct_uri.phptH A D03-May-20222.1 KiB6960

pdo_mysql_attr_autocommit.phptH A D31-Aug-20213.7 KiB10080

pdo_mysql_attr_case.phptH A D31-Aug-20215.4 KiB227208

pdo_mysql_attr_client_version.phptH A D31-Aug-20211.2 KiB3931

pdo_mysql_attr_connection_status.phptH A D31-Aug-2021946 3428

pdo_mysql_attr_driver_name.phptH A D31-Aug-2021834 3327

pdo_mysql_attr_errmode.phptH A D31-Aug-20216 KiB169142

pdo_mysql_attr_fetch_table_names.phptH A D31-Aug-2021901 4440

pdo_mysql_attr_init_command.phptH A D31-Aug-20211.2 KiB5144

pdo_mysql_attr_max_buffer_size.phptH A D31-Aug-20212.6 KiB8371

pdo_mysql_attr_multi_statements.phptH A D31-Aug-20212.8 KiB10295

pdo_mysql_attr_oracle_nulls.phptH A D31-Aug-20213.2 KiB149138

pdo_mysql_attr_prefetch.phptH A D31-Aug-2021634 2423

pdo_mysql_attr_server_info.phptH A D31-Aug-20211.7 KiB5445

pdo_mysql_attr_server_version.phptH A D31-Aug-20212.7 KiB6759

pdo_mysql_attr_statement_class.phptH A D31-Aug-20214.9 KiB166147

pdo_mysql_begintransaction.phptH A D31-Aug-20217.9 KiB210162

pdo_mysql_bit.phptH A D31-Aug-20211.9 KiB6658

pdo_mysql_class_constants.phptH A D31-Aug-20213.5 KiB11598

pdo_mysql_closecursor_error.phptH A D31-Aug-2021747 3330

pdo_mysql_commit.phptH A D31-Aug-20213.6 KiB9783

pdo_mysql_connect_attr.phptH A D31-Aug-20211.9 KiB5947

pdo_mysql_connect_charset.phptH A D31-Aug-20211.1 KiB3529

pdo_mysql_errorcode.phptH A D31-Aug-20212.5 KiB8874

pdo_mysql_errorinfo.phptH A D31-Aug-20213.7 KiB11395

pdo_mysql_exec.phptH A D31-Aug-20218.4 KiB188164

pdo_mysql_exec_ddl.phptH A D31-Aug-20213.1 KiB9481

pdo_mysql_exec_load_data.phptH A D31-Aug-20213.8 KiB11593

pdo_mysql_exec_select.phptH A D31-Aug-20212.8 KiB6757

pdo_mysql_fetch_both.phptH A D31-Aug-20211.6 KiB6449

pdo_mysql_get_attribute.phptH A D31-Aug-20213.1 KiB10083

pdo_mysql_inTransaction.phptH A D31-Aug-20212.4 KiB114104

pdo_mysql_interface.phptH A D31-Aug-20211.6 KiB6157

pdo_mysql_last_insert_id.phptH A D31-Aug-20214.7 KiB121100

pdo_mysql_local_infile_default_off.phptH A D31-Aug-2021775 3128

pdo_mysql_local_infile_directory_allowed.phptH A D31-Aug-20212.7 KiB8780

pdo_mysql_local_infile_directory_denied.phptH A D31-Aug-20212.5 KiB7871

pdo_mysql_local_infile_overrides_local_infile_directory.phptH A D31-Aug-20212.7 KiB8780

pdo_mysql_local_infile_set_on.phptH A D31-Aug-2021591 2623

pdo_mysql_multi_stmt_nextrowset.phptH A D31-Aug-20215.7 KiB272256

pdo_mysql_param_str_natl.phptH A D31-Aug-20211,008 4741

pdo_mysql_pconnect.phptH A D31-Aug-20214 KiB10688

pdo_mysql_phpinfo.phptH A D31-Aug-2021742 3227

pdo_mysql_prepare_emulated.phptH A D31-Aug-202116.1 KiB416359

pdo_mysql_prepare_emulated_anonymous.phptH A D31-Aug-20212.9 KiB8877

pdo_mysql_prepare_emulated_placeholder_everywhere.phptH A D31-Aug-20212.8 KiB8475

pdo_mysql_prepare_match_against.phptH A D31-Aug-20211.5 KiB5646

pdo_mysql_prepare_native.phptH A D31-Aug-202115.1 KiB390338

pdo_mysql_prepare_native_clear_error.phptH A D31-Aug-20213.6 KiB10287

pdo_mysql_prepare_native_column.phptH A D31-Aug-20211.3 KiB5144

pdo_mysql_prepare_native_dup_named_placeholder.phptH A D31-Aug-20214.6 KiB148128

pdo_mysql_prepare_native_mixed_style.phptH A D31-Aug-20211.4 KiB4438

pdo_mysql_prepare_native_named_placeholder.phptH A D31-Aug-20213.3 KiB9582

pdo_mysql_prepare_native_placeholder_everywhere.phptH A D31-Aug-20212.5 KiB8576

pdo_mysql_quote.phptH A D31-Aug-20211 KiB3632

pdo_mysql_rollback.phptH A D31-Aug-20212.9 KiB10188

pdo_mysql_stmt_bindcolumn.phptH A D31-Aug-20214.6 KiB117102

pdo_mysql_stmt_bindparam.phptH A D31-Aug-20215.8 KiB161138

pdo_mysql_stmt_bindparam_types.phptH A D31-Aug-20218.5 KiB175156

pdo_mysql_stmt_bindvalue.phptH A D31-Aug-202113.5 KiB338276

pdo_mysql_stmt_blobfromsteam.phptH A D31-Aug-20214.7 KiB150124

pdo_mysql_stmt_blobs.phptH A D31-Aug-20213.2 KiB10690

pdo_mysql_stmt_closecursor.phptH A D31-Aug-20217.5 KiB178146

pdo_mysql_stmt_closecursor_empty.phptH A D31-Aug-20212.4 KiB7663

pdo_mysql_stmt_columncount.phptH A D31-Aug-20212 KiB7161

pdo_mysql_stmt_errorcode.phptH A D31-Aug-20212 KiB6451

pdo_mysql_stmt_errorinfo.phptH A D31-Aug-20213.4 KiB138125

pdo_mysql_stmt_fetch_non_select.phptH A D31-Aug-20217.2 KiB193164

pdo_mysql_stmt_fetch_serialize.phptH A D11-Aug-20225.2 KiB158127

pdo_mysql_stmt_fetch_serialize_simple.phptH A D31-Aug-20213.8 KiB10281

pdo_mysql_stmt_fetchobject.phptH A D11-Aug-20223.2 KiB118104

pdo_mysql_stmt_fetchobject_ctor_args.phptH A D31-Aug-20212.1 KiB10188

pdo_mysql_stmt_getcolumnmeta.phptH A D31-Aug-202113.2 KiB308256

pdo_mysql_stmt_multiquery.phptH A D31-Aug-20212.6 KiB10894

pdo_mysql_stmt_nextrowset.phptH A D31-Aug-20216.1 KiB328306

pdo_mysql_stmt_rowcount.phptH A D31-Aug-2021964 3832

pdo_mysql_stmt_unbuffered_2050.phptH A D31-Aug-20215.5 KiB186163

pdo_mysql_stmt_variable_columncount.phptH A D31-Aug-20214.7 KiB129112

pdo_mysql_subclass.phptH A D11-Aug-20222.7 KiB10288

pdo_mysql_types.phptH A D31-Aug-20217.5 KiB186147

pdo_mysql_types_zerofill.phptH A D31-Aug-20214.9 KiB130108

pecl_bug_5200.phptH A D31-Aug-2021912 3936

pecl_bug_5780.phptH A D31-Aug-20211.4 KiB5249

pecl_bug_5802.phptH A D31-Aug-20211.3 KiB6456

show_tables.phptH A D31-Aug-2021424 2422

skipifinfilenotallowed.incH A D31-Aug-2021266 76

table.incH A D31-Aug-2021405 109

unsigned_bigint.phptH A D30-Dec-20211.1 KiB5048

README.md

1# The pdo_mysql extension tests
2
3You must set the following environment variables to run the tests:
4
5```bash
6# DSN; For example: mysql:dbname=test;host=localhost;port=3306
7PDO_MYSQL_TEST_DSN
8
9# Database host
10PDO_MYSQL_TEST_HOST
11
12# Database (schema) name
13PDO_MYSQL_TEST_DB
14
15# Database server socket
16PDO_MYSQL_TEST_SOCKET
17
18# Storage engine to use
19PDO_MYSQL_TEST_ENGINE
20
21# Database user
22PDO_MYSQL_TEST_USER
23
24# Database user password
25PDO_MYSQL_TEST_PASS
26
27# Database charset
28PDO_MYSQL_TEST_CHARSET
29```
30
31NOTE: if any of `PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET]` is part of
32`PDO_MYSQL_TEST_DSN`, the values must match. That is, for example, for
33`PDO_MYSQL_TEST_DSN = mysql:dbname=test` you MUST set `PDO_MYSQL_TEST_DB=test`.
34
35## MySQL User Permissions
36
37The MySQL user used to run the tests must have full permissions on the test
38database, plus the following additional permissions:
39
40* SUPER: Required to [create functions if binary logging is enabled](https://dev.mysql.com/doc/refman/8.0/en/stored-programs-logging.html#sa38412929)
41* SELECT permissions on performance_schema.session_connect_attrs
42