| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()"
|
|
|
|
|
| |
allocated 1 more byte for '\0' terminating character
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
# ZAK! Heads up and fix this in Mysql CVS too.
|
| |
|
|
|
|
|
| |
# STIG! Do a 'cvs update' before you commit anything!!
|
| |
|
|
|
|
|
| |
- Revert cryptic WS commit on php4dllts.dsp.
|
|
|
|
|
| |
# these files were blank, i suppose this happened by accident
|
|
|
|
|
| |
# my previous commit was the revision before the fixed one (ie, i had the fix) so apologies for that.
|
|
|
|
|
| |
# It didn't work for me... hope it works for everybody now...
|
|
|
|
|
| |
# TEST BEFORE COMMIT!!
|
|
|
|
|
|
|
|
| |
compiles, etc)
changed the default mysql.sock location to use the one from the RPM. Added /usr/local
locations to the search list. (imajes)
|
| |
|
| |
|
|
|
|
|
| |
@ the previously selected database name. (Jani)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
# not related to the localhost.localdomain thing..
|
| |
|
|
|
|
|
|
| |
- their fix a long time ago and never did. One day they'll update the
- whole MySQL client library.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Clean up mysql_list_processes
|
|
|
|
|
|
| |
# I really think we should just add a database handle
# parameter to mysql_escape_string()
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Run client lib specific checks only when clientlib is used
Remove second invocation of MYSQL_SOCK
|
| |
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
| |
these can be safely removed from the 4.2 branch, too.
|
| |
|
| |
|