Name Date Size #Lines LOC

..21-May-2024-

foo/H28-Sep-2023-

CONFLICTSH A D28-Sep-20236 21

PDO_getAvaliableDrivers.phptH A D28-Sep-2023327 1413

README.mdH A D28-Sep-20231.1 KiB4228

bug41125.phptH A D28-Sep-20235.4 KiB175143

bug44327.phptH A D28-Sep-20231.6 KiB6759

bug46292.phptH A D28-Sep-20231.6 KiB7663

bug53551.phptH A D28-Sep-20231.6 KiB7563

bug53782.phptH A D28-Sep-2023815 4337

bug54929.phptH A D28-Sep-20231.6 KiB7666

bug63176.phptH A D28-Sep-20231.2 KiB5852

bug63185.phptH A D28-Sep-20231.7 KiB7569

bug66141.phptH A D28-Sep-20231.2 KiB4031

bug66528.phptH A D28-Sep-20232 KiB5346

bug66878.phptH A D28-Sep-2023755 3832

bug67004.phptH A D28-Sep-2023901 3630

bug68371.phptH A D22-Dec-20232.4 KiB10297

bug70066.phptH A D28-Sep-2023679 2924

bug70272.phptH A D28-Sep-2023609 3329

bug70389.phptH A D28-Sep-2023641 3531

bug70862.phptH A D28-Sep-20231.2 KiB4941

bug71145.phptH A D28-Sep-2023694 2823

bug71569.phptH A D28-Sep-2023511 2522

bug75177.phptH A D28-Sep-20231.1 KiB4843

bug76815.phptH A D28-Sep-20231.1 KiB4237

bug77289.phptH A D28-Sep-2023622 2623

bug78152.phptH A D28-Sep-20231.1 KiB3531

bug79132.phptH A D28-Sep-20231.5 KiB6860

bug79375.phptH A D28-Sep-20233.2 KiB116104

bug79596.phptH A D28-Sep-2023941 3329

bug79872.phptH A D28-Sep-2023768 2824

bug80458.phptH A D28-Sep-20234.2 KiB189167

bug80808.phptH A D28-Sep-2023777 2924

bug80908.phptH A D28-Sep-20231.3 KiB5145

bug81037.phptH A D28-Sep-2023847 3733

bug_33689.phptH A D28-Sep-20231.5 KiB6861

bug_37445.phptH A D28-Sep-2023677 2624

bug_38546.phptH A D28-Sep-20236.1 KiB288245

bug_39483.phptH A D28-Sep-2023661 3230

bug_39858.phptH A D28-Sep-20232.3 KiB112101

bug_41125.phptH A D28-Sep-20231.7 KiB7772

bug_41698.phptH A D28-Sep-2023929 4037

bug_41997.phptH A D28-Sep-20231.7 KiB8175

bug_42499.phptH A D28-Sep-20232.7 KiB8267

bug_43371.phptH A D28-Sep-2023441 2118

bug_44454.phptH A D28-Sep-20233 KiB115101

bug_44707.phptH A D28-Sep-20232.4 KiB10689

bug_45120.phptH A D28-Sep-20231.3 KiB5141

bug_50323.phptH A D28-Sep-20231.6 KiB6352

bug_51670.phptH A D28-Sep-2023630 2625

bug_61207.phptH A D28-Sep-20232.4 KiB11192

bug_61411.phptH A D28-Sep-20231.3 KiB5648

bug_61755.phptH A D28-Sep-2023966 4437

bug_64705.phptH A D28-Sep-2023371 1615

bug_74376.phptH A D28-Sep-2023740 3125

bug_pecl_12925.phptH A D28-Sep-20231.3 KiB6457

bug_pecl_7976.phptH A D28-Sep-20231.9 KiB9281

change_column_count.phptH A D28-Sep-20231.3 KiB6356

common.phptH A D28-Sep-2023714 2824

config.incH A D28-Sep-20232.4 KiB5346

construct_persistent_failure.phptH A D28-Sep-2023298 1716

gh-11587.phptH A D28-Sep-20233.4 KiB164145

gh11550.phptH A D29-Feb-20241.8 KiB8578

last_insert_id.phptH A D28-Sep-2023878 3934

mysql_pdo_test.incH A D28-Sep-20235.3 KiB178141

native_types.phptH A D28-Sep-20231.1 KiB5247

pdo_mysql___construct.phptH A D12-Oct-202313.8 KiB308255

pdo_mysql___construct_ini.phptH A D28-Sep-20231.5 KiB5849

pdo_mysql___construct_options.phptH A D28-Sep-20239.2 KiB186156

pdo_mysql___construct_options_libmysql.phptH A D28-Sep-20233.2 KiB8069

pdo_mysql___construct_uri.phptH A D28-Sep-20232.1 KiB6960

pdo_mysql_attr_autocommit.phptH A D28-Sep-20233.7 KiB10080

pdo_mysql_attr_case.phptH A D28-Sep-20235.4 KiB227208

pdo_mysql_attr_client_version.phptH A D28-Sep-20231.2 KiB3931

pdo_mysql_attr_connection_status.phptH A D28-Sep-2023946 3428

pdo_mysql_attr_driver_name.phptH A D28-Sep-2023834 3327

pdo_mysql_attr_errmode.phptH A D28-Sep-20236 KiB169142

pdo_mysql_attr_fetch_table_names.phptH A D28-Sep-2023901 4440

pdo_mysql_attr_init_command.phptH A D28-Sep-20231.2 KiB5144

pdo_mysql_attr_max_buffer_size.phptH A D28-Sep-20232.6 KiB8371

pdo_mysql_attr_multi_statements.phptH A D28-Sep-20232.8 KiB10295

pdo_mysql_attr_oracle_nulls.phptH A D28-Sep-20233.2 KiB149138

pdo_mysql_attr_prefetch.phptH A D28-Sep-2023634 2423

pdo_mysql_attr_server_info.phptH A D28-Sep-20231.7 KiB5445

pdo_mysql_attr_server_version.phptH A D28-Sep-20232.7 KiB6759

pdo_mysql_attr_statement_class.phptH A D28-Sep-20234.9 KiB166147

pdo_mysql_begintransaction.phptH A D28-Sep-20237.9 KiB210162

pdo_mysql_bit.phptH A D28-Sep-20231.9 KiB6658

pdo_mysql_class_constants.phptH A D28-Sep-20233.5 KiB11598

pdo_mysql_closecursor_error.phptH A D28-Sep-2023747 3330

pdo_mysql_commit.phptH A D28-Sep-20233.6 KiB9783

pdo_mysql_connect_attr.phptH A D28-Sep-20231.9 KiB5947

pdo_mysql_connect_charset.phptH A D28-Sep-20231.1 KiB3529

pdo_mysql_errorcode.phptH A D28-Sep-20232.5 KiB8874

pdo_mysql_errorinfo.phptH A D28-Sep-20233.7 KiB11395

pdo_mysql_exec.phptH A D28-Sep-20238.4 KiB188164

pdo_mysql_exec_ddl.phptH A D28-Sep-20233.1 KiB9481

pdo_mysql_exec_load_data.phptH A D28-Sep-20233.8 KiB11593

pdo_mysql_exec_select.phptH A D28-Sep-20232.8 KiB6757

pdo_mysql_fetch_both.phptH A D28-Sep-20231.6 KiB6449

pdo_mysql_get_attribute.phptH A D28-Sep-20233.1 KiB10083

pdo_mysql_inTransaction.phptH A D28-Sep-20232.4 KiB114104

pdo_mysql_interface.phptH A D28-Sep-20231.6 KiB6157

pdo_mysql_last_insert_id.phptH A D28-Sep-20234.7 KiB121100

pdo_mysql_local_infile_default_off.phptH A D28-Sep-2023775 3128

pdo_mysql_local_infile_directory_allowed.phptH A D28-Sep-20232.7 KiB8780

pdo_mysql_local_infile_directory_denied.phptH A D28-Sep-20232.5 KiB7871

pdo_mysql_local_infile_overrides_local_infile_directory.phptH A D28-Sep-20232.7 KiB8780

pdo_mysql_local_infile_set_on.phptH A D28-Sep-2023591 2623

pdo_mysql_multi_stmt_nextrowset.phptH A D28-Sep-20235.7 KiB272256

pdo_mysql_param_str_natl.phptH A D28-Sep-20231,008 4741

pdo_mysql_pconnect.phptH A D28-Sep-20234 KiB10688

pdo_mysql_phpinfo.phptH A D28-Sep-2023742 3227

pdo_mysql_prepare_emulated.phptH A D28-Sep-202316.1 KiB416359

pdo_mysql_prepare_emulated_anonymous.phptH A D28-Sep-20232.9 KiB8877

pdo_mysql_prepare_emulated_placeholder_everywhere.phptH A D28-Sep-20232.8 KiB8475

pdo_mysql_prepare_match_against.phptH A D28-Sep-20231.5 KiB5646

pdo_mysql_prepare_native.phptH A D28-Sep-202315.1 KiB390338

pdo_mysql_prepare_native_clear_error.phptH A D28-Sep-20233.6 KiB10287

pdo_mysql_prepare_native_column.phptH A D28-Sep-20231.3 KiB5144

pdo_mysql_prepare_native_dup_named_placeholder.phptH A D28-Sep-20234.6 KiB148128

pdo_mysql_prepare_native_mixed_style.phptH A D28-Sep-20231.4 KiB4438

pdo_mysql_prepare_native_named_placeholder.phptH A D28-Sep-20233.3 KiB9582

pdo_mysql_prepare_native_placeholder_everywhere.phptH A D28-Sep-20232.5 KiB8576

pdo_mysql_quote.phptH A D28-Sep-20231 KiB3632

pdo_mysql_rollback.phptH A D28-Sep-20232.9 KiB10188

pdo_mysql_stmt_bindcolumn.phptH A D28-Sep-20234.6 KiB117102

pdo_mysql_stmt_bindparam.phptH A D28-Sep-20235.8 KiB161138

pdo_mysql_stmt_bindparam_types.phptH A D28-Sep-20238.5 KiB175156

pdo_mysql_stmt_bindvalue.phptH A D28-Sep-202313.5 KiB338276

pdo_mysql_stmt_blobfromsteam.phptH A D28-Sep-20234.7 KiB150124

pdo_mysql_stmt_blobs.phptH A D28-Sep-20233.2 KiB10690

pdo_mysql_stmt_closecursor.phptH A D28-Sep-20237.5 KiB178146

pdo_mysql_stmt_closecursor_empty.phptH A D28-Sep-20232.4 KiB7663

pdo_mysql_stmt_columncount.phptH A D28-Sep-20232 KiB7161

pdo_mysql_stmt_errorcode.phptH A D28-Sep-20232 KiB6451

pdo_mysql_stmt_errorinfo.phptH A D28-Sep-20233.4 KiB138125

pdo_mysql_stmt_fetch_non_select.phptH A D28-Sep-20237.2 KiB193164

pdo_mysql_stmt_fetch_serialize.phptH A D28-Sep-20235.2 KiB159128

pdo_mysql_stmt_fetch_serialize_simple.phptH A D28-Sep-20233.8 KiB10281

pdo_mysql_stmt_fetchobject.phptH A D28-Sep-20233.2 KiB119105

pdo_mysql_stmt_fetchobject_ctor_args.phptH A D28-Sep-20232.1 KiB10188

pdo_mysql_stmt_getcolumnmeta.phptH A D28-Sep-202313.2 KiB308256

pdo_mysql_stmt_multiquery.phptH A D28-Sep-20232.6 KiB10894

pdo_mysql_stmt_nextrowset.phptH A D28-Sep-20236.1 KiB328306

pdo_mysql_stmt_rowcount.phptH A D28-Sep-2023964 3832

pdo_mysql_stmt_unbuffered_2050.phptH A D28-Sep-20235.5 KiB186163

pdo_mysql_stmt_variable_columncount.phptH A D28-Sep-20234.7 KiB129112

pdo_mysql_subclass.phptH A D28-Sep-20232.8 KiB10489

pdo_mysql_types.phptH A D28-Sep-20237.5 KiB186147

pdo_mysql_types_zerofill.phptH A D28-Sep-20234.9 KiB130108

pecl_bug_5200.phptH A D28-Sep-2023912 3936

pecl_bug_5780.phptH A D28-Sep-20231.4 KiB5249

pecl_bug_5802.phptH A D28-Sep-20231.3 KiB6456

show_tables.phptH A D28-Sep-2023424 2422

skipifinfilenotallowed.incH A D28-Sep-2023266 76

table.incH A D28-Sep-2023405 109

unsigned_bigint.phptH A D28-Sep-20231.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