diff options
author | Justin Clark-Casey (justincc) | 2011-05-27 22:54:03 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-05-27 22:54:59 +0100 |
commit | 28cd03cda5c4beae2befeaef116b54dbd344c636 (patch) | |
tree | 12c96c8cd0241af2d9f1f69a246f9551b4fe0d2d | |
parent | Fixed one comment in a config file. (diff) | |
download | opensim-SC-28cd03cda5c4beae2befeaef116b54dbd344c636.zip opensim-SC-28cd03cda5c4beae2befeaef116b54dbd344c636.tar.gz opensim-SC-28cd03cda5c4beae2befeaef116b54dbd344c636.tar.bz2 opensim-SC-28cd03cda5c4beae2befeaef116b54dbd344c636.tar.xz |
fix bug where generic sqlite table delete wasn't working.
this would have caused dupe links bugs when using the sqlite adaptor
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs b/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs index 3fb2d3f..0d7ae1f 100644 --- a/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs +++ b/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs | |||
@@ -280,7 +280,7 @@ namespace OpenSim.Data.SQLite | |||
280 | 280 | ||
281 | string where = String.Join(" and ", terms.ToArray()); | 281 | string where = String.Join(" and ", terms.ToArray()); |
282 | 282 | ||
283 | string query = String.Format("delete * from {0} where {1}", m_Realm, where); | 283 | string query = String.Format("delete from {0} where {1}", m_Realm, where); |
284 | 284 | ||
285 | cmd.CommandText = query; | 285 | cmd.CommandText = query; |
286 | 286 | ||