summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-05-09 10:50:10 +0200
committerRemi Collet <fedora@famillecollet.com>2014-05-09 10:50:10 +0200
commit7980ba409ab151689af4a7a7c00439a69ffa33e7 (patch)
tree354c0e8921225909efe29c8f71f32e44b896a3e9
parent668b1a4a9676eb157a1ffaa568ef74c6ef942e9d (diff)
php-pecl-mysqlnd-ms-1.6.0-3.svn333506 (for php 5.6)
-rw-r--r--REFLECTION119
-rw-r--r--php-pecl-mysqlnd-ms-dev.spec11
2 files changed, 126 insertions, 4 deletions
diff --git a/REFLECTION b/REFLECTION
new file mode 100644
index 0000000..a2bf286
--- /dev/null
+++ b/REFLECTION
@@ -0,0 +1,119 @@
+Extension [ <persistent> extension #158 mysqlnd_ms version 1.6.0-alpha ] {
+
+ - Dependencies {
+ Dependency [ mysqlnd (Required) ]
+ Dependency [ standard (Required) ]
+ Dependency [ json (Required) ]
+ Dependency [ mysqlnd_qc (Optional) ]
+ }
+
+ - INI {
+ Entry [ mysqlnd_ms.enable <SYSTEM> ]
+ Current = '0'
+ }
+ Entry [ mysqlnd_ms.force_config_usage <SYSTEM> ]
+ Current = '0'
+ }
+ Entry [ mysqlnd_ms.config_file <SYSTEM> ]
+ Current = ''
+ }
+ Entry [ mysqlnd_ms.collect_statistics <SYSTEM> ]
+ Current = '0'
+ }
+ Entry [ mysqlnd_ms.multi_master <SYSTEM> ]
+ Current = '0'
+ }
+ Entry [ mysqlnd_ms.disable_rw_split <SYSTEM> ]
+ Current = '0'
+ }
+ }
+
+ - Constants [14] {
+ Constant [ string MYSQLND_MS_VERSION ] { 1.6.0-alpha }
+ Constant [ integer MYSQLND_MS_VERSION_ID ] { 10600 }
+ Constant [ string MYSQLND_MS_MASTER_SWITCH ] { ms=master }
+ Constant [ string MYSQLND_MS_SLAVE_SWITCH ] { ms=slave }
+ Constant [ string MYSQLND_MS_LAST_USED_SWITCH ] { ms=last_used }
+ Constant [ integer MYSQLND_MS_QUERY_USE_MASTER ] { 0 }
+ Constant [ integer MYSQLND_MS_QUERY_USE_SLAVE ] { 1 }
+ Constant [ integer MYSQLND_MS_QUERY_USE_LAST_USED ] { 2 }
+ Constant [ integer MYSQLND_MS_QOS_CONSISTENCY_STRONG ] { 0 }
+ Constant [ integer MYSQLND_MS_QOS_CONSISTENCY_SESSION ] { 1 }
+ Constant [ integer MYSQLND_MS_QOS_CONSISTENCY_EVENTUAL ] { 2 }
+ Constant [ integer MYSQLND_MS_QOS_OPTION_GTID ] { 1 }
+ Constant [ integer MYSQLND_MS_QOS_OPTION_AGE ] { 2 }
+ Constant [ integer MYSQLND_MS_QOS_OPTION_CACHE ] { 3 }
+ }
+
+ - Functions {
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_match_wild ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $haystack ]
+ Parameter #1 [ <required> $wild ]
+ }
+ }
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_query_is_select ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $query ]
+ }
+ }
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_get_stats ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_get_last_used_connection ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $object ]
+ }
+ }
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_get_last_gtid ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $object ]
+ }
+ }
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_set_qos ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $object ]
+ Parameter #1 [ <required> $service_level ]
+ Parameter #2 [ <optional> $option ]
+ Parameter #3 [ <optional> $option_value ]
+ }
+ }
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_fabric_select_shard ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> $table ]
+ Parameter #2 [ <required> $shard_key ]
+ }
+ }
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_fabric_select_global ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> $table ]
+ }
+ }
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_dump_servers ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $connection ]
+ }
+ }
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_dump_fabric_rpc_hosts ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $connection ]
+ }
+ }
+ Function [ <internal:mysqlnd_ms> function mysqlnd_ms_debug_set_fabric_raw_dump_data_dangerous ] {
+ }
+ }
+}
+
diff --git a/php-pecl-mysqlnd-ms-dev.spec b/php-pecl-mysqlnd-ms-dev.spec
index 646c01b..bdb1492 100644
--- a/php-pecl-mysqlnd-ms-dev.spec
+++ b/php-pecl-mysqlnd-ms-dev.spec
@@ -15,7 +15,7 @@
%global pecl_name mysqlnd_ms
%global with_zts 0%{?__ztsphp:1}
%global versufix -alpha
-%global svnrev 333055
+%global svnrev 333506
%if "%{php_version}" < "5.6"
# After json, mysqlnd
%global ini_name %{pecl_name}.ini
@@ -27,17 +27,17 @@
Summary: A replication and load balancing plugin for mysqlnd
Name: %{?scl_prefix}php-pecl-mysqlnd-ms
Version: 1.6.0
-Release: 2.svn%{svnrev}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 3.svn%{svnrev}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/mysqlnd_ms
%if 0%{?svnrev}
-# svn export -r 333055 https://svn.php.net/repository/pecl/mysqlnd_ms/trunk
+# svn export -r 333506 https://svn.php.net/repository/pecl/mysqlnd_ms/trunk
# cd trunk
# pecl package
-# mv mysqlnd_ms-1.6.0.tgz mysqlnd_ms-1.6.0-333055.tgz
+# mv mysqlnd_ms-1.6.0.tgz ../mysqlnd_ms-1.6.0-333506.tgz
Source0: %{pecl_name}-%{version}-%{svnrev}.tgz
%else
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
@@ -241,6 +241,9 @@ cd ../ZTS
%changelog
+* Fri May 9 2014 Remi Collet <remi@fedoraproject.org> - 1.6.0-3.svn333506
+- new snapshot
+
* Wed Apr 16 2014 Remi Collet <remi@fedoraproject.org> - 1.6.0-2.svn333055
- add numerical prefix to extension configuration file