History log of /PHP-5.5/ext/mysql/php_mysql.c (Results 176 – 200 of 352)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: RELEASE_1_0b3, php-4.3.0RC3
# 47b0e79b 05-Dec-2002 Marcus Boerger

-fix a warning that was an error
-php_error -> php_error_docref


Revision tags: php-4.3.0RC2, RELEASE_1_0b2
# 208a3a37 16-Nov-2002 Georg Richter

forgot to decrement result_allocated :(


Revision tags: BEFORE_RENAMING
# d46bd1cd 15-Nov-2002 Georg Richter

removed restore_connection_defaults for pconnects (discussed on php-dev@)
bug #19529 closed
bug #12513 reopened


Revision tags: php-4.3.0RC1
# 801c6989 13-Nov-2002 Derick Rethans

- Reset globals for each request


# 28d3be43 12-Nov-2002 Derick Rethans

- Fix warning


# c29f1aa4 12-Nov-2002 Zak Greant

Modified php_mysql_do_connect() as suggested by Nick Gaugler - using
mysql_ping() as a more efficient alternative to using mysql_stat() to
check if the server is alive and then calling mysql_

Modified php_mysql_do_connect() as suggested by Nick Gaugler - using
mysql_ping() as a more efficient alternative to using mysql_stat() to
check if the server is alive and then calling mysql_(real_)?connect() to
reconnect.

Simple tests of opening pconnects indicate that only about 10k of data per
ping needs to be returned to the client per connection check, rather than
about 110k per status check.

show more ...


# aec6258a 11-Nov-2002 Ilia Alshanetsky

Fixed compile warnings.


# f328f3ea 11-Nov-2002 Georg Richter

Added new functionality:
Warnings for table/index scans
Warnings for SQL-Errors
Warnings for non free result sets

It can be activated via ini.setting "mys

Added new functionality:
Warnings for table/index scans
Warnings for SQL-Errors
Warnings for non free result sets

It can be activated via ini.setting "mysql.trace_mode"

show more ...


Revision tags: php-4.3.0pre2
# 2909e5c9 24-Oct-2002 Sascha Schumann

centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances


# 29d16f67 17-Oct-2002 Yasuo Ohgaki

Remove mysql_result_seek() alias.


Revision tags: RELEASE_1_0b1, php-4.3.0pre1
# 70e49320 09-Oct-2002 Zak Greant

Removed spurious code. Thanks Derick


# 6a590082 09-Oct-2002 Zak Greant

Minor tweak - using memcpy(), instead of strcpy() for static strings. Gives better performance. Thanks Zeev.


# 0ecf32f7 09-Oct-2002 Zak Greant

Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty)

Major changes to _restore_connection_defaults
- added code block to finds and releases the active mysql result (if any)

Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty)

Major changes to _restore_connection_defaults
- added code block to finds and releases the active mysql result (if any)
- this should prevent the 'Commands out of sync' error that would be
raised when a query is made when unfreed results exist

Minor changes to _restore_connection_defaults
- replaced calls to mysql_real_query with mysql_query
- we probably should not be using mysql_real_query without checking to
see if we have a version that supports the function.
- given that we control the query strings here and do not need to
worry about binary safety, I am using mysql_query instead
- see the bug report for further discussion

show more ...


# dbf1d82a 09-Oct-2002 Zak Greant

Set default value for mysql.connect_timeout to -1. This setting matches the setting in php.ini-dist and ensures that the default behavior is to leave connect_timeout alone.


# 945ccfa7 05-Oct-2002 Markus Fischer

- Remove superfluous E_WARNING if mysql_connect() fails; there's already
an E_WARNING a few lines above.


# 1b675aa6 03-Oct-2002 Yasuo Ohgaki

Rename pg_data_seek() to pg_result_seek().
Added mysql_result_seek() which is alias of mysql_data_seek().


Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# c57b3c65 11-Sep-2002 Derick Rethans

- Un-deprecating mysql_escape_string
#- This will remove the annoying notices, while this function is used in
# a lot of scripts. There is not reason why we should discontinue it's use
#

- Un-deprecating mysql_escape_string
#- This will remove the annoying notices, while this function is used in
# a lot of scripts. There is not reason why we should discontinue it's use
# as it works perfect for about 99% of the time.

show more ...


Revision tags: RELEASE_0_91
# a9c64d17 09-Sep-2002 Georg Richter

- renamed rollback function to _restore_connection_default
- in _restore_connection_default:
- unset the selected database (thx to Paul DuBois)
- set session variable autocommit to de

- renamed rollback function to _restore_connection_default
- in _restore_connection_default:
- unset the selected database (thx to Paul DuBois)
- set session variable autocommit to default (=1)

show more ...


Revision tags: php-4.3.0dev_zend2_alpha3
# 0797d5f9 06-Sep-2002 Georg Richter

fixed typo


Revision tags: php-4.2.3, php-4.2.3RC2
# 04bbf469 29-Aug-2002 foobar

Fix bug: #19159, mysql_field_count was available since 3.22.24


# d23cb168 24-Aug-2002 Yasuo Ohgaki

Rename mysql_character_set_name() to mysql_client_encoding(). pg_client_encoding() is available from PHP4.0.3 and this function is available from PHP 4.3.0


# 4b81d042 24-Aug-2002 Zeev Suraski

Undeprecate mysql_db_query()


# 11bd3c08 24-Aug-2002 Georg Richter

changed zend_error -> php_error_docref()


# 3bd2a540 24-Aug-2002 Georg Richter

changed error messages according to CODING_STANDARDS


Revision tags: php-4.2.3RC1
# 0c386174 23-Aug-2002 Georg Richter

fixed bug #19016
SSL is only available for MYSQL_VERSION_ID >= 40000


12345678910>>...15