summaryrefslogtreecommitdiff
path: root/ext/mysql
Commit message (Collapse)AuthorAgeFilesLines
* 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!!
* @ added support for --with-mysql-sock so people can specify it (eg, NFS ↵James Cox2002-06-081-16/+35
| | | | | | | | compiles, etc) changed the default mysql.sock location to use the one from the RPM. Added /usr/local locations to the search list. (imajes)
* Updating embedded libmysql to version 3.23.48Zak Greant2002-06-0747-635/+514
|
* Minor improvement to error message for mysql_data_seekZak Greant2002-05-081-1/+1
|
* @- Added optional 3rd parameter to mysql_select_db() which makes it returnfoobar2002-04-281-7/+26
| | | | | @ the previously selected database name. (Jani)
* kill a compile warningfoobar2002-04-281-1/+1
|
* Fix bug: #16743foobar2002-04-271-0/+2
|
* Some systems have mysql socket in /var/run/mysqlEdin Kadribasic2002-04-251-0/+1
|
* - Fixed a typo..foobar2002-04-241-2/+2
| | | | | # not related to the localhost.localdomain thing..
* Make use of HAVE_MYSQL. Reviewed by: Sterling.Sebastian Bergmann2002-04-181-0/+4
|
* - Fix build with Visual Studio .NET. The MySQL team said they'll commitAndi Gutmans2002-04-073-3/+3
| | | | | | - their fix a long time ago and never did. One day they'll update the - whole MySQL client library.
* WS fixfoobar2002-03-291-9/+8
|
* - add mysql_info functionJan Lehnardt2002-03-292-0/+31
|
* fixed prototype for mysql_pingGeorg Richter2002-03-251-1/+1
|
* more zend_parse_parameters fixupSterling Hughes2002-03-251-26/+12
|
* Fix-up the last fix a bitSterling Hughes2002-03-251-34/+22
| | | | | Clean up mysql_list_processes
* clean up mysql_real_escape_string() a bitSterling Hughes2002-03-251-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 Greant2002-03-241-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 Roobol2002-03-241-1/+1
|
* Fix typo in proto.Sander Roobol2002-03-241-1/+1
|
* - Fix protoDerick Rethans2002-03-241-2/+1
|
* changed prototype for mysql_real_escape_stringGeorg Richter2002-03-241-1/+2
|
* Added mysql_ping() function.Zak Greant2002-03-242-0/+23
|
* a) ws fixedGeorg Richter2002-03-242-33/+125
| | | | | | | | | | | | | | 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 containingZak Greant2002-03-242-17/+95
| | | | | | | | | | | | | 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
* Fix building mysql client librarySascha Schumann2002-03-201-4/+3
| | | | | | Run client lib specific checks only when clientlib is used Remove second invocation of MYSQL_SOCK
* - Fixed (hope so :) like Sascha said.foobar2002-03-201-1/+1
|
* - Fixed bug: #16139 (compile failure with Mysql 4.0.1)foobar2002-03-202-20/+34
| | | | | | | - 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)
* the 'setup' script was removed more than two years ago.jim winstead2002-03-161-7/+0
| | | | | these can be safely removed from the 4.2 branch, too.
* - Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTRAndi Gutmans2002-03-121-1/+1
|
* nuke old makefilesSascha Schumann2002-03-122-26/+0
|