summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_statement.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * - Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver)Johannes Schlüter2011-01-141-2/+1
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * Fixed constness compiler warning in pdo_mysqlKalle Sommer Nielsen2010-10-051-1/+1
| |
| * Fix for Bug #51870Andrey Hristov2010-05-211-2/+2
| | | | | | | | | | | | | | PDO::fetchAll after a PDO::execute with bindings lead to a segv. It is only in unreleased code and thus doesn't deserve a NEWS entry
* | Fix Bug #61207 PDO::nextRowset() after a multi-statement query doesn't ↵Johannes Schlüter2012-03-051-43/+35
| | | | | | | | always work
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | - Fix foldingJohannes Schlüter2011-09-191-6/+4
| |
* | - Fix Bug #53782 (foreach throws irrelevant exception)Johannes Schlüter2011-05-161-1/+5
| |
* | - Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver)Johannes Schlüter2011-01-141-2/+1
| |
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | Fixed constness compiler warning in pdo_mysqlKalle Sommer Nielsen2010-10-051-1/+1
| |
* | - Drop (broken) support for libmysql 3.23 and 4.0 from pdo_mysql, see bug #51259Johannes Schlüter2010-08-051-32/+9
| |
* | Fix for Bug #51870Andrey Hristov2010-05-211-2/+2
|/ | | | | | | PDO::fetchAll after a PDO::execute with bindings lead to a segv. It is only in unreleased code and thus doesn't deserve a NEWS entry
* decouple the methods in MYSQLND_STMT from the data,Andrey Hristov2010-03-161-4/+4
| | | | | | | | 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.
* Pass tsrmls to all functions, which might need it in the future.Andrey Hristov2010-02-031-3/+3
| | | | | | We are anyway breaking the internal ABI in 5.3.2 so this won't hurt and make us prepared for the future.
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Fix compiler warnings in ext/mysql, ext/mysqli and ext/pdo_mysqlKalle Sommer Nielsen2009-05-201-15/+16
|
* Removed unused variableIlia Alshanetsky2009-01-141-3/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,Johannes Schlüter2008-07-211-200/+495
| | | | | | | | | | | | | | | | | | | | | | | | pecl#12794, pecl#12401 # Running the tests: # (Note: Doesn't work currnetly on HEAD, see: # http://news.php.net/php.qa/64378) # # PDO_MYSQL_TEST_DSN - DSN # For example: mysql:dbname=test;host=localhost;port=3306 # # PDO_MYSQL_TEST_HOST - database host # PDO_MYSQL_TEST_DB - database (schema) name # PDO_MYSQL_TEST_SOCKET - database server socket # PDO_MYSQL_TEST_ENGINE - storage engine to use # PDO_MYSQL_TEST_USER - database user # PDO_MYSQL_TEST_PASS - database user password # PDO_MYSQL_TEST_CHARSET - database charset # # NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is # part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example, # for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* implement FR #41416 (getColumnMeta() should also return table name)Antony Dovgal2007-05-171-0/+1
|
* Fixed bug #40935 (pdo_mysql does not raise an exception on emptyIlia Alshanetsky2007-04-151-0/+1
| | | | | fetchAll()).
* Fixed bug #40822 (pdo_mysql does not return rowCount() on select).Ilia Alshanetsky2007-04-081-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Fixed bug #39759 (Can't use stored procedures fetching multiple resultIlia Alshanetsky2006-12-081-5/+5
| | | | | sets in pdo_mysql).
* Fixed bug #39527 (Failure to retrieve results when multiple unbuffered,Ilia Alshanetsky2006-12-021-13/+23
| | | | | prepared statements are used in pdo_mysql).
* avoid unterminated loop when closing the statement.Wez Furlong2006-04-221-10/+15
|
* This completes the fix for PECL #5827; we need to gobble up result sets in theWez Furlong2006-04-091-0/+10
| | | | | stmt dtor too.
* fix for PECL Bug #5827.Wez Furlong2006-04-091-0/+10
| | | | | | We're responsible for gobbling up supplemental result sets in closeCursor() (which is what PDO does for us if we didn't implement our own closer routine).
* Fixed bug #36345 (PDO/MySQL problem loading BLOB over 1MB).Ilia Alshanetsky2006-02-141-4/+2
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* add NEWDECIMAL, NEWDATE, GEOMETRY, SET and ENUM field typesAntony Dovgal2005-12-051-0/+11
|
* MFH: fix possible crash in pdo_mysql_stmt_dtor()Antony Dovgal2005-11-301-1/+1
|
* Closes PECL Bug #5802Wez Furlong2005-10-291-0/+1
|
* argh! we don't want to NULL the stmt here; freeing the results is not the sameWez Furlong2005-10-291-2/+0
| | | | | | | | as destroying the prepared statement handler, so we're leaking and breaking, as can be seen by running the test suite. brown paper bag for PDO in PHP 5.1RC4?
* MFH: free && set to NULL S->stmtAntony Dovgal2005-10-271-1/+9
|
* MFH: Fixed bug #34623 (Crash in pdo_mysql on longtext fields).Ilia Alshanetsky2005-10-191-0/+6
|
* - TSRM fixMarcus Boerger2005-09-291-1/+1
|
* Fixup LOB handling for inserts (refs #34630).Wez Furlong2005-09-251-1/+43
| | | | | | | | | | | | | | Also tripped over the return of PECL #5200; looks like mysql doesn't return an accurate length for the columns. The PDO driver will sanity check the real length against the buffer size it allocated (based on the info provided by mysql), so that we won't overrun the buffer. In addition, if a varchar field is reported as having a length of less than 128, we'll allocate 128 just in case. If the data is truncated, report it via the appropriate sqlstate code. There must be a better way to do this stuff.
* MFH: Fixed bug #34001 (pdo_mysql truncates numberic fields at 4 chars)Ilia Alshanetsky2005-09-011-3/+21
|
* Fixed memory corruption (wrong order of operations of stored prep. stmt).Ilia Alshanetsky2005-07-201-9/+12
| | | | | Optimize the max length calculation process.
* Proper handling for databases that need to pre-calculate length of largeIlia Alshanetsky2005-07-201-2/+1
| | | | | columns, which is not normally done for performance reasons.
* Only set attribute if result set contains some columns.Ilia Alshanetsky2005-07-201-1/+1
|
* clean upIlia Alshanetsky2005-07-201-2/+1
|
* this hack can and does segv; let's remove it.Wez Furlong2005-07-201-14/+1
|
* gah!Wez Furlong2005-07-141-1/+1
|
* it is not an error for a statement to return 0 rows.Wez Furlong2005-07-141-15/+13
| | | | | | | | Andrey: please run the test suite before each commit! This broke beta 3 and was clearly visible as a result of running the tests. Running further tests now.
* strictly check the result of mysql_affected_rows()Andrey Hristov2005-07-121-4/+11
|
* stmt->column_count is set only if the result has been already bound, don'tAndrey Hristov2005-07-101-5/+5
| | | | | | | rely on that and use the real count which is kept in st_mysql_stmt #of course using internal values is bad idea but the comment already says #that this should be fixed