Skip to content

Commit 37043e0

Browse files
committed
Sync mysqlnd version with PHP version
Since mysqlnd is solely developed in the php-src repository, it makes not much sense to have its own version number, particularly since nobody cares to update it. Therefore we use PHP's version number, but stick with the "mysqlnd" prefix which can be important to distinguish the mysqli driver (libmysqlclient vs. mysqlnd).
1 parent da1816c commit 37043e0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Replace $Id$ strings with 40-character hexadecimal blob object name.
2-
/ext/mysqlnd/mysqlnd.h ident
32
/ext/ext_skel.php ident
43
/ext/phar/phar/pharcommand.inc ident
54
/ext/dba/libinifile/inifile.c ident

ext/mysqlnd/mysqlnd.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
#ifndef MYSQLND_H
2222
#define MYSQLND_H
2323

24-
#define PHP_MYSQLND_VERSION "mysqlnd 5.0.12-dev - 20150407 - $Id$"
25-
#define MYSQLND_VERSION_ID 50012
24+
#define PHP_MYSQLND_VERSION "mysqlnd " PHP_VERSION
25+
#define MYSQLND_VERSION_ID PHP_VERSION_ID
2626

2727
#define MYSQLND_PLUGIN_API_VERSION 2
2828

0 commit comments

Comments
 (0)