Andrey Hristov
|
0e8b380941
|
Don't use conn->net without checking if it is NULL, because
it can be NULL in OOM conditions. This would cause a crash.
|
2010-05-26 13:47:43 +00:00 |
|
Andrey Hristov
|
ce136a825c
|
Don't use conn->net without checking if it is NULL, because
it can be NULL in OOM conditions. This would cause a crash.
|
2010-05-26 13:47:43 +00:00 |
|
Andrey Hristov
|
58f13c3c9f
|
Handle the situation when MYSQLND_PROTOCOL's methods return NULL.
mysqlnd should not crash but gracefully return with an error.
|
2010-05-25 23:18:13 +00:00 |
|
Andrey Hristov
|
433cb868d6
|
Handle the situation when MYSQLND_PROTOCOL's methods return NULL.
mysqlnd should not crash but gracefully return with an error.
|
2010-05-25 23:18:13 +00:00 |
|
Andrey Hristov
|
c5ff0eb5b8
|
Gracefully handle OOM in mysqlnd_stmt_init. Release the handle
and return NULL.
|
2010-05-25 22:42:25 +00:00 |
|
Andrey Hristov
|
708b31a510
|
Gracefully handle OOM in mysqlnd_stmt_init. Release the handle
and return NULL.
|
2010-05-25 22:42:25 +00:00 |
|
Andrey Hristov
|
bcdc3b30f7
|
Init should return status value because initialization can fail.
In this case mysqlnd_init() should return NULL to the end-user.
|
2010-05-25 22:40:47 +00:00 |
|
Andrey Hristov
|
6d434e70a4
|
Init should return status value because initialization can fail.
In this case mysqlnd_init() should return NULL to the end-user.
|
2010-05-25 22:40:47 +00:00 |
|
Andrey Hristov
|
621cdd9019
|
Use the specialized macro for this case
|
2010-05-25 22:38:11 +00:00 |
|
Andrey Hristov
|
b3c553fa99
|
Use the specialized macro for this case
|
2010-05-25 22:38:11 +00:00 |
|
Andrey Hristov
|
c389adb96a
|
Use only memory that has been allocated
|
2010-05-25 22:36:33 +00:00 |
|
Andrey Hristov
|
b434301f7b
|
Use only memory that has been allocated
|
2010-05-25 22:36:33 +00:00 |
|
Andrey Hristov
|
4abc7a1e69
|
Access memory which was really allocated
|
2010-05-25 22:34:47 +00:00 |
|
Andrey Hristov
|
decdfeeeb2
|
Access memory which was really allocated
|
2010-05-25 22:34:47 +00:00 |
|
Andrey Hristov
|
348880ce66
|
Fix shared build
|
2010-05-25 21:54:21 +00:00 |
|
Andrey Hristov
|
844b435655
|
Fix shared build
|
2010-05-25 21:54:21 +00:00 |
|
Andrey Hristov
|
337513ffa0
|
Handle OOM in the code that generates PS Execute requests
to the server. Fixes crashes in case of OOM.
|
2010-05-25 19:19:29 +00:00 |
|
Andrey Hristov
|
954e7db644
|
Handle OOM in the code that generates PS Execute requests
to the server. Fixes crashes in case of OOM.
|
2010-05-25 19:19:29 +00:00 |
|
Andrey Hristov
|
ed4ce335d8
|
Fix metadata duplicatin which wasn't crash-safe in case of OOM.
|
2010-05-25 18:14:37 +00:00 |
|
Andrey Hristov
|
52e31252fc
|
Fix metadata duplicatin which wasn't crash-safe in case of OOM.
|
2010-05-25 18:14:37 +00:00 |
|
Andrey Hristov
|
29c99daa0f
|
Check set->data for validity before using it.
Prevents crashes after OOM.
|
2010-05-21 13:37:18 +00:00 |
|
Andrey Hristov
|
a25482105e
|
Check set->data for validity before using it.
Prevents crashes after OOM.
|
2010-05-21 13:37:18 +00:00 |
|
Andrey Hristov
|
ef1eeff882
|
When OOM hits the wire, don't crash.
|
2010-05-21 13:06:52 +00:00 |
|
Andrey Hristov
|
476391c02e
|
When OOM hits the wire, don't crash.
|
2010-05-21 13:06:52 +00:00 |
|
Andrey Hristov
|
3ea05600e9
|
result_meta local storage
|
2010-05-14 16:42:17 +00:00 |
|
Andrey Hristov
|
e3be1e0bea
|
result_meta local storage
|
2010-05-14 16:42:17 +00:00 |
|
Andrey Hristov
|
c881ee30ea
|
Allow overloading of mysqlnd_result_meta_init().
Add free space for future hooks.
|
2010-05-14 15:11:56 +00:00 |
|
Andrey Hristov
|
8a093b3811
|
Allow overloading of mysqlnd_result_meta_init().
Add free space for future hooks.
|
2010-05-14 15:11:56 +00:00 |
|
Andrey Hristov
|
34ffc8a6c4
|
Export MYSQLND_PROTOCOL methods
|
2010-05-14 13:32:27 +00:00 |
|
Andrey Hristov
|
faf4659295
|
Export MYSQLND_PROTOCOL methods
|
2010-05-14 13:32:27 +00:00 |
|
Andrey Hristov
|
b86ebe46cb
|
- Give possibility to overload mysqlnd_result_init().
- Always use conn->m->stmt_init instead of mysqlnd_stmt_init()
|
2010-05-14 13:18:39 +00:00 |
|
Andrey Hristov
|
8691786ebd
|
- Give possibility to overload mysqlnd_result_init().
- Always use conn->m->stmt_init instead of mysqlnd_stmt_init()
|
2010-05-14 13:18:39 +00:00 |
|
Andrey Hristov
|
ce0ea97850
|
OOM fixes
|
2010-05-14 13:04:33 +00:00 |
|
Andrey Hristov
|
dd85f9c2f2
|
OOM fixes
|
2010-05-14 13:04:33 +00:00 |
|
Andrey Hristov
|
a78fa3fcaf
|
- initialize some variables
- initialize the methods in a shorter way, use the compiler.
= on structures copies them. Allows also exportability of
the methods.
|
2010-05-13 15:29:08 +00:00 |
|
Andrey Hristov
|
07619b7190
|
- initialize some variables
- initialize the methods in a shorter way, use the compiler.
= on structures copies them. Allows also exportability of
the methods.
|
2010-05-13 15:29:08 +00:00 |
|
Andrey Hristov
|
90f16527af
|
Export the methods of MYSQLND_NET
|
2010-05-13 14:15:23 +00:00 |
|
Andrey Hristov
|
fccec600eb
|
Export the methods of MYSQLND_NET
|
2010-05-13 14:15:23 +00:00 |
|
Andrey Hristov
|
aad53cbdec
|
Export the result_metadata methods to external modules.
|
2010-05-13 11:16:11 +00:00 |
|
Andrey Hristov
|
4c1487577c
|
Export the result_metadata methods to external modules.
|
2010-05-13 11:16:11 +00:00 |
|
Andrey Hristov
|
ebae62d7c4
|
OOM stability fixes
|
2010-05-04 14:02:42 +00:00 |
|
Andrey Hristov
|
d53337bbe7
|
OOM stability fixes
|
2010-05-04 14:02:42 +00:00 |
|
Andrey Hristov
|
04d24bde20
|
Add possibility to control the allocator in when PHP is compiled
with debug
|
2010-05-04 13:49:43 +00:00 |
|
Andrey Hristov
|
447c693b2d
|
Add possibility to control the allocator in when PHP is compiled
with debug
|
2010-05-04 13:49:43 +00:00 |
|
Andrey Hristov
|
6202b46f2a
|
Handle OOM in mysqlnd_res::store_result_fetch_data
|
2010-05-03 19:32:07 +00:00 |
|
Andrey Hristov
|
5ca71c00f5
|
Handle OOM in mysqlnd_res::store_result_fetch_data
|
2010-05-03 19:32:07 +00:00 |
|
Andrey Hristov
|
9c276eee6c
|
Handle OOM in mysqlnd_fetch_row_buffered_c()
|
2010-05-03 19:09:45 +00:00 |
|
Andrey Hristov
|
cac3520882
|
Handle OOM in mysqlnd_fetch_row_buffered_c()
|
2010-05-03 19:09:45 +00:00 |
|
Andrey Hristov
|
2b00096004
|
Handle OOM in mysqlnd_fetch_row_unbuffered_c()
|
2010-05-03 19:02:48 +00:00 |
|
Andrey Hristov
|
4a8d751cff
|
Handle OOM in mysqlnd_fetch_row_unbuffered_c()
|
2010-05-03 19:02:48 +00:00 |
|