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
e640960186
multi_query is no more global
...
#thanks Sebastian!
2005-04-29 10:23:55 +00:00
Ilia Alshanetsky
8abc1d3b9c
e* allocation cannot fail.
2005-04-28 23:49:04 +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
Andrey Hristov
f6b12b351e
MFB (fixing bug 31668)
2005-04-27 12:12:58 +00:00
Georg Richter
2bcae57b31
another fix for last commit (committed from wrong tree) :(
2005-04-20 13:24:08 +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
Andrey Hristov
2652762dcd
MFB
2005-04-19 15:45:07 +00:00
Andrey Hristov
eef94ff4bb
add a test case for Bug #32405 (the previous commit incorporated a fix
...
for it).
2005-04-19 13:29:37 +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
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
Joe Orton
6974b5ecce
Mark more private functions as static.
2005-03-30 13:43:36 +00:00
Joe Orton
5aa95520cd
Mark private functions as static.
2005-03-30 12:56:58 +00:00
Antony Dovgal
646bb71503
fix typo in error message
2005-03-17 18:12:06 +00:00
Marcus Boerger
5830e46a84
- Bugfix #28840 __destruct of a class that extends mysqli not called
2005-03-06 21:40:01 +00:00
Georg Richter
2e2bfb83c4
fix for bug #31939
2005-02-25 08:43:41 +00:00
Ilia Alshanetsky
a3085602d0
Fixed bug #32081 (default socket value is not being used).
2005-02-24 23:58:59 +00:00
Georg Richter
ef6f0f00a6
fix for bug #29329
2005-02-05 10:59:38 +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
Antony Dovgal
6ffd569410
MFB: fix leak in mysqli_fetch_array()
2005-01-27 14:41:48 +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
Zak Greant
f3d39ff406
Added standard emacs and vim modelines
2005-01-16 19:28:55 +00:00
Georg Richter
6b49e2d9e7
fixed compile bug under Windows (libmysql.def currently doesn't export mysql_server_init/end).
...
Thanks to Sebastian Bergmann for reporting
2005-01-08 15:11:37 +00:00
Marcus Boerger
01d6db92fc
- Fix shared build
2005-01-08 13:36:17 +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
Sebastian Bergmann
683515596b
ZTS fix.
2005-01-07 16:24:51 +00:00
Sebastian Bergmann
aca657eca2
Sync with config.m4.
2005-01-07 16:23:13 +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
57fa54af2d
added property 'id' to retrieve statement id (required by PEAR DB, to support
...
mysqli prepared statements)
2004-12-29 11:46:13 +00:00
Georg Richter
dc63cb7feb
fixed testcase 047
...
fixed windows compile error
2004-12-27 15:39:35 +00:00
Georg Richter
698c0361d6
Fix for feature request #31015 : added length for field length
2004-12-27 11:48:57 +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
Georg Richter
5c50f0bb30
prevent type conversion during mysql_stmt_execute for NULL variables
2004-12-20 16:39:14 +00:00
Antony Dovgal
01f31dcccb
fix buffer overrun and remove debug printf() call
2004-12-09 08:22:06 +00:00
Georg Richter
f0f08ec32b
fixed windows compile errors (Thx to Sebastian Bergmann)
2004-12-06 05:15:03 +00:00
Georg Richter
6d27573ec2
added skipif section
2004-12-04 08:50:33 +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
Edin Kadribasic
d2b5b62af5
MySQL is releasing client libraries that compile out of the box
...
with mysqli extension, so there is no need for a specially compiled
client library anymore.
2004-11-04 02:41:40 +00:00
Georg Richter
b557bdb665
added multi resultset support in mysql_connect
2004-11-01 09:53:16 +00:00