aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers
diff options
context:
space:
mode:
authoronefang2019-08-07 07:45:44 +1000
committeronefang2019-08-07 07:45:44 +1000
commit1b7c8cf7b54da6e1a59f9fc1039e78189be3815e (patch)
treea33760c8845aea5957f0c2d7ccf92b47fddbf8f1 /OpenSim/Server/Handlers
parentSwap out MySQLGenericHandler and swap in MySQLRaw. (diff)
downloadopensim-SC-1b7c8cf7b54da6e1a59f9fc1039e78189be3815e.zip
opensim-SC-1b7c8cf7b54da6e1a59f9fc1039e78189be3815e.tar.gz
opensim-SC-1b7c8cf7b54da6e1a59f9fc1039e78189be3815e.tar.bz2
opensim-SC-1b7c8cf7b54da6e1a59f9fc1039e78189be3815e.tar.xz
Testing MySQLRaw's SELECT.
Diffstat (limited to 'OpenSim/Server/Handlers')
-rw-r--r--OpenSim/Server/Handlers/Web/WebServerInConnector.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Web/WebServerInConnector.cs b/OpenSim/Server/Handlers/Web/WebServerInConnector.cs
index bc34bae..568b7d6 100644
--- a/OpenSim/Server/Handlers/Web/WebServerInConnector.cs
+++ b/OpenSim/Server/Handlers/Web/WebServerInConnector.cs
@@ -212,6 +212,17 @@ namespace OpenSim.Server.Handlers.Web
212 reply["str_response_string"] = loggedOnPage(body, fields); 212 reply["str_response_string"] = loggedOnPage(body, fields);
213 } 213 }
214 } 214 }
215 else if ("list" == fields["doit"].ToString())
216 {
217 List< Hashtable > rows = m_database.Select("GridUser", "Login > UNIX_TIMESTAMP(FROM_UNIXTIME(UNIX_TIMESTAMP(now()) - 2419200))");
218 foreach (Hashtable row in rows)
219 {
220 string line = "";
221 foreach (DictionaryEntry c in row)
222 line = line + " | " + (string) c.Value;
223 m_log.Info("[MariaDB RAW]: " + line);
224 }
225 }
215 else 226 else
216 { 227 {
217 reply["str_response_string"] = loggedOnPage(body, fields); 228 reply["str_response_string"] = loggedOnPage(body, fields);