Name Date Size #Lines LOC

..07-Oct-2024-

foo/H30-Aug-2022-

inc/H05-Nov-2024-

CONFLICTSH A D30-Aug-20226 21

PDO_getAvaliableDrivers.phptH A D30-Aug-2022327 1413

README.mdH A D30-Aug-20221.1 KiB4228

bug41125.phptH A D27-Nov-20235.3 KiB172143

bug44327.phptH A D27-Nov-20231.7 KiB6962

bug46292.phptH A D27-Nov-20231.6 KiB7262

bug53551.phptH A D22-Jan-20241.5 KiB7261

bug53782.phptH A D27-Nov-2023619 3529

bug54929.phptH A D27-Nov-20231.6 KiB7266

bug63176.phptH A D27-Nov-20231.1 KiB5852

bug63185.phptH A D27-Nov-20231.6 KiB7468

bug66141.phptH A D27-Nov-20231.2 KiB4031

bug66528.phptH A D27-Nov-20232 KiB5245

bug66878.phptH A D27-Nov-2023718 3732

bug67004.phptH A D27-Nov-2023865 3630

bug68371.phptH A D04-Dec-20232.3 KiB10297

bug70066.phptH A D27-Nov-2023637 2623

bug70272.phptH A D27-Nov-2023521 3127

bug70389.phptH A D27-Nov-2023618 3431

bug70862.phptH A D27-Nov-20231.2 KiB4840

bug71145.phptH A D27-Nov-2023620 2522

bug71569.phptH A D27-Nov-2023488 2422

bug75177.phptH A D27-Nov-20231,002 4440

bug76815.phptH A D27-Nov-20231.1 KiB4237

bug77289.phptH A D27-Nov-2023585 2523

bug78152.phptH A D27-Nov-20231.2 KiB3633

bug79132.phptH A D27-Nov-20231.4 KiB6860

bug79375.phptH A D27-Nov-20233.2 KiB115103

bug79596.phptH A D27-Nov-2023876 3229

bug79872.phptH A D27-Nov-2023731 2724

bug80458.phptH A D27-Nov-20234.4 KiB187165

bug80808.phptH A D27-Nov-2023868 3229

bug80908.phptH A D27-Nov-20231.3 KiB4944

bug81037.phptH A D27-Nov-2023913 3834

bug_33689.phptH A D27-Nov-20231.5 KiB6659

bug_37445.phptH A D27-Nov-2023605 2422

bug_38546.phptH A D27-Nov-20236.1 KiB283242

bug_39483.phptH A D27-Nov-2023584 3028

bug_39858.phptH A D27-Nov-20231.9 KiB10092

bug_41125.phptH A D27-Nov-20231.2 KiB7168

bug_41698.phptH A D27-Nov-2023994 4340

bug_41997.phptH A D27-Nov-20231.2 KiB7166

bug_42499.phptH A D27-Nov-20232.3 KiB7061

bug_43371.phptH A D27-Nov-2023405 2118

bug_44454.phptH A D27-Nov-20233 KiB10998

bug_44707.phptH A D27-Nov-20232 KiB9583

bug_45120.phptH A D27-Nov-20231.2 KiB4638

bug_50323.phptH A D27-Nov-20231.5 KiB6150

bug_51670.phptH A D27-Nov-2023558 2423

bug_61207.phptH A D27-Nov-20232.4 KiB10891

bug_61411.phptH A D27-Nov-2023747 4337

bug_61755.phptH A D27-Nov-2023894 4235

bug_64705.phptH A D30-Aug-2022371 1615

bug_74376.phptH A D27-Nov-2023665 2823

bug_pecl_12925.phptH A D27-Nov-20231.4 KiB6560

bug_pecl_7976.phptH A D27-Nov-20231.5 KiB7972

change_column_count.phptH A D27-Nov-20231.4 KiB6155

common.phptH A D30-Aug-2022714 2824

construct_persistent_failure.phptH A D30-Aug-2022298 1716

gh11550.phptH A D29-Feb-20241.8 KiB8477

gh11587.phptH A D27-Nov-20233.3 KiB163145

gh16314.phptH A D06-Nov-20241.2 KiB6862

last_insert_id.phptH A D27-Nov-20231 KiB4338

native_types.phptH A D27-Nov-20231.1 KiB5247

pdo_mysql___construct.phptH A D27-Nov-202313.7 KiB298255

pdo_mysql___construct_ini.phptH A D27-Nov-20231.5 KiB5849

pdo_mysql___construct_options.phptH A D04-Dec-20239.2 KiB183156

pdo_mysql___construct_options_libmysql.phptH A D27-Nov-20233.2 KiB7969

pdo_mysql___construct_uri.phptH A D27-Nov-20232 KiB6860

pdo_mysql_attr_autocommit.phptH A D04-Dec-20233.8 KiB10081

pdo_mysql_attr_case.phptH A D27-Nov-20235.5 KiB229209

pdo_mysql_attr_client_version.phptH A D27-Nov-20231.1 KiB3830

pdo_mysql_attr_connection_status.phptH A D27-Nov-2023891 3327

pdo_mysql_attr_driver_name.phptH A D27-Nov-2023767 3226

pdo_mysql_attr_errmode.phptH A D27-Nov-20235.9 KiB166141

pdo_mysql_attr_fetch_table_names.phptH A D04-Dec-20231.3 KiB5651

pdo_mysql_attr_init_command.phptH A D27-Nov-20231.2 KiB5447

pdo_mysql_attr_max_buffer_size.phptH A D18-Feb-20242.1 KiB7364

pdo_mysql_attr_multi_statements.phptH A D27-Nov-20232.7 KiB10798

pdo_mysql_attr_oracle_nulls.phptH A D27-Nov-20233.3 KiB153142

pdo_mysql_attr_prefetch.phptH A D27-Nov-2023567 2322

pdo_mysql_attr_server_info.phptH A D27-Nov-20231.7 KiB5344

pdo_mysql_attr_server_version.phptH A D27-Nov-20232.6 KiB6658

pdo_mysql_attr_statement_class.phptH A D27-Nov-20235.1 KiB173153

pdo_mysql_begintransaction.phptH A D04-Dec-20237.9 KiB210161

pdo_mysql_bit.phptH A D27-Nov-20231.8 KiB6457

pdo_mysql_class_constants.phptH A D27-Nov-20233.5 KiB11598

pdo_mysql_closecursor_error.phptH A D27-Nov-2023711 3330

pdo_mysql_commit.phptH A D04-Dec-20233.5 KiB9782

pdo_mysql_connect_attr.phptH A D27-Nov-20231.8 KiB5947

pdo_mysql_connect_charset.phptH A D27-Nov-20231 KiB3529

pdo_mysql_errorcode.phptH A D27-Nov-20232.6 KiB8775

pdo_mysql_errorinfo.phptH A D27-Nov-20233.8 KiB11497

pdo_mysql_exec.phptH A D27-Nov-20238.7 KiB183166

pdo_mysql_exec_ddl.phptH A D27-Nov-20232.9 KiB8979

pdo_mysql_exec_load_data.phptH A D27-Nov-20233.5 KiB10690

pdo_mysql_exec_select.phptH A D27-Nov-20232.7 KiB6355

pdo_mysql_fetch_both.phptH A D27-Nov-20231.6 KiB5648

pdo_mysql_get_attribute.phptH A D04-Dec-20232.8 KiB8774

pdo_mysql_inTransaction.phptH A D27-Nov-20232.4 KiB114104

pdo_mysql_interface.phptH A D12-Jan-20241.5 KiB5955

pdo_mysql_last_insert_id.phptH A D27-Nov-20235 KiB12099

pdo_mysql_local_infile_default_off.phptH A D27-Nov-2023679 3027

pdo_mysql_local_infile_directory_allowed.phptH A D27-Nov-20232.5 KiB8477

pdo_mysql_local_infile_directory_denied.phptH A D27-Nov-20232.3 KiB7568

pdo_mysql_local_infile_overrides_local_infile_directory.phptH A D27-Nov-20232.5 KiB8477

pdo_mysql_local_infile_set_on.phptH A D27-Nov-2023490 2522

pdo_mysql_multi_stmt_nextrowset.phptH A D27-Nov-20235.5 KiB264252

pdo_mysql_param_str_natl.phptH A D27-Nov-20231 KiB4439

pdo_mysql_parser.phptH A D20-Jun-20241.7 KiB6960

pdo_mysql_pconnect.phptH A D27-Nov-20233.9 KiB10588

pdo_mysql_phpinfo.phptH A D27-Nov-2023675 3126

pdo_mysql_prepare_emulated.phptH A D21-Aug-20247.5 KiB210182

pdo_mysql_prepare_emulated_anonymous.phptH A D27-Nov-20233 KiB8675

pdo_mysql_prepare_emulated_anonymous_placeholders.phptH A D21-Aug-20247.6 KiB205177

pdo_mysql_prepare_emulated_binary.phptH A D07-Oct-20241.4 KiB4940

pdo_mysql_prepare_emulated_myisam.phptH A D21-Aug-20246.8 KiB157134

pdo_mysql_prepare_emulated_myisam_index.phptH A D21-Aug-20247.1 KiB169139

pdo_mysql_prepare_emulated_placeholder_everywhere.phptH A D27-Nov-20232.9 KiB8374

pdo_mysql_prepare_match_against.phptH A D27-Nov-20231.5 KiB5145

pdo_mysql_prepare_native.phptH A D21-Aug-20247 KiB191165

pdo_mysql_prepare_native_anonymous_placeholder.phptH A D21-Aug-202410.9 KiB267232

pdo_mysql_prepare_native_clear_error.phptH A D27-Nov-20233.7 KiB9785

pdo_mysql_prepare_native_column.phptH A D27-Nov-20231.3 KiB5244

pdo_mysql_prepare_native_dup_named_placeholder.phptH A D27-Nov-20234.7 KiB143126

pdo_mysql_prepare_native_mixed_style.phptH A D27-Nov-20231.5 KiB4639

pdo_mysql_prepare_native_myisam.phptH A D21-Aug-20246.7 KiB160137

pdo_mysql_prepare_native_myisam_index.phptH A D21-Aug-20247.2 KiB180153

pdo_mysql_prepare_native_named_placeholder.phptH A D27-Nov-20233.4 KiB9380

pdo_mysql_prepare_native_placeholder_everywhere.phptH A D27-Nov-20232.7 KiB8374

pdo_mysql_quote.phptH A D27-Nov-20231 KiB3632

pdo_mysql_quote_binary.phptH A D07-Oct-2024738 2925

pdo_mysql_quote_gbk_double_escape.phptH A D24-Feb-20242 KiB4540

pdo_mysql_rollback.phptH A D04-Dec-20232.9 KiB10186

pdo_mysql_stmt_bindcolumn.phptH A D27-Nov-20234.7 KiB118102

pdo_mysql_stmt_bindparam.phptH A D27-Nov-20235.9 KiB164141

pdo_mysql_stmt_bindparam_types.phptH A D27-Nov-20238.5 KiB168154

pdo_mysql_stmt_bindvalue.phptH A D27-Nov-202313.6 KiB340277

pdo_mysql_stmt_blobfromstream.phptH A D27-Nov-20234.8 KiB151124

pdo_mysql_stmt_blobs.phptH A D27-Nov-20233.3 KiB10690

pdo_mysql_stmt_closecursor.phptH A D27-Nov-20237.6 KiB179147

pdo_mysql_stmt_closecursor_empty.phptH A D27-Nov-20232.5 KiB7663

pdo_mysql_stmt_columncount.phptH A D27-Nov-20232.1 KiB7362

pdo_mysql_stmt_errorcode.phptH A D27-Nov-20232 KiB6350

pdo_mysql_stmt_errorinfo.phptH A D27-Nov-20233.7 KiB140126

pdo_mysql_stmt_fetch_class.phptH A D27-Nov-20234.1 KiB129106

pdo_mysql_stmt_fetch_non_select.phptH A D27-Nov-20237.3 KiB196166

pdo_mysql_stmt_fetch_serialize.phptH A D27-Nov-20233.8 KiB123100

pdo_mysql_stmt_fetch_serialize_fetch_class.phptH A D27-Nov-20234.4 KiB130105

pdo_mysql_stmt_fetch_serialize_simple.phptH A D27-Nov-20234 KiB10685

pdo_mysql_stmt_fetchobject.phptH A D27-Nov-20233.3 KiB122107

pdo_mysql_stmt_fetchobject_ctor_args.phptH A D27-Nov-20232.2 KiB10490

pdo_mysql_stmt_getcolumnmeta.phptH A D27-Nov-202313.5 KiB308255

pdo_mysql_stmt_multiquery.phptH A D27-Nov-20232.8 KiB11198

pdo_mysql_stmt_nextrowset.phptH A D27-Nov-20235.9 KiB319302

pdo_mysql_stmt_rowcount.phptH A D27-Nov-20231 KiB4134

pdo_mysql_stmt_unbuffered_2050.phptH A D27-Nov-20235.6 KiB187164

pdo_mysql_stmt_variable_columncount.phptH A D27-Nov-20234.2 KiB118103

pdo_mysql_subclass.phptH A D27-Nov-20232.8 KiB10287

pdo_mysql_types.phptH A D27-Nov-20237.5 KiB186147

pdo_mysql_types_zerofill.phptH A D27-Nov-20235 KiB130108

pdomysql_001.phptH A D30-May-2024861 4841

pdomysql_002.phptH A D30-May-20241 KiB5549

pdomysql_003.phptH A D30-May-2024740 3025

pecl_bug_5200.phptH A D27-Nov-2023892 3734

pecl_bug_5780.phptH A D27-Nov-20231.5 KiB5047

pecl_bug_5802.phptH A D27-Nov-20231.3 KiB6254

show_tables.phptH A D27-Nov-2023352 2220

unsigned_bigint.phptH A D27-Nov-20231.1 KiB4947

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