From 113ba144f763857c2ced3bd9b8b5bf03126a7ee4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 7 Oct 2015 14:57:40 +0200 Subject: php-pecl-mysql: new snapshot --- REFFLECTION | 470 ++++++++++++++++++++++++++++++++++++++++++++++++++++ php-pecl-mysql.spec | 13 +- 2 files changed, 478 insertions(+), 5 deletions(-) create mode 100644 REFFLECTION diff --git a/REFFLECTION b/REFFLECTION new file mode 100644 index 0000000..03b7929 --- /dev/null +++ b/REFFLECTION @@ -0,0 +1,470 @@ +Extension [ extension #102 mysql version 1.0.0-dev ] { + + - Dependencies { + Dependency [ mysqlnd (Required) ] + } + + - INI { + Entry [ mysql.allow_persistent ] + Current = '1' + } + Entry [ mysql.max_persistent ] + Current = '-1' + } + Entry [ mysql.max_links ] + Current = '-1' + } + Entry [ mysql.default_host ] + Current = '' + } + Entry [ mysql.default_user ] + Current = '' + } + Entry [ mysql.default_password ] + Current = '' + } + Entry [ mysql.default_port ] + Current = '' + } + Entry [ mysql.default_socket ] + Current = '/var/lib/mysql/mysql.sock' + } + Entry [ mysql.connect_timeout ] + Current = '60' + } + Entry [ mysql.trace_mode ] + Current = '' + } + Entry [ mysql.allow_local_infile ] + Current = '1' + } + } + + - Constants [7] { + Constant [ integer MYSQL_ASSOC ] { 1 } + Constant [ integer MYSQL_NUM ] { 2 } + Constant [ integer MYSQL_BOTH ] { 3 } + Constant [ integer MYSQL_CLIENT_COMPRESS ] { 32 } + Constant [ integer MYSQL_CLIENT_SSL ] { 2048 } + Constant [ integer MYSQL_CLIENT_INTERACTIVE ] { 1024 } + Constant [ integer MYSQL_CLIENT_IGNORE_SPACE ] { 256 } + } + + - Functions { + Function [ function mysql_connect ] { + + - Parameters [5] { + Parameter #0 [ $hostname ] + Parameter #1 [ $username ] + Parameter #2 [ $password ] + Parameter #3 [ $new ] + Parameter #4 [ $flags ] + } + } + Function [ function mysql_pconnect ] { + + - Parameters [4] { + Parameter #0 [ $hostname ] + Parameter #1 [ $username ] + Parameter #2 [ $password ] + Parameter #3 [ $flags ] + } + } + Function [ function mysql_close ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_select_db ] { + + - Parameters [2] { + Parameter #0 [ $database_name ] + Parameter #1 [ $link_identifier ] + } + } + Function [ function mysql_query ] { + + - Parameters [2] { + Parameter #0 [ $query ] + Parameter #1 [ $link_identifier ] + } + } + Function [ function mysql_unbuffered_query ] { + + - Parameters [2] { + Parameter #0 [ $query ] + Parameter #1 [ $link_identifier ] + } + } + Function [ function mysql_db_query ] { + + - Parameters [3] { + Parameter #0 [ $database_name ] + Parameter #1 [ $query ] + Parameter #2 [ $link_identifier ] + } + } + Function [ function mysql_list_dbs ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_list_tables ] { + + - Parameters [2] { + Parameter #0 [ $database_name ] + Parameter #1 [ $link_identifier ] + } + } + Function [ function mysql_list_fields ] { + + - Parameters [3] { + Parameter #0 [ $database_name ] + Parameter #1 [ $table_name ] + Parameter #2 [ $link_identifier ] + } + } + Function [ function mysql_list_processes ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_error ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_errno ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_affected_rows ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_insert_id ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_result ] { + + - Parameters [3] { + Parameter #0 [ $result ] + Parameter #1 [ $row ] + Parameter #2 [ $field ] + } + } + Function [ function mysql_num_rows ] { + + - Parameters [1] { + Parameter #0 [ $result ] + } + } + Function [ function mysql_num_fields ] { + + - Parameters [1] { + Parameter #0 [ $result ] + } + } + Function [ function mysql_fetch_row ] { + + - Parameters [1] { + Parameter #0 [ $result ] + } + } + Function [ function mysql_fetch_array ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $result_type ] + } + } + Function [ function mysql_fetch_assoc ] { + + - Parameters [1] { + Parameter #0 [ $result ] + } + } + Function [ function mysql_fetch_object ] { + + - Parameters [3] { + Parameter #0 [ $result ] + Parameter #1 [ $class_name ] + Parameter #2 [ $ctor_params ] + } + } + Function [ function mysql_data_seek ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $row_number ] + } + } + Function [ function mysql_fetch_lengths ] { + + - Parameters [1] { + Parameter #0 [ $result ] + } + } + Function [ function mysql_fetch_field ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_offset ] + } + } + Function [ function mysql_field_seek ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_offset ] + } + } + Function [ function mysql_free_result ] { + + - Parameters [1] { + Parameter #0 [ $result ] + } + } + Function [ function mysql_field_name ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_index ] + } + } + Function [ function mysql_field_table ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_offset ] + } + } + Function [ function mysql_field_len ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_offset ] + } + } + Function [ function mysql_field_type ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_offset ] + } + } + Function [ function mysql_field_flags ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_offset ] + } + } + Function [ function mysql_escape_string ] { + + - Parameters [1] { + Parameter #0 [ $string ] + } + } + Function [ function mysql_real_escape_string ] { + + - Parameters [2] { + Parameter #0 [ $string ] + Parameter #1 [ $link_identifier ] + } + } + Function [ function mysql_stat ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_thread_id ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_client_encoding ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_ping ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_get_client_info ] { + + - Parameters [0] { + } + } + Function [ function mysql_get_host_info ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_get_proto_info ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_get_server_info ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_info ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_set_charset ] { + + - Parameters [2] { + Parameter #0 [ $charset_name ] + Parameter #1 [ $link_identifier ] + } + } + Function [ function mysql ] { + + - Parameters [3] { + Parameter #0 [ $database_name ] + Parameter #1 [ $query ] + Parameter #2 [ $link_identifier ] + } + } + Function [ function mysql_fieldname ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_index ] + } + } + Function [ function mysql_fieldtable ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_offset ] + } + } + Function [ function mysql_fieldlen ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_offset ] + } + } + Function [ function mysql_fieldtype ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_offset ] + } + } + Function [ function mysql_fieldflags ] { + + - Parameters [2] { + Parameter #0 [ $result ] + Parameter #1 [ $field_offset ] + } + } + Function [ function mysql_selectdb ] { + + - Parameters [2] { + Parameter #0 [ $database_name ] + Parameter #1 [ $link_identifier ] + } + } + Function [ function mysql_freeresult ] { + + - Parameters [1] { + Parameter #0 [ $result ] + } + } + Function [ function mysql_numfields ] { + + - Parameters [1] { + Parameter #0 [ $result ] + } + } + Function [ function mysql_numrows ] { + + - Parameters [1] { + Parameter #0 [ $result ] + } + } + Function [ function mysql_listdbs ] { + + - Parameters [1] { + Parameter #0 [ $link_identifier ] + } + } + Function [ function mysql_listtables ] { + + - Parameters [2] { + Parameter #0 [ $database_name ] + Parameter #1 [ $link_identifier ] + } + } + Function [ function mysql_listfields ] { + + - Parameters [3] { + Parameter #0 [ $database_name ] + Parameter #1 [ $table_name ] + Parameter #2 [ $link_identifier ] + } + } + Function [ function mysql_db_name ] { + + - Parameters [3] { + Parameter #0 [ $result ] + Parameter #1 [ $row ] + Parameter #2 [ $field ] + } + } + Function [ function mysql_dbname ] { + + - Parameters [3] { + Parameter #0 [ $result ] + Parameter #1 [ $row ] + Parameter #2 [ $field ] + } + } + Function [ function mysql_tablename ] { + + - Parameters [3] { + Parameter #0 [ $result ] + Parameter #1 [ $row ] + Parameter #2 [ $field ] + } + } + Function [ function mysql_table_name ] { + + - Parameters [3] { + Parameter #0 [ $result ] + Parameter #1 [ $row ] + Parameter #2 [ $field ] + } + } + } +} + diff --git a/php-pecl-mysql.spec b/php-pecl-mysql.spec index ac1474d..43bce79 100644 --- a/php-pecl-mysql.spec +++ b/php-pecl-mysql.spec @@ -15,11 +15,11 @@ %{!?__pecl: %global __pecl %{_bindir}/pecl} %{!?__php: %global __php %{_bindir}/php} -%global gh_commit 617e5103743d07435fdfe5cbbe6ad310e610c4b9 +%global gh_commit be23da14a025e5dc80a1645280bc8ebd1e1ef123 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner php %global gh_project pecl-database-mysql -%global gh_date 20150703 +%global gh_date 20151007 %global with_zts 0%{?__ztsphp:1} %global pecl_name mysql %global with_tests %{!?_without_tests:1}%{?_without_tests:0} @@ -31,7 +31,7 @@ Summary: MySQL database access functions Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.0.0 %if 0%{?gh_date:1} -Release: 0.5.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.6.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif @@ -79,7 +79,7 @@ Although it should be possible to use this extension with PHP 7.0, you are strongly encouraged to port your code to use either MySQLi or PDO_MySQL, as this extension is not maintained and is available for historical reasons only. -Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl})}. +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. %prep @@ -192,7 +192,7 @@ rm -rf %{buildroot} %files -%defattr(-, root, root, 0755) +%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -207,6 +207,9 @@ rm -rf %{buildroot} %changelog +* Wed Oct 7 2015 Remi Collet - 1.0.0-0.6.20151007gitbe23da1 +- refresh, new snapshot + * Fri Sep 18 2015 Remi Collet - 1.0.0-0.5.20150703git617e510 - F23 rebuild with rh_layout -- cgit