summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
Commit message (Collapse)AuthorAgeFilesLines
* - Fixed bug #32591 (ext/mysql: Unsatisfied symbol: ntohs with HP-UX)foobar2005-04-071-0/+3
|
* MFH: Fixed bug #31288 (Possible crash in mysql_fetch_field(), ifIlia Alshanetsky2005-02-221-1/+1
| | | | | mysql_list_fields() was not called previously).
* MFH: Fixed bug #28632 (Prevent open_basedir bypass in MySQL's LOAD DATAIlia Alshanetsky2004-06-041-1/+1
| | | | | LOCAL).
* MFH: Fixed bug #28627 (When multiple MySQL links are used default link isIlia Alshanetsky2004-06-041-0/+3
| | | | | leaked).
* MFH: Fixed bug #28087 (Do not force mysql.trace_mode to 0 on every request)Ilia Alshanetsky2004-04-231-1/+0
|
* s/2003/2004 :)Georg Richter2004-01-051-1/+1
|
* MFH: string format stuff.Ilia Alshanetsky2003-09-221-5/+3
|
* MFH: Compiler warning fixes.Ilia Alshanetsky2003-08-281-8/+8
|
* MFH: Fixed bug #24977 (Revert mysql_select_db optimization)Ilia Alshanetsky2003-08-081-10/+5
|
* MFH: r1.196: mysql_fixesIlia Alshanetsky2003-07-221-26/+66
|
* MFHIlia Alshanetsky2003-06-181-1/+1
|
* proto fixesAndrey Hristov2003-06-101-17/+17
|
* suggestion by Wez :)Georg Richter2003-05-311-1/+1
|
* better to test next time with the right version :)Georg Richter2003-05-301-1/+1
|
* MFHIlia Alshanetsky2003-05-301-0/+4
|
* fixed #23779 (CLIENT_LOCAL_FILES with open_basedir)Georg Richter2003-05-301-0/+5
|
* I see no reason not to allow people to set the timeout on a mysql_connectRasmus Lerdorf2003-05-281-1/+1
| | | | | | | from inside a script with ini_set(). We allow user-settable timeouts on other socket connections so having this as a system-settable only directive doesn't make much sense to me.
* - Fixed bug #23661: mysql_fetch_array gives no warning on an invalidDerick Rethans2003-05-161-0/+4
| | | | | result_type
* emalloc -> safe_emallocIlia Alshanetsky2003-04-241-1/+1
|
* - MFH: proto fixDerick Rethans2003-04-111-2/+2
|
* MFHIlia Alshanetsky2003-04-101-8/+4
|
* fixed bug 21498Georg Richter2003-01-081-6/+3
|
* fixed a missing & (Thx to Sebastian BergmannGeorg Richter2003-01-061-1/+1
|
* - MFH (Fix for bug #21435)Derick Rethans2003-01-051-1/+1
|
* MFH: Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* fixed some compiler warnings when using external libmysqlclient 4.xGeorg Richter2002-12-261-9/+6
|
* MFHMarcus Boerger2002-12-051-5/+4
|
* MFH, as requested by georgfoobar2002-11-201-0/+1
|
* - MFH: removed restore_connection_defaults for pconnects (discussed onDerick Rethans2002-11-151-45/+0
| | | | | | | php-dev@) bug #19529 closed bug #12513 reopened
* - Reset globals for each requestDerick Rethans2002-11-131-1/+3
|
* - Fix warningDerick Rethans2002-11-121-0/+2
|
* Modified php_mysql_do_connect() as suggested by Nick Gaugler - usingZak Greant2002-11-121-1/+11
| | | | | | | | | | | 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.
* Fixed compile warnings.Ilia Alshanetsky2002-11-111-2/+2
|
* Added new functionality:Georg Richter2002-11-111-3/+63
| | | | | | | | | 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"
* centralize #include "build-defs.h" and drop (sometimes inconsistent) otherSascha Schumann2002-10-241-1/+0
| | | | | instances
* Remove mysql_result_seek() alias.Yasuo Ohgaki2002-10-171-1/+0
|
* Removed spurious code. Thanks DerickZak Greant2002-10-091-9/+4
|
* Minor tweak - using memcpy(), instead of strcpy() for static strings. Gives ↵Zak Greant2002-10-091-3/+3
| | | | better performance. Thanks Zeev.
* Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty)Zak Greant2002-10-091-3/+17
| | | | | | | | | | | | | | | | 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
* Set default value for mysql.connect_timeout to -1. This setting matches the ↵Zak Greant2002-10-091-1/+1
| | | | setting in php.ini-dist and ensures that the default behavior is to leave connect_timeout alone.
* - Remove superfluous E_WARNING if mysql_connect() fails; there's alreadyMarkus Fischer2002-10-051-1/+0
| | | | | an E_WARNING a few lines above.
* Rename pg_data_seek() to pg_result_seek().Yasuo Ohgaki2002-10-031-0/+1
| | | | | Added mysql_result_seek() which is alias of mysql_data_seek().
* - Un-deprecating mysql_escape_stringDerick Rethans2002-09-111-2/+0
| | | | | | | #- 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.
* - renamed rollback function to _restore_connection_defaultGeorg Richter2002-09-091-3/+16
| | | | | | | - in _restore_connection_default: - unset the selected database (thx to Paul DuBois) - set session variable autocommit to default (=1)
* fixed typoGeorg Richter2002-09-061-1/+1
|
* Fix bug: #19159, mysql_field_count was available since 3.22.24foobar2002-08-291-1/+1
|
* Rename mysql_character_set_name() to mysql_client_encoding(). ↵Yasuo Ohgaki2002-08-241-3/+3
| | | | pg_client_encoding() is available from PHP4.0.3 and this function is available from PHP 4.3.0
* Undeprecate mysql_db_query()Zeev Suraski2002-08-241-1/+3
|
* changed zend_error -> php_error_docref()Georg Richter2002-08-241-24/+24
|
* changed error messages according to CODING_STANDARDSGeorg Richter2002-08-241-4/+4
|