mirror of
https://github.com/kcozens/OpenSimSearch.git
synced 2026-08-14 08:52:28 +00:00
Add new infouuid field
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@22 109abde3-1f22-4c10-b5d7-b6b0135cd00c
This commit is contained in:
+5
-1
@@ -119,6 +119,9 @@ function parse($hostname, $port)
|
||||
$parceluuid =
|
||||
$value->getElementsByTagName("uuid")->item(0)->nodeValue;
|
||||
|
||||
$infouuid =
|
||||
$value->getElementsByTagName("infouuid")->item(0)->nodeValue;
|
||||
|
||||
$parcellanding =
|
||||
$value->getElementsByTagName("location")->item(0)->nodeValue;
|
||||
|
||||
@@ -150,7 +153,8 @@ function parse($hostname, $port)
|
||||
mysql_escape_string($parcelbuild) . "','" .
|
||||
mysql_escape_string($parcelscript) . "','" .
|
||||
mysql_escape_string($parcelpublic) . "','".
|
||||
mysql_escape_string($dwell) . "' )");
|
||||
mysql_escape_string($dwell) . "','".
|
||||
mysql_escape_string($infouuid) . "' )");
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ function dir_places_query($method_name, $params, $app_data)
|
||||
while (($row = mysql_fetch_assoc($result)))
|
||||
{
|
||||
$data[] = array(
|
||||
"parcel_id" => $row["parcelUUID"],
|
||||
"parcel_id" => $row["infouuid"],
|
||||
"name" => $row["parcelname"],
|
||||
"for_sale" => "False",
|
||||
"auction" => "False",
|
||||
|
||||
@@ -59,6 +59,7 @@ CREATE TABLE `parcels` (
|
||||
`script` enum('yes','no') NOT NULL,
|
||||
`public` enum('yes','no') NOT NULL,
|
||||
`dwell` float NOT NULL default '0',
|
||||
`infouuid` varchar(255) NOT NULL default '',
|
||||
PRIMARY KEY (`regionUUID`,`parcelUUID`),
|
||||
KEY `name` (`parcelname`),
|
||||
KEY `description` (`description`),
|
||||
@@ -90,4 +91,4 @@ CREATE TABLE `regions` (
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2008-10-05 12:30:41
|
||||
-- Dump completed on 2008-10-06 0:23:49
|
||||
|
||||
Reference in New Issue
Block a user