View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009330 | VALENTINA SERVER | SQL | public | 2024-03-06 13:02 | 2024-09-18 09:02 |
Reporter | Chris Zakrewsky | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | INTEL | OS | Windows | OS Version | 10 |
Summary | 0009330: Kernel (13.9) SQL weird parser error - REGISTER DATABASE | ||||
Description | When 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. | ||||
Tags | No tags attached. | ||||
Screenshot at 2024-03-06 13-48-08.png (71,603 bytes) |
|
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) |
|
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 |