Name Date Size #Lines LOC

..07-Oct-2024-

foo/H25-Sep-2024-

inc/H05-Nov-2024-

CONFLICTSH A D25-Sep-20246 21

PDO_getAvaliableDrivers.phptH A D25-Sep-2024327 1413

README.mdH A D25-Sep-20241.1 KiB4228

bug41125.phptH A D25-Sep-20245.3 KiB172143

bug44327.phptH A D25-Sep-20241.7 KiB6962

bug46292.phptH A D25-Sep-20241.6 KiB7262

bug53551.phptH A D25-Sep-20241.5 KiB7261

bug53782.phptH A D25-Sep-2024619 3529

bug54929.phptH A D25-Sep-20241.6 KiB7266

bug63176.phptH A D25-Sep-20241.1 KiB5852

bug63185.phptH A D25-Sep-20241.6 KiB7468

bug66141.phptH A D25-Sep-20241.2 KiB4031

bug66528.phptH A D25-Sep-20242 KiB5245

bug66878.phptH A D25-Sep-2024718 3732

bug67004.phptH A D25-Sep-2024865 3630

bug68371.phptH A D25-Sep-20242.3 KiB10297

bug70066.phptH A D25-Sep-2024637 2623

bug70272.phptH A D25-Sep-2024521 3127

bug70389.phptH A D25-Sep-2024618 3431

bug70862.phptH A D25-Sep-20241.2 KiB4840

bug71145.phptH A D25-Sep-2024620 2522

bug71569.phptH A D25-Sep-2024488 2422

bug75177.phptH A D25-Sep-20241,002 4440

bug76815.phptH A D25-Sep-20241.1 KiB4237

bug77289.phptH A D25-Sep-2024585 2523

bug78152.phptH A D25-Sep-20241.2 KiB3633

bug79132.phptH A D25-Sep-20241.4 KiB6860

bug79375.phptH A D25-Sep-20243.2 KiB115103

bug79596.phptH A D25-Sep-2024876 3229

bug79872.phptH A D25-Sep-2024731 2724

bug80458.phptH A D25-Sep-20244.4 KiB187165

bug80808.phptH A D25-Sep-2024868 3229

bug80908.phptH A D25-Sep-20241.3 KiB4944

bug81037.phptH A D25-Sep-2024913 3834

bug_33689.phptH A D25-Sep-20241.5 KiB6659

bug_37445.phptH A D25-Sep-2024605 2422

bug_38546.phptH A D25-Sep-20246.1 KiB283242

bug_39483.phptH A D25-Sep-2024584 3028

bug_39858.phptH A D25-Sep-20241.9 KiB10092

bug_41125.phptH A D25-Sep-20241.2 KiB7168

bug_41698.phptH A D25-Sep-2024994 4340

bug_41997.phptH A D25-Sep-20241.2 KiB7166

bug_42499.phptH A D25-Sep-20242.3 KiB7061

bug_43371.phptH A D25-Sep-2024405 2118

bug_44454.phptH A D25-Sep-20243 KiB10998

bug_44707.phptH A D25-Sep-20242 KiB9583

bug_45120.phptH A D25-Sep-20241.2 KiB4638

bug_50323.phptH A D25-Sep-20241.5 KiB6150

bug_51670.phptH A D25-Sep-2024558 2423

bug_61207.phptH A D25-Sep-20242.4 KiB10891

bug_61411.phptH A D25-Sep-2024747 4337

bug_61755.phptH A D25-Sep-2024894 4235

bug_64705.phptH A D25-Sep-2024371 1615

bug_74376.phptH A D25-Sep-2024665 2823

bug_pecl_12925.phptH A D25-Sep-20241.4 KiB6560

bug_pecl_7976.phptH A D25-Sep-20241.5 KiB7972

change_column_count.phptH A D25-Sep-20241.4 KiB6155

common.phptH A D25-Sep-2024714 2824

construct_persistent_failure.phptH A D25-Sep-2024298 1716

gh11550.phptH A D25-Sep-20241.8 KiB8477

gh11587.phptH A D25-Sep-20243.3 KiB163145

gh16314.phptH A D06-Nov-20241.2 KiB6862

last_insert_id.phptH A D25-Sep-20241 KiB4338

native_types.phptH A D25-Sep-20241.1 KiB5247

pdo_mysql___construct.phptH A D25-Sep-202413.7 KiB298255

pdo_mysql___construct_ini.phptH A D25-Sep-20241.5 KiB5849

pdo_mysql___construct_options.phptH A D25-Sep-20249.2 KiB183156

pdo_mysql___construct_options_libmysql.phptH A D25-Sep-20243.2 KiB7969

pdo_mysql___construct_uri.phptH A D25-Sep-20242 KiB6860

pdo_mysql_attr_autocommit.phptH A D25-Sep-20243.8 KiB10081

pdo_mysql_attr_case.phptH A D25-Sep-20245.5 KiB229209

pdo_mysql_attr_client_version.phptH A D25-Sep-20241.1 KiB3830

pdo_mysql_attr_connection_status.phptH A D25-Sep-2024891 3327

pdo_mysql_attr_driver_name.phptH A D25-Sep-2024767 3226

pdo_mysql_attr_errmode.phptH A D25-Sep-20245.9 KiB166141

pdo_mysql_attr_fetch_table_names.phptH A D25-Sep-20241.3 KiB5651

pdo_mysql_attr_init_command.phptH A D25-Sep-20241.2 KiB5447

pdo_mysql_attr_max_buffer_size.phptH A D25-Sep-20242.1 KiB7364

pdo_mysql_attr_multi_statements.phptH A D25-Sep-20242.7 KiB10798

pdo_mysql_attr_oracle_nulls.phptH A D25-Sep-20243.3 KiB153142

pdo_mysql_attr_prefetch.phptH A D25-Sep-2024567 2322

pdo_mysql_attr_server_info.phptH A D25-Sep-20241.7 KiB5344

pdo_mysql_attr_server_version.phptH A D25-Sep-20242.6 KiB6658

pdo_mysql_attr_statement_class.phptH A D25-Sep-20245.1 KiB173153

pdo_mysql_begintransaction.phptH A D25-Sep-20247.9 KiB210161

pdo_mysql_bit.phptH A D25-Sep-20241.8 KiB6457

pdo_mysql_class_constants.phptH A D25-Sep-20243.5 KiB11598

pdo_mysql_closecursor_error.phptH A D25-Sep-2024711 3330

pdo_mysql_commit.phptH A D25-Sep-20243.5 KiB9782

pdo_mysql_connect_attr.phptH A D25-Sep-20241.8 KiB5947

pdo_mysql_connect_charset.phptH A D25-Sep-20241 KiB3529

pdo_mysql_errorcode.phptH A D25-Sep-20242.6 KiB8775

pdo_mysql_errorinfo.phptH A D25-Sep-20243.8 KiB11497

pdo_mysql_exec.phptH A D25-Sep-20248.7 KiB183166

pdo_mysql_exec_ddl.phptH A D25-Sep-20242.9 KiB8979

pdo_mysql_exec_load_data.phptH A D25-Sep-20243.5 KiB10690

pdo_mysql_exec_select.phptH A D25-Sep-20242.7 KiB6355

pdo_mysql_fetch_both.phptH A D25-Sep-20241.6 KiB5648

pdo_mysql_get_attribute.phptH A D25-Sep-20242.8 KiB8774

pdo_mysql_inTransaction.phptH A D25-Sep-20242.4 KiB114104

pdo_mysql_interface.phptH A D25-Sep-20241.5 KiB5955

pdo_mysql_last_insert_id.phptH A D25-Sep-20245 KiB12099

pdo_mysql_local_infile_default_off.phptH A D25-Sep-2024679 3027

pdo_mysql_local_infile_directory_allowed.phptH A D25-Sep-20242.5 KiB8477

pdo_mysql_local_infile_directory_denied.phptH A D25-Sep-20242.3 KiB7568

pdo_mysql_local_infile_overrides_local_infile_directory.phptH A D25-Sep-20242.5 KiB8477

pdo_mysql_local_infile_set_on.phptH A D25-Sep-2024490 2522

pdo_mysql_multi_stmt_nextrowset.phptH A D25-Sep-20245.5 KiB264252

pdo_mysql_param_str_natl.phptH A D25-Sep-20241 KiB4439

pdo_mysql_parser.phptH A D25-Sep-20241.7 KiB6960

pdo_mysql_pconnect.phptH A D25-Sep-20243.9 KiB10588

pdo_mysql_phpinfo.phptH A D25-Sep-2024675 3126

pdo_mysql_prepare_emulated.phptH A D25-Sep-20247.5 KiB210182

pdo_mysql_prepare_emulated_anonymous.phptH A D25-Sep-20243 KiB8675

pdo_mysql_prepare_emulated_anonymous_placeholders.phptH A D25-Sep-20247.6 KiB205177

pdo_mysql_prepare_emulated_binary.phptH A D07-Oct-20241.4 KiB4940

pdo_mysql_prepare_emulated_myisam.phptH A D25-Sep-20246.8 KiB157134

pdo_mysql_prepare_emulated_myisam_index.phptH A D25-Sep-20247.1 KiB169139

pdo_mysql_prepare_emulated_placeholder_everywhere.phptH A D25-Sep-20242.9 KiB8374

pdo_mysql_prepare_match_against.phptH A D25-Sep-20241.5 KiB5145

pdo_mysql_prepare_native.phptH A D25-Sep-20247 KiB191165

pdo_mysql_prepare_native_anonymous_placeholder.phptH A D25-Sep-202410.9 KiB267232

pdo_mysql_prepare_native_clear_error.phptH A D25-Sep-20243.7 KiB9785

pdo_mysql_prepare_native_column.phptH A D25-Sep-20241.3 KiB5244

pdo_mysql_prepare_native_dup_named_placeholder.phptH A D25-Sep-20244.7 KiB143126

pdo_mysql_prepare_native_mixed_style.phptH A D25-Sep-20241.5 KiB4639

pdo_mysql_prepare_native_myisam.phptH A D25-Sep-20246.7 KiB160137

pdo_mysql_prepare_native_myisam_index.phptH A D25-Sep-20247.2 KiB180153

pdo_mysql_prepare_native_named_placeholder.phptH A D25-Sep-20243.4 KiB9380

pdo_mysql_prepare_native_placeholder_everywhere.phptH A D25-Sep-20242.7 KiB8374

pdo_mysql_quote.phptH A D25-Sep-20241 KiB3632

pdo_mysql_quote_binary.phptH A D07-Oct-2024738 2925

pdo_mysql_quote_gbk_double_escape.phptH A D25-Sep-20242 KiB4540

pdo_mysql_rollback.phptH A D25-Sep-20242.9 KiB10186

pdo_mysql_stmt_bindcolumn.phptH A D25-Sep-20244.7 KiB118102

pdo_mysql_stmt_bindparam.phptH A D25-Sep-20245.9 KiB164141

pdo_mysql_stmt_bindparam_types.phptH A D25-Sep-20248.5 KiB168154

pdo_mysql_stmt_bindvalue.phptH A D25-Sep-202413.6 KiB340277

pdo_mysql_stmt_blobfromstream.phptH A D25-Sep-20244.8 KiB151124

pdo_mysql_stmt_blobs.phptH A D25-Sep-20243.3 KiB10690

pdo_mysql_stmt_closecursor.phptH A D25-Sep-20247.6 KiB179147

pdo_mysql_stmt_closecursor_empty.phptH A D25-Sep-20242.5 KiB7663

pdo_mysql_stmt_columncount.phptH A D25-Sep-20242.1 KiB7362

pdo_mysql_stmt_errorcode.phptH A D25-Sep-20242 KiB6350

pdo_mysql_stmt_errorinfo.phptH A D25-Sep-20243.7 KiB140126

pdo_mysql_stmt_fetch_class.phptH A D25-Sep-20244.1 KiB129106

pdo_mysql_stmt_fetch_non_select.phptH A D25-Sep-20247.3 KiB196166

pdo_mysql_stmt_fetch_serialize.phptH A D25-Sep-20243.8 KiB123100

pdo_mysql_stmt_fetch_serialize_fetch_class.phptH A D25-Sep-20244.4 KiB130105

pdo_mysql_stmt_fetch_serialize_simple.phptH A D25-Sep-20244 KiB10685

pdo_mysql_stmt_fetchobject.phptH A D25-Sep-20243.3 KiB122107

pdo_mysql_stmt_fetchobject_ctor_args.phptH A D25-Sep-20242.2 KiB10490

pdo_mysql_stmt_getcolumnmeta.phptH A D25-Sep-202413.5 KiB308255

pdo_mysql_stmt_multiquery.phptH A D25-Sep-20242.8 KiB11198

pdo_mysql_stmt_nextrowset.phptH A D25-Sep-20245.9 KiB319302

pdo_mysql_stmt_rowcount.phptH A D25-Sep-20241 KiB4134

pdo_mysql_stmt_unbuffered_2050.phptH A D25-Sep-20245.6 KiB187164

pdo_mysql_stmt_variable_columncount.phptH A D25-Sep-20244.2 KiB118103

pdo_mysql_subclass.phptH A D25-Sep-20242.8 KiB10287

pdo_mysql_types.phptH A D25-Sep-20247.5 KiB186147

pdo_mysql_types_zerofill.phptH A D25-Sep-20245 KiB130108

pdomysql_001.phptH A D25-Sep-2024861 4841

pdomysql_002.phptH A D25-Sep-20241 KiB5549

pdomysql_003.phptH A D25-Sep-2024740 3025

pecl_bug_5200.phptH A D25-Sep-2024892 3734

pecl_bug_5780.phptH A D25-Sep-20241.5 KiB5047

pecl_bug_5802.phptH A D25-Sep-20241.3 KiB6254

show_tables.phptH A D25-Sep-2024352 2220

unsigned_bigint.phptH A D25-Sep-20241.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