Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | emalloc -> safe_emalloc | Ilia Alshanetsky | 2003-08-12 | 1 | -2/+2 |
| | |||||
* | Fixed bug #24977 (Revert mysql_select_db optimization) | Ilia Alshanetsky | 2003-08-08 | 1 | -10/+5 |
| | |||||
* | * Fixed bug #24535 (Crash when retrieving data from unbuffered result after | Ilia Alshanetsky | 2003-07-22 | 1 | -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 Alshanetsky | 2003-06-18 | 1 | -1/+1 |
| | |||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -3/+3 |
| | |||||
* | proto fixes | Andrey Hristov | 2003-06-10 | 1 | -17/+17 |
| | |||||
* | don't do this on startup, lazy initialize it. This takes up > 17% of load | Sterling Hughes | 2003-06-01 | 1 | -17/+22 |
| | | | | | time in CGI mode | ||||
* | Fixed bug #23888 (Missing input validation for flags parameter) | Ilia Alshanetsky | 2003-05-30 | 1 | -0/+4 |
| | |||||
* | MFB | Rasmus Lerdorf | 2003-05-28 | 1 | -1/+1 |
| | |||||
* | - MFB: Fixed bug #23661: mysql_fetch_array gives no warning on an invalid | Derick Rethans | 2003-05-16 | 1 | -0/+4 |
| | | | | | result_type | ||||
* | - Fixed protos | Derick Rethans | 2003-04-11 | 1 | -2/+2 |
| | |||||
* | Fixed a crash in the query tracer output due to buffer overflow. | Ilia Alshanetsky | 2003-04-10 | 1 | -8/+4 |
| | | | | | Fixed a crash in notice message for unbuffered query. | ||||
* | Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings. | foobar | 2003-03-07 | 1 | -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 by | Wez Furlong | 2003-02-16 | 1 | -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 Alshanetsky | 2003-01-30 | 1 | -3/+1 |
| | |||||
* | Removed pointless memory allocation checks. | Ilia Alshanetsky | 2003-01-18 | 1 | -6/+2 |
| | |||||
* | fixed bug #21498 | Georg Richter | 2003-01-08 | 1 | -6/+3 |
| | |||||
* | fixed missing & (Thx to Sebastian Bergmann) | Georg Richter | 2003-01-06 | 1 | -1/+1 |
| | |||||
* | fixed bug #21435 | Georg Richter | 2003-01-05 | 1 | -1/+1 |
| | |||||
* | Bump year. | Sebastian Bergmann | 2002-12-31 | 1 | -1/+1 |
| | |||||
* | fixed some warning when using external 4.x libs | Georg Richter | 2002-12-20 | 1 | -9/+6 |
| | |||||
* | -fix a warning that was an error | Marcus Boerger | 2002-12-05 | 1 | -5/+4 |
| | | | | | -php_error -> php_error_docref | ||||
* | forgot to decrement result_allocated :( | Georg Richter | 2002-11-16 | 1 | -0/+1 |
| | |||||
* | removed restore_connection_defaults for pconnects (discussed on php-dev@) | Georg Richter | 2002-11-15 | 1 | -45/+0 |
| | | | | | | bug #19529 closed bug #12513 reopened | ||||
* | - Reset globals for each request | Derick Rethans | 2002-11-13 | 1 | -1/+3 |
| | |||||
* | - Fix warning | Derick Rethans | 2002-11-12 | 1 | -0/+2 |
| | |||||
* | Modified php_mysql_do_connect() as suggested by Nick Gaugler - using | Zak Greant | 2002-11-12 | 1 | -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 Alshanetsky | 2002-11-11 | 1 | -2/+2 |
| | |||||
* | Added new functionality: | Georg Richter | 2002-11-11 | 1 | -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) other | Sascha Schumann | 2002-10-24 | 1 | -1/+0 |
| | | | | | instances | ||||
* | Remove mysql_result_seek() alias. | Yasuo Ohgaki | 2002-10-17 | 1 | -1/+0 |
| | |||||
* | Removed spurious code. Thanks Derick | Zak Greant | 2002-10-09 | 1 | -9/+4 |
| | |||||
* | Minor tweak - using memcpy(), instead of strcpy() for static strings. Gives ↵ | Zak Greant | 2002-10-09 | 1 | -3/+3 |
| | | | | better performance. Thanks Zeev. | ||||
* | Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty) | Zak Greant | 2002-10-09 | 1 | -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 Greant | 2002-10-09 | 1 | -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 already | Markus Fischer | 2002-10-05 | 1 | -1/+0 |
| | | | | | an E_WARNING a few lines above. | ||||
* | Rename pg_data_seek() to pg_result_seek(). | Yasuo Ohgaki | 2002-10-03 | 1 | -0/+1 |
| | | | | | Added mysql_result_seek() which is alias of mysql_data_seek(). | ||||
* | - Un-deprecating mysql_escape_string | Derick Rethans | 2002-09-11 | 1 | -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_default | Georg Richter | 2002-09-09 | 1 | -3/+16 |
| | | | | | | | - in _restore_connection_default: - unset the selected database (thx to Paul DuBois) - set session variable autocommit to default (=1) | ||||
* | fixed typo | Georg Richter | 2002-09-06 | 1 | -1/+1 |
| | |||||
* | Fix bug: #19159, mysql_field_count was available since 3.22.24 | foobar | 2002-08-29 | 1 | -1/+1 |
| | |||||
* | Rename mysql_character_set_name() to mysql_client_encoding(). ↵ | Yasuo Ohgaki | 2002-08-24 | 1 | -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 Suraski | 2002-08-24 | 1 | -1/+3 |
| | |||||
* | changed zend_error -> php_error_docref() | Georg Richter | 2002-08-24 | 1 | -24/+24 |
| | |||||
* | changed error messages according to CODING_STANDARDS | Georg Richter | 2002-08-24 | 1 | -4/+4 |
| | |||||
* | fixed bug #19016 | Georg Richter | 2002-08-23 | 1 | -0/+2 |
| | | | | | SSL is only available for MYSQL_VERSION_ID >= 40000 | ||||
* | fixed bug #16965 | Georg Richter | 2002-08-23 | 1 | -2/+3 |
| | |||||
* | forgot to remove another LOCAL_INFILE opion call | Georg Richter | 2002-08-09 | 1 | -1/+0 |
| | |||||
* | Ups, forgot to remove load_infile tests. Thx to Brad Bulgar | Georg Richter | 2002-08-08 | 1 | -5/+0 |
| | |||||
* | added zend_error messages for deprecated functions | Georg Richter | 2002-08-07 | 1 | -2/+13 |
| | | | | | inserted zak and me in author list/credits |