View Issue Details

IDProjectCategoryView StatusLast Update
0009330VALENTINA SERVERSQLpublic2024-09-18 09:02
ReporterChris Zakrewsky Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformINTELOSWindowsOS Version10
Summary0009330: Kernel (13.9) SQL weird parser error - REGISTER DATABASE
DescriptionWhen I am following the example:

   https://valentina-db.com/docs/dokuwiki/v13/doku.php?id=valentina:vcomponents:vsql:reference:register_database

or

   https://valentina-db.com/docs/dokuwiki/v13/doku.php?id=valentina:products:adk:api:vserver_class:master_database_methods#registerdatabase

and issue the SQL:

   REGISTER DATABASE temp_db 'M:\RVS_SHARED_BACKUP\20240303_205133\nomadic2.vdb';

I receive this nonsensical error:

   File "M:\RVS_SHARED_BACKUP\20240303_205133\nomadic2.vdb\temp_db.vdb" does not exist.

Note, the parser, for some mysterious reason, concatenates both parameters!
The same happens for Server_RegisterDatabase() in C API.

Why?
Those are INCOMPATIBLE parameters: the logical name and the absolute path.
TagsNo tags attached.

Activities

Chris Zakrewsky

Chris Zakrewsky

2024-03-06 13:02

reporter  

Screenshot at 2024-03-06 13-48-08.png (71,603 bytes)
Ivan Smahin

Ivan Smahin

2024-03-06 13:30

manager   ~0012324

Last edited: 2024-03-06 15:12

In short:

- It's supposed to be REGISTER DATABASE temp_db 'M:\RVS_SHARED_BACKUP\20240303_205133\';
The WIKI will be fixed

- Most probably we are going to remove external paths feature for db/project on vServer. In other words "the path" will not be used anymore. All dbs/projects must be stored in dedicated folders defined by INI (SYSTEMFOLDER/SYSTEMPROJECTFOLDER)

Issue History

Date Modified Username Field Change
2024-03-06 13:02 Chris Zakrewsky New Issue
2024-03-06 13:02 Chris Zakrewsky File Added: Screenshot at 2024-03-06 13-48-08.png
2024-03-06 13:30 Ivan Smahin Note Added: 0012324
2024-03-06 14:08 Ivan Smahin Note Edited: 0012324
2024-03-06 14:12 Ivan Smahin Note Edited: 0012324
2024-03-06 15:12 Ivan Smahin Note Edited: 0012324
2024-09-18 09:00 Ivan Smahin Relationship added related to 0009400
2024-09-18 09:02 Ivan Smahin Relationship deleted related to 0009400