Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | removed unsued constants (MYSQL_USE_RESULT and MYSQL_STORE_RESULT) | Georg Richter | 2002-08-07 | 1 | -2/+9 | |
| | ||||||
* | removed changes for mysql_select_db (optional parameter) | Georg Richter | 2002-07-21 | 1 | -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 Richter | 2002-07-21 | 1 | -1/+1 | |
| | | | | | allocated 1 more byte for '\0' terminating character | |||||
* | fix protos | foobar | 2002-07-16 | 1 | -2/+2 | |
| | ||||||
* | Added support for php.ini parameter "mysql.connect_timeout" | Georg Richter | 2002-07-16 | 1 | -0/+12 | |
| | ||||||
* | mysql_create_db and mysql_drop_db disabled for NetWare | Anantha Kesari H Y | 2002-07-15 | 1 | -0/+6 | |
| | ||||||
* | Partially reverted the netware related commit. | foobar | 2002-07-12 | 1 | -13/+3 | |
| | ||||||
* | Beauify a bit.. | foobar | 2002-07-12 | 1 | -20/+21 | |
| | ||||||
* | Some ws fixes. And removed the problems causing typedef for ushort. | foobar | 2002-07-12 | 1 | -33/+24 | |
| | ||||||
* | Added NetWare changes | Anantha Kesari H Y | 2002-07-12 | 1 | -2/+15 | |
| | ||||||
* | 1) New constants: | Georg Richter | 2002-07-10 | 1 | -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 | |||||
* | Unify error messages | Derick Rethans | 2002-06-26 | 1 | -22/+22 | |
| | ||||||
* | Minor improvement to error message for mysql_data_seek | Zak Greant | 2002-05-08 | 1 | -1/+1 | |
| | ||||||
* | @- Added optional 3rd parameter to mysql_select_db() which makes it return | foobar | 2002-04-28 | 1 | -7/+26 | |
| | | | | | @ the previously selected database name. (Jani) | |||||
* | kill a compile warning | foobar | 2002-04-28 | 1 | -1/+1 | |
| | ||||||
* | Make use of HAVE_MYSQL. Reviewed by: Sterling. | Sebastian Bergmann | 2002-04-18 | 1 | -0/+4 | |
| | ||||||
* | WS fix | foobar | 2002-03-29 | 1 | -9/+8 | |
| | ||||||
* | - add mysql_info function | Jan Lehnardt | 2002-03-29 | 1 | -0/+30 | |
| | ||||||
* | fixed prototype for mysql_ping | Georg Richter | 2002-03-25 | 1 | -1/+1 | |
| | ||||||
* | more zend_parse_parameters fixup | Sterling Hughes | 2002-03-25 | 1 | -26/+12 | |
| | ||||||
* | Fix-up the last fix a bit | Sterling Hughes | 2002-03-25 | 1 | -34/+22 | |
| | | | | | Clean up mysql_list_processes | |||||
* | clean up mysql_real_escape_string() a bit | Sterling Hughes | 2002-03-25 | 1 | -26/+19 | |
| | | | | | | # I really think we should just add a database handle # parameter to mysql_escape_string() | |||||
* | Added mysql_table_name() alias for mysql_tablename() | Zak Greant | 2002-03-24 | 1 | -5/+4 | |
| | | | | | | | Improved logic of parameter parsing code for mysql_ping - made test for no arguments more explicit - combined to if blocks into one if/else if block | |||||
* | Fixed tiny mistake in proto (tnx to Egon for spotting it). | Sander Roobol | 2002-03-24 | 1 | -1/+1 | |
| | ||||||
* | Fix typo in proto. | Sander Roobol | 2002-03-24 | 1 | -1/+1 | |
| | ||||||
* | - Fix proto | Derick Rethans | 2002-03-24 | 1 | -2/+1 | |
| | ||||||
* | changed prototype for mysql_real_escape_string | Georg Richter | 2002-03-24 | 1 | -1/+2 | |
| | ||||||
* | Added mysql_ping() function. | Zak Greant | 2002-03-24 | 1 | -0/+22 | |
| | ||||||
* | a) ws fixed | Georg Richter | 2002-03-24 | 1 | -33/+122 | |
| | | | | | | | | | | | | | | b) changed mysql_list_processes, mysql_stat (zend_parse_parameters) c) New functions: 1) mysql_real_escape_string this function is similar to mysql_escape_string (deprecated). it needs a mysql-connection to escape a string according to the current character set 2) mysql_character_set_name returns the current character set for the connection 3) mysql_thread_id return the pid for the current connection. This function is usefull when using mysql_list_processes | |||||
* | (PHP mysql_list_processes) Returns a pointer to a result set containing | Zak Greant | 2002-03-24 | 1 | -17/+93 | |
| | | | | | | | | | | | | | information on the processes running in the MySQL server. (PHP mysql_stat) Returns a string containing information on the status of the MySQL server. @- Added two new functions: mysql_list_processes and mysql_stat (Georg) @- mysql_list_processes() fetches information on the processes running on @ the MySQL server. @- mysql_stat() returns status information for a MySQL server. # Committed for Georg by Zak | |||||
* | - Fixed bug: #16139 (compile failure with Mysql 4.0.1) | foobar | 2002-03-20 | 1 | -4/+0 | |
| | | | | | | | - Some tests were only run when compiling with the bundled libs. (caused some compile warnings with external mysql libs) - Another try to fix the zlib issue..(uncompress) | |||||
* | - Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR | Andi Gutmans | 2002-03-12 | 1 | -1/+1 | |
| | ||||||
* | Maintain headers. | Sebastian Bergmann | 2002-02-28 | 1 | -1/+1 | |
| | ||||||
* | Corrected bug in php_mysql_fetch_hash() that prevented columns with NULL ↵ | Zak Greant | 2001-12-30 | 1 | -2/+5 | |
| | | | | values from having both numeric and associative indexes. (Bug 14291) | |||||
* | Check for ushort | Alex Waugh | 2001-12-23 | 1 | -0/+5 | |
| | ||||||
* | Fix bug #13456 - I'm unable to actually test it | Zeev Suraski | 2001-12-15 | 1 | -1/+1 | |
| | ||||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -2/+2 | |
| | ||||||
* | Work around a quirk in the MySQL client library to fix unbuffered queries | Zeev Suraski | 2001-12-06 | 1 | -4/+6 | |
| | ||||||
* | - Prototype new parameter which forces the creation of new links. | Markus Fischer | 2001-12-06 | 1 | -1/+1 | |
| | ||||||
* | - Reverse slight mistake (patch by Markus Fischer) | Derick Rethans | 2001-11-23 | 1 | -1/+1 | |
| | ||||||
* | - Added a parameter to mysql_connect to force a new database link to be | Derick Rethans | 2001-11-22 | 1 | -4/+15 | |
| | | | | | | | created. (patch by Markus Fischer <mfischer@guru.josefine.at>) @- Added a parameter to mysql_connect to force a new database link to be @ created. (Markus, Derick) | |||||
* | More protos fixed. | Egon Schmid | 2001-11-08 | 1 | -21/+21 | |
| | ||||||
* | - prototypes | Derick Rethans | 2001-11-08 | 1 | -17/+17 | |
| | | | | | #- Thanks to Zak for pointing this out during his talk | |||||
* | This was conditionally included if HAVE_MYSQL_REAL_CONNECT was defined. | foobar | 2001-11-02 | 1 | -7/+9 | |
| | ||||||
* | Make the extension work with MySQL 4.0 | foobar | 2001-11-02 | 1 | -2/+19 | |
| | ||||||
* | * zend_module_entry change: apino, debug and zts are moved first, | Stig Bakken | 2001-10-11 | 1 | -2/+10 | |
| | | | | | | see README.EXTENSIONS file for upgrade help. @Introduced extension version numbers (Stig) | |||||
* | - Fix for bug #13592 (Patch by Markus Fischer <mfischer@guru.josefine.at>) | Derick Rethans | 2001-10-08 | 1 | -0/+5 | |
| | ||||||
* | 2nd phase in back-substitution those macro's | Jeroen van Wolffelaar | 2001-09-25 | 1 | -1/+1 | |
| | | | | | I've got pretty much everything now... | |||||
* | Back-substitute for Z_* macro's. If it breaks some extension (the script ↵ | Jeroen van Wolffelaar | 2001-09-25 | 1 | -75/+75 | |
| | | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know. | |||||
* | - Don't wrap lines... this is annoying while coding. | Derick Rethans | 2001-09-09 | 1 | -2/+2 | |
| |