From 7980ba409ab151689af4a7a7c00439a69ffa33e7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 9 May 2014 10:50:10 +0200 Subject: php-pecl-mysqlnd-ms-1.6.0-3.svn333506 (for php 5.6) --- REFLECTION | 119 +++++++++++++++++++++++++++++++++++++++++++ php-pecl-mysqlnd-ms-dev.spec | 11 ++-- 2 files changed, 126 insertions(+), 4 deletions(-) create mode 100644 REFLECTION diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..a2bf286 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,119 @@ +Extension [ 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 ] + Current = '0' + } + Entry [ mysqlnd_ms.force_config_usage ] + Current = '0' + } + Entry [ mysqlnd_ms.config_file ] + Current = '' + } + Entry [ mysqlnd_ms.collect_statistics ] + Current = '0' + } + Entry [ mysqlnd_ms.multi_master ] + Current = '0' + } + Entry [ mysqlnd_ms.disable_rw_split ] + 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 [ function mysqlnd_ms_match_wild ] { + + - Parameters [2] { + Parameter #0 [ $haystack ] + Parameter #1 [ $wild ] + } + } + Function [ function mysqlnd_ms_query_is_select ] { + + - Parameters [1] { + Parameter #0 [ $query ] + } + } + Function [ function mysqlnd_ms_get_stats ] { + + - Parameters [0] { + } + } + Function [ function mysqlnd_ms_get_last_used_connection ] { + + - Parameters [1] { + Parameter #0 [ $object ] + } + } + Function [ function mysqlnd_ms_get_last_gtid ] { + + - Parameters [1] { + Parameter #0 [ $object ] + } + } + Function [ function mysqlnd_ms_set_qos ] { + + - Parameters [4] { + Parameter #0 [ $object ] + Parameter #1 [ $service_level ] + Parameter #2 [ $option ] + Parameter #3 [ $option_value ] + } + } + Function [ function mysqlnd_ms_fabric_select_shard ] { + + - Parameters [3] { + Parameter #0 [ $connection ] + Parameter #1 [ $table ] + Parameter #2 [ $shard_key ] + } + } + Function [ function mysqlnd_ms_fabric_select_global ] { + + - Parameters [2] { + Parameter #0 [ $connection ] + Parameter #1 [ $table ] + } + } + Function [ function mysqlnd_ms_dump_servers ] { + + - Parameters [1] { + Parameter #0 [ $connection ] + } + } + Function [ function mysqlnd_ms_dump_fabric_rpc_hosts ] { + + - Parameters [1] { + Parameter #0 [ $connection ] + } + } + Function [ 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 - 1.6.0-3.svn333506 +- new snapshot + * Wed Apr 16 2014 Remi Collet - 1.6.0-2.svn333055 - add numerical prefix to extension configuration file -- cgit