Improved usage of FunctionLibrary by introducing a proxy class like already do in Metadata.

git-svn-id: http://orient.googlecode.com/svn/trunk@7009 3625ad7b-9c83-922f-a72b-73d79161f2ea
Minor: fixed type in exception

git-svn-id: http://orient.googlecode.com/svn/trunk@7010 3625ad7b-9c83-922f-a72b-73d79161f2ea
Created new SQL CREATE FUNCTION command

git-svn-id: http://orient.googlecode.com/svn/trunk@7011 3625ad7b-9c83-922f-a72b-73d79161f2ea
Improved usage of FunctionLibrary by introducing a proxy class like already do in Metadata.

git-svn-id: http://orient.googlecode.com/svn/trunk@7012 3625ad7b-9c83-922f-a72b-73d79161f2ea
Created new SQL CREATE FUNCTION command

git-svn-id: http://orient.googlecode.com/svn/trunk@7013 3625ad7b-9c83-922f-a72b-73d79161f2ea
Implemented SQL Script Engine to execute pure SQL functions without the overhead of JS

git-svn-id: http://orient.googlecode.com/svn/trunk@7014 3625ad7b-9c83-922f-a72b-73d79161f2ea
Implementation of distributed SQL queries.

git-svn-id: http://orient.googlecode.com/svn/trunk@7015 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fix on NPE

git-svn-id: http://orient.googlecode.com/svn/trunk@7016 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed bugs in OObjectDatabaseTx class that used the local cache inherited by old class

git-svn-id: http://orient.googlecode.com/svn/trunk@7017 3625ad7b-9c83-922f-a72b-73d79161f2ea
Minor: reordered global parameters

git-svn-id: http://orient.googlecode.com/svn/trunk@7018 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed bug on management of vararg parameters: Rhino has a crazy management about Java objects... Used arrays!

git-svn-id: http://orient.googlecode.com/svn/trunk@7020 3625ad7b-9c83-922f-a72b-73d79161f2ea
Changed the time of EXPLAIN from ms to seconds giving the precision to the nanosecond.

git-svn-id: http://orient.googlecode.com/svn/trunk@7021 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issue 1115: Implemented the shortest path algorithm

git-svn-id: http://orient.googlecode.com/svn/trunk@7022 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issue 1115: Implemented the shortest path algorithm

git-svn-id: http://orient.googlecode.com/svn/trunk@7023 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed bug on remote invocation of functions

git-svn-id: http://orient.googlecode.com/svn/trunk@7025 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issue 1124: dates are always in UTC format but specified. Introduced the new optional parameter "timezone" in SQL function date() and sysdate(). Example:

date('2012-10-19 00:51:56', 'yyyy-MM-dd HH:mm:ss', 'UTC')

and

sysdate('yyyy-MM-dd HH:mm:ss', 'UTC')


git-svn-id: http://orient.googlecode.com/svn/trunk@7026 3625ad7b-9c83-922f-a72b-73d79161f2ea
Improved response of functions in case of record/records: they are always wrapped in a {result:[]}

git-svn-id: http://orient.googlecode.com/svn/trunk@7027 3625ad7b-9c83-922f-a72b-73d79161f2ea
Minor: fixed bugs reported by Pawel about a more strict syntax check in CREATE CLASS command

git-svn-id: http://orient.googlecode.com/svn/trunk@7030 3625ad7b-9c83-922f-a72b-73d79161f2ea
Minor: made protected the check for continue the path finding

git-svn-id: http://orient.googlecode.com/svn/trunk@7031 3625ad7b-9c83-922f-a72b-73d79161f2ea
Minor: fixed bugs reported by Pawel about a more strict syntax check in CREATE CLASS command

git-svn-id: http://orient.googlecode.com/svn/trunk@7032 3625ad7b-9c83-922f-a72b-73d79161f2ea