com php-src: Use reasonable SQLite3 module version: ext/sqlite3/php_sqlite3.h
| From: | Christoph Michael Becker | Date: | Fri, 09 Jun 2017 11:49:32 +0000 |
| Subject: | com php-src: Use reasonable SQLite3 module version: ext/sqlite3/php_sqlite3.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98039@lists.php.net to get a copy of this message | ||
Commit: c3b910370c5c92007c3e3579024490345cb7f9a7
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 7 Jun 2017 15:22:20 +0200
Parents: 9997767dc381de43ed6e8e138306c163afad6119
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c3b910370c5c92007c3e3579024490345cb7f9a7
Log:
Use reasonable SQLite3 module version
Since PECL/sqlite3 has been moved to ext/sqlite3 in 2008, the SQLite3
module version is hardcoded to
0.7-dev. It doesn't appear to make
much sense to have an own module version for a bundled extensions, but
as other code might rely on it, we don't remove the constant but rather
make it an alias of the PHP version.
Changed paths:
M ext/sqlite3/php_sqlite3.h
Diff:
diff --git a/ext/sqlite3/php_sqlite3.h b/ext/sqlite3/php_sqlite3.h
index a753584..c6bf4af 100644
--- a/ext/sqlite3/php_sqlite3.h
+++ b/ext/sqlite3/php_sqlite3.h
@@ -21,7 +21,7 @@
#ifndef PHP_SQLITE3_H
#define PHP_SQLITE3_H
-#define PHP_SQLITE3_VERSION "0.7-dev"
+#define PHP_SQLITE3_VERSION PHP_VERSION
extern zend_module_entry sqlite3_module_entry;
#define phpext_sqlite3_ptr &sqlite3_module_entry