Antony Dovgal
01f31dcccb
fix buffer overrun and remove debug printf() call
2004-12-09 08:22:06 +00:00
Georg Richter
9751d9afaa
Fixed bug #30890 (testsuite)
...
Fixed bug #28817 (property problems in extended class)
2004-12-04 08:16:04 +00:00
Georg Richter
30dd61abb7
Fixed bug #30967 (properties in extended mysqli classes don't work)
2004-12-03 07:56:19 +00:00
Georg Richter
c8572b0bba
changed local_infile_handler:
...
mysql client lib now uses php_local_infile functions by default, which allows
to use php_fopen_wrapper: e.g. LOAD DATA LOCAL INFILE 'http://foo.com/bar.csv ' ...
mysql_set_local_infile_handler now only supports a callback function for read.
2004-08-25 13:57:35 +00:00
Georg Richter
1c6f49006b
fixed default for mysqli_fetch_array
2004-08-15 05:48:16 +00:00
Georg Richter
1593aa0e5e
fixed bug #29656 (segfault on result and statement properties)
2004-08-13 16:25:29 +00:00
Georg Richter
2454194424
fixed bug #29577 (MYSQLI_CLIENT_FOUND_ROWS undefined)
2004-08-09 04:34:01 +00:00
Georg Richter
40defd5f2c
forgot to remove debug variable :( (Thx to Derick)
2004-08-04 13:15:48 +00:00
Georg Richter
5caeacc9c3
fixed properties when connect wasn't called
2004-08-04 12:59:09 +00:00
Georg Richter
161b37ffbc
fixed bug #29522
2004-08-04 12:28:09 +00:00
Georg Richter
485f862b35
fixed bug #29335
2004-07-26 07:19:05 +00:00
Georg Richter
8c6ab178e4
fixed bug #29311
...
added support for Cursors (MySQL 5.0.x)
2004-07-23 12:47:36 +00:00
Georg Richter
9db1075c0e
added check in config.m4 for deprecated library
...
added support for new 4.1.3-beta functions
mysqli_stmt_field_count
mysqli_stmt_attr_set
mysqli_stmt_attr_get
removed support for deprecated/old api functions
fixed bug in constructor_get
2004-07-07 08:02:27 +00:00
Marcus Boerger
c884ad017c
- Bugfix: #29019 Database not closing
2004-07-05 19:36:10 +00:00
Georg Richter
f063bdec06
added php_mysqli_construct_get to support __construct in extended classes
2004-06-23 16:47:25 +00:00
Sebastian Bergmann
14deb9dd04
ZTS fixes.
2004-06-06 06:40:19 +00:00
Georg Richter
93bf6517df
Major changes for 4.1.2-alpha/4.1.3-beta:
...
- added container for mysql structure
- added load data infile callback functions (currently disabled under win)
Bug fixes:
- fixed property changes (4.1.1 -> 4.1.2)
- fixed memleak in mysqli_connect
- fixed bug #28100
- fixed bug #28205
- fixed bug #28430
2004-06-05 18:31:56 +00:00
Andi Gutmans
14edc95ff8
- Temporary fix for bug #27869
...
- George, you need to implement clone in order for "clone" and
- compatibility mode to work.
2004-04-15 17:25:51 +00:00
Stanislav Malyshev
5b0f6b1f34
Update for new read_property API
2004-03-21 18:28:38 +00:00
Georg Richter
848f123645
removed if type=string: val is allocated for any type of data
2004-03-18 13:03:17 +00:00
Georg Richter
e3077eadef
fixed stmt->stmt->query which was removed in libmysql 4.1.2
...
added query buffer in internal stmt structure to copy string
after prepare
2004-03-16 21:43:25 +00:00
Marcus Boerger
59804de32e
Missing buffer->val change
2004-03-09 14:29:20 +00:00
Georg Richter
8e52a1a8a3
added MySQLI ini entries
...
added ini parameter for mysql->reconnect
2004-02-26 11:40:35 +00:00
Zeev Suraski
7c710a9f9b
Use zval_ptr_dtor() to free variables as soon as they hit refcount of 0.
...
Note: You should not be using ZVAL_DELREF() in day to day usage. Instead,
you should use zval_ptr_dtor(). Use ZVAL_DELREF() only if you're
messing with the refcount directly and know what you're doing.
Note #2 : For clarity, if you want to initialize a new zval with a refcount
of 0, it's best to do that directly, instead of using ZVAL_DELREF
after allocating the zval...
2004-02-15 12:58:19 +00:00
Zeev Suraski
30171a7590
zend_default_classes.h -> zend_exceptions.h
2004-02-12 10:43:27 +00:00
Georg Richter
9e93ac6005
removed printfs :)
...
Thx Andi!
2004-02-11 08:34:08 +00:00
Georg Richter
c0a1ec4210
changed first parameter in mysqli_bind_param from array to string
...
(as discussed on berlin db meeting)
2004-02-11 07:38:43 +00:00
Georg Richter
e3d0e587b8
fixed cast warning
2004-02-07 13:45:44 +00:00
Zeev Suraski
8424be849f
- Update with new destructor code
2004-02-04 11:14:47 +00:00
Georg Richter
7782a4b425
removed experimental status
...
fixed bug in mysqli_data_seek (thx to Andrey "Effendi" Hristov)
various prototype fixes
moved some methods to properties which are part of mysql struct
added function mysqli_get_server_version
2004-01-28 22:51:54 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
b658a26874
emalloc() -> safe_emalloc()
2003-12-31 19:45:46 +00:00
Georg Richter
c10072d067
fixed memleak and segfault when constructor call failed
2003-12-31 08:34:02 +00:00
Georg Richter
8b3b1c192b
removed profiler
...
added mysqli_report
- better support for errors
- support for no_index_used and bad_index_used
typos and prototype fixes
2003-12-13 00:28:21 +00:00
Georg Richter
1be7176c7b
freeing result and stmt properties in MSHUTDOWN
2003-12-10 10:06:07 +00:00
Georg Richter
e664af1943
added/fixed write property
2003-11-24 11:31:26 +00:00
Georg Richter
230b207849
- Added multiquery support:
...
mysqli_multi_query
mysqli_more_results
mysqli_next_results
- added read-only properties (and removed methods)
object mysql
affected_rows
client_flags
client_version
errno, error,
host, host_info, info
server_capabilities, server_version
sqlstate, port, protocol_version,
server_language
thread_id, user, warning_count
object result
current_field, field_count,
lengths, num_rows, type
object stmt
query, param_count, field_count,
id, errno, error, sqlstate
- added constructor
- minor fixes, prototypes
2003-11-22 21:20:07 +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
Zak Greant
8802c3ad8c
Ensure that INI entries are unregistered on shutdown
2003-10-30 13:32:18 +00:00
Marcus Boerger
1ae13e543a
Modify mysqli_fetch_object() to be able to instantiate a selected class and
...
pass parameters to the constructor.
2003-09-06 19:34:48 +00:00
Georg Richter
b6bed54bbd
added support for rebind
2003-07-15 10:37:19 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Georg Richter
445180f228
MYSQL_NEED_DATA isn't defined anymore in mysql.h
2003-05-21 08:47:27 +00:00
Marcus Boerger
f83c88e81d
Add missing initialization
2003-03-21 18:08:59 +00:00
Georg Richter
7cf921a56f
profiler:
...
moved profiler stuff from php_mysql.h to separate include file
added port communication
added xml support for file and port output
2003-03-11 01:19:21 +00:00
Georg Richter
15f648c8f9
various changes for profiler
2003-03-08 23:33:12 +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
Georg Richter
281960ee78
added profiler support
2003-03-03 22:36:47 +00:00
Georg Richter
b63fbf2763
Fixed bug with stmt_close (libmysql bk version 1.1477 required)
...
Fixed bug with mysql_execute and float values
2003-02-22 07:31:01 +00:00
Georg Richter
2f604f67e8
removed duplicate code
2003-02-18 00:32:47 +00:00