mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
bad merge?
This commit is contained in:
@@ -88,15 +88,3 @@ CREATE TABLE IF NOT EXISTS userdata (
|
||||
|
||||
commit;
|
||||
|
||||
|
||||
:VERSION 3 # -------------------------------
|
||||
|
||||
begin;
|
||||
CREATE TABLE IF NOT EXISTS usersettings (
|
||||
useruuid char(36) NOT NULL,
|
||||
imviaemail binary(1) NOT NULL,
|
||||
visible binary(1) NOT NULL,
|
||||
email varchar(254) NOT NULL,
|
||||
PRIMARY KEY (useruuid)
|
||||
)
|
||||
commit;
|
||||
@@ -131,7 +131,7 @@ namespace OpenSim.Data.SQLite
|
||||
/// Create an asset
|
||||
/// </summary>
|
||||
/// <param name="asset">Asset Base</param>
|
||||
override public void StoreAsset(AssetBase asset)
|
||||
override public bool StoreAsset(AssetBase asset)
|
||||
{
|
||||
string assetName = asset.Name;
|
||||
if (asset.Name.Length > AssetBase.MAX_ASSET_NAME)
|
||||
@@ -171,6 +171,7 @@ namespace OpenSim.Data.SQLite
|
||||
cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data));
|
||||
|
||||
cmd.ExecuteNonQuery();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -191,6 +192,7 @@ namespace OpenSim.Data.SQLite
|
||||
cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data));
|
||||
|
||||
cmd.ExecuteNonQuery();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2013,6 +2013,7 @@ namespace OpenSim.Data.SQLite
|
||||
return entry;
|
||||
}
|
||||
|
||||
/*
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
@@ -2944,6 +2945,11 @@ namespace OpenSim.Data.SQLite
|
||||
}
|
||||
}
|
||||
|
||||
public UUID[] GetObjectIDs(UUID regionID)
|
||||
{
|
||||
return new UUID[0];
|
||||
}
|
||||
|
||||
public void SaveExtra(UUID regionID, string name, string value)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -82,5 +82,10 @@ namespace OpenSim.Data.SQLite
|
||||
return DoQuery(cmd);
|
||||
}
|
||||
}
|
||||
|
||||
public UserAccountData[] GetUsersWhere(UUID scopeID, string where)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -741,6 +741,7 @@ namespace OpenSim.Data.SQLite
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
public bool UpdateUserPreferences(ref UserPreferences pref, ref string result)
|
||||
{
|
||||
string query = string.Empty;
|
||||
@@ -825,6 +826,7 @@ namespace OpenSim.Data.SQLite
|
||||
}
|
||||
return true;
|
||||
}
|
||||
*/
|
||||
|
||||
public bool GetUserAppData(ref UserAppData props, ref string result)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user