Commit Graph

321 Commits

Author SHA1 Message Date
foobar
c0c7b984f0 nuke php3 legacy 2005-12-06 01:39:35 +00:00
foobar
fc816c5e76 MFB51: Always use $SED instead of sed 2005-11-29 21:31:35 +00:00
Dmitry Stogov
8bb39e7dba Allow recursive calls to __get/__set for different properties 2005-11-15 15:21:47 +00:00
Antony Dovgal
096cb8c2de use php_error_docref() instead of php_error() everywhere 2005-10-18 13:51:20 +00:00
Antony Dovgal
5561b8a9ab fix bug #34902 (mysqli::character_set_name() - undefined method) 2005-10-18 10:01:08 +00:00
Ilia Alshanetsky
1c8c3c063b Fixed test failure 2005-10-13 21:26:08 +00:00
Antony Dovgal
dd14ae2327 MF51: fix TS build 2005-10-12 13:33:33 +00:00
Antony Dovgal
20b8eb26fe MF51: use proper macros and vars instead of strlen() 2005-10-10 20:16:35 +00:00
Antony Dovgal
870a19056f MF51: fix #34818 2005-10-10 20:14:31 +00:00
Antony Dovgal
5ec88f863e MF51: fix #34810 (mysqli::init() and others use wrong $this pointer without checks) 2005-10-10 12:59:47 +00:00
Andrey Hristov
1483b322f4 MFB 2005-10-09 17:57:37 +00:00
Antony Dovgal
47ed27c6bb fix #32081 (mysqli_real_connect(): mysqli.default_socket in php.ini has no effect) for real 2005-09-22 20:14:15 +00:00
Antony Dovgal
d94f338cf4 fix #34450 (Segfault when calling mysqli_close() in destructor) 2005-09-13 09:19:58 +00:00
Dmitry Stogov
6b622046dc zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string). 2005-08-22 12:22:16 +00:00
Sebastian Bergmann
52b001cc05 ZTS fixes. 2005-08-12 14:08:28 +00:00
Andrey Hristov
f25c366a73 add a comment 2005-08-06 16:56:42 +00:00
Andrey Hristov
313ff9998e add error checking 2005-08-06 16:38:48 +00:00
Andrey Hristov
dcc18b6d6f fix problem on 64 bit - when asking for "l" supply long not int because
on 64 bit they differ and zend_parse_parameters makes a *(long*) cast
which means that if the variable is int 4 bytes of the variable(s)
declared before it (on the stack) will be overwritten. In this case
this is the length of the query -> made 0 and mysqli_query() returns
FALSE.
2005-08-06 16:15:53 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
40a049b27e Skip tests in 64bit systems 2005-07-20 00:18:24 +00:00
Antony Dovgal
502b00c3f6 add forgotten ifdefs, fix #33667 (mysqli doesn't compile) 2005-07-12 20:38:34 +00:00
Georg Richter
9aabcf7016 changed version dependency for charset functions 2005-07-12 15:45:07 +00:00
Georg Richter
9caaee66bd removed charset structure. libmysql now provides a function
mysqli_get_character_set_info (Vers. 5.0.10)
2005-07-12 09:35:16 +00:00
foobar
a7e85b3c07 Make sure we get a WARNING and not an ERROR here :) 2005-07-08 08:53:25 +00:00
foobar
b35224fa81 add test case 2005-06-27 19:07:52 +00:00
Antony Dovgal
b16beb540c fix #33491 (crash after extending MySQLi internal class) 2005-06-27 17:40:37 +00:00
Antony Dovgal
689f3488a5 fix couple of leaks in MySQLi 2005-06-27 17:33:56 +00:00
foobar
8eb44394cb set_charset() is only available in mysql versions > 4.1.12 2005-06-27 10:34:42 +00:00
foobar
0b35120921 do not pollute other directories and cleanup after test 2005-06-27 10:14:11 +00:00
Georg Richter
01108f7879 fix for #33474 2005-06-26 04:44:03 +00:00
Georg Richter
224b12ba8b reverted Ilias changes - added get_warnings methods
(forgot to commit the file in my last commit)
2005-06-24 14:44:45 +00:00
Ilia Alshanetsky
50d32d4d7e temporary fix to let mysqli extension build, so we can make a release. 2005-06-23 02:15:04 +00:00
Ilia Alshanetsky
00f14fbd74 Slightly more reliable current path detection. 2005-06-22 13:41:59 +00:00
Ilia Alshanetsky
46b276ee4b Skip MySQLi tests if connection could not be established and not using
embeded db.
2005-06-22 13:41:43 +00:00
Georg Richter
ce972676b5 added testcase for mysqli_warning class 2005-06-22 10:15:37 +00:00
Georg Richter
976be82fb9 added testcase for cursors (nested selects) 2005-06-22 10:14:32 +00:00
Georg Richter
6fba73e8e2 changed/fixed mysqli_warning class
added prefetch support for cursors
2005-06-22 09:12:43 +00:00
Georg Richter
15563f8d91 fix for bug #33263 (mysqli_real_escape doesn't work in __construct) 2005-06-17 16:32:43 +00:00
foobar
bf94716838 - Allow doing --with-mysql --with-mysqli (no mysql libs are bundled atm)
- Make sure MYSQL_DIR is empty.
2005-06-07 12:39:02 +00:00
Wez Furlong
e9d474dc01 fixes for #33251 2005-06-05 19:25:01 +00:00
Georg Richter
d486da963e added new function mysqli_get_charset 2005-06-03 08:49:01 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Georg Richter
230681b0b3 enabled set_charset for MySQL Versions >= 5.0.6
added testcase for bug #33090
2005-05-21 08:46:46 +00:00
Georg Richter
3e416f738c fix for bug #33090 (mysql_prepare doesn't return error) 2005-05-21 08:38:53 +00:00
Georg Richter
d72cd1d130 charsets_dir is no longer needed 2005-05-13 13:56:04 +00:00
Georg Richter
d8f91dc44c mysql_set_charset now works version undependent for MySQL 4.1.13 and above 2005-05-13 13:30:22 +00:00
Georg Richter
49e1484da8 - fixed compile error under windows. Functionality for changing the
character set was moved to libmysql (4.1 bk tree - will be merged into
5.0 within the next days).
- renamed mysql_set_character_set to mysqli_set_charset
2005-05-13 13:11:41 +00:00
Andrey Hristov
8e97019a69 after throwing an warning bail out 2005-05-09 22:29:54 +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
Andrey Hristov
d5e0b8a628 MFB 2005-05-09 21:48:03 +00:00