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).
This commit is contained in:
Christoph M. Becker 2019-07-15 11:43:09 +02:00
parent da1816c3d3
commit 37043e07df
2 changed files with 2 additions and 3 deletions

1
.gitattributes vendored
View file

@ -1,5 +1,4 @@
# Replace $Id$ strings with 40-character hexadecimal blob object name. # Replace $Id$ strings with 40-character hexadecimal blob object name.
/ext/mysqlnd/mysqlnd.h ident
/ext/ext_skel.php ident /ext/ext_skel.php ident
/ext/phar/phar/pharcommand.inc ident /ext/phar/phar/pharcommand.inc ident
/ext/dba/libinifile/inifile.c ident /ext/dba/libinifile/inifile.c ident

View file

@ -21,8 +21,8 @@
#ifndef MYSQLND_H #ifndef MYSQLND_H
#define MYSQLND_H #define MYSQLND_H
#define PHP_MYSQLND_VERSION "mysqlnd 5.0.12-dev - 20150407 - $Id$" #define PHP_MYSQLND_VERSION "mysqlnd " PHP_VERSION
#define MYSQLND_VERSION_ID 50012 #define MYSQLND_VERSION_ID PHP_VERSION_ID
#define MYSQLND_PLUGIN_API_VERSION 2 #define MYSQLND_PLUGIN_API_VERSION 2