summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix crashes with pconn in ext/mysqlAndrey Hristov2007-08-061-0/+4
|
* Import of mysqlnd and ext/mysql + ext/mysqli patched to be built eitherAndrey Hristov2007-07-241-134/+370
| | | | | | | with libmysql or mysqld. Use --with-mysql=mysqlnd --with-mysqli=mysqlnd to build with mysqlnd.
* MFB: Fixed bug #41350 (my_thread_global_end() error during request shutdown ↵Scott MacVicar2007-06-251-0/+22
| | | | on Windows).
* reset active_result_id when fetching persistent connectionAntony Dovgal2007-06-071-0/+1
| | | | | patch by Peter Christensen
* MFBIlia Alshanetsky2007-05-281-1/+1
|
* MFB: Typo from old parsing API spotted by bjoriScott MacVicar2007-05-141-1/+1
|
* MFB: Add mysql_set_charset() so that the connection encoding can be changed. ↵Scott MacVicar2007-05-141-2/+44
| | | | This is similar to the SET NAMES statement but allows the mysql_real_escape_string to use the correct character set.
* revertAntony Dovgal2007-04-231-14/+0
|
* fix #41083 (mysql_ping() requires MYSQL_OPT_RECONNECT to be set since MySQL ↵Antony Dovgal2007-04-141-3/+19
| | | | 5.0.13)
* - avoid sprintfMarcus Boerger2007-02-241-10/+6
|
* Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* include basic_functions.h for php_get_current_user() declarationAntony Dovgal2006-12-281-0/+1
|
* space to tabAndrey Hristov2006-11-221-1/+1
|
* added unicode support for ext/mysqlGeorg Richter2006-11-191-344/+220
|
* Error message clean upHannes Magnusson2006-10-081-5/+5
| | | | | (patch by Matt W (php_lists -AT- realpain.com))
* init variable, eliminate compile warningAntony Dovgal2006-08-021-1/+1
|
* Removed custom deprecate error messagesHannes Magnusson2006-06-261-12/+6
| | | | | Use the fancy ZEND_ACC_DEPRECATED flag.
* Added automatic module globals managementDmitry Stogov2006-06-131-7/+10
|
* MFB: #37630 MySQL extensions should link against thread safe client libs if ↵Michael Wallner2006-06-011-13/+0
| | | | built with ZTS
* - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybasePierre Joye2006-03-081-13/+3
| | | | | | | (calling ini_set('magic_....') returns 0|false - get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false - set_magic_quotes_runtime raises an E_CORE_ERROR
* Portable unicode string API:Dmitry Stogov2006-02-211-2/+3
| | | | | | | | - use the same type (int) for zval.value.usr.len and zval.value.str.len - use union "zstr" as char*/UChar* mixture instead of void* - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE() - nuke int32_t from ZE (not finisned)
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Nuke php3 legacyfoobar2005-12-061-1/+1
|
* - list_entry -> zend_rsrc_list_entryfoobar2005-12-051-5/+5
|
* MF51:Antony Dovgal2005-12-051-0/+17
| | | | | | fix #35536 (mysql_field_type() doesn't handle NEWDECIMAL) add also SET, ENUM, NEWDATE and GEOMETRY to the switch
* ZTS fixes.Sebastian Bergmann2005-08-121-3/+3
|
* Unicode support.Andrei Zmievski2005-08-111-2/+2
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Fixed bug #32591 (ext/mysql: Unsatisfied symbol: ntohs with HP-UX)foobar2005-04-071-0/+3
|
* Fixed bug #31288 (Possible crash in mysql_fetch_field(), ifIlia Alshanetsky2005-02-221-1/+1
| | | | | mysql_list_fields() was not called previously).
* - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()Andi Gutmans2004-07-191-3/+3
| | | | | | | | | | | | | | | used to return "" and not bool(false). It's not worth keeping it because STR_FREE() and zval_dtor() always have to check for it and it slows down the general case. In addition, it seems that empty_string has been abused quite a lot, and was used not only for setting zval's but generally in PHP code instead of "", which wasn't the intention. Last but not least, nuking empty_string should improve stability as I doubt every place correctly checked if they are not mistakenly erealloc()'ing it or calling efree() on it. NOTE: Some code is probably broken. Each extension maintainer should check and see that my changes are OK. Also, I haven't had time to touch PECL yet. Will try and do it tomorrow.
* Fixed bug #28632 (Prevent open_basedir bypass in MySQL's LOAD DATA LOCAL).Ilia Alshanetsky2004-06-041-0/+5
|
* Fixed bug #28627 (When multiple MySQL links are used default link isIlia Alshanetsky2004-06-041-0/+3
| | | | | | leaked). Patch by: gavin at ipalsoftware dot com
* Fixed bug #28087 (Do not force mysql.trace_mode to 0 on every request).Ilia Alshanetsky2004-04-231-1/+0
|
* zend_default_classes.h -> zend_exceptions.hZeev Suraski2004-02-121-1/+1
|
* message about that mysql_list_tables() is deprecatedAndrey Hristov2004-01-271-1/+1
|
* Synch mysql_fetch_object with mysqli, sqlite and pgsqlMarcus Boerger2004-01-121-27/+114
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* 10-18% optimization of fetch_array(), when both number & string indexes areIlia Alshanetsky2003-11-071-13/+12
| | | | | | | created. # Do we want to MFH the change (for ext/mysql) into 4.3.X?
* Fixed compile warnings.Ilia Alshanetsky2003-10-031-1/+1
|
* String format stuff.Ilia Alshanetsky2003-09-221-5/+3
|
* Fixed compiler warnings.Ilia Alshanetsky2003-08-281-8/+8
|
* emalloc -> safe_emallocIlia Alshanetsky2003-08-121-2/+2
|
* Fixed bug #24977 (Revert mysql_select_db optimization)Ilia Alshanetsky2003-08-081-10/+5
|
* * Fixed bug #24535 (Crash when retrieving data from unbuffered result afterIlia Alshanetsky2003-07-221-26/+66
| | | | | | | | | | | | the original connection has been changed). * Fixed a crash when trying to fetch an unbuffered result after mysql_close() has been called. * Added a check to make sure no unbuffered results are inside the buffer when calling functions that internally execute a query. Affected functions are: mysql_select_db(), mysql_list_dbs(), mysql_list_tables(), mysql_list_processes(), mysql_list_fields(), mysql_stat() and mysql_ping(). * Do not re-select a database if the database to be selected is the same.
* Make the default mysql connection timeout 60 seconds rather then unlimited.Ilia Alshanetsky2003-06-181-1/+1
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* proto fixesAndrey Hristov2003-06-101-17/+17
|
* don't do this on startup, lazy initialize it. This takes up > 17% of loadSterling Hughes2003-06-011-17/+22
| | | | | time in CGI mode
* Fixed bug #23888 (Missing input validation for flags parameter)Ilia Alshanetsky2003-05-301-0/+4
|