summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-07-15 11:43:09 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-07-15 14:20:58 +0200
commit37043e07dfa57dbc567b7217ca7aa25a1385ccb6 (patch)
tree23f0aaccc783ae00fe366eaf15114469f426c5a9
parentda1816c3d37da03c62d0086e6228625ac006abec (diff)
downloadphp-git-37043e07dfa57dbc567b7217ca7aa25a1385ccb6.tar.gz
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).
-rw-r--r--.gitattributes1
-rw-r--r--ext/mysqlnd/mysqlnd.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/.gitattributes b/.gitattributes
index f26eb40946..5bee19d08d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -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
diff --git a/ext/mysqlnd/mysqlnd.h b/ext/mysqlnd/mysqlnd.h
index f95aaf36a2..77cbce93ae 100644
--- a/ext/mysqlnd/mysqlnd.h
+++ b/ext/mysqlnd/mysqlnd.h
@@ -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