Commit Graph

283 Commits

Author SHA1 Message Date
Wez Furlong
7916ef2ee1 Allow sqlite to build as a shared ext under win32 2004-05-25 13:01:05 +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
Derick Rethans
5c9d3842bd - HTML entity to ISO char. 2004-04-30 18:00:24 +00:00
Marcus Boerger
9aab7d7cdf An oumlaut doesn't work here, need ASCII only 2004-04-29 22:57:23 +00:00
Marcus Boerger
af17964ef4 Avoid warning to interfere test result 2004-04-22 22:55:18 +00:00
Ilia Alshanetsky
9da8328bae Empty query checks, bug #28112. 2004-04-22 22:34:29 +00:00
Marcus Boerger
920e4235a4 Add test for bug #28112 2004-04-22 22:29:41 +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
Ilia Alshanetsky
824f9a4d11 Fixed bug #27928 (sqlite incorrectly handles invalid filenames). 2004-04-09 18:02:05 +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
Marcus Boerger
dd5d497541 Fix test
# removing string conversion was a stupid idea
2004-03-19 20:05:39 +00:00
Marcus Boerger
edde872904 Fix test 2004-03-19 20:00:18 +00:00
Marcus Boerger
0c8d7457c5 Make test work when user has memory limit setting 2004-03-19 19:56:31 +00:00
Dmitry Stogov
67a0ff81ae Test was fixed 2004-03-17 16:06:18 +00:00
Martin Kraemer
b63def4dfc Typo 2004-03-10 11:24:11 +00:00
Ilia Alshanetsky
a073ba979f Fix function declaration. 2004-03-09 01:28:29 +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
Ard Biesheuvel
b303ba089c More wordsize fixes 2004-03-08 23:11:45 +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
Sascha Schumann
048e66b2a9 Avoid using floating point arithmetic and rely on safe_emalloc
for the multiplication.

The actual size requirement is spelled out as:

** The result is written into a preallocated output buffer "out".
** "out" must be able to hold at least 2 +(257*n)/254 bytes.
** In other words, the output will be expanded by as much as 3
** bytes for every 254 bytes of input plus 2 bytes of fixed overhead.
** (This is approximately 2 + 1.0118*n or about a 1.2% size increase.)
2004-03-07 22:35:26 +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
2d630bb6ae Fixed possible crash due to an integer overflow. 2004-03-06 18:11:59 +00:00
Ilia Alshanetsky
f60d104c09 Better extension availability check. 2004-03-06 18:10:32 +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
Stig Bakken
330d9f6352 SQLITE_ENCODING should be UTF8 rather than UTF-8 2004-02-03 08:38:22 +00:00
Ilia Alshanetsky
4b1fadbf1c Proper configure switch for sqlite. 2004-01-29 17:21:16 +00:00
Jon Parise
9dd817bbd6 Adding dependencies on sqlite.h for the rest of the source files in the
libsqlite distribution.
2004-01-21 08:51:28 +00:00
Marcus Boerger
c7c9c72d49 Update, id_l is unique 2004-01-18 21:11:55 +00:00
Marcus Boerger
90515ee22a Add spl interaction test. 2004-01-18 20:57:42 +00:00