Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #79294: ::columnType() may fail after SQLite3Stmt::reset() | Christoph M. Becker | 2020-02-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | The fix for feature request #53466 did not properly handle resetting of the corresponding statement; the problem with this is that the statement does not know about its result sets. But even if we could fix this, the `complete` handling still appears to be brittle, since the `sqlite3_column_type()`docs[1] state: | If the SQL statement does not currently point to a valid row, or if | the column index is out of range, the result is undefined. Fortunately, we can use `sqlite3_data_count()` instead, since[2]: | If prepared statement P does not have results ready to return (via | calls to the sqlite3_column() family of interfaces) then | sqlite3_data_count(P) returns 0. Thus, we guard `SQLite3::columnType()` with `sqlite3_data_count()`, and completely drop updating the `php_sqlite3_result_object.complete` field, but keep it for ABI BC purposes. [1] <https://www.sqlite.org/c3ref/column_blob.html> [2] <https://www.sqlite.org/c3ref/data_count.html> | ||||
* | Remove unused Git attributes ident | Peter Kokot | 2018-07-25 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore. | ||||
* | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Merge branch 'PHP-5.6' into PHP-7.0 | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| | | |||||
| * | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | trailing whitespace removal | Stanislav Malyshev | 2015-01-10 | 1 | -1/+1 |
| | | |||||
* | | s/PHP 5/PHP 7/ | Johannes Schlüter | 2014-09-19 | 1 | -1/+1 |
| | | |||||
* | | master renames phase 1 | Anatol Belski | 2014-08-25 | 1 | -3/+3 |
| | | |||||
* | | ported ext/sqlite3 | Anatol Belski | 2014-08-19 | 1 | -3/+3 |
| | | |||||
* | | Clean up (use zend_string and foreach macros) | Xinchen Hui | 2014-04-23 | 1 | -3/+1 |
| | | |||||
* | | Refactored sqlite3 (all tests passes) | Xinchen Hui | 2014-04-23 | 1 | -10/+28 |
|/ | |||||
* | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | less serious compatAbility fixes | Veres Lajos | 2013-07-15 | 1 | -1/+1 |
| | |||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | Good patch from Brad Dewar that adds missing createCollation() | Rasmus Lerdorf | 2012-01-29 | 1 | -0/+11 |
| | | | | | method. Fixes bug #60871 and is related to bug #55226 | ||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | MFH Add the ability to enable exceptions rather than warnings for sqlite3, ↵ | Scott MacVicar | 2009-04-27 | 1 | -0/+1 |
| | | | | needed for pyrus. | ||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | MFH Stop using sqlite3_aggregate_count() as this is now deprecated. | Scott MacVicar | 2008-12-24 | 1 | -0/+6 |
| | |||||
* | MFH: fix int<->long mess causing lots of segfaults on x86_64 | Antony Dovgal | 2008-08-01 | 1 | -1/+1 |
| | |||||
* | MFH: Add freelist for tracking sqlite statements to free on implicit ↵ | Scott MacVicar | 2008-07-29 | 1 | -13/+6 |
| | | | | SQLite3::close() | ||||
* | MFH: fix build | Jani Taskinen | 2008-07-26 | 1 | -0/+124 |