Ilia Alshanetsky
d73bad2f93
Fixed memset usage (identified by coverity)
2011-08-10 15:30:07 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
4737910b69
- Added new parameter parsing option (p - for valid path (string without null byte in the middle))
...
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Adam Harvey
a642b52295
Fix bug #54692 (SQLite3::open() Return Value) by correcting the SQLite3::open()
...
prototype.
2011-05-10 08:14:55 +00:00
Felipe Pena
d3e6f27a76
- Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference.
2011-01-07 01:11:16 +00:00
Scott MacVicar
ef0a793fdd
Implemented FR #53466 (SQLite3Result::columnType() should return false after all of the rows have been fetched).
2011-01-06 00:08:59 +00:00
Scott MacVicar
aff978c223
Fix error with initialisation flag being set too early. If encryption is enabled and fails to decrypt a crash can occur.
...
Also fix a WS error.
2011-01-03 19:15:36 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Scott MacVicar
c9c0de49a8
Add SQLite3_Stmt::readOnly for checking if a statement is read only
2010-12-31 16:37:12 +00:00
Felipe Pena
26d7aafb1a
- Fixed bug #53463 (sqlite3 columnName() segfaults on bad column_number)
2010-12-03 21:05:44 +00:00
Pierre Joye
bd8d42729f
- #51295 , SQLite3::busyTimeout not existing
2010-06-20 15:30:49 +00:00
Ilia Alshanetsky
b643e123ee
Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command).
2010-06-09 16:04:54 +00:00
Dmitry Stogov
c5237d82bf
Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties
2010-05-24 14:11:39 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Felipe Pena
a94558c855
- Added MAKE_COPY_ZVAL(ppzv, pzv) macro
2009-12-08 01:57:37 +00:00
Scott MacVicar
40521699ce
MFH make SQLite3::enableExceptions() return the previous value.
2009-06-08 02:15:54 +00:00
Antony Dovgal
c4cf7a858d
MFH: fix ZTS build
2009-05-08 07:58:19 +00:00
Felipe Pena
bb31072d3e
- Fix build
2009-05-07 22:42:46 +00:00
Scott MacVicar
81e3b74188
Print warning when using loadExtension on non cli, cgi and embeded
2009-05-07 16:49:26 +00:00
Scott MacVicar
d13c028689
MFH Add the ability to enable exceptions rather than warnings for sqlite3, needed for pyrus.
2009-04-27 18:16:46 +00:00
Scott MacVicar
bc486b4c7e
MFH Fix bug #47678 - Allow loadExtension to be disabled in SQLite3
2009-03-17 02:45:12 +00:00
Ilia Alshanetsky
bdb3d4320e
Removed unused var
2009-02-18 20:07:40 +00:00
Scott MacVicar
037400bbeb
The constructor should also throw exceptions, make this semi useful now.
2009-02-10 00:24:33 +00:00
Scott MacVicar
3a25c34a01
Fix build on Windows
2009-01-28 23:58:09 +00:00
Antony Dovgal
8e2c587a51
fix build
2009-01-24 13:08:04 +00:00
Scott MacVicar
4159f91181
MFH Add blobOpen method for reading binary blobs via streams.
2009-01-24 12:17:47 +00:00
Scott MacVicar
5b79c37500
MFH Fix bug #47159 - Any SQLite3 statement prepared should be added to the freelist
2009-01-20 09:57:34 +00:00
Scott MacVicar
4b02b12f54
MFH Fix bug #47145 - As soon as sqlite3_step is called on a statement it always must be finalised.
2009-01-20 00:24:13 +00:00
Scott MacVicar
6d406ccedf
Fixed bug #47141 - Unable to fetch error messages after the database can't be opened.
2009-01-19 22:43:58 +00:00
Ilia Alshanetsky
96b1c50ea9
Added missing initialization
2009-01-04 16:31:12 +00:00
Felipe Pena
08a25290e7
MFH:
...
- Removed unnecessary repeated arginfos
- Changed sqlite3stmt and sqlite3result to ZEND_ACC_PRIVATE to avoid reflection instantiation
2009-01-03 22:08:38 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Scott MacVicar
3fb7f05991
MFH Stop using sqlite3_aggregate_count() as this is now deprecated.
2008-12-24 19:22:16 +00:00
Felipe Pena
9983e2689a
- MFH: Fixed memory leaks in createFunction and createAggregate methods
2008-11-28 15:37:02 +00:00
Dmitry Stogov
7d4fd3fd38
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
2008-11-27 19:01:23 +00:00
Pierre Joye
2295b682a4
- MFH: declarations must be.. 1st
2008-11-20 10:22:55 +00:00
Etienne Kneuss
3919b16f04
MFH: Fix #46241 (stacked error_handlers, error_handling in general)
2008-11-19 02:00:53 +00:00
Pierre Joye
c213742fe2
- MFH: declaration has to be first...
2008-11-18 14:27:09 +00:00
Scott MacVicar
cd3f5c1fa7
MFH Fix #46033 - Segfault when instantiating SQLite3stmt and SQLite3Result directly.
2008-11-17 19:34:03 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Scott MacVicar
14982115cd
MFH: SQLite3::escapeString can be static as it doesn't rely on an instance of SQLite
2008-09-30 11:14:48 +00:00
Scott MacVicar
8b912cc49c
Fixed bug #46033 (Segfault when instantiating SQLite3Stmt and SQLite3Result)
2008-09-15 00:55:37 +00:00
Felipe Pena
9f40f81543
- MFH: Fixed bug #45798 (sqlite3 doesn't notice if variable was bound)
2008-08-12 13:37:32 +00:00
Felipe Pena
e304515ddb
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:46:07 +00:00
Antony Dovgal
617ab865a0
MFH: fix int<->long mess causing lots of segfaults on x86_64
2008-08-01 08:27:56 +00:00
Scott MacVicar
d9509f7a6d
Class rename to match Coding Standards
2008-07-31 22:30:26 +00:00
Scott MacVicar
76cf0f6e6b
Stray RETURN_TRUE value
2008-07-31 16:31:12 +00:00