]> granicus.if.org Git - php/commitdiff
Sync mysqlnd version with PHP version
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 15 Jul 2019 09:43:09 +0000 (11:43 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 15 Jul 2019 12:20:58 +0000 (14:20 +0200)
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).

.gitattributes
ext/mysqlnd/mysqlnd.h

index f26eb409464b7997d94acfcefb7d6128a013c2c6..5bee19d08d632d737065502c7173a68d1ed7999b 100644 (file)
@@ -1,5 +1,4 @@
 # Replace $Id$ strings with 40-character hexadecimal blob object name.
-/ext/mysqlnd/mysqlnd.h          ident
 /ext/ext_skel.php               ident
 /ext/phar/phar/pharcommand.inc  ident
 /ext/dba/libinifile/inifile.c   ident
index f95aaf36a23f02a778d68b3ddba5c86578fe0c48..77cbce93aed0b17edbd0ab246cad20078f0e495d 100644 (file)
@@ -21,8 +21,8 @@
 #ifndef MYSQLND_H
 #define MYSQLND_H
 
-#define PHP_MYSQLND_VERSION "mysqlnd 5.0.12-dev - 20150407 - $Id$"
-#define MYSQLND_VERSION_ID 50012
+#define PHP_MYSQLND_VERSION "mysqlnd " PHP_VERSION
+#define MYSQLND_VERSION_ID PHP_VERSION_ID
 
 #define MYSQLND_PLUGIN_API_VERSION 2