Commit Graph

846 Commits

Author SHA1 Message Date
UbitUmarov
44993550a8 store the physics inertia override in SQlite 2017-04-01 18:15:47 +01:00
UbitUmarov
443fc60cdf store the physics inertia override in Mysql and add it to serializer. run prebuild is required 2017-04-01 17:49:17 +01:00
Melanie Thielker
680231d7e7 Make the MySqlGeneric layer transaction aware 2017-03-31 14:38:41 +01:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Melanie Thielker
53fe204eed Create all tables ad InnoDB by default
MyISAM isn't properly replicated using row based replication. With the
advances in clustering, these systems are becoming more prevalent and
MyISAM isn't up to the task anymore.
2017-01-05 13:35:13 +00:00
Mandarinka Tasty
7c566dca5a The new Constant: integer OBJECT_REZZER_KEY = 32;
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-04 17:18:56 +00:00
UbitUmarov
29f6e3fc7b fix a typo in dbs region range 2016-12-01 04:08:42 +00:00
AliciaRaven
017069636a Increase float precision for windlight needed by scripts. mySQL Migration on regionwindlight table.
mySQL was setup to store smaller values because the viewers editor capped input, scripts can set higher precision so settings could change on region restart. This change brings mySQL more inline with PGSQL which uses doubles for all windlight floats.
2016-11-26 01:15:10 +00:00
UbitUmarov
5202ae7bb4 revert changes to asset desc size, my bad.. this field will possible go away in future 2016-11-24 14:39:08 +00:00
UbitUmarov
7524c7729f change asset description max size 2016-11-22 01:34:07 +00:00
UbitUmarov
d1baa3e0c3 fix some invalid string.format arguments 2016-11-09 22:39:52 +00:00
UbitUmarov
46dd899d9e MySQLFSAssetData asset type is a int not a varchar 2016-09-27 21:29:09 +01:00
UbitUmarov
9b2f186a8c MySQLFSAssetData on store, if a asset already exists, assume its a valid store or regions will keep retry. The other DBs do replace the item, why doesn't FS do the same? 2016-09-27 21:10:01 +01:00
UbitUmarov
71bd3ce49f add load baked terrain methods 2016-09-17 16:42:40 +01:00
UbitUmarov
3f9f105295 add to databases a table to store baked terrain. 2016-09-17 15:45:11 +01:00
AliciaRaven
f8ac3d9464 Minor, remove unused OSDMap declaration in MySQL profiles 2016-09-15 18:42:28 +01:00
UbitUmarov
5d5bad5fc1 workaround potencial memory leaks 2016-08-22 06:03:39 +01:00
Diva Canto
8a070f16dd Mantis #7848: something wrong with a data field in Groups V2 2016-06-17 12:40:04 -07:00
AliciaRaven
3ff19a8ac3 Fix missing id parameter in FSAssets database connector when updating Access time. 2016-04-05 21:52:28 +01:00
Kevin Cozens
2cfe848ceb Correct case in the names of the Avatar and Friends tables 2016-03-24 16:43:27 -04:00
Melanie Thielker
548b741130 Correct the case of the Presence table 2016-03-22 23:05:31 +01:00
Melanie Thielker
de109dbe92 Change casing on UserAccounts 2016-03-22 20:08:46 +01:00
Melanie Thielker
73e527fffc Fix some artefacts that came from merging the OSGrid code. 2016-03-22 20:01:22 +01:00
Melanie Thielker
74c2113bce Port the safer database access and the cure for "Chicken Bones" which
are artefacts that can be created by fsck and would make standard
FSAssets choke. These refinements were tested on OSGrid.
2016-03-05 01:17:42 +01:00
Diva Canto
ab12a14279 Pushed AssemblyVersion up to VersionInfo, so that we don't need to do global replace anymore. 2016-02-21 11:14:02 -08:00
Diva Canto
ded776c86b MySQL migrations: fix one last migration that had been left behind 2016-02-21 07:08:55 -08:00
Diva Canto
134e94a7e9 Flatten migrations for MySQL.
Conflicts:
	OpenSim/Data/MySQL/Resources/RegionStore.migrations
	OpenSim/Data/MySQL/Resources/UserAccount.migrations
2016-02-20 19:27:12 -08:00
Shy Robbiani
01e7fa3095 row format fixed removed to allow creation of regions table
row_format=fixed is not supported by innodb and has broken the creation
of the regions table during the first startup of ROBUST. It must be a
relict from MyISAM. Also removed the probably inappropriate table
comment.

Signed-off-by: Kevin Cozens <kevin@ve3syb.ca>
2015-11-21 20:03:42 -05:00
UbitUmarov
3e25430e3a store rotation axis locks in MySql and SQlite dbs ( others need to be updated also 2015-10-20 18:08:04 +01:00
UbitUmarov
e0de76aa14 put back virtual declarations 2015-09-28 16:47:44 +01:00
UbitUmarov
c6f8b5d682 remove virtual declarations master doesnt have 2015-09-28 11:53:37 +01:00
Kevin Cozens
8c5a2e1e70 Added migration for UserAccounts table. 2015-09-15 21:52:12 -04:00
UbitUmarov
0a67cda224 remove redundant using(){} 2015-09-15 06:28:21 +01:00
UbitUmarov
6b54c741ca try to add a mysql migration to avn 2015-09-14 03:35:01 +01:00
UbitUmarov
cdaed11387 at last we can login and see objects ( friends is dead and disable in
scenepresence)
2015-09-03 18:39:08 +01:00
UbitUmarov
a11edceb00 seems to compile ( tests comented out) 2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af bad merge? 2015-09-01 14:54:35 +01:00
UbitUmarov
50d73873db let mysql be happy with a NULL heighmap ( yeap i made several ) 2015-08-25 12:58:24 +01:00
UbitUmarov
c3e5519bf3 fix db region find by range for varregions ( ignoring others than Mysql) 2015-08-23 18:25:15 +01:00
UbitUmarov
f4719cfe1b fix db region search by a position, for varregions ( ignoring other that
mysql for now )
2015-08-23 18:10:51 +01:00
UbitUmarov
a916ef570e fix mySQL ( ignoring other dbs ) 2015-08-23 01:33:56 +01:00
Oren Hurvitz
aadd5627fe Removed unused code that checked wait_timeout in MySQLEstateData 2015-08-11 07:35:39 +01:00
Melanie Thielker
c7f6e248e8 Correcting errors in previous change: MySQL needs int unsigned, not
unsigned int. PGSQL has no unsigned types, changing to bigint.
2015-07-14 21:22:53 +02:00
Melanie Thielker
7b571a928c Mantis #7629: Change LandFlags column to unsigned. Thanks, Jim! 2015-07-14 21:16:25 +02:00
AliciaRaven
f3f748ed11 Bringing FSAssets more inline with current OpenSim standards. * If no connection string found in assets config, fallback to using default database config * Create database storage interface to allow other db connectors to be written at some point * Add MySQL migrations file to create the initial db table * Added new config option named DaysBetweenAccessTimeUpdates to reduce db load by only updating access times when fetching assets if the last access time was over the threshold. This idea was taken from XAssets service. * Change log message headers to indicate FS assets is the source not just assets
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-07-12 04:03:08 +02:00
Melanie Thielker
a343c07d12 Some cleanup, add prebuild project, correct path 2015-07-11 19:21:32 +02:00
Melanie Thielker
2672637202 Rename for uniformity, add data module 2015-07-11 19:10:39 +02:00
Diva Canto
496f35b4e8 Removing the Store methods in the DB layer of AgentPreferences, as they were simply calling the base ones. 2015-06-14 08:04:25 -07:00
Cinder
3853904b80 Quell three new warnings I introduced with AgentPrefsData, return an empty llsd map instead of an empty llsd block when no AgentPrefs service is available to try and appease Firestorm
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-14 07:59:25 -07:00
Cinder
0fa94f222d Refactor AgentPreferences so that database operations happen centrally. the opensim way.
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13 07:27:42 -07:00