Commit Graph

147 Commits

Author SHA1 Message Date
Stanislav Malyshev
7d0ad106b4 Fix INFILE LOCAL option handling with MySQL - now not allowed when open_basedir
is active
2007-06-18 21:59:05 +00:00
Antony Dovgal
3dd8663cb7 use default socket (removed by mistake?) 2007-04-14 10:42:41 +00:00
Stanislav Malyshev
031991d7a7 MFB: fix crash/leak in bug #38710 2007-03-08 22:57:02 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Andrey Hristov
f483a60f3a add a sticky note 2007-01-12 20:26:35 +00:00
Georg Richter
a8d9958f70 merged from 5_2 (mysqli_info crash) 2007-01-06 05:50:36 +00:00
Georg Richter
f9fe766355 fixed parameters for unicode in mysqli_change_user 2007-01-02 05:49:05 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Andrey Hristov
20fc9486db dummy change 2006-12-04 15:27:18 +00:00
Georg Richter
1763eaec25 Fixed function headers (added missing U)
fixed socket parameter (was removed by mistake in a previous commit)
2006-10-31 15:23:16 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal
255b215c9e don't rely on uninitialized var 2006-10-02 16:08:11 +00:00
Hannes Magnusson
36ae8183b4 Fix protos 2006-10-02 07:42:49 +00:00
Georg Richter
c7a97a7482 unicode fixes 2006-10-01 21:01:31 +00:00
Georg Richter
d8b4ae50ca Fixed error message (thanks to Ulf Wendel) 2006-09-29 08:35:19 +00:00
Georg Richter
0dc8637ed4 ZTS fixes. Implemented Andrei's hints (simplifying unicode stuff) 2006-09-27 15:25:52 +00:00
Georg Richter
1432e7b40f added unicode support for mysqli extension 2006-09-26 13:06:13 +00:00
Ilia Alshanetsky
64710ee331 MFB: Improved fix for bug #37671 2006-08-04 22:14:10 +00:00
Antony Dovgal
3945c5e1c6 MFB: fix #38072 (boolean arg for mysqli_autocommit() is always true on Solaris) 2006-07-12 10:15:30 +00:00
Ilia Alshanetsky
b36fde4b9e MFB: Fixed bug #37671 (MySQLi extension fails to recognize BIT column). 2006-06-04 14:57:06 +00:00
Andrey Hristov
e4e7d27e4a MFB 2006-05-10 12:29:09 +00:00
Georg Richter
b6d7fdf465 Merge from 5.2 2006-05-09 11:27:20 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Stefan Esser
5790c9d727 MFB: format string fixes 2005-12-23 18:43:03 +00:00
Antony Dovgal
20b8eb26fe MF51: use proper macros and vars instead of strlen() 2005-10-10 20:16:35 +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
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
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +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
Georg Richter
3e416f738c fix for bug #33090 (mysql_prepare doesn't return error) 2005-05-21 08:38:53 +00:00
Andrey Hristov
8e97019a69 after throwing an warning bail out 2005-05-09 22:29:54 +00:00
Andrey Hristov
d5e0b8a628 MFB 2005-05-09 21:48:03 +00:00
Andrey Hristov
daae299653 revert this one till we have a better way to inform the user where the
truncation has occured
2005-05-07 12:46:29 +00:00
Andrey Hristov
91b3b49f14 return MYSQLI_DATA_TRUNCATED if data happens to be truncated
#the manual has to be updated
2005-05-07 08:23:39 +00:00
Andrey Hristov
70da059cc0 return directly 2005-05-07 08:03:35 +00:00
Andrey Hristov
b7df40a75a bail out when detecting incorrect number of parameters to be bound. 2005-05-07 07:44:41 +00:00
Andrey Hristov
60c0c8e95c initialize values because the call to zend_parse_parameters may not do it 2005-05-06 10:09:42 +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
3b3ce2b610 fix bug #32013(MySQLi bind_result causes fatal error: memory limit reached)
#this is a partial fix but it cannot be better. the user has to call
#$stmt->store_result() and for a BLOB/MEDIUTEXT (and larger) space will be
#allocated as big as the biggest column value.
2005-04-27 17:53:15 +00:00
Georg Richter
2bcae57b31 another fix for last commit (committed from wrong tree) :( 2005-04-20 13:24:08 +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
Andrey Hristov
2a3c71b833 - nail down another 64bit problem. this will fix about 14 failing tests
on amd64 (probably other 64 bit arch).
- use ulong for this boolean variable, as it was before
- throw an warning if offset passed to mysqli_stmt_data_seek is negative
2005-04-19 13:28:41 +00:00
Andrey Hristov
155b90db20 - fixing all "long" into "int" fetching problems (cause memory corruption
on 64 bit)
- nail down a problem because of the new MYSQL_TYPE_NEWDECIMAL introduced
  in MySQL 5.0+
- Add more info to the autocommit test
2005-04-19 12:59:16 +00:00
Antony Dovgal
646bb71503 fix typo in error message 2005-03-17 18:12:06 +00:00
Georg Richter
32aaa6a7be fixed a bug in mysql_affected_rows and mysql_stmt_affected_rows
in case affected_rows function returns (my_ulonglong) -1 for errors.
(Thanks to Antony Dovgal for reporting this bug)
2005-01-28 17:35:37 +00:00
Georg Richter
7148919940 fix for bug #31710 (return value for mysql_rollback is reverted)
fixed also same behaviour for mysql_commit and mysql_autocommit
2005-01-27 10:18:28 +00:00
Antony Dovgal
9d9e4379af MFB: fix segfault when invalid field offset is passed to mysqli_fetch_field_direct() 2005-01-27 01:14:43 +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