summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_statement.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* use fetch_fields only once and remember the resultHartmut Holzgraefe2005-02-271-21/+20
|
* changed the error checks on result set retrievalHartmut Holzgraefe2005-02-271-7/+18
| | | | | UPDATEs not modifying anything are not actually bugs
* no need to check for execution status, always free a result set if thereHartmut Holzgraefe2005-02-271-6/+5
| | | | | is one
* colsHartmut Holzgraefe2005-02-271-5/+0
|
* CS / whitespaceHartmut Holzgraefe2005-02-271-9/+9
|
* fix for PECL bug #3529Hartmut Holzgraefe2005-02-201-1/+1
|
* fix for PECL bug 3530Hartmut Holzgraefe2005-02-201-1/+1
|
* Fixed compiler warnings.Ilia Alshanetsky2005-02-121-2/+0
|
* update for api changesWez Furlong2005-02-061-1/+1
|
* stub out scrollable cursor changeWez Furlong2005-01-121-1/+2
|
* rough cut at mysql meta dataWez Furlong2004-09-261-1/+92
|
* Fixed a bug that could result in false failed query reporting onIlia Alshanetsky2004-07-121-2/+6
| | | | | INSERT/UPDATE/DELETE queries.
* Correctly report errors for statment problems.Ilia Alshanetsky2004-05-201-4/+4
|
* Error handling support.Ilia Alshanetsky2004-05-201-11/+14
| | | | | Fixed possible crash when trying to fetch data from a failed query.
* Don't dup here eitherWez Furlong2004-05-201-3/+1
|
* - Allow to build with ext/mysqliMarcus Boerger2004-05-191-12/+12
|
* Row count cannot be calculated in MySQL without buffering the query.Ilia Alshanetsky2004-05-191-1/+0
|
* Prevent possible crash when working with column containing NULL.Ilia Alshanetsky2004-05-191-1/+3
|
* Added lastInsertId() method for retrieving last insert id.Ilia Alshanetsky2004-05-191-5/+4
| | | | | | Made affectedRows() work for MySQL. Populate error value in MySQL on error.
* initial import of mysql 3.x pdo driverGeorge Schlossnagle2004-05-181-0/+164