Commit Graph

4292 Commits

Author SHA1 Message Date
drh
4ff7fa0d67 Comment changes in sqlite.h.in in order to generate better capi3ref.html
documentation. (CVS 4366)

FossilOrigin-Name: 280474595687bb843872f1bbc82cda3b1982085c
2007-09-01 18:17:21 +00:00
danielk1977
d7d2f93cbb Remove code for calling the SQL function randstr() with 0 or 1 argument, as it is registered with sqlite as requiring exactly 2. Also test io errors in sqlite3_release_memory(). (CVS 4365)
FossilOrigin-Name: 5842f68c1ba838f24e9ba02c818d308540d591a4
2007-09-01 17:00:12 +00:00
danielk1977
843e65f2fc Remove the syncOk argument to pager_recycle. Now that sqlite3_memory_release uses a global lru list of page, it is no longer required. (CVS 4364)
FossilOrigin-Name: fb27692ab10b22851b265348bb6b3e1dececd60f
2007-09-01 16:16:15 +00:00
danielk1977
28c66307d7 Test sqlite3_bind_zeroblob(). Only include sqlite3Utf8To8 in builds if SQLITE_DEBUG is defined. (CVS 4363)
FossilOrigin-Name: fde6142b7bb33198b3d6b65cfbddfad61694b1fb
2007-09-01 11:04:26 +00:00
danielk1977
b8cdbec246 Allow sqlite3GetInt32 to recognize 10-digit decimal numbers as 32-bit. (CVS 4362)
FossilOrigin-Name: 7571345d2078fb52029f9b9924d833ec36d443e6
2007-09-01 10:01:12 +00:00
danielk1977
ca0c89715e Fix a problem handling a malloc() failure in printf.c. Also some other things to improve test coverage. (CVS 4361)
FossilOrigin-Name: 595bfe72f053bc6ecb58bb9044a4cdc53d30b404
2007-09-01 09:02:53 +00:00
danielk1977
95c8a54c7d Fix for registration of non-default vfs objects. (CVS 4360)
FossilOrigin-Name: 5f48fb95c26a713b3259ee49fd444108030376dc
2007-09-01 06:51:27 +00:00
danielk1977
c3f759bd33 Fix a bug in loadext.test. (CVS 4359)
FossilOrigin-Name: 2be8af9d402a5cd8da8c348883188eb38900f6dc
2007-09-01 06:19:05 +00:00
danielk1977
98cab2c038 Call sqlite3OsDlError to obtain error information after DlOpen or DlSym fail. (CVS 4358)
FossilOrigin-Name: 3d74256c9123e8434c68e6a0c5b61686b34a4328
2007-09-01 05:57:49 +00:00
drh
f869347555 Change the windows tempfile name generator so that it uses 119 bits
of randomness and does not bother to check to see if the file already
exists.  Ticket #2608.  (Unable to test from this machine, but the
changes are simple and isolated.  Hope it works.) (CVS 4357)

FossilOrigin-Name: ca6c1e3f44d8b9d9b76a0efe53ea6a6ad5e14d57
2007-09-01 02:13:10 +00:00
drh
0e3c083088 Get make doc working again. (CVS 4356)
FossilOrigin-Name: 8f73ebc6e30467d2c594701e0aa45b53147ef2ef
2007-08-31 18:50:31 +00:00
drh
9e33c2c108 Remove the xLockState method for sqlite3_io_methods. Replace it with
a defined call to xFileControl().  This simplifies the interface and
also gives us coverage testing of sqlite3_file_control(). (CVS 4355)

FossilOrigin-Name: 306586c412b87c6d12bac796641517afa3f9eb6a
2007-08-31 18:34:59 +00:00
danielk1977
e6a58a4e2a Allow sqllimits1.test to be run from a regular build of testfixture. Add the 'amalgamation-testfixture' target to main.mk - to build testfixture via sqlite3.c. (CVS 4354)
FossilOrigin-Name: d119427314d27f291b605073d34826cdb89746c1
2007-08-31 17:42:48 +00:00
drh
cc6bb3eaeb Initial implementation of the sqlite3_file_control() interface.
Compiles and passes all historical tests but the new method is itself
untested. (CVS 4353)

FossilOrigin-Name: d3ab3e3911f10b17d0859a34f4f007c790a0cd82
2007-08-31 16:11:35 +00:00
drh
3570ad93d8 Convert the TCL interface to use sqlite3_open_v2 (CVS 4352)
FossilOrigin-Name: 3434b7a9213f210498f43cb5094a0f3f5c25b957
2007-08-31 14:31:44 +00:00
danielk1977
85378228b6 Fix a problem in malloc3.test preventing all.test from completing. No code changes. (CVS 4351)
FossilOrigin-Name: ee9b3e5e38c52f5669009a08aec58678ccad0d87
2007-08-31 05:00:48 +00:00
drh
b67e8bf071 Add the experimental sqlite3_threadsafe() API. (CVS 4350)
FossilOrigin-Name: 1b39a714efbe1f4ccc8daf68a227a8c9b84a388f
2007-08-30 20:09:48 +00:00
drh
ad3e78b671 Fix the loadable extension module so that it will compile with
SQLITE_THREADSAFE=0. (CVS 4349)

FossilOrigin-Name: a73a8b50f76f4f948a4080070ac2354d8ea05515
2007-08-30 20:09:27 +00:00
shess
ae00b4e64b Fix discrepency in the test pointed out by a user. Was testing fts2 :-). (CVS 4348)
FossilOrigin-Name: 65c62ed85edd2cb3cf26f01fadf3b342c1e8a20f
2007-08-30 20:01:32 +00:00
shess
999cc5d7e8 Fix memory leak reported by an fts1 user. Was losing a doclist on a
query error. (CVS 4347)

FossilOrigin-Name: eee025024972852990e704253d1443c1cefb376c
2007-08-30 19:56:37 +00:00
drh
61f6dc608f Make mutex functions available to loadable extensions. Fix the
amalgamation generator to include the latest source files. (CVS 4346)

FossilOrigin-Name: 293a3f837bd6c6a26f694a9210e59ace23abb6bb
2007-08-30 17:15:37 +00:00
drh
e1843aff8c Fix a memory leak in the win32 OS driver. Ticket #2602. (CVS 4345)
FossilOrigin-Name: 1f80cf5e759af68b854d4de2e97badf546a465ca
2007-08-30 16:46:04 +00:00
danielk1977
8601124d56 Fix the "test_destructor" test function in utf-16 mode. Fix for test failure in utf16 version of func.test. (CVS 4344)
FossilOrigin-Name: c073b78040e5833de038dea464ac87c7358b8b51
2007-08-30 16:30:27 +00:00
drh
428e282662 Make the latest interfaces usable by loadable extensions. (CVS 4343)
FossilOrigin-Name: e9b2700b8c30b0255c9e33419ff18bdebb78087a
2007-08-30 16:23:19 +00:00
danielk1977
2f2d8c7331 Prevent sqlite from opening directories as databases under unix. Fix for test cae in misc7.test. (CVS 4342)
FossilOrigin-Name: e30546504c59c7d92d83a32d9b7e83edc175e247
2007-08-30 16:13:33 +00:00
danielk1977
cd03724cb2 Check in extra fixes for malloc4.test. (CVS 4341)
FossilOrigin-Name: 49ce3a838194f0316c883dbe1596d13c0c0fad1b
2007-08-30 15:46:06 +00:00
danielk1977
744f574889 Fixes for malloc4.test. (CVS 4340)
FossilOrigin-Name: 23746924db3c005d1f75572c6cbb91db6fc41eb4
2007-08-30 15:16:04 +00:00
drh
60d09a712c Fix the SQLITE_MIXED_ENDIAN_64BIT_FLOAT option so that it works on
goofy linux kernels that employ CONFIG_FPE_FASTFPE.  Patch from
Frank van Vugt. (CVS 4339)

FossilOrigin-Name: 71ab92e900512ad01047b46f734bd5f65998ecf9
2007-08-30 15:05:08 +00:00
drh
f81fe71c2a Fix a ref-count problem in the TCL bindings. Ticket #2597. (CVS 4338)
FossilOrigin-Name: 18a5babb72102f9a82cb24757612a8b683a3f995
2007-08-30 14:58:20 +00:00
danielk1977
c16d463085 Remove the SYNC_BARRIER flag. (CVS 4337)
FossilOrigin-Name: 5a22d8695b49cf7bc2eee382b66a98d29adb9e6e
2007-08-30 14:49:58 +00:00
danielk1977
37f0d22199 Fixes to malloc3.test so that it can run in transient or persistent failure mode. (CVS 4336)
FossilOrigin-Name: e14e3688eb64577a2a7070e4e47e715a5d7d5089
2007-08-30 14:41:34 +00:00
drh
c7ce76af8f Bug fixes in the mutex header file. Tickets #2599 and #2600. (CVS 4335)
FossilOrigin-Name: 4bdfe1419c536fec5b3c0a7fbe3d0ff52f183f43
2007-08-30 14:10:30 +00:00
danielk1977
7751940d6e Fixes for failures in fuzz_malloc.test. (CVS 4334)
FossilOrigin-Name: d3e502263808c1fe0487fda02f16adcbb1279183
2007-08-30 11:48:31 +00:00
danielk1977
eacb6c59bc Fix some problems in async2.test. No code changes. (CVS 4333)
FossilOrigin-Name: d80d87c239df06ef2182bc2b78e6d4c1852d28c9
2007-08-30 10:49:54 +00:00
danielk1977
992772c867 Better handle a malloc() failure in sqlite3PagerSetPagesize(). (CVS 4332)
FossilOrigin-Name: 41550d87c9395ab2fec5993655865e29235130a3
2007-08-30 10:07:38 +00:00
danielk1977
f3c626594e Fix a bug in a test file causing malloc5.test to crash. (CVS 4331)
FossilOrigin-Name: ab09967bd2dd291030850d44c0862fbb7d0d8118
2007-08-30 08:27:39 +00:00
danielk1977
65839c6afd Add tests for malloc() failure when the atomic-write optimization is being used. Also fix things so that rollback can occur without a malloc(), even if there is a master journal file. (CVS 4330)
FossilOrigin-Name: 481fd3a89e50e329596d96565170e3d9977aae29
2007-08-30 08:08:17 +00:00
drh
c1a7f94098 Test case fixes for fulltest. (CVS 4329)
FossilOrigin-Name: cddce4950569ac49c1a5224b200b00dcd83a2ba4
2007-08-30 02:26:53 +00:00
drh
fb98264aab Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328)
FossilOrigin-Name: e40d40a5d41c491bef852a92e5846b273b206909
2007-08-30 01:19:59 +00:00
drh
107b25f1bd Fix minor problems on various tests. This is a snapshot prior to possible
major changes in order to fix the sqlite3AbortOtherActiveVdbes problem. (CVS 4327)

FossilOrigin-Name: 35cb63ecfd9d8ca7304aae1b150ee5d1c3498bde
2007-08-29 19:15:08 +00:00
drh
df12a9bca4 Fix a bug in test_server.c that resulted from the change in semantics
of sqlite3_enable_shared_cache().  All quick tests now pass. (CVS 4326)

FossilOrigin-Name: 5201fa4f8310ffc8b6881d96b152581d74e2df6b
2007-08-29 18:20:16 +00:00
drh
d6b9386c50 Disable tests that require SQLITE_ENABLE_ATOMIC_WRITE if that feature is
not enabled. (CVS 4325)

FossilOrigin-Name: 4874499377e8f89a25d8cc2cf7982e6811d53f1b
2007-08-29 17:59:42 +00:00
drh
ff0587c632 Improvements to mutex asserts. The quick test runs to completion without
assertion faults. (CVS 4324)

FossilOrigin-Name: 2732af0ec77dbc90c0439b6a61d893d9ea3b5697
2007-08-29 17:43:19 +00:00
danielk1977
26783a58e2 Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323)
FossilOrigin-Name: c790c234c369c6b7610e67dcaaa9eee347df729c
2007-08-29 14:06:22 +00:00
drh
f53e9b5ad5 Be careful to verify the schema cookie when running the xfer optimization
on INSERT statements. (CVS 4322)

FossilOrigin-Name: d8ef7024172fffee049cfda6707220af2577e9a1
2007-08-29 13:45:58 +00:00
danielk1977
a1644fd863 Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321)
FossilOrigin-Name: e38ef81b85feb5bff2ad8448f3438ff0ab36571e
2007-08-29 12:31:25 +00:00
drh
1fee73e74a Better asserts(). But now some of the tests are busted again. (CVS 4320)
FossilOrigin-Name: e8060f85e7871572e2a38dc96f03e6e1f34cc8fd
2007-08-29 04:00:57 +00:00
drh
b1ab8ea7f3 More locking fixes. Now makes it all the way through quick.test. There
are errors but no assertion faults.  Progress. (CVS 4319)

FossilOrigin-Name: 844d40b8379d3374130e2d94f6e32c2cda34e0ca
2007-08-29 00:33:07 +00:00
drh
dfbf178469 The shared_err test runs with no errors. But a potential deadlock has been
discovered and is still unfixed. (CVS 4318)

FossilOrigin-Name: f093a0d7b29a819605e0527bf23a047e16c32688
2007-08-28 23:28:07 +00:00
drh
4cf7c7f7e7 The shared_err test runs with no errors. But a potential deadlock has been
discovered and is still unfixed. (CVS 4317)

FossilOrigin-Name: f84550be0a0c9e5859b852863b9a8f8ed3fd6919
2007-08-28 23:28:07 +00:00