Wez Furlong
0c1a436917
Probable fix for Bug #30147
2004-09-25 23:13:49 +00:00
Ilia Alshanetsky
cd7dafab7c
Allow sqlite_fetch_column_types() to properly handle table names with
...
spaces in them.
2004-08-02 22:43:40 +00:00
Ilia Alshanetsky
fe50278d0a
Fixed bug 29395 (sqlite_escape_string() returns bogus data on empty
...
strings).
Original Patch by: Tony
2004-07-27 16:40:43 +00:00
Wez Furlong
b52f7a01af
Bump PHP 5 sqlite extension number to 2.0
...
(put some distance between it and the 4.3 version)
2004-07-10 12:30:18 +00:00
Ard Biesheuvel
5232a5afea
64-bit bugsquash party
2004-06-16 23:57:25 +00:00
Stanislav Malyshev
0821f8f7d9
add sqlite_exec()
2004-05-13 14:19:10 +00:00
Marcus Boerger
2d6770f0e6
- Added missing UNREGISTER_INI_ENTRIES
2004-05-12 10:15:48 +00:00
Ilia Alshanetsky
9da8328bae
Empty query checks, bug #28112 .
2004-04-22 22:34:29 +00:00
Marcus Boerger
ddfb337577
bugfix #28112
2004-04-22 22:26:02 +00:00
Ilia Alshanetsky
8075d977e1
Open basedir & safe_mode exception when copying or attaching to a memory
...
only database.
2004-04-11 18:53:32 +00:00
Marcus Boerger
de56cc51a8
Increase severity level and use a more precise error message.
2004-04-03 14:40:36 +00:00
Marcus Boerger
2ce2300d76
Fix class names
2004-03-29 19:49:17 +00:00
Marcus Boerger
f8ff2ccf20
Fix writing of SQLite and SimpleXMl extension and add Rob to the credits
...
line of the latter. Add ext/SPL.
2004-03-28 20:27:18 +00:00
Marcus Boerger
f956b50f65
Change to studlyCaps convention
...
# Hopefully discussed enough this time
2004-03-26 21:16:50 +00:00
Marcus Boerger
962b8d480c
Revert studlyCaps change for now
...
# until we reach a point where the majority knows what they want
2004-03-23 23:30:56 +00:00
Marcus Boerger
82e2b354ac
Consitency rules
2004-03-23 08:48:36 +00:00
Marcus Boerger
e6a1f04677
Changed sqlite's OO API to studlyCaps.
2004-03-23 08:03:11 +00:00
Ilia Alshanetsky
7bc8bdec79
Change float operations to safe_emalloc().
...
Original idea by Sascha (see sess_sqlite.c)
2004-03-09 01:09:35 +00:00
Marcus Boerger
6b0f57ee50
Rename hasMore() to valid() as discussed. (Part II)
2004-03-08 18:05:41 +00:00
Marcus Boerger
b6b7c9eb65
Rename hasMore() to valid() as discussed. (Part I)
2004-03-08 17:33:31 +00:00
Ilia Alshanetsky
0eb7000b0a
Corrected string escape calculation.
2004-03-07 21:57:50 +00:00
Ilia Alshanetsky
e57c749ecc
Use correct variable name.
2004-03-06 18:29:54 +00:00
Ilia Alshanetsky
215f0763d0
Fixed a possible memory leaks inside sqlite_popen() &
...
sqlite_fetch_column_types().
Resolve the file path inside sqlite_factory().
2004-03-06 18:14:54 +00:00
Ilia Alshanetsky
c856e821d0
Fixed possible crash inside sqlite_escape_string() and
...
sqlite_udf_encode_binary().
2004-02-27 00:29:10 +00:00
Ard Biesheuvel
81f05c18f5
Wordsize fixes
2004-02-25 20:16:27 +00:00
Ard Biesheuvel
5c0cf2311d
More wordsize/alignment fixes
2004-02-24 15:47:38 +00:00
Ard Biesheuvel
b2bc520067
64-bit fixes
2004-02-23 16:26:34 +00:00
Ard Biesheuvel
9816c8a4e4
64-bit fix
2004-02-23 01:21:16 +00:00
Ard Biesheuvel
3a91737c73
Fix 64-bit crash
2004-02-22 12:10:00 +00:00
Ilia Alshanetsky
2e2c4375d0
For get_data iterator do not force numeric keys, return keys the user
...
requests.
2004-02-15 20:42:58 +00:00
Ilia Alshanetsky
d438dad1b2
Fixed a crash inside create_aggregate() method due to incorrect argument
...
parsing.
2004-02-15 20:15:34 +00:00
Zeev Suraski
30171a7590
zend_default_classes.h -> zend_exceptions.h
2004-02-12 10:43:27 +00:00
Zeev Suraski
d77bbe344c
kill warning
2004-02-04 12:45:56 +00:00
Zeev Suraski
8424be849f
- Update with new destructor code
2004-02-04 11:14:47 +00:00
Marcus Boerger
1ee90db6e6
No longer needed
...
# Found by Andrey
2004-01-17 18:04:06 +00:00
Marcus Boerger
a19a36551b
Fix shutdown
2004-01-15 21:30:31 +00:00
Ilia Alshanetsky
b3853af0b7
MFH: Fixed bug #26911 (crash in sqlite extension when fetching data from
...
empty queries).
2004-01-14 21:17:09 +00:00
Marcus Boerger
9c41d8e7b5
No longer needed
2004-01-12 00:21:14 +00:00
Marcus Boerger
6e798706e3
There's no more interaction with SPL
2004-01-08 19:28:55 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
b658a26874
emalloc() -> safe_emalloc()
2003-12-31 19:45:46 +00:00
Marcus Boerger
1a48fd929d
Fix a memleak
...
Improve error messages
2003-12-28 16:26:04 +00:00
Marcus Boerger
01b255f0ef
Correct in order
2003-12-27 22:16:13 +00:00
Marcus Boerger
a876c54d1c
Bugfix #25329
2003-12-27 22:11:48 +00:00
Ilia Alshanetsky
79848fa885
Added sqlite_fetch_column_types() function.
2003-12-18 21:28:00 +00:00
Ilia Alshanetsky
bebaa5b00f
Do not mangle column names.
2003-12-14 18:45:37 +00:00
Ilia Alshanetsky
9165dc414e
The changes() method should be that of the database object not that of
...
a result.
Added a test case for this bug.
2003-12-10 18:56:05 +00:00
Ilia Alshanetsky
06b528aa54
Fixed a crash in SQLite when fetching data using sqlite_fetch_object() in
...
a loop.
2003-12-10 01:02:20 +00:00
Marcus Boerger
37f6618c64
Allow static methods being called from sqlite sql. Notice by Stphane Mariel
2003-10-25 23:17:15 +00:00
Marcus Boerger
b0b82541e8
Fix class/iterator relationship & handling
2003-10-18 18:43:31 +00:00
Marcus Boerger
9fbaa7aca5
- Make use of engine iterators
2003-10-17 17:21:56 +00:00
Marcus Boerger
08d1c991cf
The sqlite classes need to be final
2003-10-17 08:17:09 +00:00
Marcus Boerger
4943cae926
pre/hasprev have nothing to do with iteration
2003-10-17 08:01:49 +00:00
Marcus Boerger
36655400cb
- return correct hash constants
...
- check for 'memory' in sqlite_factory() too (noticed by John Coggeshal)
2003-09-21 19:36:40 +00:00
Marcus Boerger
2a68d3c19e
Make use of dedicated macro
2003-09-13 10:31:06 +00:00
Marcus Boerger
d9d082072c
Omitting is also possible here
2003-09-05 20:09:19 +00:00
Marcus Boerger
f05525a0ef
WS
2003-09-05 20:05:08 +00:00
Marcus Boerger
421e2e9275
Go with the mess
2003-09-04 14:54:53 +00:00
Zeev Suraski
8767205afa
Fix Win32 linkage problems
2003-08-31 12:41:53 +00:00
Marcus Boerger
c3f7ea3510
Fix property inheritance by using dedicated new function
2003-08-29 23:30:03 +00:00
Marcus Boerger
0cb983885d
Throw exception if user wants to pass arguments to an non existing constructor
2003-08-29 21:33:24 +00:00
Marcus Boerger
adaf6429a7
Throw exception if user wants to pass arguments to an non existing constructor
2003-08-29 21:32:25 +00:00
Marcus Boerger
eb8d89c363
Allow to pass arguments to the constructor
2003-08-29 21:13:50 +00:00
Marcus Boerger
b75133c0c6
Need to check if we got any value before destroying it
2003-08-28 23:36:46 +00:00
Marcus Boerger
90561350f9
Add sqlite_fetch_object()
2003-08-28 23:19:51 +00:00
Marcus Boerger
0bd1567fe1
Update exception code
2003-08-25 20:55:14 +00:00
Marcus Boerger
0d5ee859dd
Fix warnings
2003-08-17 15:43:41 +00:00
Marcus Boerger
fb1288d067
# Wez, your whish is my command
2003-08-12 21:29:28 +00:00
Marcus Boerger
ab9198e396
Bugfix #25056
2003-08-12 21:15:16 +00:00
Zeev Suraski
538d58dd5f
Use new infrastructure.
...
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
Marcus Boerger
08f725fa24
Remove this then, too
2003-07-20 18:05:03 +00:00
Marcus Boerger
7dd6f48f45
SQLite objects are not cloneable. Maybe we allow this later for sqlite_db.
2003-07-20 18:00:54 +00:00
Sebastian Bergmann
aeefb55a6a
Cleanup, as suggested by Andi.
2003-07-19 11:00:17 +00:00
Sebastian Bergmann
83bf4599b7
ZTS fix.
2003-07-14 05:52:57 +00:00
Wez Furlong
78e236da26
Add sqlite_has_prev, and sqlite_prev.
...
Patch by Jan Lehnardt <jan@php.net>
2003-07-13 09:38:33 +00:00
Wez Furlong
ce2a4d9121
MFB better popen fix
2003-07-13 09:20:40 +00:00
Wez Furlong
e17043c248
Fix bug #24575 (sqlite_popen did not request a new resource id when persistent
...
handles were re-used within a request).
2003-07-13 08:48:43 +00:00
Marcus Boerger
af3be899e6
fix this stupid error
2003-07-08 23:10:01 +00:00
Marcus Boerger
139852d3ff
Fix bug #24540
2003-07-08 18:57:28 +00:00
Marcus Boerger
f145b163a8
- In function sqlite_field_name the index parameter is not optional.
...
- Fix all the protos.
2003-07-05 20:02:40 +00:00
Marcus Boerger
d531dee390
Fix warnings and allow builds without ext/session
2003-07-01 17:55:32 +00:00
Wez Furlong
090328fd32
silence warning under win32
...
(maybe!)
2003-07-01 13:26:49 +00:00
Wez Furlong
607b6501ed
Add sqlite session handler.
...
Modified (quite a bit!) patch from John Coggeshall.
It compiles, but it otherwise untested.
session.save_path == path to actual database file for the session.
eg: session.save_path=/tmp/mysite-session.db
2003-07-01 13:07:37 +00:00
Edin Kadribasic
7730c1d994
Fix windows build
2003-06-27 14:30:26 +00:00
Marcus Boerger
a0ecfc9c31
errmsg must be ref
2003-06-26 21:07:07 +00:00
Marcus Boerger
add3674b20
Rename sqlite_fetch_string() to sqlite_fetch_single() + alias
2003-06-26 19:26:26 +00:00
Marcus Boerger
bbfa7cae25
Fix memleak
2003-06-26 19:07:17 +00:00
Marcus Boerger
30b4f8f494
Fix a warning
2003-06-25 23:21:10 +00:00
Ilia Alshanetsky
0dc20e8bea
ZTS typo
2003-06-25 23:14:19 +00:00
Sterling Hughes
12b06799ae
Don't pass resource as an argument when its not being parsed.
2003-06-25 17:22:31 +00:00
Ilia Alshanetsky
94b90d0c0a
Added sqlite_single_query() and it's OO equivalent single_query().
2003-06-25 16:59:24 +00:00
Ilia Alshanetsky
28347d74bb
port sqlite_array_query() fix from PHP_4_3
2003-06-23 19:37:48 +00:00
Marcus Boerger
9d6f63ef71
Remove sqlite::close()
2003-06-22 19:00:44 +00:00
Marcus Boerger
f2d26fc85d
Add oo API
2003-06-22 17:19:46 +00:00
Wez Furlong
3a550b3c8c
Prepare for 1.0 release
2003-06-21 13:29:26 +00:00
Wez Furlong
9e858102a8
Add a pair of functions to handle the binary coding used by PHP from within
...
UDF callbacks.
Add test for binary functions.
Fix proto.
2003-06-21 12:29:32 +00:00
Wez Furlong
425882ef70
Some tweaks ready for the upcoming 1.0 release.
2003-06-19 20:57:11 +00:00
Wez Furlong
20ee07ef92
Should build with PHP5 now...
2003-06-18 19:48:02 +00:00
Marcus Boerger
8f2b387c61
- Update license
...
- Don't buffer in non buffered mode
2003-06-14 18:16:47 +00:00
Marcus Boerger
e1652789ea
- Add sqlite_array_query().
...
- Make all read functions destructive when in unbuffered read mode.
2003-06-09 23:14:25 +00:00