Ilia Alshanetsky
0b69477a1d
MFH: Fixed bug #28632 (Prevent open_basedir bypass in MySQL's LOAD DATA
...
LOCAL).
2004-06-04 15:27:05 +00:00
Ilia Alshanetsky
08887c2067
MFH: Fixed bug #28627 (When multiple MySQL links are used default link is
...
leaked).
2004-06-04 13:49:44 +00:00
Ilia Alshanetsky
7aa63c6209
MFH: Fixed bug #28087 (Do not force mysql.trace_mode to 0 on every request)
2004-04-23 17:04:36 +00:00
Georg Richter
8ea0a2c1c8
s/2003/2004 :)
2004-01-05 14:42:26 +00:00
Derick Rethans
aa288c1f7a
- MFH: Fixed bug #26751 (PHP can't find the MySQL socket on a case sensitive
...
file system).
2003-12-31 11:28:39 +00:00
Ilia Alshanetsky
05331829c6
MFH: string format stuff.
2003-09-22 23:28:09 +00:00
Ilia Alshanetsky
0be182e1ba
MFH: Compiler warning fixes.
2003-08-28 19:18:57 +00:00
Ilia Alshanetsky
1167e85cf3
MFH: Fixed bug #24977 (Revert mysql_select_db optimization)
2003-08-08 13:36:44 +00:00
Zeev Suraski
97662dc30e
Fix nameclash with NSAPI API
2003-07-28 07:28:55 +00:00
Ilia Alshanetsky
add133a4c6
MFH: r1.196: mysql_fixes
2003-07-22 16:06:09 +00:00
Wez Furlong
f0623f78eb
less WTF factor
2003-07-14 10:43:51 +00:00
Ilia Alshanetsky
6b74250915
MFH
2003-06-18 15:19:28 +00:00
Andrey Hristov
3fdf998703
proto fixes
2003-06-10 14:46:00 +00:00
Georg Richter
06d67f822b
fixed mysql bug #564
...
(see http://bugs.mysql.com/bug.php?id=564 )
2003-06-07 16:12:09 +00:00
Georg Richter
fb7f9eb420
suggestion by Wez :)
2003-05-31 06:54:53 +00:00
Georg Richter
881414e0af
better to test next time with the right version :)
2003-05-30 19:16:58 +00:00
Ilia Alshanetsky
f7f36b4f37
MFH
2003-05-30 14:09:21 +00:00
Georg Richter
90952aae2d
fixed #23779 (CLIENT_LOCAL_FILES with open_basedir)
2003-05-30 13:00:17 +00:00
Rasmus Lerdorf
9a9b55e60b
I see no reason not to allow people to set the timeout on a mysql_connect
...
from inside a script with ini_set(). We allow user-settable timeouts on
other socket connections so having this as a system-settable only
directive doesn't make much sense to me.
2003-05-28 16:18:14 +00:00
Derick Rethans
37142b284f
- Fixed bug #23661 : mysql_fetch_array gives no warning on an invalid
...
result_type
2003-05-16 19:07:57 +00:00
foobar
fd55fc78f4
MFH: compile fixes for AIX/HPUX
2003-04-25 21:31:49 +00:00
Ilia Alshanetsky
694f5ed4de
emalloc -> safe_emalloc
2003-04-24 01:42:09 +00:00
Derick Rethans
3cba4261fa
- MFH: proto fix
2003-04-11 09:54:39 +00:00
Ilia Alshanetsky
9ee32440ad
MFH
2003-04-10 04:35:51 +00:00
Edin Kadribasic
9ff0a9f23e
Fixed bug #22083 .
2003-03-27 13:29:59 +00:00
Ilia Alshanetsky
c89afb6539
MFH
2003-03-24 15:21:57 +00:00
Georg Richter
c687f71c5a
fixed bug 21498
2003-01-08 11:15:12 +00:00
Georg Richter
9a2babf4b6
fixed a missing & (Thx to Sebastian Bergmann
2003-01-06 14:12:40 +00:00
Derick Rethans
ada8f84019
- MFH (Fix for bug #21435 )
2003-01-05 21:11:39 +00:00
Sebastian Bergmann
ec46829b38
MFH: Bump year.
2002-12-31 16:37:36 +00:00
Georg Richter
a493c51949
fixed some compiler warnings when using external libmysqlclient 4.x
2002-12-26 13:47:59 +00:00
foobar
ccde6eef9c
MFH: fix from 3.23.54
2002-12-11 08:52:17 +00:00
Marcus Boerger
58d49c3af9
MFH
2002-12-05 20:02:21 +00:00
foobar
4eccd8094e
MFH
2002-12-05 15:46:41 +00:00
foobar
82ac093b6b
MFH, as requested by georg
2002-11-20 23:01:02 +00:00
Derick Rethans
bbcb203900
- MFH: removed restore_connection_defaults for pconnects (discussed on
...
php-dev@)
bug #19529 closed
bug #12513 reopened
2002-11-15 10:44:23 +00:00
Derick Rethans
801c698992
- Reset globals for each request
2002-11-13 08:54:34 +00:00
foobar
aab64595fa
Using // is not very good idea..
2002-11-12 23:34:06 +00:00
Derick Rethans
28d3be43a3
- Fix warning
2002-11-12 08:11:23 +00:00
Zak Greant
c29f1aa468
Modified php_mysql_do_connect() as suggested by Nick Gaugler - using
...
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.
2002-11-12 01:41:16 +00:00
Ilia Alshanetsky
aec6258a17
Fixed compile warnings.
2002-11-11 16:54:26 +00:00
Georg Richter
f328f3ea51
Added new functionality:
...
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"
2002-11-11 12:54:06 +00:00
Marcus Boerger
15b2e277a4
fix compiler warning
2002-10-24 19:15:40 +00:00
Sascha Schumann
2909e5c9c9
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
...
instances
2002-10-24 13:15:49 +00:00
foobar
3be17e3f26
- Prevent resetting the PHP_*_DIR variables if already set.
2002-10-21 02:46:13 +00:00
Yasuo Ohgaki
29d16f67f4
Remove mysql_result_seek() alias.
2002-10-17 07:24:04 +00:00
Zak Greant
70e49320f1
Removed spurious code. Thanks Derick
2002-10-09 13:46:18 +00:00
Zak Greant
6a590082ca
Minor tweak - using memcpy(), instead of strcpy() for static strings. Gives better performance. Thanks Zeev.
2002-10-09 13:05:42 +00:00
Zak Greant
0ecf32f750
Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty)
...
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
2002-10-09 12:33:40 +00:00
Zak Greant
dbf1d82afa
Set default value for mysql.connect_timeout to -1. This setting matches the setting in php.ini-dist and ensures that the default behavior is to leave connect_timeout alone.
2002-10-09 07:34:48 +00:00