aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/share/perl/lib/OpenSim/GridServer/Config.pm
blob: dc72e5abc765b71d1a3816238e296afbe70398c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package OpenSim::GridServer::Config;

use strict;

our %SYS_SQL = (
	select_region_by_uuid =>
	"SELECT * FROM regions WHERE uuid=?",
	select_region_by_handle =>
	"SELECT * FROM regions WHERE regionHandle=?",
	select_region_list =>
	"SELECT * FROM regions WHERE locX>=? AND locX<? AND locY>=? AND locY<?",
	select_region_list2 =>
	"SELECT * FROM regions WHERE locX>=? AND locX<? AND locY>=? AND locY<?",
	insert_region =>
	"INSERT INTO regions VALUES (?????????)",
	delete_all_regions =>
	"delete from regions",
);


our @REGIONS_COLUMNS = (
	"uuid",
	"regionHandle",
	"regionName",
	"regionRecvKey",
	"regionSendKey",
	"regionSecret",
	"regionDataURI",
	"serverIP",
	"serverPort",
	"serverURI",
	"locX",
	"locY",
	"locZ",
	"eastOverrideHandle",
	"westOverrideHandle",
	"southOverrideHandle",
	"northOverrideHandle",
	"regionAssetURI",
	"regionAssetRecvKey",
	"regionAssetSendKey",
	"regionUserURI",
	"regionUserRecvKey",
	"regionUserSendKey",
	"regionMapTexture",
	"serverHttpPort",
	"serverRemotingPort",
);

1;