summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_statement.c
Commit message (Collapse)AuthorAgeFilesLines
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* 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
* ok, calculate max_length only in case of a blob (normal, medium, long).Andrey Hristov2005-07-101-1/+19
| | | | | | in case of a varchar lets allocate 255 bytes and be quick without asking libmysql to update max_length
* if the result set is buffered ask libmysql to compute the lengths, soAndrey Hristov2005-07-101-7/+9
| | | | | | later allocate buffer as big as the largest value of the column in the result set (max_legth positive).
* Get precise lengths from the server, as suggested by Andrey.Wez Furlong2005-07-101-0/+3
|
* Added safety checks.Ilia Alshanetsky2005-07-091-3/+7
|
* Make cursor closer work with emulation as well.Ilia Alshanetsky2005-07-091-0/+2
|
* Added missing header check.Ilia Alshanetsky2005-07-091-0/+3
|
* Implement cursor_closer for MySQL driver.Ilia Alshanetsky2005-07-091-1/+8
|
* Fixed memory leakIlia Alshanetsky2005-07-091-1/+11
|
* Fix two bugs:Wez Furlong2005-07-091-5/+6
| | | | | | | - execute() would not re-fetch meta data after nextRowset() had been called. - buffered mode would only be enabled on the first execute on a statement handle.
* Make prepared statements obey buffering flag in MySQL.Ilia Alshanetsky2005-07-071-1/+9
|
* Fixed memory leak.Ilia Alshanetsky2005-07-071-1/+7
|
* Enable native mysql 4.1.x prepared statement supportWez Furlong2005-07-031-10/+176
| | | | | # the hardest part was installing 4.1.x on a gentoo box over a 56k modem
* Experimental support for queries returning multiple rowsets under mysql 5.0.Wez Furlong2005-07-021-1/+44
| | | | | Patch from Guy Harrison (guy dot a dot harrison (at) gmail dot com)
* Added PDO_MYSQL_ATTR_USE_BUFFERED_QUERY parameter for pdo_mysql, to toggleIlia Alshanetsky2005-06-241-1/+5
| | | | | usage of buffered queries.
* Various compiler warning fixes.Ilia Alshanetsky2005-05-181-1/+0
|
* removed unused var.Ilia Alshanetsky2005-04-191-1/+0
|
* No c++ comments in C codefoobar2005-04-191-3/+3
|
* fully distinguish between database and statement level errorsHartmut Holzgraefe2005-02-271-0/+4
|