Name Date Size #Lines LOC

..14-May-2021-

CONFLICTSH A D02-Dec-20206 21

PDO_getAvaliableDrivers.phptH A D02-Dec-2020344 1413

README.mdH A D02-Dec-20201.1 KiB4228

bug41125.phptH A D10-Dec-20205.4 KiB174142

bug44327.phptH A D02-Dec-20201.6 KiB6557

bug46292.phptH A D02-Dec-20201.9 KiB8369

bug53551.phptH A D02-Dec-20201.6 KiB7462

bug53782.phptH A D02-Dec-2020874 4135

bug54929.phptH A D02-Dec-20201.7 KiB7565

bug63176.phptH A D02-Dec-20201.2 KiB5650

bug63185.phptH A D08-Dec-20201.6 KiB6862

bug66141.phptH A D02-Dec-20201.2 KiB3930

bug66528.phptH A D02-Dec-20202.1 KiB5245

bug66878.phptH A D09-Dec-2020790 3731

bug67004.phptH A D11-Dec-2020936 3529

bug68371.phptH A D02-Dec-20202.5 KiB10196

bug70066.phptH A D09-Dec-2020798 2823

bug70272.phptH A D02-Dec-2020644 3228

bug70389.phptH A D02-Dec-2020678 3430

bug70862.phptH A D02-Dec-20201.2 KiB4739

bug71145.phptH A D10-Dec-2020688 2621

bug71569.phptH A D02-Dec-2020546 2421

bug75177.phptH A D02-Dec-2020817 3227

bug76815.phptH A D10-Dec-2020969 3429

bug77289.phptH A D02-Dec-2020657 2522

bug78152.phptH A D09-Dec-20201.1 KiB3430

bug79132.phptH A D11-Dec-20201.5 KiB6759

bug79375.phptH A D02-Dec-20203.3 KiB114102

bug79596.phptH A D02-Dec-2020894 3127

bug79872.phptH A D10-Dec-2020803 2723

bug80458.phptH A D04-Dec-20204.2 KiB187165

bug81037.phptH A D14-May-20211 KiB3532

bug_33689.phptH A D02-Dec-20201.5 KiB6558

bug_37445.phptH A D02-Dec-2020733 2422

bug_38546.phptH A D02-Dec-20206.2 KiB286243

bug_39483.phptH A D02-Dec-2020717 3028

bug_39858.phptH A D08-Dec-20202.4 KiB111100

bug_41125.phptH A D11-Dec-20201.7 KiB7570

bug_41698.phptH A D02-Dec-2020988 3835

bug_41997.phptH A D08-Dec-20201.5 KiB7367

bug_42499.phptH A D02-Dec-20202.8 KiB8166

bug_43371.phptH A D02-Dec-2020476 2017

bug_44454.phptH A D02-Dec-20203.1 KiB11399

bug_44707.phptH A D02-Dec-20202.5 KiB10588

bug_45120.phptH A D02-Dec-20201.3 KiB4939

bug_50323.phptH A D02-Dec-20201.6 KiB6150

bug_51670.phptH A D02-Dec-2020689 2423

bug_61207.phptH A D02-Dec-20202.4 KiB11091

bug_61411.phptH A D02-Dec-20201.3 KiB5446

bug_61755.phptH A D02-Dec-20201 KiB4235

bug_64705.phptH A D02-Dec-2020427 1717

bug_74376.phptH A D02-Dec-2020859 3024

bug_pecl_12925.phptH A D02-Dec-20201.4 KiB6356

bug_pecl_7976.phptH A D09-Dec-20202 KiB9180

change_column_count.phptH A D08-Dec-20201.4 KiB6154

common.phptH A D02-Dec-2020794 2925

config.incH A D02-Dec-20202.4 KiB5346

last_insert_id.phptH A D02-Dec-2020937 3732

mysql_pdo_test.incH A D02-Dec-20205.3 KiB178141

pdo_mysql___construct.phptH A D02-Dec-202013.7 KiB306253

pdo_mysql___construct_ini.phptH A D02-Dec-20201.6 KiB5748

pdo_mysql___construct_options.phptH A D02-Dec-20208.8 KiB180150

pdo_mysql___construct_options_libmysql.phptH A D11-Dec-20203.3 KiB7968

pdo_mysql___construct_uri.phptH A D03-May-20222.1 KiB6859

pdo_mysql_attr_autocommit.phptH A D02-Dec-20203.8 KiB9979

pdo_mysql_attr_case.phptH A D02-Dec-20205.4 KiB225206

pdo_mysql_attr_client_version.phptH A D02-Dec-20201.2 KiB3830

pdo_mysql_attr_connection_status.phptH A D02-Dec-2020981 3327

pdo_mysql_attr_driver_name.phptH A D02-Dec-2020869 3226

pdo_mysql_attr_errmode.phptH A D02-Dec-20206 KiB168141

pdo_mysql_attr_fetch_table_names.phptH A D02-Dec-2020936 4339

pdo_mysql_attr_init_command.phptH A D02-Dec-20201.2 KiB4942

pdo_mysql_attr_max_buffer_size.phptH A D02-Dec-20202.5 KiB7866

pdo_mysql_attr_multi_statements.phptH A D02-Dec-20202.7 KiB9992

pdo_mysql_attr_oracle_nulls.phptH A D11-Dec-20203.3 KiB148137

pdo_mysql_attr_prefetch.phptH A D02-Dec-2020669 2322

pdo_mysql_attr_server_info.phptH A D02-Dec-20201.8 KiB5344

pdo_mysql_attr_server_version.phptH A D02-Dec-20202.7 KiB6658

pdo_mysql_attr_statement_class.phptH A D02-Dec-20204.9 KiB163144

pdo_mysql_begintransaction.phptH A D02-Dec-20207.8 KiB207160

pdo_mysql_bit.phptH A D02-Dec-20201.9 KiB6557

pdo_mysql_class_constants.phptH A D02-Dec-20203.4 KiB10792

pdo_mysql_closecursor_error.phptH A D09-Dec-2020728 3128

pdo_mysql_commit.phptH A D02-Dec-20203.6 KiB9682

pdo_mysql_connect_attr.phptH A D02-Dec-20201.9 KiB5846

pdo_mysql_connect_charset.phptH A D02-Dec-20201.1 KiB3428

pdo_mysql_errorcode.phptH A D02-Dec-20202.5 KiB8773

pdo_mysql_errorinfo.phptH A D02-Dec-20203.8 KiB11294

pdo_mysql_exec.phptH A D02-Dec-20208.5 KiB187163

pdo_mysql_exec_ddl.phptH A D02-Dec-20203.2 KiB9380

pdo_mysql_exec_load_data.phptH A D11-Dec-20203.8 KiB11492

pdo_mysql_exec_select.phptH A D02-Dec-20202.8 KiB6656

pdo_mysql_fetch_both.phptH A D02-Dec-20201.7 KiB6348

pdo_mysql_get_attribute.phptH A D02-Dec-20203.1 KiB9982

pdo_mysql_inTransaction.phptH A D02-Dec-20202.4 KiB113103

pdo_mysql_interface.phptH A D02-Dec-20201.7 KiB6056

pdo_mysql_last_insert_id.phptH A D02-Dec-20204.8 KiB12099

pdo_mysql_local_infile_default_off.phptH A D11-Dec-2020601 2522

pdo_mysql_local_infile_set_on.phptH A D11-Dec-2020626 2522

pdo_mysql_multi_stmt_nextrowset.phptH A D11-Dec-20205.7 KiB271255

pdo_mysql_param_str_natl.phptH A D02-Dec-20201 KiB4539

pdo_mysql_pconnect.phptH A D02-Dec-20204 KiB10587

pdo_mysql_phpinfo.phptH A D02-Dec-2020777 3126

pdo_mysql_prepare_emulated.phptH A D10-Dec-202016.1 KiB414357

pdo_mysql_prepare_emulated_anonymous.phptH A D10-Dec-20203 KiB8776

pdo_mysql_prepare_emulated_placeholder_everywhere.phptH A D10-Dec-20202.8 KiB8374

pdo_mysql_prepare_match_against.phptH A D02-Dec-20201.5 KiB5545

pdo_mysql_prepare_native.phptH A D02-Dec-202015.2 KiB389337

pdo_mysql_prepare_native_clear_error.phptH A D02-Dec-20203.6 KiB10085

pdo_mysql_prepare_native_column.phptH A D02-Dec-20201.3 KiB5043

pdo_mysql_prepare_native_dup_named_placeholder.phptH A D02-Dec-20204.6 KiB146126

pdo_mysql_prepare_native_mixed_style.phptH A D02-Dec-20201.4 KiB4337

pdo_mysql_prepare_native_named_placeholder.phptH A D10-Dec-20203.3 KiB9481

pdo_mysql_prepare_native_placeholder_everywhere.phptH A D02-Dec-20202.9 KiB9183

pdo_mysql_quote.phptH A D02-Dec-20201.1 KiB3531

pdo_mysql_rollback.phptH A D02-Dec-20202.9 KiB10087

pdo_mysql_stmt_bindcolumn.phptH A D02-Dec-20204.7 KiB116101

pdo_mysql_stmt_bindparam.phptH A D02-Dec-20205.8 KiB160137

pdo_mysql_stmt_bindparam_types.phptH A D02-Dec-20208.6 KiB174155

pdo_mysql_stmt_bindvalue.phptH A D02-Dec-202013.6 KiB337275

pdo_mysql_stmt_blobfromsteam.phptH A D02-Dec-20204.7 KiB149123

pdo_mysql_stmt_blobs.phptH A D02-Dec-20203 KiB9984

pdo_mysql_stmt_closecursor.phptH A D02-Dec-20207.6 KiB177145

pdo_mysql_stmt_closecursor_empty.phptH A D02-Dec-20202.5 KiB7562

pdo_mysql_stmt_columncount.phptH A D02-Dec-20202.1 KiB7060

pdo_mysql_stmt_errorcode.phptH A D02-Dec-20202 KiB6350

pdo_mysql_stmt_errorinfo.phptH A D02-Dec-20203.4 KiB137124

pdo_mysql_stmt_fetch_non_select.phptH A D02-Dec-20207.2 KiB192163

pdo_mysql_stmt_fetch_serialize.phptH A D02-Dec-20204.8 KiB152123

pdo_mysql_stmt_fetch_serialize_simple.phptH A D02-Dec-20203.3 KiB9275

pdo_mysql_stmt_fetchobject.phptH A D02-Dec-20203.1 KiB116102

pdo_mysql_stmt_fetchobject_ctor_args.phptH A D05-May-20212.1 KiB10087

pdo_mysql_stmt_getcolumnmeta.phptH A D02-Dec-202013.7 KiB308256

pdo_mysql_stmt_multiquery.phptH A D02-Dec-20202.6 KiB10793

pdo_mysql_stmt_nextrowset.phptH A D09-Dec-20206.1 KiB327305

pdo_mysql_stmt_rowcount.phptH A D02-Dec-2020999 3731

pdo_mysql_stmt_unbuffered_2050.phptH A D02-Dec-20205.5 KiB185162

pdo_mysql_stmt_variable_columncount.phptH A D09-Dec-20204.5 KiB122105

pdo_mysql_subclass.phptH A D02-Dec-20202.7 KiB10086

pdo_mysql_types.phptH A D02-Dec-20207.5 KiB185146

pdo_mysql_types_zerofill.phptH A D02-Dec-20204.9 KiB129107

pecl_bug_5200.phptH A D02-Dec-2020971 3734

pecl_bug_5780.phptH A D02-Dec-20201.5 KiB5047

pecl_bug_5802.phptH A D02-Dec-20201.3 KiB6254

show_tables.phptH A D02-Dec-2020483 2220

skipif.incH A D02-Dec-2020115 43

table.incH A D02-Dec-2020405 109

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