Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'PHP-5.4' into PHP-5.5 | Andrey Hristov | 2013-01-09 | 1 | -0/+3 |
|\ | |||||
| * | Add mysqli support - constants and checking in mysqli_options() for the | Andrey Hristov | 2013-01-09 | 1 | -0/+3 |
| | | | | | | | | new constant for password expriration | ||||
| * | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | | |||||
| * | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | |||||
| * | Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA. | Andrey Hristov | 2011-10-31 | 1 | -3/+6 |
| | | | | | | | | | | A step in the direction of keeping internal data private | ||||
| * | Move from directly referencing an aggregated structure to using a | Andrey Hristov | 2011-10-25 | 1 | -2/+2 |
| | | | | | | | | | | | | pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage | ||||
| * | Fix Bug #55703(PHP crash when calling mysqli_fetch_fields) | Xinchen Hui | 2011-09-17 | 1 | -1/+6 |
| | | | | | | | | | | Since the catalog values always is "def" now, see http://dev.mysql.com/doc/refman/5.0/en/c-api-data-structures.html | ||||
| * | Fixed Bug #55653(PS crash with libmysql when binding same variable as param ↵ | Xinchen Hui | 2011-09-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | and out) Actually this caused by attempt to efree a INTERNED string | ||||
| * | Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when ↵ | Andrey Hristov | 2011-09-05 | 1 | -1/+1 |
| | | | | | | | | mysqlnd is used | ||||
| * | Remove a warning by explicitly compiling out a non-used variable | Andrey Hristov | 2011-08-02 | 1 | -0/+2 |
| | | |||||
* | | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | | |||||
* | | add protection against core dumps if the underlying library returns | Andrey Hristov | 2012-10-18 | 1 | -10/+37 |
| | | | | | | | | 0x0 for some reason | ||||
* | | add a check for libmysql | Andrey Hristov | 2012-10-03 | 1 | -0/+2 |
| | | |||||
* | | change public key setting to PERDIR and finish code that allows | andrey | 2012-09-25 | 1 | -4/+5 |
| | | | | | | | | to set the key file programatically per mysqli_options() | ||||
* | | Remove support for local infile handler in mysqli from 5.5 | andrey | 2012-05-03 | 1 | -58/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the following functions from the API: mysqli_set_local_infile_default() mysqli_set_local_infile_handler() Using these functions is known to be lead to stability problems in mysqli. It was only enabled when compiling against libmysql. mysqlnd doesn't have this support for local infile. However, with mysqlnd it can be emulated by using stream handlers like in: $c->query("LOAD DATA LOCAL INFILE "http://example.com/import.csv" INTO ...") All available protocols, as well as user implemented ones can be added. | ||||
* | | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | |||||
* | | Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA. | Andrey Hristov | 2011-10-31 | 1 | -3/+6 |
| | | | | | | | | | | A step in the direction of keeping internal data private | ||||
* | | Move from directly referencing an aggregated structure to using a | Andrey Hristov | 2011-10-25 | 1 | -2/+2 |
| | | | | | | | | | | | | pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage | ||||
* | | Fix Bug #55703(PHP crash when calling mysqli_fetch_fields) | Xinchen Hui | 2011-09-17 | 1 | -1/+6 |
| | | | | | | | | | | Since the catalog values always is "def" now, see http://dev.mysql.com/doc/refman/5.0/en/c-api-data-structures.html | ||||
* | | Fixed Bug #55653(PS crash with libmysql when binding same variable as param ↵ | Xinchen Hui | 2011-09-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | and out) Actually this caused by attempt to efree a INTERNED string | ||||
* | | Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when ↵ | Andrey Hristov | 2011-09-05 | 1 | -1/+1 |
| | | | | | | | | mysqlnd is used | ||||
* | | Remove a warning by explicitly compiling out a non-used variable | Andrey Hristov | 2011-08-02 | 1 | -0/+2 |
|/ | |||||
* | Added 'catalog' to the field fetching functions in mysqli (Thanks to ↵ | Kalle Sommer Nielsen | 2011-01-17 | 1 | -0/+1 |
| | | | | Johannes for the headsup) | ||||
* | Change things to allow passing of the password length | Andrey Hristov | 2011-01-14 | 1 | -0/+4 |
| | | | | | | | to mysqlnd. This is needed as a password might include a \0 and thus we need to be binary safe. | ||||
* | Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to ↵ | Kalle Sommer Nielsen | 2011-01-07 | 1 | -0/+1 |
| | | | | return db) | ||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | Fix bad types, because zend_parse_xxx expect signed integers | Andrey Hristov | 2010-11-10 | 1 | -5/+5 |
| | | | | | for lengths, no matter how stupid this is :) | ||||
* | Fix for Bug #52686 mysql_stmt_attr_[gs]et arg. points to incorrect type | Andrey Hristov | 2010-10-06 | 1 | -9/+27 |
| | |||||
* | Sorry for the commit but compiler warnings are annoying and so are white ↵ | Ulf Wendel | 2010-10-04 | 1 | -49/+49 |
| | | | | | | | | | | | | | | spaces at the end of a line, if one uses an editor which removes them on save and diff's get blown up by white space changes... Changes: - remove end of line white space - fix compiler warning "ext/mysqli/mysqli_priv.h:156:27: warning: no newline at end of file" - fix compiler warning "ext/mysqli/mysqli_fe.h:135:25: warning: no newline at end of file" - fix compiler warning "ext/mysqli/mysqli.c:896:11: warning: extra tokens at end of #ifdef directive" | ||||
* | Plug a leak in mysqli when in the same script | Andrey Hristov | 2010-09-30 | 1 | -0/+3 |
| | | | | | | | a pconn is reused. Call end_psession earlier - so will mysqlnd and the plugins free data earlier. | ||||
* | Adding MYSQLI_OPT_SSL_VERIFY_SERVER_CERT for use with mysqli_options(). | Ulf Wendel | 2010-08-30 | 1 | -0/+3 |
| | |||||
* | Fix for bug #52654 mysqli doesn't install headers with structures it uses | Andrey Hristov | 2010-08-20 | 1 | -0/+1 |
| | |||||
* | And a fix for MySQL Server which is pre 5.1.23, which doesn't support | Andrey Hristov | 2010-06-14 | 1 | -0/+17 |
| | | | | | | preserving of the charset when performing change_user. This is libmysql only code. | ||||
* | defensive programming, check before using a resource | Andrey Hristov | 2010-06-01 | 1 | -0/+3 |
| | |||||
* | Fixing mysqli_stmt_attr_set @ libmysql | Ulf Wendel | 2010-05-31 | 1 | -1/+1 |
| | |||||
* | Check before use, because mysqlnd can return NULL | Andrey Hristov | 2010-05-27 | 1 | -3/+6 |
| | | | | | and this will crash. However, this can happen only in case of OOM. | ||||
* | Add checks to check the underlying pointer in the resource. | Andrey Hristov | 2010-05-26 | 1 | -62/+62 |
| | | | | | | | | It can happen that the underlying pointer is freed (like in the case of connection reconnect), and then it cannot be allocated anymore, which means that NULL will be used consequently by the functions that fetch the resource and the crash is immediate. | ||||
* | Remove duplicated code. | Andrey Hristov | 2010-05-18 | 1 | -11/+0 |
| | | | | | Use one centralized functions for data extraction. | ||||
* | Better fix for #51605 | Andrey Hristov | 2010-05-13 | 1 | -3/+7 |
| | |||||
* | Fix for bug #51605 (Mysqli zombie links) | Andrey Hristov | 2010-05-11 | 1 | -1/+1 |
| | |||||
* | Removed safe_mode | Kalle Sommer Nielsen | 2010-04-26 | 1 | -0/+4 |
| | | | | | | | * Removed ini options, safe_mode* * Removed --enable-safe-mode --with-exec-dir configure options on Unix * Updated extensions, SAPI's and core * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore | ||||
* | - Fix mem. leak | Felipe Pena | 2010-04-21 | 1 | -7/+7 |
| | |||||
* | Fix for bug#49234 method not found ssl_set | Andrey Hristov | 2010-04-15 | 1 | -2/+0 |
| | | | | | Patch was tested and compiles on Windows. (Thanks Kalle) | ||||
* | Fix for bug #51026 ssl not working | Andrey Hristov | 2010-04-08 | 1 | -1/+1 |
| | |||||
* | allow persistency of PS | Andrey Hristov | 2010-03-12 | 1 | -5/+3 |
| | |||||
* | Fix for bug#50772 | Andrey Hristov | 2010-01-25 | 1 | -3/+12 |
| | | | | | mysqli constructor without parameters does not return a working mysqli object | ||||
* | Fix build of mysqli when libmysql is used, mysqlnd_portability.h | Andrey Hristov | 2010-01-14 | 1 | -1/+0 |
| | | | | | | | | might not be available for some weird reasons. Added the macros that we need, in that case Code by Jess Portnoy | ||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | Unify. The typedef-ed structs in mysqlnd are always capitalized. | Andrey Hristov | 2009-12-23 | 1 | -1/+1 |
| | |||||
* | Fix broken build. | Rasmus Lerdorf | 2009-12-01 | 1 | -0/+2 |
| | | | | | This constant is not in older versions of MySQL. |