Commit Graph

4285 Commits

Author SHA1 Message Date
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
drh
d0679edc7a Clean up the locking in the btree logic. (CVS 4316)
FossilOrigin-Name: 967ab229af462a8ae663090ea36b4cc10e351653
2007-08-28 22:24:34 +00:00
shess
27a770e044 Fix memory leak of InteriorReader.term. Comes up when doing queries
against large segments. (CVS 4315)

FossilOrigin-Name: 6c617bd89fc57881a2a308a6360e8ebb42835d46
2007-08-28 20:36:53 +00:00
pweilbacher
6e180029b3 remove unused os_os2.h (CVS 4314)
FossilOrigin-Name: dd43a2de3ed1659d70361370d07a184dd8ece45f
2007-08-28 19:21:21 +00:00
drh
ac32155213 Fix locking bug in btshared.c. (CVS 4313)
FossilOrigin-Name: af24e7d01a7fab5e33080a0f786e0bc6f610a6f3
2007-08-28 16:44:20 +00:00
drh
437b901371 Break up the mutex implementation into separate source files, one
each for unix, w32, and os2. (CVS 4312)

FossilOrigin-Name: fc5cd71aef5ac194f51d73350d773d532020967e
2007-08-28 16:34:42 +00:00
drh
9da9d96242 Updates to the sqlite3_open() documentation. Method the magic
:memory: filename.  Ticket #2591. (CVS 4311)

FossilOrigin-Name: 5f55b2fc4ecdfc1bb68f479751b8642926fd8833
2007-08-28 15:47:44 +00:00
drh
b6f5cf331c Update the sqlite3_vfs_register() documentation to make
the behavior undefined for VFSes with a NULL or empty string
as the name or with duplicate names. (CVS 4310)

FossilOrigin-Name: e7a98b48384ea581d98dad5118ee33468d526c62
2007-08-28 15:21:45 +00:00