summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
Commit message (Collapse)AuthorAgeFilesLines
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH: nuke php3 legacyfoobar2005-12-061-1/+1
|
* MFH: list_entry -> zend_rsrc_list_entryfoobar2005-12-051-5/+5
|
* fix #35536 (mysql_field_type() doesn't handle NEWDECIMAL)Antony Dovgal2005-12-051-0/+17
| | | | | add also SET, ENUM, NEWDATE and GEOMETRY to the switch
* assign a version numberWez Furlong2005-09-041-1/+1
|
* Allow ext/mysql to build against PHP 4 again; update package.xml ready forWez Furlong2005-09-041-2/+15
| | | | | release via PECL.
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Fixed bug #32591 (ext/mysql: Unsatisfied symbol: ntohs with HP-UX)foobar2005-04-071-0/+3
|
* Fixed bug #31288 (Possible crash in mysql_fetch_field(), ifIlia Alshanetsky2005-02-221-1/+1
| | | | | mysql_list_fields() was not called previously).
* - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()Andi Gutmans2004-07-191-3/+3
| | | | | | | | | | | | | | | used to return "" and not bool(false). It's not worth keeping it because STR_FREE() and zval_dtor() always have to check for it and it slows down the general case. In addition, it seems that empty_string has been abused quite a lot, and was used not only for setting zval's but generally in PHP code instead of "", which wasn't the intention. Last but not least, nuking empty_string should improve stability as I doubt every place correctly checked if they are not mistakenly erealloc()'ing it or calling efree() on it. NOTE: Some code is probably broken. Each extension maintainer should check and see that my changes are OK. Also, I haven't had time to touch PECL yet. Will try and do it tomorrow.
* Fixed bug #28632 (Prevent open_basedir bypass in MySQL's LOAD DATA LOCAL).Ilia Alshanetsky2004-06-041-0/+5
|
* Fixed bug #28627 (When multiple MySQL links are used default link isIlia Alshanetsky2004-06-041-0/+3
| | | | | | leaked). Patch by: gavin at ipalsoftware dot com
* Fixed bug #28087 (Do not force mysql.trace_mode to 0 on every request).Ilia Alshanetsky2004-04-231-1/+0
|
* zend_default_classes.h -> zend_exceptions.hZeev Suraski2004-02-121-1/+1
|
* message about that mysql_list_tables() is deprecatedAndrey Hristov2004-01-271-1/+1
|
* Synch mysql_fetch_object with mysqli, sqlite and pgsqlMarcus Boerger2004-01-121-27/+114
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* 10-18% optimization of fetch_array(), when both number & string indexes areIlia Alshanetsky2003-11-071-13/+12
| | | | | | | created. # Do we want to MFH the change (for ext/mysql) into 4.3.X?
* Fixed compile warnings.Ilia Alshanetsky2003-10-031-1/+1
|
* String format stuff.Ilia Alshanetsky2003-09-221-5/+3
|
* Fixed compiler warnings.Ilia Alshanetsky2003-08-281-8/+8
|
* emalloc -> safe_emallocIlia Alshanetsky2003-08-121-2/+2
|
* Fixed bug #24977 (Revert mysql_select_db optimization)Ilia Alshanetsky2003-08-081-10/+5
|
* * Fixed bug #24535 (Crash when retrieving data from unbuffered result afterIlia Alshanetsky2003-07-221-26/+66
| | | | | | | | | | | | the original connection has been changed). * Fixed a crash when trying to fetch an unbuffered result after mysql_close() has been called. * Added a check to make sure no unbuffered results are inside the buffer when calling functions that internally execute a query. Affected functions are: mysql_select_db(), mysql_list_dbs(), mysql_list_tables(), mysql_list_processes(), mysql_list_fields(), mysql_stat() and mysql_ping(). * Do not re-select a database if the database to be selected is the same.
* Make the default mysql connection timeout 60 seconds rather then unlimited.Ilia Alshanetsky2003-06-181-1/+1
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* proto fixesAndrey Hristov2003-06-101-17/+17
|
* don't do this on startup, lazy initialize it. This takes up > 17% of loadSterling Hughes2003-06-011-17/+22
| | | | | time in CGI mode
* Fixed bug #23888 (Missing input validation for flags parameter)Ilia Alshanetsky2003-05-301-0/+4
|
* MFBRasmus Lerdorf2003-05-281-1/+1
|
* - MFB: Fixed bug #23661: mysql_fetch_array gives no warning on an invalidDerick Rethans2003-05-161-0/+4
| | | | | result_type
* - Fixed protosDerick Rethans2003-04-111-2/+2
|
* Fixed a crash in the query tracer output due to buffer overflow.Ilia Alshanetsky2003-04-101-8/+4
| | | | | Fixed a crash in notice message for unbuffered query.
* Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.foobar2003-03-071-5/+5
| | | | | | # Intentionally left out any 'alias' for it, this way 3rd party extension # maintainers will really NOTICE the change.
* A add much more useful select(2) implementation than is provided byWez Furlong2003-02-161-1/+1
| | | | | | | | | | | | | windows sockets. The winsock implementation will only work with sockets; our implementation works with sockets and file descriptors. By association, stream_select() will now operate correctly with files, pipes and sockets. This change required linking against the winsock2 library. In terms of compatibility, only older versions of windows 95 do not have winsock2 installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user. Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.
* Removed pointless checks.Ilia Alshanetsky2003-01-301-3/+1
|
* Removed pointless memory allocation checks.Ilia Alshanetsky2003-01-181-6/+2
|
* fixed bug #21498Georg Richter2003-01-081-6/+3
|
* fixed missing & (Thx to Sebastian Bergmann)Georg Richter2003-01-061-1/+1
|
* fixed bug #21435Georg Richter2003-01-051-1/+1
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* fixed some warning when using external 4.x libsGeorg Richter2002-12-201-9/+6
|
* -fix a warning that was an errorMarcus Boerger2002-12-051-5/+4
| | | | | -php_error -> php_error_docref
* forgot to decrement result_allocated :(Georg Richter2002-11-161-0/+1
|
* removed restore_connection_defaults for pconnects (discussed on php-dev@)Georg Richter2002-11-151-45/+0
| | | | | | 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"