Andrey Hristov
8124e94d22
Additional revert
2009-05-27 15:04:55 +00:00
Andrey Hristov
77373e8694
Revert previous patch to something that make sense and works in error cases
2009-05-27 14:16:00 +00:00
Kalle Sommer Nielsen
b3e899e7ca
Fix compiler warnings in ext/mysql, ext/mysqli and ext/pdo_mysql
2009-05-20 08:29:23 +00:00
Johannes Schlüter
66c17bcca4
- Fix #45940 MySQLI OO does not populate connect_error property on failed
...
connect
2009-01-12 12:54:17 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Andrey Hristov
983f575f22
Asynchronous queries for mysqli, when mysqlnd is enabled.
...
Includes 4 tests for mysqli_poll
2008-11-18 16:54:38 +00:00
Andrey Hristov
68d9aac6d2
Remove unneeded cast
2008-11-10 20:04:56 +00:00
Ilia Alshanetsky
e767480c8f
Fixed compiler warnings
2008-11-10 19:03:57 +00:00
Andrey Hristov
7e1a12673b
Fix warnings in printf
2008-10-31 20:30:55 +00:00
Andrey Hristov
e53f44b9bd
MFB - Bug #44352 mysqli_connect_error() false negative for host errors
2008-03-18 16:58:43 +00:00
Andrey Hristov
18c8e6501b
MFB: More optimizations - less MM calls
...
Clearly separated fetching (physical reading) from decoding phases (data
interpretation). Threaded fetching added but disabled as needs more work for
Windows. For Linux needs some touches to add pthreads if this is enabled,
probably with a compile-time switch.
The code reorganisation makes it easy to add also async API, similar to
cURL's one.
2008-01-28 18:27:49 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Andrey Hristov
731a49ed0e
MFB: Fix bug due to shadowing of variables. This one is pretty-pretty rare,
...
caught by source code inspection.
2007-10-16 12:55:38 +00:00
Andrey Hristov
9ac92cfecb
Update mysqlnd in HEAD
...
Updated ext/mysql and ext/mysqli in HEAD
2007-10-02 10:45:27 +00:00
Andrey Hristov
222174e23f
Import of mysqlnd and ext/mysql + ext/mysqli patched to be built either
...
with libmysql or mysqld.
Use --with-mysql=mysqlnd --with-mysqli=mysqlnd to build with mysqlnd.
2007-07-24 16:13:26 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +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
Georg Richter
b6d7fdf465
Merge from 5.2
2006-05-09 11:27:20 +00:00
Antony Dovgal
29d3ee55d5
fix #36420 (segfault when access result->num_rows after calling result->close())
2006-02-16 16:08:52 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +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
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
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
f0f08ec32b
fixed windows compile errors (Thx to Sebastian Bergmann)
2004-12-06 05:15:03 +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
dede51adf6
fixed bug in mysql->client_version
...
added mysql->client_info property
2004-07-26 05:44:06 +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
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
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
foobar
ac5fa854f3
ws & cs fixes
2004-02-26 12:33:23 +00:00
Georg Richter
5ffccfffda
removed blocking calls to mysql_set_server_option (MYSQLI_DISABLE_MQ)
...
added mysqli_multi_query to function table
changed stmt->affected_rows property (http://bugs.mysql.com/?id=2247 ) for 4.1.2
2004-02-26 08:27:24 +00:00
Georg Richter
1baf3d3478
added nuw_rows property for statement object
2004-01-30 22:45:19 +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
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Georg Richter
27319233e5
fixed bug(s) in macro call for statement properties
2004-01-01 15:46:39 +00:00
Georg Richter
1733557ac8
Added Macro for longlong values
...
added property stmt->affected_rows
2004-01-01 14:04:35 +00:00
Georg Richter
17f6ef5106
fixed a bug in insert_id property
2003-12-30 19:08:33 +00:00
Georg Richter
95bda90038
fixed bug in properties for longlong values
2003-12-28 09:18:51 +00:00
Georg Richter
317e4b0d90
added properties
...
- insert_id
- server_status
fixed bug in mysqli_execute (report func)
2003-12-16 08:18:31 +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