Zeev Suraski
30171a7590
zend_default_classes.h -> zend_exceptions.h
2004-02-12 10:43:27 +00:00
Andrey Hristov
463f510796
message about that mysql_list_tables() is deprecated
2004-01-27 23:14:42 +00:00
Marcus Boerger
3fb99f62e0
Synch mysql_fetch_object with mysqli, sqlite and pgsql
2004-01-12 02:34:55 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
d9bf51b17c
10-18% optimization of fetch_array(), when both number & string indexes are
...
created.
# Do we want to MFH the change (for ext/mysql) into 4.3.X?
2003-11-07 17:20:49 +00:00
Ilia Alshanetsky
763b39cc1d
Fixed compile warnings.
2003-10-03 01:07:35 +00:00
Ilia Alshanetsky
4aaa2becbe
String format stuff.
2003-09-22 23:27:51 +00:00
Ilia Alshanetsky
9d9727aac5
Fixed compiler warnings.
2003-08-28 19:17:34 +00:00
Ilia Alshanetsky
93bcd55eaf
emalloc -> safe_emalloc
2003-08-12 00:58:52 +00:00
Ilia Alshanetsky
5c6ee17a9e
Fixed bug #24977 (Revert mysql_select_db optimization)
2003-08-08 13:36:28 +00:00
Ilia Alshanetsky
5fcff2d872
* Fixed bug #24535 (Crash when retrieving data from unbuffered result after
...
the original connection has been changed).
* Fixed a crash when trying to fetch an unbuffered result after
mysql_close() has been called.
* Added a check to make sure no unbuffered results are inside the buffer
when calling functions that internally execute a query. Affected functions
are: mysql_select_db(), mysql_list_dbs(), mysql_list_tables(),
mysql_list_processes(), mysql_list_fields(), mysql_stat() and mysql_ping().
* Do not re-select a database if the database to be selected is the same.
2003-07-22 16:05:32 +00:00
Ilia Alshanetsky
d860759db9
Make the default mysql connection timeout 60 seconds rather then unlimited.
2003-06-18 15:19:16 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Andrey Hristov
3ae8d27176
proto fixes
2003-06-10 14:06:20 +00:00
Sterling Hughes
287d5f277e
don't do this on startup, lazy initialize it. This takes up > 17% of load
...
time in CGI mode
2003-06-01 02:29:28 +00:00
Ilia Alshanetsky
209bba391b
Fixed bug #23888 (Missing input validation for flags parameter)
2003-05-30 14:08:14 +00:00
Rasmus Lerdorf
8effacb144
MFB
2003-05-28 16:19:08 +00:00
Derick Rethans
0596442eef
- MFB: Fixed bug #23661 : mysql_fetch_array gives no warning on an invalid
...
result_type
2003-05-16 19:09:19 +00:00
Derick Rethans
a802e0d6b3
- Fixed protos
2003-04-11 09:53:01 +00:00
Ilia Alshanetsky
8a9ff734a0
Fixed a crash in the query tracer output due to buffer overflow.
...
Fixed a crash in notice message for unbuffered query.
2003-04-10 04:35:39 +00:00
foobar
3c9155e0cb
Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
...
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
Wez Furlong
0a18a9d744
A add much more useful select(2) implementation than is provided by
...
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.
This change required linking against the winsock2 library. In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.
Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Ilia Alshanetsky
453368afdf
Removed pointless checks.
2003-01-30 02:33:16 +00:00
Ilia Alshanetsky
e2868b5788
Removed pointless memory allocation checks.
2003-01-18 19:41:56 +00:00
Georg Richter
5312594a27
fixed bug #21498
2003-01-08 11:00:06 +00:00
Georg Richter
8aeb7f35bc
fixed missing & (Thx to Sebastian Bergmann)
2003-01-06 14:13:47 +00:00
Georg Richter
2fbb9a5247
fixed bug #21435
2003-01-05 20:53:06 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Georg Richter
d5f02c553b
fixed some warning when using external 4.x libs
2002-12-20 18:52:27 +00:00
Marcus Boerger
47b0e79b1a
-fix a warning that was an error
...
-php_error -> php_error_docref
2002-12-05 20:01:31 +00:00
Georg Richter
208a3a3717
forgot to decrement result_allocated :(
2002-11-16 16:07:54 +00:00
Georg Richter
d46bd1cd63
removed restore_connection_defaults for pconnects (discussed on php-dev@)
...
bug #19529 closed
bug #12513 reopened
2002-11-15 10:35:10 +00:00
Derick Rethans
801c698992
- Reset globals for each request
2002-11-13 08:54:34 +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
Sascha Schumann
2909e5c9c9
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
...
instances
2002-10-24 13:15:49 +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
Markus Fischer
945ccfa76a
- Remove superfluous E_WARNING if mysql_connect() fails; there's already
...
an E_WARNING a few lines above.
2002-10-05 00:54:31 +00:00
Yasuo Ohgaki
1b675aa690
Rename pg_data_seek() to pg_result_seek().
...
Added mysql_result_seek() which is alias of mysql_data_seek().
2002-10-03 02:32:09 +00:00
Derick Rethans
c57b3c6533
- Un-deprecating mysql_escape_string
...
#- 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.
2002-09-11 21:06:52 +00:00
Georg Richter
a9c64d174b
- renamed rollback function to _restore_connection_default
...
- in _restore_connection_default:
- unset the selected database (thx to Paul DuBois)
- set session variable autocommit to default (=1)
2002-09-09 15:53:05 +00:00
Georg Richter
0797d5f989
fixed typo
2002-09-06 12:11:30 +00:00
foobar
04bbf46957
Fix bug: #19159 , mysql_field_count was available since 3.22.24
2002-08-29 01:17:24 +00:00
Yasuo Ohgaki
d23cb1686d
Rename mysql_character_set_name() to mysql_client_encoding(). pg_client_encoding() is available from PHP4.0.3 and this function is available from PHP 4.3.0
2002-08-24 21:41:25 +00:00
Zeev Suraski
4b81d04210
Undeprecate mysql_db_query()
2002-08-24 13:15:35 +00:00
Georg Richter
11bd3c08b6
changed zend_error -> php_error_docref()
2002-08-24 10:53:40 +00:00
Georg Richter
3bd2a54064
changed error messages according to CODING_STANDARDS
2002-08-24 09:27:51 +00:00
Georg Richter
0c386174db
fixed bug #19016
...
SSL is only available for MYSQL_VERSION_ID >= 40000
2002-08-23 14:10:27 +00:00
Georg Richter
8153dfc877
fixed bug #16965
2002-08-23 10:16:19 +00:00
Georg Richter
0019a842b4
forgot to remove another LOCAL_INFILE opion call
2002-08-09 21:13:00 +00:00
Georg Richter
f9e5ba3446
Ups, forgot to remove load_infile tests. Thx to Brad Bulgar
2002-08-08 08:17:24 +00:00
Georg Richter
8f7792a769
added zend_error messages for deprecated functions
...
inserted zak and me in author list/credits
2002-08-07 22:02:11 +00:00
Georg Richter
f4b4797aa8
removed unsued constants (MYSQL_USE_RESULT and MYSQL_STORE_RESULT)
2002-08-07 21:21:46 +00:00
Georg Richter
cbcdae7002
removed changes for mysql_select_db (optional parameter)
...
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()"
2002-07-21 21:36:10 +00:00
Georg Richter
96276bf8a0
fixed bug in mysql_real_escape_string:
...
allocated 1 more byte for '\0' terminating character
2002-07-21 20:16:03 +00:00
foobar
dcb0523894
fix protos
2002-07-16 19:26:23 +00:00
Georg Richter
950a576f73
Added support for php.ini parameter "mysql.connect_timeout"
2002-07-16 13:53:54 +00:00
Anantha Kesari H Y
44bbec7acb
mysql_create_db and mysql_drop_db disabled for NetWare
2002-07-15 11:14:18 +00:00
foobar
5d001a9ab6
Partially reverted the netware related commit.
2002-07-12 23:25:30 +00:00
foobar
20a735db2c
Beauify a bit..
2002-07-12 22:59:35 +00:00
foobar
21245bcbeb
Some ws fixes. And removed the problems causing typedef for ushort.
2002-07-12 22:57:19 +00:00
Anantha Kesari H Y
2af885d467
Added NetWare changes
2002-07-12 12:55:56 +00:00
Georg Richter
05007b0cbb
1) New constants:
...
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
2002-07-10 13:16:24 +00:00
Derick Rethans
7d4a78bad5
Unify error messages
2002-06-26 08:07:59 +00:00
Zak Greant
4128739695
Minor improvement to error message for mysql_data_seek
2002-05-08 07:38:09 +00:00
foobar
80f9fdf3c7
@- Added optional 3rd parameter to mysql_select_db() which makes it return
...
@ the previously selected database name. (Jani)
2002-04-28 06:38:12 +00:00
foobar
305260ce4a
kill a compile warning
2002-04-28 05:36:05 +00:00
Sebastian Bergmann
c57ab20ac8
Make use of HAVE_MYSQL. Reviewed by: Sterling.
2002-04-18 16:48:03 +00:00
foobar
a0e3bd8f0e
WS fix
2002-03-29 12:56:25 +00:00
Jan Lehnardt
bc19dd6900
- add mysql_info function
2002-03-29 12:47:02 +00:00
Georg Richter
6a0bf08ce3
fixed prototype for mysql_ping
2002-03-25 12:09:38 +00:00
Sterling Hughes
7ae1dd662f
more zend_parse_parameters fixup
2002-03-25 01:19:59 +00:00
Sterling Hughes
3c3ae850a2
Fix-up the last fix a bit
...
Clean up mysql_list_processes
2002-03-25 01:14:30 +00:00
Sterling Hughes
05475d809b
clean up mysql_real_escape_string() a bit
...
# I really think we should just add a database handle
# parameter to mysql_escape_string()
2002-03-25 01:07:23 +00:00
Zak Greant
3fae05b014
Added mysql_table_name() alias for mysql_tablename()
...
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
2002-03-24 23:33:07 +00:00
Sander Roobol
f12dfba7e0
Fixed tiny mistake in proto (tnx to Egon for spotting it).
2002-03-24 18:19:31 +00:00
Sander Roobol
68b18b05fe
Fix typo in proto.
2002-03-24 18:01:41 +00:00
Derick Rethans
a9439b7072
- Fix proto
2002-03-24 17:59:39 +00:00
Georg Richter
c47244cd8a
changed prototype for mysql_real_escape_string
2002-03-24 17:57:32 +00:00
Zak Greant
fa4bd7ab32
Added mysql_ping() function.
2002-03-24 17:34:20 +00:00
Georg Richter
e15bb45a1e
a) ws fixed
...
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
2002-03-24 17:19:19 +00:00
Zak Greant
28de0b545e
(PHP mysql_list_processes) Returns a pointer to a result set containing
...
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
2002-03-24 10:57:40 +00:00
foobar
00929ff9ac
- Fixed bug: #16139 (compile failure with Mysql 4.0.1)
...
- 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)
2002-03-20 01:31:22 +00:00
Andi Gutmans
c8e7db984c
- Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR
2002-03-12 20:18:01 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Zak Greant
3ac1646ef2
Corrected bug in php_mysql_fetch_hash() that prevented columns with NULL values from having both numeric and associative indexes. (Bug 14291)
2001-12-30 10:00:26 +00:00
Alex Waugh
57d2cec170
Check for ushort
2001-12-23 14:37:24 +00:00
Zeev Suraski
9590c5173c
Fix bug #13456 - I'm unable to actually test it
2001-12-15 17:09:37 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Zeev Suraski
990e2612cc
Work around a quirk in the MySQL client library to fix unbuffered queries
2001-12-06 15:04:23 +00:00
Markus Fischer
2b615c3ba4
- Prototype new parameter which forces the creation of new links.
2001-12-06 09:56:24 +00:00
Derick Rethans
983e41b7be
- Reverse slight mistake (patch by Markus Fischer)
2001-11-23 11:46:01 +00:00
Derick Rethans
2d6842b103
- Added a parameter to mysql_connect to force a new database link to be
...
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)
2001-11-22 07:58:37 +00:00
Egon Schmid
4396a984a8
More protos fixed.
2001-11-08 22:05:56 +00:00
Derick Rethans
ea83d64507
- prototypes
...
#- Thanks to Zak for pointing this out during his talk
2001-11-08 20:23:33 +00:00
foobar
5a81882c03
This was conditionally included if HAVE_MYSQL_REAL_CONNECT was defined.
2001-11-02 07:08:48 +00:00
foobar
9ba2c90e16
Make the extension work with MySQL 4.0
2001-11-02 06:42:12 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Derick Rethans
009b8470eb
- Fix for bug #13592 (Patch by Markus Fischer <mfischer@guru.josefine.at>)
2001-10-08 06:28:16 +00:00
Jeroen van Wolffelaar
6cfba2a3ea
2nd phase in back-substitution those macro's
...
I've got pretty much everything now...
2001-09-25 22:49:04 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Jeroen van Wolffelaar
d14b3a86cf
Proto fix
2001-08-20 20:50:54 +00:00
Andi Gutmans
ed9c36c1b8
- Make mysql_fetch_object() work w/ Engine 2
2001-08-11 18:27:48 +00:00
Zeev Suraski
f6f6c4d7e6
Whitespace
2001-08-11 16:39:07 +00:00
Sascha Schumann
23b9300fd1
more tsrm cleanup
2001-08-06 03:50:52 +00:00
Zeev Suraski
aa1772ca72
More TSRMLS_FETCH annihilation
2001-07-31 05:44:11 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
797a079a95
More TSRMLS_FETCH work, and a bit of cleanup
2001-07-30 06:18:13 +00:00
Andi Gutmans
a0f5b7495e
- More object macro work
2001-07-28 19:02:53 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Jason Greene
14afcf724d
Fix Non-terminated comment
2001-06-05 16:06:31 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
2001-05-24 10:07:29 +00:00
Wez Furlong
63b3fa262c
Reverse my earlier patch for mysql_db_query() & emit an E_NOTICE of it's
...
deprecated status.
# Should it be a warning or a notice?
2001-05-09 22:28:16 +00:00
Wez Furlong
21ec6e2993
Enabled optional result_mode param in mysql_db_query() to make it behave
...
as mysql_unbuffered_query (can be either MYSQL_USE_RESULT or
MYSQL_STORE_RESULT)
2001-05-07 11:02:31 +00:00
Sascha Schumann
d998ae4e5b
Fix broken ZTS build.
2001-05-05 11:11:32 +00:00
Zeev Suraski
52ba317606
emalloc()'d strings must be freed before the request shutdown;
...
Rule of the thumb: initialize in RINIT, clean in RSHUTDOWN
2001-05-05 01:42:15 +00:00
Jason Greene
bb131011a7
Fixed bug in my previous patch, forgot to reset connect error globals
...
on request startup.
2001-05-04 18:27:15 +00:00
Jason Greene
8405c36815
@ Added connection error support to mysql_error() and mysql_errno() (Jason)
...
This should work correctly without causing compatibility issues with previous
scripts. Someone might want to double check this change, just in case.
2001-05-04 01:14:26 +00:00
foobar
d4e64925d5
Possible Fix for #10570 , #10585 , #10539 and maybe others.
2001-05-02 00:21:25 +00:00
Zeev Suraski
c8a768a2fb
whitespace fix
2001-04-29 11:37:03 +00:00
Matt McClanahan
cb9db291c7
Enforce the right number of params for mysql_fetch_*() functions, related to bug 9839.
2001-04-26 08:22:12 +00:00
Zeev Suraski
e6f3fb39cb
Implement mysql_unbuffered_query() - uses mysql_use_result() instead of
...
mysql_store_result()
2001-03-13 22:52:53 +00:00
Zeev Suraski
fdf21452ed
Centralize query code
2001-03-13 21:42:43 +00:00
Zeev Suraski
f5ddc2826d
Use a container struct instead of MYSQL directly
2001-03-13 21:13:19 +00:00
Sean Bright
48caa74c20
Fixed prototype.
2001-03-12 15:14:38 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Shane Caraveo
6e31987376
Initalize some of the global vars. Crashed under ms debugger without having them initialized.
2001-02-21 23:57:28 +00:00
Egon Schmid
a297dbd6f3
Typos in protos.
2001-02-18 16:59:18 +00:00
Stig Bakken
e07eda31ed
did someone poop in the code? :-)
2001-02-01 09:36:52 +00:00
Egon Schmid
0c450fa966
Only two lines are allowed here.
2001-01-31 23:35:37 +00:00
Sean Bright
31c8104dc6
Added the mysql_get_*_info() functions.
...
# If anyone knows of a version of mysql lower then 3.20.32 that implements
# all 3 of these functions, please change the conditionals.
@- Added mysql_get_client_info(), mysql_get_server_info(),
@ mysql_get_proto_info(), and mysql_get_host_info() functions. (Sean)
2001-01-31 22:04:30 +00:00
Andi Gutmans
0611acb910
- Change unset() functions to null(). unset() is legacy
2001-01-31 21:53:30 +00:00
Sean Bright
b940c97233
Fixed conditional.
...
# Woops!
2001-01-31 01:14:54 +00:00
Sean Bright
4086ba9773
Fix for bug #8991 . mysql_field_type() now returns "year" for columns of
...
type YEAR.
2001-01-31 00:55:28 +00:00
Zeev Suraski
27afea5c6d
Don't fetch numeric indices in mysql_fetch_object()
2001-01-14 09:30:17 +00:00
Rasmus Lerdorf
69d16ee1f9
Fix for bug 6073 from Sean R. Bright <elixer@erols.com>
2001-01-12 08:03:24 +00:00
Zeev Suraski
cbb2379b5b
- Get the MySQL module a bit uptodate.
...
- Fix a bug in mysql_do_connect() - it would corrupt the host argument, if it contained a port
(or could corrupt the INI value, so that the port argument would work only the first time
around)
2000-12-02 17:27:11 +00:00
Zeev Suraski
905e41af5c
Will work on a more thorough implementation for mysql_store_result() after 4.0.4
2000-11-08 08:27:27 +00:00
Stanislav Malyshev
ef8fb2767b
Enable to use mysql_use_result in query functions.
...
You may need this if you use real big queries.
@- Allow user to use mysql_use_result in mysql queries (Stas)
2000-11-07 15:46:15 +00:00
Zeev Suraski
b20f8b39b9
Fixed mysql_close() - A bit more complicated than I originally thought
2000-11-03 01:56:47 +00:00
Zeev Suraski
6451d58455
Fix mysql_close()
2000-11-03 00:41:29 +00:00