summaryrefslogtreecommitdiff
path: root/ext/mysql
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed compile warnings.Ilia Alshanetsky2002-11-111-2/+2
|
* Added new functionality:Georg Richter2002-11-112-3/+65
| | | | | | | | | 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"
* fix compiler warningMarcus Boerger2002-10-241-1/+1
|
* centralize #include "build-defs.h" and drop (sometimes inconsistent) otherSascha Schumann2002-10-241-1/+0
| | | | | instances
* - Prevent resetting the PHP_*_DIR variables if already set.foobar2002-10-211-2/+8
|
* 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
|
* @- Added --disable-all configure option. (Jani)foobar2002-09-041-4/+4
|
* 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-242-4/+4
| | | | 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
|
* fixed bug #18643Georg Richter2002-08-231-2/+2
|
* fixed bug #19016Georg Richter2002-08-231-0/+2
| | | | | SSL is only available for MYSQL_VERSION_ID >= 40000
* fixed bug #16965Georg Richter2002-08-231-2/+3
|
* - Proper format for CREDITS filesDerick Rethans2002-08-211-3/+1
|
* forgot to remove another LOCAL_INFILE opion callGeorg Richter2002-08-091-1/+0
|
* fixed bug #18815Georg Richter2002-08-091-1/+1
|
* Ups, forgot to remove load_infile tests. Thx to Brad BulgarGeorg Richter2002-08-081-5/+0
|
* added zend_error messages for deprecated functionsGeorg Richter2002-08-072-2/+15
| | | | | inserted zak and me in author list/credits
* removed unsued constants (MYSQL_USE_RESULT and MYSQL_STORE_RESULT)Georg Richter2002-08-071-2/+9
|
* removed changes for mysql_select_db (optional parameter)Georg Richter2002-07-211-23/+3
| | | | | | | | | | | | | | | | | | | | Why: 1) Its not the common way to add additionally functionality for functions or features which are already implemented in SQL. Therefore also a lot of mysql functions are marked as deprecated (and will be removed in near future) 2) The implemented workaround works only when mysql_select_db was called before (fetching the databasename from mysql->conn.db). It returns invalid or inconsistent results e.g.: - when "USE databasename" via mysql_query was used - when database was dropped or grant privileges had changed. In conjunction with persistent connection, there are also some inconsistencies, cause mysql_select_db returns the databasename from an old connection. To determine the database name just use the SQL command "SELECT DATABASE()"
* fixed bug in mysql_real_escape_string:Georg Richter2002-07-211-1/+1
| | | | | allocated 1 more byte for '\0' terminating character
* fix protosfoobar2002-07-161-2/+2
|
* Added support for php.ini parameter "mysql.connect_timeout"Georg Richter2002-07-162-0/+13
|
* mysql_create_db and mysql_drop_db disabled for NetWareAnantha Kesari H Y2002-07-151-0/+6
|
* Partially reverted the netware related commit.foobar2002-07-121-13/+3
|
* Beauify a bit..foobar2002-07-121-20/+21
|
* Some ws fixes. And removed the problems causing typedef for ushort.foobar2002-07-121-33/+24
|
* Added NetWare changesAnantha Kesari H Y2002-07-122-2/+183
|
* 1) New constants:Georg Richter2002-07-101-5/+58
| | | | | | | | | | | | | | | | MYSQL_CLIENT_SSL for ssl connections MYSQL_CLIENT_COMPRESS for compressed protocol MYSQL_CLIENT_IGNORE_SPACES for spaces after function names MYSQL_CLIENT_INTERACTIVE for closing connections after timeout_interactive seconds 2) Optional parameter client_flags for mysql_connect and mysql_pconnect For parameter desctiption see 1. This also should fix bug #13589 3) New internal function _rollback_mysql_transactions, which is called via PHP_RSHUTDOWN_FUNCTION This fixes bug #12513
* Fix shared build and made the logic of finding the socket location better.foobar2002-07-081-12/+17
|
* - Fix annoying redefine warning..foobar2002-06-281-0/+3
| | | | | # ZAK! Heads up and fix this in Mysql CVS too.
* Unify error messagesDerick Rethans2002-06-261-22/+22
|
* - Reverted last bogus commit and fixed the credits in NEWS.foobar2002-06-111-34/+15
| | | | | # STIG! Do a 'cvs update' before you commit anything!!
* @Add --with-mysql-sock option (James Cox)Stig Bakken2002-06-101-15/+34
|
* - Fix win32/mysql.Markus Fischer2002-06-101-1/+2
| | | | | - Revert cryptic WS commit on php4dllts.dsp.
* fix the buildHarald Radi2002-06-102-0/+233
| | | | | # these files were blank, i suppose this happened by accident
* dont test for the socket -- enables installs over NFS etc.James Cox2002-06-091-4/+0
| | | | | # my previous commit was the revision before the fixed one (ie, i had the fix) so apologies for that.
* Fixed configure stuffSander Roobol2002-06-091-1/+1
| | | | | # It didn't work for me... hope it works for everybody now...
* Cleaned up the mess. Now it actually works too.foobar2002-06-091-36/+37
| | | | | # TEST BEFORE COMMIT!!