Commit Graph

74 Commits

Author SHA1 Message Date
Georg Richter
7357ac0b96 fix for bug 34785:
added support for parent::__construct (mysqli_statement and mysqli_resultset)
  fixed failed testcases when sql_mode is in effect
2005-10-08 15:08:07 +00:00
Antony Dovgal
bd7a277d48 fix #34450 (Segfault when calling mysqli_close() in destructor) 2005-09-13 09:20:18 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Antony Dovgal
b16beb540c fix #33491 (crash after extending MySQLi internal class) 2005-06-27 17:40:37 +00:00
Georg Richter
6fba73e8e2 changed/fixed mysqli_warning class
added prefetch support for cursors
2005-06-22 09:12:43 +00:00
Andrey Hristov
b4464a2d6a mysqli won't compile with Zend2 API before 2001 - in these days there was
no Zend2
2005-05-09 22:29:21 +00:00
Georg Richter
929e3851f2 fixed memleak in mysqli_close
fixed bug #32956 (mysqli_bind_result doesn't support MYSQL_TYPE_NULL)
2005-05-05 13:02:32 +00:00
Andrey Hristov
e640960186 multi_query is no more global
#thanks Sebastian!
2005-04-29 10:23:55 +00:00
Georg Richter
9c1960c398 fixed typo in last commit :( 2005-04-20 13:03:01 +00:00
Georg Richter
649a8b18ef added support for data truncation (bind_result) for MySQL 5.0.5 2005-04-20 12:50:13 +00:00
Georg Richter
21cae3966c cursor support for 5.0.4 (STMT_ATTR_CURSOR_TYPE changed to enum) 2005-04-18 06:03:29 +00:00
Georg Richter
f6ecb58448 fix for bug #32282 (segfault in mysqli_fetch_array on 64-bit) 2005-04-06 06:47:12 +00:00
Marcus Boerger
5830e46a84 - Bugfix #28840 __destruct of a class that extends mysqli not called 2005-03-06 21:40:01 +00:00
Antony Dovgal
6ffd569410 MFB: fix leak in mysqli_fetch_array() 2005-01-27 14:41:48 +00:00
Marcus Boerger
8045f834d4 - Remove double destroy (which is definitively wrong and prevents php from
normal execution).
2005-01-08 13:34:03 +00:00
Georg Richter
f16db40af2 forgot to remove some comments in last commit:( 2005-01-07 16:34:55 +00:00
Georg Richter
0b4c108bd7 Added new classes:
mysqli_driver
	mysqli_warning
	mysqli_exception
	mysqli_sql_exception

Improved embedded server support
changed testsuite to work also with embedded server

Made statement and resultset classes extendable

minor fixes
2005-01-07 14:59:59 +00:00
Georg Richter
683f6c879c added constructors for mysqli_stmt and mysqli_result classes 2004-12-26 13:16:40 +00:00
Georg Richter
ea22bf6063 fix for bug 31141 2004-12-25 16:42:53 +00:00
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