aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-02-19 18:31:45 +0000
committerJustin Clarke Casey2009-02-19 18:31:45 +0000
commit631e10f269210cc352acc453fe04f56343c73360 (patch)
treeaa38818eb01549179f0f90322b8cd5c0a249c5d1 /OpenSim/Data/NHibernate/Resources/MsSql2005Dialect
parent* It think it actually works now. Only that AssetService weirdness left to fix. (diff)
downloadopensim-SC-631e10f269210cc352acc453fe04f56343c73360.zip
opensim-SC-631e10f269210cc352acc453fe04f56343c73360.tar.gz
opensim-SC-631e10f269210cc352acc453fe04f56343c73360.tar.bz2
opensim-SC-631e10f269210cc352acc453fe04f56343c73360.tar.xz
* Apply http://opensimulator.org/mantis/view.php?id=3151
* Fixes NHibernate overflow exception when saving some objects (under at least PostgreSQL 8.3) * Thanks Tommil!
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources/MsSql2005Dialect')
-rw-r--r--OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_InventoryStore.sql2
-rw-r--r--OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_RegionStore.sql10
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_InventoryStore.sql b/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_InventoryStore.sql
index 37ba733..82936c4 100644
--- a/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_InventoryStore.sql
+++ b/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_InventoryStore.sql
@@ -1,7 +1,7 @@
1create table InventoryFolders ( 1create table InventoryFolders (
2 ID NVARCHAR(255) not null, 2 ID NVARCHAR(255) not null,
3 Type SMALLINT null, 3 Type SMALLINT null,
4 Version SMALLINT null, 4 Version INT null,
5 ParentID NVARCHAR(255) null, 5 ParentID NVARCHAR(255) null,
6 Owner NVARCHAR(255) null, 6 Owner NVARCHAR(255) null,
7 Name NVARCHAR(64) null, 7 Name NVARCHAR(64) null,
diff --git a/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_RegionStore.sql b/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_RegionStore.sql
index 56ad905..f388f1a 100644
--- a/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_RegionStore.sql
+++ b/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_RegionStore.sql
@@ -49,8 +49,8 @@ create table Prims (
49 ScaleY REAL null, 49 ScaleY REAL null,
50 ScaleZ REAL null, 50 ScaleZ REAL null,
51 PCode TINYINT null, 51 PCode TINYINT null,
52 PathBegin SMALLINT null, 52 PathBegin INT null,
53 PathEnd SMALLINT null, 53 PathEnd INT null,
54 PathScaleX TINYINT null, 54 PathScaleX TINYINT null,
55 PathScaleY TINYINT null, 55 PathScaleY TINYINT null,
56 PathShearX TINYINT null, 56 PathShearX TINYINT null,
@@ -62,10 +62,10 @@ create table Prims (
62 PathTaperX TINYINT null, 62 PathTaperX TINYINT null,
63 PathTaperY TINYINT null, 63 PathTaperY TINYINT null,
64 PathTwist TINYINT null, 64 PathTwist TINYINT null,
65 ProfileBegin SMALLINT null, 65 ProfileBegin INT null,
66 ProfileEnd SMALLINT null, 66 ProfileEnd INT null,
67 ProfileCurve TINYINT null, 67 ProfileCurve TINYINT null,
68 ProfileHollow SMALLINT null, 68 ProfileHollow INT null,
69 Texture VARBINARY(8000) null, 69 Texture VARBINARY(8000) null,
70 ExtraParams VARBINARY(8000) null, 70 ExtraParams VARBINARY(8000) null,
71 State TINYINT null, 71 State TINYINT null,