summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_prop.c
Commit message (Collapse)AuthorAgeFilesLines
* Use API instead of directly acessing the structureAndrey Hristov2014-02-251-2/+4
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Fix bug #61003 mysql_stat() require a valid connectionJohannes Schlüter2012-03-061-0/+4
|
* unnecessay slashXinchen Hui2012-01-171-2/+2
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.Andrey Hristov2011-10-311-3/+3
| | | | | A step in the direction of keeping internal data private
* Move from directly referencing an aggregated structure to using aAndrey Hristov2011-10-251-6/+7
| | | | | | pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage
* null the value before usageAndrey Hristov2011-10-081-4/+3
|
* Be consistent, add mysqli::stat property, as equivalent of mysqli_stat().Andrey Hristov2011-10-061-0/+33
| | | | | Fix for Bug #55859 mysqli->stat property access gives error
* Add mysqli_error_list() that returns an array with errors. Typically onlyAndrey Hristov2011-08-041-0/+98
| | | | | | | | one and just one for libmysql. mysqlnd can return generate more than one error during its work and with mysqli_error() only the last error is being reported. In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found. The list is reset when the next command is executed
* fix warnings due to change in zend_property_info (structure extended in the ↵Andrey Hristov2011-08-021-38/+38
| | | | middle!!)
* - Year++Felipe Pena2011-01-011-1/+1
|
* Fixed compiler warnings in mysqliKalle Sommer Nielsen2010-10-051-3/+3
| | | | | | | | | | - mysqli.c: Fix unused variables, they are only used in non-mysqlnd mode - mysqli_api.c (PHP_5_3 only): Fix constness, add_property_string expects a char *, not a const char * - mysqli_prop.c: Cast to long, as its below the LONG_MAX and therefore safe - mysqli_result_iterator.c: Cast to ulong as the iterator member expects that rather than a my_longlong # In trunk only warnings regarding the zend_property_info # structure is present and PHP_5_3 is warning free now
* Fixing compiler warning "ext/mysqli/mysqli_prop.c", line [...]: warning: ↵Ulf Wendel2010-10-041-22/+22
| | | | syntax error: empty declaration"
* Sorry for the commit but compiler warnings are annoying and so are white ↵Ulf Wendel2010-10-041-13/+13
| | | | | | | | | | | | | | 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"
* Fix for bug #52654 mysqli doesn't install headers with structures it usesAndrey Hristov2010-08-201-0/+1
|
* decouple the methods in MYSQLND_STMT from the data,Andrey Hristov2010-03-161-1/+1
| | | | | | | | needed to move to a new structure MYSQLND_STMT. Makes the code cleaner and less error-prone. Also fix PDO/MySQL which directly touch mysqlnd internals instead of using API calls.
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Revert in regard of my_ulonglong which should be used instead of longAndrey Hristov2009-05-271-20/+19
| | | | | which can be anything.
* MFH: Fix compiler warnings in ext/mysql, ext/mysqli and ext/pdo_mysqlKalle Sommer Nielsen2009-05-201-7/+7
|
* MFH Fix #45940 MySQLI OO does not populate connect_error property on failedJohannes Schlüter2009-01-121-4/+8
| | | | | connect
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH:Andrey Hristov2008-11-181-2/+2
| | | | | | Asynchronous queries for mysqli, when mysqlnd is enabled. Includes 4 tests for mysqli_poll
* MFH: Remove unneeded castAndrey Hristov2008-11-101-1/+1
|
* MFH: Fixed compiler warningsIlia Alshanetsky2008-11-101-11/+11
|
* MFH: Fix warnings in sprintfAndrey Hristov2008-10-311-18/+18
|
* Fixed a bunch of bugs reported inAndrey Hristov2008-03-181-46/+92
| | | | | | | | | Bug #44352 mysqli_connect_error() false negative for host errors From now on the mysqli object doesn't have that magic properties, like error, which were readable but not visible through isset(), property_exists() and var_dump(). All other ext/mysqli classes were fixed too. Now it will be easier to debug mysqli based applications.
* More optimizations - less MM callsAndrey Hristov2008-01-281-1/+1
| | | | | | | | | | Clearly separated fetching (physical reading) from decoding phases (data interpretation). Threaded fetching added but disabled as needs more work for Windows. For Linux needs some touches to add pthreads if this is enabled, probably with a compile-time switch. The code reorganisation makes it easy to add also async API, similar to cURL's one.
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fix bug due to shadowing of variables. This one is pretty-pretty rare,Andrey Hristov2007-10-161-2/+2
| | | | | caught by source code inspection.
* Import mysqlndAndrey Hristov2007-10-051-10/+9
| | | | | Patch ext/mysql and ext/mysqli to support mysqlnd
* - Avoid sprintf, even when checked copy'n'paste or changes lead to errorsMarcus Boerger2007-02-241-9/+9
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* fixed bigint conversion on windows platformsGeorg Richter2006-04-051-3/+3
|
* fixed stmt property container and required status for error propertiesGeorg Richter2006-04-031-4/+4
|
* Fix for bug #36802 (server crashes with invalid/not opened connections)Georg Richter2006-03-241-74/+84
| | | | | | | | | | | | 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
* MFH: add checks and fix possible reincarnations of bug #36420Antony Dovgal2006-02-161-2/+23
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Mark more private functions as static.Joe Orton2005-03-301-3/+3
|
* Mark private functions as static.Joe Orton2005-03-301-8/+8
|
* fixed a bug in mysql_affected_rows and mysql_stmt_affected_rowsGeorg Richter2005-01-281-2/+57
| | | | | | in case affected_rows function returns (my_ulonglong) -1 for errors. (Thanks to Antony Dovgal for reporting this bug)
* Added new classes:Georg Richter2005-01-071-0/+1
| | | | | | | | | | | | | | | mysqli_driver mysqli_warning mysqli_exception mysqli_sql_exception Improved embedded server support changed testsuite to work also with embedded server Made statement and resultset classes extendable minor fixes
* added property 'id' to retrieve statement id (required by PEAR DB, to supportGeorg Richter2004-12-291-5/+21
| | | | | mysqli prepared statements)
* fixed windows compile errors (Thx to Sebastian Bergmann)Georg Richter2004-12-061-11/+18
|
* Fixed bug #30890 (testsuite)Georg Richter2004-12-041-17/+17
| | | | | Fixed bug #28817 (property problems in extended class)
* fixed bug in mysql->client_versionGeorg Richter2004-07-261-1/+10
| | | | | added mysql->client_info property
* added check in config.m4 for deprecated libraryGeorg Richter2004-07-071-3/+17
| | | | | | | | | | added support for new 4.1.3-beta functions mysqli_stmt_field_count mysqli_stmt_attr_set mysqli_stmt_attr_get removed support for deprecated/old api functions fixed bug in constructor_get
* Major changes for 4.1.2-alpha/4.1.3-beta:Georg Richter2004-06-051-75/+53
| | | | | | | | | | | | - added container for mysql structure - added load data infile callback functions (currently disabled under win) Bug fixes: - fixed property changes (4.1.1 -> 4.1.2) - fixed memleak in mysqli_connect - fixed bug #28100 - fixed bug #28205 - fixed bug #28430