Name Date Size #Lines LOC

..19-Jun-2024-

foo/H30-Aug-2022-

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 D19-Jun-20245.4 KiB175143

bug44327.phptH A D19-Jun-20241.6 KiB6759

bug46292.phptH A D19-Jun-20241.6 KiB7663

bug53551.phptH A D19-Jun-20241.6 KiB7563

bug53782.phptH A D19-Jun-2024815 4337

bug54929.phptH A D19-Jun-20241.6 KiB7666

bug63176.phptH A D19-Jun-20241.2 KiB5852

bug63185.phptH A D19-Jun-20241.7 KiB7569

bug66141.phptH A D19-Jun-20241.2 KiB4031

bug66528.phptH A D19-Jun-20242 KiB5346

bug66878.phptH A D19-Jun-2024755 3832

bug67004.phptH A D19-Jun-2024901 3630

bug68371.phptH A D19-Jun-20242.4 KiB10297

bug70066.phptH A D19-Jun-2024679 2924

bug70272.phptH A D19-Jun-2024609 3329

bug70389.phptH A D19-Jun-2024641 3531

bug70862.phptH A D19-Jun-20241.2 KiB4941

bug71145.phptH A D19-Jun-2024694 2823

bug71569.phptH A D19-Jun-2024511 2522

bug75177.phptH A D19-Jun-20241.1 KiB4843

bug76815.phptH A D19-Jun-20241.1 KiB4237

bug77289.phptH A D19-Jun-2024622 2623

bug78152.phptH A D19-Jun-20241.1 KiB3531

bug79132.phptH A D19-Jun-20241.5 KiB6860

bug79375.phptH A D19-Jun-20243.2 KiB116104

bug79596.phptH A D19-Jun-2024941 3329

bug79872.phptH A D19-Jun-2024768 2824

bug80458.phptH A D19-Jun-20244.2 KiB189167

bug80808.phptH A D19-Jun-2024777 2924

bug80908.phptH A D19-Jun-20241.3 KiB5145

bug81037.phptH A D19-Jun-2024847 3733

bug_33689.phptH A D19-Jun-20241.5 KiB6861

bug_37445.phptH A D19-Jun-2024674 2624

bug_38546.phptH A D19-Jun-20246.1 KiB288245

bug_39483.phptH A D19-Jun-2024661 3230

bug_39858.phptH A D19-Jun-20242.3 KiB112101

bug_41125.phptH A D19-Jun-20241.7 KiB7772

bug_41698.phptH A D19-Jun-2024929 4037

bug_41997.phptH A D19-Jun-20241.7 KiB8175

bug_42499.phptH A D19-Jun-20242.7 KiB8267

bug_43371.phptH A D19-Jun-2024441 2118

bug_44454.phptH A D19-Jun-20243 KiB115101

bug_44707.phptH A D19-Jun-20242.4 KiB10689

bug_45120.phptH A D19-Jun-20241.3 KiB5141

bug_50323.phptH A D19-Jun-20241.6 KiB6352

bug_51670.phptH A D19-Jun-2024630 2625

bug_61207.phptH A D19-Jun-20242.4 KiB11192

bug_61411.phptH A D19-Jun-20241.3 KiB5648

bug_61755.phptH A D19-Jun-2024966 4437

bug_64705.phptH A D30-Aug-2022371 1615

bug_74376.phptH A D19-Jun-2024740 3125

bug_pecl_12925.phptH A D19-Jun-20241.3 KiB6457

bug_pecl_7976.phptH A D19-Jun-20241.9 KiB9281

change_column_count.phptH A D19-Jun-20241.3 KiB6356

common.phptH A D30-Aug-2022714 2824

config.incH A D19-Jun-20242.4 KiB5346

construct_persistent_failure.phptH A D30-Aug-2022298 1716

gh-11587.phptH A D19-Jun-20243.4 KiB164145

gh11550.phptH A D19-Jun-20241.8 KiB8578

last_insert_id.phptH A D19-Jun-2024878 3934

mysql_pdo_test.incH A D19-Jun-20245.3 KiB178141

native_types.phptH A D19-Jun-20241.1 KiB5247

pdo_mysql___construct.phptH A D19-Jun-202413.8 KiB308255

pdo_mysql___construct_ini.phptH A D19-Jun-20241.5 KiB5849

pdo_mysql___construct_options.phptH A D19-Jun-20249.2 KiB186156

pdo_mysql___construct_options_libmysql.phptH A D19-Jun-20243.2 KiB8069

pdo_mysql___construct_uri.phptH A D19-Jun-20242.1 KiB6960

pdo_mysql_attr_autocommit.phptH A D19-Jun-20243.7 KiB10080

pdo_mysql_attr_case.phptH A D19-Jun-20245.4 KiB227208

pdo_mysql_attr_client_version.phptH A D19-Jun-20241.2 KiB3931

pdo_mysql_attr_connection_status.phptH A D19-Jun-2024946 3428

pdo_mysql_attr_driver_name.phptH A D19-Jun-2024834 3327

pdo_mysql_attr_errmode.phptH A D19-Jun-20246 KiB169142

pdo_mysql_attr_fetch_table_names.phptH A D19-Jun-2024901 4440

pdo_mysql_attr_init_command.phptH A D19-Jun-20241.2 KiB5144

pdo_mysql_attr_max_buffer_size.phptH A D19-Jun-20242.6 KiB8371

pdo_mysql_attr_multi_statements.phptH A D19-Jun-20242.8 KiB10295

pdo_mysql_attr_oracle_nulls.phptH A D19-Jun-20243.2 KiB149138

pdo_mysql_attr_prefetch.phptH A D19-Jun-2024634 2423

pdo_mysql_attr_server_info.phptH A D19-Jun-20241.7 KiB5445

pdo_mysql_attr_server_version.phptH A D19-Jun-20242.7 KiB6759

pdo_mysql_attr_statement_class.phptH A D19-Jun-20244.9 KiB166147

pdo_mysql_begintransaction.phptH A D19-Jun-20247.9 KiB210162

pdo_mysql_bit.phptH A D19-Jun-20241.9 KiB6658

pdo_mysql_class_constants.phptH A D19-Jun-20243.5 KiB11598

pdo_mysql_closecursor_error.phptH A D19-Jun-2024747 3330

pdo_mysql_commit.phptH A D19-Jun-20243.6 KiB9783

pdo_mysql_connect_attr.phptH A D19-Jun-20241.9 KiB5947

pdo_mysql_connect_charset.phptH A D19-Jun-20241.1 KiB3529

pdo_mysql_errorcode.phptH A D19-Jun-20242.5 KiB8874

pdo_mysql_errorinfo.phptH A D19-Jun-20243.7 KiB11395

pdo_mysql_exec.phptH A D19-Jun-20248.4 KiB188164

pdo_mysql_exec_ddl.phptH A D19-Jun-20243.1 KiB9481

pdo_mysql_exec_load_data.phptH A D19-Jun-20243.8 KiB11593

pdo_mysql_exec_select.phptH A D19-Jun-20242.8 KiB6757

pdo_mysql_fetch_both.phptH A D19-Jun-20241.6 KiB6449

pdo_mysql_get_attribute.phptH A D19-Jun-20243.1 KiB10083

pdo_mysql_inTransaction.phptH A D19-Jun-20242.4 KiB114104

pdo_mysql_interface.phptH A D19-Jun-20241.6 KiB6157

pdo_mysql_last_insert_id.phptH A D19-Jun-20244.7 KiB121100

pdo_mysql_local_infile_default_off.phptH A D19-Jun-2024775 3128

pdo_mysql_local_infile_directory_allowed.phptH A D19-Jun-20242.7 KiB8780

pdo_mysql_local_infile_directory_denied.phptH A D19-Jun-20242.5 KiB7871

pdo_mysql_local_infile_overrides_local_infile_directory.phptH A D19-Jun-20242.7 KiB8780

pdo_mysql_local_infile_set_on.phptH A D19-Jun-2024591 2623

pdo_mysql_multi_stmt_nextrowset.phptH A D19-Jun-20245.7 KiB272256

pdo_mysql_param_str_natl.phptH A D19-Jun-20241,008 4741

pdo_mysql_pconnect.phptH A D19-Jun-20244 KiB10688

pdo_mysql_phpinfo.phptH A D19-Jun-2024742 3227

pdo_mysql_prepare_emulated.phptH A D19-Jun-202416.1 KiB416359

pdo_mysql_prepare_emulated_anonymous.phptH A D19-Jun-20242.9 KiB8877

pdo_mysql_prepare_emulated_placeholder_everywhere.phptH A D19-Jun-20242.8 KiB8475

pdo_mysql_prepare_match_against.phptH A D19-Jun-20241.5 KiB5646

pdo_mysql_prepare_native.phptH A D19-Jun-202415.1 KiB390338

pdo_mysql_prepare_native_clear_error.phptH A D19-Jun-20243.6 KiB10287

pdo_mysql_prepare_native_column.phptH A D19-Jun-20241.3 KiB5144

pdo_mysql_prepare_native_dup_named_placeholder.phptH A D19-Jun-20244.6 KiB148128

pdo_mysql_prepare_native_mixed_style.phptH A D19-Jun-20241.4 KiB4438

pdo_mysql_prepare_native_named_placeholder.phptH A D19-Jun-20243.3 KiB9582

pdo_mysql_prepare_native_placeholder_everywhere.phptH A D19-Jun-20242.5 KiB8576

pdo_mysql_quote.phptH A D19-Jun-20241 KiB3632

pdo_mysql_rollback.phptH A D19-Jun-20242.9 KiB10188

pdo_mysql_stmt_bindcolumn.phptH A D19-Jun-20244.6 KiB117102

pdo_mysql_stmt_bindparam.phptH A D19-Jun-20245.8 KiB161138

pdo_mysql_stmt_bindparam_types.phptH A D19-Jun-20248.5 KiB175156

pdo_mysql_stmt_bindvalue.phptH A D19-Jun-202413.5 KiB338276

pdo_mysql_stmt_blobfromsteam.phptH A D19-Jun-20244.7 KiB150124

pdo_mysql_stmt_blobs.phptH A D19-Jun-20243.2 KiB10690

pdo_mysql_stmt_closecursor.phptH A D19-Jun-20247.5 KiB178146

pdo_mysql_stmt_closecursor_empty.phptH A D19-Jun-20242.4 KiB7663

pdo_mysql_stmt_columncount.phptH A D19-Jun-20242 KiB7161

pdo_mysql_stmt_errorcode.phptH A D19-Jun-20242 KiB6451

pdo_mysql_stmt_errorinfo.phptH A D19-Jun-20243.4 KiB138125

pdo_mysql_stmt_fetch_non_select.phptH A D19-Jun-20247.2 KiB193164

pdo_mysql_stmt_fetch_serialize.phptH A D19-Jun-20245.2 KiB159128

pdo_mysql_stmt_fetch_serialize_simple.phptH A D19-Jun-20243.8 KiB10281

pdo_mysql_stmt_fetchobject.phptH A D19-Jun-20243.2 KiB119105

pdo_mysql_stmt_fetchobject_ctor_args.phptH A D19-Jun-20242.1 KiB10188

pdo_mysql_stmt_getcolumnmeta.phptH A D19-Jun-202413.2 KiB308256

pdo_mysql_stmt_multiquery.phptH A D19-Jun-20242.6 KiB10894

pdo_mysql_stmt_nextrowset.phptH A D19-Jun-20246.1 KiB328306

pdo_mysql_stmt_rowcount.phptH A D19-Jun-2024964 3832

pdo_mysql_stmt_unbuffered_2050.phptH A D19-Jun-20245.5 KiB186163

pdo_mysql_stmt_variable_columncount.phptH A D19-Jun-20244.7 KiB129112

pdo_mysql_subclass.phptH A D19-Jun-20242.8 KiB10489

pdo_mysql_types.phptH A D19-Jun-20247.5 KiB186147

pdo_mysql_types_zerofill.phptH A D19-Jun-20244.9 KiB130108

pecl_bug_5200.phptH A D19-Jun-2024912 3936

pecl_bug_5780.phptH A D19-Jun-20241.4 KiB5249

pecl_bug_5802.phptH A D19-Jun-20241.3 KiB6456

show_tables.phptH A D19-Jun-2024424 2422

skipifinfilenotallowed.incH A D19-Jun-2024266 76

table.incH A D19-Jun-2024405 109

unsigned_bigint.phptH A D19-Jun-20241.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