summaryrefslogtreecommitdiff
path: root/ext/mysqli
Commit message (Collapse)AuthorAgeFilesLines
* kill the left unused variableAndrey Hristov2006-03-261-1/+0
|
* remove unnecessary memcpy, cast directlyAndrey Hristov2006-03-261-2/+1
|
* fix and testcase for bug #36745Georg Richter2006-03-242-0/+24
|
* fixed minor problems (thx to tony)Georg Richter2006-03-243-10/+10
|
* Fix for bug #36802 (server crashes with invalid/not opened connections)Georg Richter2006-03-2413-234/+295
| | | | | | | | | | | | 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 bug #36802 (mysqli_set_charset() crash with a non-open connection).Ilia Alshanetsky2006-03-211-1/+1
|
* 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
|
* Remove no longer needed check (checked at a higher level now).Ilia Alshanetsky2006-03-011-5/+0
|
* MFH: add checks and fix possible reincarnations of bug #36420Antony Dovgal2006-02-162-2/+48
|
* Fixed bug #36420 (segfault when access result->num_rows after callingIlia Alshanetsky2006-02-161-0/+5
| | | | | result->close())
* 2nd attempt: implementation of 36007Georg Richter2006-01-141-0/+7
| | | | | 1st commit stopped with protocol error - never seen that before :-(
* WSAndrey Hristov2006-01-011-2/+2
|
* fetch more than one row at onceAndrey Hristov2006-01-011-7/+30
|
* bump year and license versionfoobar2006-01-0113-39/+39
|
* Fix for bug #35517:Georg Richter2005-12-292-0/+38
| | | | | | added missing unsigned flag for result buffer fixed returncode in mysql_stmt_fetch for data truncation
* Whitespace fix (don't ask :)Zeev Suraski2005-12-261-16/+9
|
* fix small memory leak which emerged two days agoAndrey Hristov2005-12-231-3/+4
|
* Beware of format strings...Stefan Esser2005-12-233-4/+4
|
* fix for bug# 35759Andrey Hristov2005-12-223-6/+57
| | | | | | | (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 prototypeZeev Suraski2005-12-221-1/+1
|
* MFH: nuke php3 legacyfoobar2005-12-065-14/+14
|
* fix compile failure on Windows - Microsoft hasn't heard of long long :)Andrey Hristov2005-12-012-2/+11
|
* add a test caseAndrey Hristov2005-11-302-17/+96
| | | | | | 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-302-8/+20
| | | | | 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
* - Always use the right sedfoobar2005-11-291-2/+2
|
* mysql 4.1.x gives strange result. the result in the test is generated withAndrey Hristov2005-11-281-1/+1
| | | | | 5.0.16 (valid for 5.1.3).
* fix test - unsigned it is casted to 0 in mysql sql_modeAndrey Hristov2005-11-251-1/+1
|
* Fixed testIlia Alshanetsky2005-11-221-1/+1
|
* Allow recursive calls to __get/__set for different propertiesDmitry Stogov2005-11-151-2/+1
|
* test fetching of unsigned int(11)Andrey Hristov2005-11-081-0/+19
|
* fix test - putting signed into unsigned produces 0, if not in strict modeAndrey Hristov2005-11-081-1/+1
| | | | | (in strict mode this will fail)
* 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)
* MFH: use php_error_docref() instead of php_error() everywhereAntony Dovgal2005-10-181-3/+3
|
* MFH: fix bug #34902 (mysqli::character_set_name() - undefined method)Antony Dovgal2005-10-181-0/+1
|
* 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.
* MFH: fix test failuresIlia Alshanetsky2005-10-132-2/+4
|
* fix TS buildAntony Dovgal2005-10-122-5/+5
|
* use proper macros and vars instead of strlen()Antony Dovgal2005-10-102-2/+2
|
* fix #34818 (new mysqli_stmt() and several others crash if the first ↵Antony Dovgal2005-10-102-18/+18
| | | | parameter is not a valid mysqli_link)
* fix #34810 (mysqli::init() and others use wrong $this pointer without checks)Antony Dovgal2005-10-105-5/+43
|
* 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
* fix for bug 34785:Georg Richter2005-10-0818-10/+71
| | | | | | added support for parent::__construct (mysqli_statement and mysqli_resultset) fixed failed testcases when sql_mode is in effect
* MFH: fix #32081 (mysqli_real_connect(): mysqli.default_socket in php.ini has ↵Antony Dovgal2005-09-221-0/+4
| | | | no effect) for real
* fix #34450 (Segfault when calling mysqli_close() in destructor)Antony Dovgal2005-09-131-1/+3
|
* add a commentAndrey Hristov2005-08-061-0/+1
|
* add error checkingAndrey Hristov2005-08-061-1/+11
|
* fix problem on 64 bit - when asking for "l" supply long not int becauseAndrey Hristov2005-08-061-1/+1
| | | | | | | | | on 64 bit they differ and zend_parse_parameters makes a *(long*) cast which means that if the variable is int 4 bytes of the variable(s) declared before it (on the stack) will be overwritten. In this case this is the length of the query -> made 0 and mysqli_query() returns FALSE.
* - Bumber up yearfoobar2005-08-0313-13/+13
|