Sean Dague
8b6bd93d68
add migration to go from varchar -> char for uuid. Tested
...
on my machine, and works, but backing up before migrations
is always a good idea.
2008-06-23 16:00:18 +00:00
Teravus Ovares
2758bc81ad
* Persists region banlists across reboots for the sqlite datastore also now.
2008-06-21 06:50:38 +00:00
Teravus Ovares
a5860ad438
* Adds Region ban capability to Regions. You access this by going to World->Region/Estate. Then on the Estate tab, at the lower right hand corner, clicking the 'Add' button and picking an avatar.
...
* It only persists across reboots for the mySQL datastore currently.
* Currently have stubs in the other datastores.
2008-06-21 03:29:08 +00:00
Sean Dague
17fd6cf661
lots of futzing with nhibernate to make it more efficient. I
...
don't think this works, but I don't want to loose the work before
the weekend, and it doesn't break the build.
2008-06-20 20:23:55 +00:00
Teravus Ovares
4448fd4b2f
* Handle parcel telehub location corruption gracefully. DBNull
...
* mySQL this time.
2008-06-20 18:46:43 +00:00
Teravus Ovares
f8b1785467
* Handle parcel telehub location corruption gracefully. DBNull
2008-06-20 17:07:01 +00:00
Sean Dague
ccc2adb331
fixed to inventory for nhibernate that actually make it so I can
...
log in using it as the driver for users, assets, inventory. User
driver is still missing a lot of function.
2008-06-19 22:11:04 +00:00
Sean Dague
c2e2997a99
more work towards nhibernate working with mysql, not there yet,
...
but moving in the right direction.
2008-06-19 21:20:23 +00:00
Sean Dague
40f32a9271
oops, build break. needed to include another reference.
2008-06-19 15:44:33 +00:00
Sean Dague
d28a5a4de7
add migrations support for mysql log store. This should complete
...
all the mysql bits for migration.
2008-06-19 15:42:57 +00:00
Sean Dague
fcd7cf5e4a
fix an edge case with migrations in the region store.
...
Add migration support to gridstore.
2008-06-19 15:03:00 +00:00
Sean Dague
c2dc1636a6
oops, it helps to reference the *right* migration
2008-06-19 14:46:54 +00:00
Sean Dague
6dea8f3435
clean up the nhibernate definitions to work with mysql
...
integrate migration support into nhibernate
2008-06-18 21:14:19 +00:00
Sean Dague
b58dc7fb33
add mysql migrations for nhibernate driver
2008-06-18 21:08:16 +00:00
Sean Dague
6711adb8b1
add inventory store migration
2008-06-18 20:51:42 +00:00
Sean Dague
be79b56cc3
I really didn't expect that one to work out of the box, but just managed
...
to get NHibernate + MySQL + Assets working.
2008-06-16 19:58:48 +00:00
Sean Dague
bdb0dddfcf
set CommandTimeout = 0 in the migration commands so that long
...
migrations (like converting asset ids) don't run into the
normal 30 second kill switch.
2008-06-16 19:39:08 +00:00
Sean Dague
e1409e0c04
be a bit more verbose about what we are doing on the migration
...
side so that people don't think we're hung.
2008-06-16 19:33:08 +00:00
Sean Dague
340ef33e2e
fix nhibernate driver so that it starts (based on the appearance
...
changes it wouldn't come up).
include embedded dialect specific sql files for nhibernate migrations
figure out how to get the raw db connection so that migrations can
work with nhibernate.
create initial migration for NHibernate + SQLite + Assets.
2008-06-16 19:22:00 +00:00
Sean Dague
caa6b8467d
futzing around on the NHibernate side again trying to connect
...
migrations into it.
2008-06-16 18:53:55 +00:00
Sean Dague
94034d665d
change some messages on the migrations front to be
...
more clear
2008-06-16 16:03:37 +00:00
Sean Dague
ec78a2871b
the beginning of the great id format migration. This makes
...
asset uuids no longer binary. I've tested this migration a
few times, and it seems working in all the scenarios I've found
but it wouldn't hurt to backup your asset db before running this
as it does touch a very sensitive part of our content system.
2008-06-16 14:10:51 +00:00
Sean Dague
6c23acf41b
add indexes for sqlite inventory
2008-06-13 14:27:46 +00:00
Jeff Ames
64f01ade04
Update svn properties, clean up formatting, refactor out duplicate hard-coded port numbers.
2008-06-13 00:21:53 +00:00
Sean Dague
1451d6fb9a
look mom, migrations in action. This adds a couple of indexes
...
to mysql regions that should help on performance of some of the
selects. We should start capturing more data on performance bits
to figure out where else we are missing indexes and add them via
migrations as well.
2008-06-12 20:48:06 +00:00
Sean Dague
202a4bec13
Fix mysql migrations. This is tested with an existing up to date schema,
...
and no schema. It should also work with a non up to date schema as well.
Btw, meetings in which I can get code done are the right kind of meetings.
2008-06-12 18:44:58 +00:00
Justin Clarke Casey
7cdedcaf0e
* minor: Remove and tidy duplicate 'storing object to scene' messages in log
2008-06-12 18:18:59 +00:00
Sean Dague
e1140a4f9b
this, in theory, adds migration support to mysql for all
...
data sources besides the grid store. It is only lightly tested
so the less adventurous should wait a couple of checkins before
upgrading.
2008-06-12 15:47:33 +00:00
Sean Dague
cee071ea60
check in region store initial migration definition,
...
now on to integrating this approach into the mysql
driver. Beware the next couple of checkins.
2008-06-12 15:21:34 +00:00
Sean Dague
4387744a78
check in migration files for mysql
2008-06-12 14:44:52 +00:00
Sean Dague
6c1fce6147
check in working migration code fore SQLite. This
...
is now using migrations instead of the old model to
create tables. Tested for existing old tables,
and for creating new ones.
2008-06-11 21:01:33 +00:00
Sean Dague
68b98aecab
updated resources for current sqlite schema for migrations
2008-06-11 20:04:01 +00:00
Charles Krinke
aba396cb32
Mantis#1528. Thank you kindly, Boscata for:
...
MSSQL Avatar appearance solved.
Appearance functions and modified table.
2008-06-11 13:57:32 +00:00
Sean Dague
be400d1bd0
I'm going to need the Version property to manage
...
migrating from the old to the new system. Silly legacy
code.
2008-06-10 23:17:18 +00:00
Sean Dague
68cda63761
update of migration code to be more sane on version
...
tracking, and support sub types that we'll need for
nhibernate.
2008-06-10 22:57:20 +00:00
Charles Krinke
53cc63e243
Mantis#1501. Thank you kindly, Nebadon, for a patch that
...
addresses the 'terrain fill 0' error.
2008-06-10 16:02:18 +00:00
Jeff Ames
5910a49da6
Update svn properties. Formatting cleanup.
2008-06-10 08:35:46 +00:00
Sean Dague
c62f081380
actually create and populate the migrations table correctly.
2008-06-09 22:20:28 +00:00
Sean Dague
69fb4ee208
migrations seem to not break anything at this point.
...
Tomorrow I'll start trying to integrate them into sqlite
to see if this works right for table migration.
2008-06-09 22:01:21 +00:00
Sean Dague
504ab4477d
move Migration support into OpenSim.Data, because it
...
really turned out to be small enough to not need it's own
assembly
2008-06-09 21:40:16 +00:00
Sean Dague
2e2dde71f2
fill out some more migration facilities
2008-06-09 19:37:13 +00:00
Sean Dague
c30e9ff0f1
more work in progress migration code, still a while before
...
this becomes useful
2008-06-09 19:11:49 +00:00
Sean Dague
283cc90566
start in on the shell for a generic database versioning module. My
...
intent is to create an easier way to manage database table versions
like the model used for ruby on rails migrations.
2008-06-09 18:24:07 +00:00
mingchen
c3292a9afa
*Patched CreateItemsTable.sql (MSSQL). Patch by Kyle and Chris from G2.
2008-06-09 14:48:28 +00:00
mingchen
de0bd2b5a0
MSSQL Inventory Fix. Patch by Kyle and Chris from G2
2008-06-06 00:56:51 +00:00
Charles Krinke
c289c2b6d4
Mantis#1450. Thank you kindly, Boscata for a patch that addresses:
...
I have detected a bug of conversion data type in OpenSim.Data.MSSQL.MSSQLInventoryData.addInventoryItem(InventoryItemBase item)
in the GroupOwned field.
My sollution is to change the flield to bit in the table. In the
readInventoryItem(IDataReader reader) change too item.Flags =
(uint) reader["flags"]; to item.Flags = Convert.ToUInt32(reader["flags"]);
Now Inventory runs fine.
2008-06-05 13:57:58 +00:00
Jeff Ames
4ec4e16c80
Formatting cleanup, minor refactoring, svn properties.
2008-06-04 09:59:27 +00:00
Justin Clarke Casey
4453c8bc5c
* experimental: Make OpenSim archiver save and reload all prim textures when not all faces have the same texture
2008-06-02 17:23:13 +00:00
Justin Clarke Casey
0c21f90ba7
* Duh, actually returning from the CreateAsset method once we know the asset exists would be better than carrying on
2008-05-31 21:54:13 +00:00
Justin Clarke Casey
7752211376
* Remove the mysql logging noise I accidentally left in a few commits ago
2008-05-31 21:53:17 +00:00