Fixed problem with server's database path

git-svn-id: http://orient.googlecode.com/svn/trunk@5947 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed reuse of Data Segment as bug reported by Ford in ML

git-svn-id: http://orient.googlecode.com/svn/trunk@5949 3625ad7b-9c83-922f-a72b-73d79161f2ea
Committed patch by Artyom

git-svn-id: http://orient.googlecode.com/svn/trunk@5950 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed problem with server's database path

git-svn-id: http://orient.googlecode.com/svn/trunk@5951 3625ad7b-9c83-922f-a72b-73d79161f2ea
Patch by Ford on reuse of data-segments + empty position management

git-svn-id: http://orient.googlecode.com/svn/trunk@5952 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issue #916. Refactored the entire way to parse SQL commands. Only few converted but now it's much simpler, readable and efficient to create a new SQL command.

git-svn-id: http://orient.googlecode.com/svn/trunk@5953 3625ad7b-9c83-922f-a72b-73d79161f2ea
Changed db cfg storage file from mmap to classic

git-svn-id: http://orient.googlecode.com/svn/trunk@5954 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed many problems on clustering and alignment. Now everything seems to work even in case of crashes

git-svn-id: http://orient.googlecode.com/svn/trunk@5955 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fix by Ford on create class command to get multiple cluster ids

git-svn-id: http://orient.googlecode.com/svn/trunk@5956 3625ad7b-9c83-922f-a72b-73d79161f2ea
I reverted last changes to leave things like before: the database MUST be unique in a server. In case of databases with the same name in multiple servers, the user can use the $ as separator instead of /.

OrientDB will convert $ to / at file system level, but it will register 2 different database. Example:

db1 = test/customers
db2 = production/customers

The database must be opened as:

new ODatabaseDocumentTx("remote:localhost/test$customers");
new ODatabaseDocumentTx("remote:localhost/production$customers");

git-svn-id: http://orient.googlecode.com/svn/trunk@5957 3625ad7b-9c83-922f-a72b-73d79161f2ea
Restored missed MVCC check on update and delete

git-svn-id: http://orient.googlecode.com/svn/trunk@5958 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fix for bug with MVCC enabled

git-svn-id: http://orient.googlecode.com/svn/trunk@5959 3625ad7b-9c83-922f-a72b-73d79161f2ea
Improved management of cluster-wide alignment during node startup

git-svn-id: http://orient.googlecode.com/svn/trunk@5962 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed "findbyreference" command with sub queries. Added one more test case

git-svn-id: http://orient.googlecode.com/svn/trunk@5963 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed bug on null fields passed by STUDIO

git-svn-id: http://orient.googlecode.com/svn/trunk@5964 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed cluster-wide UPDATE

git-svn-id: http://orient.googlecode.com/svn/trunk@5965 3625ad7b-9c83-922f-a72b-73d79161f2ea
Merge remote-tracking branch 'origin/master' into new-mmap-manager

Conflicts:
	client/src/main/java/com/orientechnologies/orient/client/remote/OStorageRemote.java
	core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLDelete.java
	core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLFindReferences.java
	core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLInsert.java
	core/src/main/java/com/orientechnologies/orient/core/sql/filter/OSQLPredicate.java
	tests/src/test/java/com/orientechnologies/orient/test/internal/index/IndexConcurrencyTest.java
merge with master + adding property to control which version of JNA to use