diff options
author | Diva Canto | 2011-04-30 20:27:17 -0700 |
---|---|---|
committer | Diva Canto | 2011-04-30 20:27:17 -0700 |
commit | 60e4c4e3e2512e9a202d3c328402332eff970c7b (patch) | |
tree | 4bc7442847a170114d93d53966d0c62d47083d1a /OpenSim/Data/MSSQL/Resources/Avatar.migrations | |
parent | Increased the timeouts here too. They were very low. (diff) | |
parent | Added MrMonkE to the contributors. Fixed contributors. (diff) | |
download | opensim-SC_OLD-60e4c4e3e2512e9a202d3c328402332eff970c7b.zip opensim-SC_OLD-60e4c4e3e2512e9a202d3c328402332eff970c7b.tar.gz opensim-SC_OLD-60e4c4e3e2512e9a202d3c328402332eff970c7b.tar.bz2 opensim-SC_OLD-60e4c4e3e2512e9a202d3c328402332eff970c7b.tar.xz |
Merge branch '0.7.1-dev' of ssh://opensimulator.org/var/git/opensim into 0.7.1-dev
Diffstat (limited to 'OpenSim/Data/MSSQL/Resources/Avatar.migrations')
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/Avatar.migrations | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/OpenSim/Data/MSSQL/Resources/Avatar.migrations b/OpenSim/Data/MSSQL/Resources/Avatar.migrations index 759e939..5364153 100644 --- a/OpenSim/Data/MSSQL/Resources/Avatar.migrations +++ b/OpenSim/Data/MSSQL/Resources/Avatar.migrations | |||
@@ -13,5 +13,28 @@ PRIMARY KEY CLUSTERED | |||
13 | ) ON [PRIMARY] | 13 | ) ON [PRIMARY] |
14 | 14 | ||
15 | 15 | ||
16 | COMMIT | ||
17 | |||
18 | :VERSION 2 | ||
19 | |||
20 | BEGIN TRANSACTION | ||
21 | |||
22 | CREATE TABLE dbo.Tmp_Avatars | ||
23 | ( | ||
24 | PrincipalID uniqueidentifier NOT NULL, | ||
25 | [Name] varchar(32) NOT NULL, | ||
26 | Value text NOT NULL DEFAULT '', | ||
27 | ) ON [PRIMARY] | ||
28 | TEXTIMAGE_ON [PRIMARY] | ||
29 | |||
30 | IF EXISTS(SELECT * FROM dbo.Avatars) | ||
31 | EXEC('INSERT INTO dbo.Tmp_Avatars (PrincipalID, Name, Value) | ||
32 | SELECT PrincipalID, CONVERT(text, Name), Value FROM dbo.Avatars WITH (HOLDLOCK TABLOCKX)') | ||
33 | |||
34 | DROP TABLE dbo.Avatars | ||
35 | |||
36 | EXECUTE sp_rename N'dbo.Tmp_Avatars', N'Avatars', 'OBJECT' | ||
37 | |||
38 | COMMIT | ||
39 | |||
16 | 40 | ||
17 | COMMIT \ No newline at end of file | ||