summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_api.c
Commit message (Collapse)AuthorAgeFilesLines
* - Fix mem. leakFelipe Pena2010-04-211-6/+6
|
* Fix for bug#50772 Andrey Hristov2010-01-251-3/+14
| | | | | mysqli constructor without parameters does not return a working mysqli object
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Fixed buildIlia Alshanetsky2009-09-281-1/+1
|
* Fix returned value, if mysql_stmt_attr_set failsAndrey Hristov2009-09-251-2/+1
| | | | | then mysqli returns true, otherwise false. Wrong logic.
* Backport of http://news.php.net/php.cvs/60381 to PHP 5_2 which fixes a ↵Ulf Wendel2009-09-141-2/+2
| | | | potential crash with ext/mysqli and Prepared Statements if the MySQL Server sends faulty metadata, see also http://news.php.net/php.cvs/60389 . I don't know of a way to crash PHP using a recent MySQL. But metadata has been a troublemaker in the past. Just in case...
* MFH #46019 - Memory leak when Mysqli::init() is called multiple times.Scott MacVicar2009-06-091-1/+7
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Fix an issue with mysql.default_port not being usedAndrey Hristov2008-10-271-6/+12
|
* MFH: Fix for bug #42548 "PROCEDURE xxx can't return a result set"Hartmut Holzgraefe2008-01-011-0/+3
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFHAntony Dovgal2007-10-171-4/+7
|
* avoid double free and use zval_dtor() where neccessaryAntony Dovgal2007-10-161-1/+0
|
* Fixed leaks with multiple connects using one mysqli object.Andrey Hristov2007-09-061-0/+1
| | | | | | | HEAD will be fixed during the next mysqlnd merge Fixed failing test for bug38710, 5.0 version is bad, 5.1 is ok.
* Fixed bug #42378 (mysqli_stmt_bind_result memory exhaustion)Andrey Hristov2007-09-051-1/+7
| | | | | | Fixed regression of bug 38710. Already fixed in HEAD. #HEAD will be fixed when doing the next merge from svn
* Fix build with latest 5.1 sources where gptr is no more.Andrey Hristov2007-07-241-4/+4
|
* Remove dot at the end of the messageAndrey Hristov2007-06-281-1/+1
|
* Fix INFILE LOCAL option handling with MySQL - now not allowed when open_basedirStanislav Malyshev2007-06-181-3/+9
| | | | | or safe_mode is active
* fix crash/leak in bug #38710Stanislav Malyshev2007-03-081-1/+10
|
* - Avoid sprintf, even when checked copy'n'paste or changes lead to errorsMarcus Boerger2007-02-241-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Fix protosHannes Magnusson2006-10-021-1/+1
|
* MFH: fixed error messageGeorg Richter2006-09-291-1/+1
|
* Improved fix for bug #37671Ilia Alshanetsky2006-08-041-5/+12
|
* fix #38072 (boolean arg for mysqli_autocommit() is always true on Solaris)Antony Dovgal2006-07-121-2/+2
|
* Fixed bug #37671 (MySQLi extension fails to recognize BIT column).Ilia Alshanetsky2006-06-041-0/+3
|
* Fix for bug #37620Georg Richter2006-05-291-1/+1
|
* Don't allocate 2 chunks of memory when one can fit. Reduces memoryAndrey Hristov2006-05-101-4/+8
| | | | | | fragmentation. There is one more place that fragments memory but it will complicate the ongoing Unicode upgrade of mysqli so leaving it away for now.
* tweaks and optimizationsAndrey Hristov2006-05-081-69/+58
| | | | | #tested on 32b and 64b
* fixed bigint conversion on windows platformsGeorg Richter2006-04-051-5/+5
|
* kill the left unused variableAndrey Hristov2006-03-261-1/+0
|
* remove unnecessary memcpy, cast directlyAndrey Hristov2006-03-261-2/+1
|
* Fix for bug #36802 (server crashes with invalid/not opened connections)Georg Richter2006-03-241-80/+90
| | | | | | | | | | | | Added status to mysqli_resource: MYSQLI_STATUS_UNKNOWN MYSQLI_STATUS_CLEARED (for future use) MYSQLI_STATUS_INITIALIZED (after mysqli_init and mysqli_stmt_init) MYSQLI_STATUS_VALID (for valid objects) removed valid flag changed MYSQLI_FETCH_RESOURCE added last parameter __check which specifies the status
* fixed a 64-bit problem reported by PierreGeorg Richter2006-03-141-3/+7
|
* fix for MySQL 5.1 (see http://bugs.mysql.com/?id=16144)Georg Richter2006-03-111-1/+6
|
* WSAndrey Hristov2006-01-011-2/+2
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* Fix for bug #35517:Georg Richter2005-12-291-0/+9
| | | | | | added missing unsigned flag for result buffer fixed returncode in mysql_stmt_fetch for data truncation
* fix small memory leak which emerged two days agoAndrey Hristov2005-12-231-3/+4
|
* Beware of format strings...Stefan Esser2005-12-231-1/+1
|
* fix for bug# 35759Andrey Hristov2005-12-221-2/+9
| | | | | | | (mysqli_stmt_bind_result() makes huge allocation when column empty) #this shows some leaks now, which has to be investigated but closes the #bug report.
* fix compile failure on Windows - Microsoft hasn't heard of long long :)Andrey Hristov2005-12-011-2/+2
|
* add a test caseAndrey Hristov2005-11-301-17/+28
| | | | | | fix incorrect handling of unsigned bigint. optimize handling of unsigned int
* fix more leaks. handle better unknown type (4.1.x connected to 5.0.xAndrey Hristov2005-11-301-3/+10
| | | | | incompatibility)
* fix a crash and a leak.Andrey Hristov2005-11-301-1/+3
| | | | | | | | | | 4.1.15 (client) -> 5.x (server) because of the incompatibility because of decimal in the protocol binding may fail. Don't close the statement in that case because subsequent ->execute() will crash or any other function that will try to use already freed (and in debug mode thrashed) pointer. #probably more problems exist because of the 4.1.x -> 5.x protocol #incompatibility
* on 32bit platform if the column is UNSIGNED INT(11) and the valueAndrey Hristov2005-11-081-2/+18
| | | | | | | is greater than 2^31-1 then convert to string. on 64bit this is of no problem because there long inside zval is big enough to keep unsigned int(11)
* fixed an error in mysqli_fetch_fields (function returns NULL instead of arrayGeorg Richter2005-10-151-4/+0
| | | | | | when row_number > num_fields). Thanks to Marc Deslisle and phpMyAdmin team for the report.
* use proper macros and vars instead of strlen()Antony Dovgal2005-10-101-1/+1
|
* fix #34810 (mysqli::init() and others use wrong $this pointer without checks)Antony Dovgal2005-10-101-1/+1
|
* add charsetnr and length to the object returned. this is kind of bugAndrey Hristov2005-10-091-0/+2
| | | | | | because fetch_fields() and fetch_field() return that info and fetch_field_direct() does not