VServer API_way
Ruslan Zasukhin
ruslan_zasukhin at valentina-db.com
Fri May 11 01:05:30 CDT 2012
On 5/4/12 11:51 PM, "Marek Niesiobedzki" <nm at studionm.pl> wrote:
Hi Marek,
* note that exists SQL command
REGISTER DATABASE ...
You can check details in
http://valentina-db.com/dokuwiki/doku.php?id=valentina:vcomponents:vsql:refe
rence:reference
> Hi Ruslan,
>
> I'm playing only with 5.0 beta versions.It's too complicated to switch between
> versions, and newer sure if problems doesn't come from mixed between versions
> files.
>
> In V4REV Reference file must be bug:
>
> VServer_RegisterDtabase( svrRef, inDbName, [inServerFullPath = ""] )
>
> where:
> inDbName - the name of database (dbName.vdb works; dbName don't work)
> inServerFullPath - the full path of the DB located on the server computer
>
> I was checking all possibilities:
> 1. inServerFullPath = ""; inDbName = dbName.vdb works
> inServerFullPath = ""; inDbName = dbName don't work (dbName without
> extension)
I think this is okay, because vserver must get path as
databases/dbname.vdb
> 2. inDbName = dbName (with or without ext); inServerFullPath = any possible
> paths:
> /Library/VServer_x64/databases/dbName.vdb
> /databases/dbName.vdb
> dbName.vdb
This works fine?
=======
> Next bug I found - there is execution error in the script using step:
> put VServer_GetVariable( mSrv, "CacheSize") into tMes
> with "CacheSize" - or any other Server Variable
Hmm, this is part of example/Vserver.rev
Right?
Kirill yesterday have check all V4REV examples
Correcting them to work with vserver right
Lets see in b29
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina-beta
mailing list