Skip to content

Commit 9c7b391

Browse files
committed
DeclarePdoMysql:: ATTR_SSL_VERIFY_SERVER_CERT only for Mysqlnd
1 parent d84ed03 commit 9c7b391

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ext/pdo_mysql/pdo_mysql.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ class PdoMysql extends PDO
6262

6363
/** @cvalue PDO_MYSQL_ATTR_MULTI_STATEMENTS */
6464
public const int ATTR_MULTI_STATEMENTS = UNKNOWN;
65-
65+
#ifdef PDO_USE_MYSQLND
6666
/** @cvalue PDO_MYSQL_ATTR_SSL_VERIFY_SERVER_CERT */
6767
public const int ATTR_SSL_VERIFY_SERVER_CERT = UNKNOWN;
68-
68+
#endif
6969
#if MYSQL_VERSION_ID >= 80021 || defined(PDO_USE_MYSQLND)
7070
/** @cvalue PDO_MYSQL_ATTR_LOCAL_INFILE_DIRECTORY */
7171
public const int ATTR_LOCAL_INFILE_DIRECTORY = UNKNOWN;

ext/pdo_mysql/pdo_mysql_arginfo.h

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)