Sean Dague
d312f10420
use new style asserts. They are much easier to read.
2008-09-12 18:46:44 +00:00
Sean Dague
9349cf3149
move the actual [Test] methods for databases to OpenSim.Data.Tests
...
classes. This did mean loosing 1 unit test that was actually testing
an sqlite function directly instead of the interface.
2008-09-12 18:13:43 +00:00
Sean Dague
1f42c89480
change order in prebuild.xml so this works in nant on a clean
...
checkout.
2008-09-12 17:45:02 +00:00
Sean Dague
96c720b04a
be more clever and move the bulk of the db tests for inventory into
...
OpenSim.Data.Tests, then subclass with custom init bits for sqlite.
As I've only been testing the plugin interfaces anyway, this should
make it very easy to write only a little bit of code to use these
tests for other databases. It will also give us the framework for
definining the datastore behavior and making sure that all the databases
do the same thing.
2008-09-12 16:05:06 +00:00
Sean Dague
7d61559058
more inventory folder tests
2008-09-11 20:52:35 +00:00
Sean Dague
45df1aaa64
add some folder create and list tests
2008-09-11 18:49:37 +00:00
Sean Dague
380af0b939
added simple add / exists folder check
2008-09-11 18:49:10 +00:00
Sean Dague
7ba9bfc8ad
add a few more SQLite Asset tests.
2008-09-11 17:52:11 +00:00
Sean Dague
0a9c6aecb5
added very basic stubs for User and Inventory db creates and empty
...
calls to make sure they worked
2008-09-10 21:36:20 +00:00
Sean Dague
a90d2b491f
fix typo in name of test db
2008-09-10 21:36:12 +00:00
Sean Dague
121398732a
add basic sniff tests for SQLite Asset store. Initializes a db,
...
stores an asset, fetches that asset, make sure it has the name
we gave it. All simple stuff, but should catch the more egregious
breaks.
2008-09-10 20:33:13 +00:00
Sean Dague
71f2176c4b
add a simple update attribute test for SOG & SQLite
2008-09-10 20:33:02 +00:00
Sean Dague
cc7ff3ac2e
added in a few more tests
2008-09-10 19:14:12 +00:00
Sean Dague
3f73884674
the explicit log4net configure attempt was maybe breaking bamboo, get
...
rid of that.
2008-09-10 18:17:10 +00:00
Sean Dague
f970597194
added the first couple of sqlite tests. we'll see how bamboo
...
handles them.
2008-09-10 17:49:41 +00:00
Sean Dague
1799913593
add shell for SQLite testing. No tests yet.
...
add another nant target for test-xml to get the verbose
version
2008-09-10 17:49:37 +00:00
Melanie Thielker
a68e34b558
Mantis #511
...
Allow parsing of hexadecimal int constants from strings.
Also fixes a DBNull value in the touch type field crashing the sim
2008-09-10 06:14:38 +00:00
Jeff Ames
b9b996be38
Update svn properties, minor formatting cleanup.
...
Fix unreachable code due to typo in llDetectedGroup.
2008-09-10 05:17:28 +00:00
Mike Mazur
e0d092ec53
Thanks, nlin, for a patch implementing persistence for "When Left Clicked"
...
object property. Fix issue 2149.
2008-09-10 00:19:36 +00:00
Teravus Ovares
fac18f608d
* Fixes Sqlite crash bug when saving a prim.
2008-09-09 23:42:44 +00:00
Sean Dague
6f15ec2d46
possible fix for EARTH SHATTERING KABOOM! when trying to save a prim
2008-09-09 20:45:21 +00:00
Sean Dague
017a6f5511
fix an automatically stripped out UUID from SQLiteManager
...
fix some spacing in SQLiteRegionData
2008-09-09 20:23:10 +00:00
Sean Dague
66dad4ab03
hopefully fix embedded inventory for sqlite
2008-09-09 18:44:54 +00:00
Jeff Ames
fae34bb10c
Update svn properties, formatting cleanup.
2008-09-09 01:26:48 +00:00
Melanie Thielker
490ac0be00
Implement proper persistence of the following prim properties:
...
Floating text, Rotation, Texture animation, Particle System
This will make "Eye Candy" scripts work without modification in
XEngine. The use of the CHANGED_REGION_RESTART hack is no longer
needed. Implemented in MySQL only, hovertext also in SQLite.
2008-09-08 02:40:20 +00:00
Melanie Thielker
9e545c9984
Mantis #2133
...
Thank you, Xugu Madison and ChrisDown, for a patch that
fixes linux filename extensions from .Xml back to .xml
2008-09-06 14:58:23 +00:00
Teravus Ovares
7d89e12293
* This is the fabled LibOMV update with all of the libOMV types from JHurliman
...
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle.
* This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big!
* Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Justin Clarke Casey
a4078c280a
* Blind fix what looks like a bug in the new land MSSQL code
...
* The data returned from the db was never inserted in the list to be processed and return
* This is an example where a warning has revealed a bug
2008-09-06 00:11:50 +00:00
Justin Clarke Casey
de467f4903
* Remove lots of warnings from the CMS module
...
* Remove a few other miscellaneous warnings
2008-09-06 00:09:24 +00:00
Jeff Ames
9053e8510c
Update svn properties.
2008-09-03 14:05:49 +00:00
Melanie Thielker
e98780fea5
Mantis #2099
...
Thank you, cmickeyb, for a patch that corrects the database connection
handling in the multithreaded user server.
2008-09-03 02:51:34 +00:00
Sean Dague
abb0ad36bd
apparently I missed one of the old version routines that could be
...
removed. Removing that now.
2008-09-02 20:17:57 +00:00
Melanie Thielker
9806c0b374
Committing the missing resource file for MSSQL. Sorry...
2008-09-02 20:05:20 +00:00
Melanie Thielker
930b2ec602
Mantis #2102
...
Thank you, RuudL, for a patch that supplements the previous MSSQL
patch.
2008-09-02 13:43:49 +00:00
Melanie Thielker
b6bb5f944f
Mantis #2095
...
Thank you, RuudL, for a complete adaptation of migration and estate
data to MSSQL, and the updating of the RegionData handling in MSSQL.
2008-09-01 17:10:01 +00:00
Adam Frisby
2133fa56e7
* Added new MySQLSuperManager support for the grid servers.
...
* In theory, login and a large number of grid functions should now at least be multithreaded.
2008-08-30 19:35:22 +00:00
Adam Frisby
72b0a53ada
* Fixed #2807 Again, Whoops.
2008-08-30 16:46:51 +00:00
Adam Frisby
e471a33961
* Fix for Mantis #2087 , Standalone MySQL broken with threading improvements. (Didnt realise this code was being shared with the gridservers)
2008-08-30 14:27:28 +00:00
Adam Frisby
b63922dcfe
* Minor fix to previous threading patch, every nTH request would previously have been delayed for 1000ms. This has been fixed.
2008-08-30 13:46:04 +00:00
Adam Frisby
0a5280edb5
* Added new "SuperManager" class for MySQL connections, for allowing multiple concurrent MySQL threads.
...
* Implemented SuperManager inside of UserData. This means the userserver when running on MySQL will use 10 connections (+1 system connection) to handle requests, preventing the previous mire of locking resulting in singlethreadedness.
* This requires testing and grids relying on stability should not upgrade to this revision until it's been properly tested.
2008-08-30 13:38:46 +00:00
Sean Dague
605ceb6176
Fix for Bug #2065 : New check out crashes on sqlite migration
...
I apparently missed one drop tables statement that was actually needed
when I did the cleaning to make this work for old sqlite versions.
2008-08-28 12:47:55 +00:00
Sean Dague
3465a5772a
cleaning out cruft from pre-Migration days
2008-08-27 19:24:48 +00:00
Sean Dague
066715415a
getting rid of pre-Migration cruft
2008-08-27 19:24:46 +00:00
Sean Dague
c75f1fcde8
we are now past change 6000, so getting rid of pre-Migration cruft
2008-08-27 19:24:45 +00:00
Sean Dague
b625a36ae5
we are now past change 6000, so getting rid of the pre-Migration
...
upgrade cruft
2008-08-27 19:24:40 +00:00
Sean Dague
5bf5e1c320
remove legacy pre-Migration database upgrade routines
2008-08-27 18:51:43 +00:00
Sean Dague
49df787665
remove the legacy pre-Migration database upgrade paths
2008-08-27 18:51:42 +00:00
Sean Dague
ba16a27ab0
remove pre-Migration upgrade paths
2008-08-27 18:51:40 +00:00
Sean Dague
53afa23608
we're past checkin 6000, so now cleaning up all the cruft of the pre
...
migration database upgrade paths. This is coming in in stages.
2008-08-27 18:51:36 +00:00
Sean Dague
f87f8b3b9f
get rid of the "drop if exists" lines in this old migration, as those
...
tables shouldn't exist yet, and the exists keyword is relatively new in
sqlite. This has been breaking a lot of people on Suse Enterprise Linux,
for instance.
2008-08-27 17:32:02 +00:00