diff options
author | Sean Dague | 2007-11-14 16:08:10 +0000 |
---|---|---|
committer | Sean Dague | 2007-11-14 16:08:10 +0000 |
commit | ccd08ae3d02086f434a611161e8e631d5c4ea84c (patch) | |
tree | cf90c1033b4d8379fffbbe385aa72fa2a0cf0428 /OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite | |
parent | get rid of parametrized query, in case this is the .NET issue (I hope not) (diff) | |
download | opensim-SC_OLD-ccd08ae3d02086f434a611161e8e631d5c4ea84c.zip opensim-SC_OLD-ccd08ae3d02086f434a611161e8e631d5c4ea84c.tar.gz opensim-SC_OLD-ccd08ae3d02086f434a611161e8e631d5c4ea84c.tar.bz2 opensim-SC_OLD-ccd08ae3d02086f434a611161e8e631d5c4ea84c.tar.xz |
remove limit stanza, see if this helps.
Diffstat (limited to 'OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index f2db41c..60bef13 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | |||
@@ -269,7 +269,7 @@ namespace OpenSim.DataStore.MonoSqlite | |||
269 | double[,] terret = new double[256,256]; | 269 | double[,] terret = new double[256,256]; |
270 | terret.Initialize(); | 270 | terret.Initialize(); |
271 | String sql = "select RegionUUID, Revision, Heightfield from terrain" + | 271 | String sql = "select RegionUUID, Revision, Heightfield from terrain" + |
272 | " where RegionUUID='" + regionID.ToString() + "' order by Revision desc limit 1"; | 272 | " where RegionUUID='" + regionID.ToString() + "' order by Revision desc"; |
273 | 273 | ||
274 | using (IDbCommand cmd = conn.CreateCommand()) | 274 | using (IDbCommand cmd = conn.CreateCommand()) |
275 | { | 275 | { |