Hi,
By calling sqlldp(...) i.e.LOAD DATABASE, sometimes it returns an error number (e.g. 32571392 or 31850496) even the loading is successful.
I checked the loading log file, it did say 'Load complete' and no error and I did a 'check database' and no error found
And then I found 'SQLBase 11.5. Service Pack 1 List: Defects Fixed' :
http://www.md-consulting.de/PortalData/ ... uglist.pdf
It says:
KEY SUMMAY RESOLUTION
SQLB‐474 The return value of sqlldp and sqlunl do not return zero on successful load or unload As Designed
I don't understand what it means by 'As Designed' .... does anybody know any deails about the 'design' and what we should we check (error number)?
Best regards,
KC
SQLBase API - sqlldp (Load Database)
Re: SQLBase API - sqlldp (Load Database)
Hi KC,
The reason for the defect being closed 'as designed' is because there isn't really a defect there, but I suspect that you are running into the same issue that the customer who reported this ran into.
The TD app submitted had the incorrect prototype for the sqlldp and sqlunl functions. The functions return a 16-bit value (WORD), but the TD app was listed as having a 32-bit value (INT).
So, try changing the Return: INT to Return: WORD in the function definition and you should be fine.
Best regards,
The reason for the defect being closed 'as designed' is because there isn't really a defect there, but I suspect that you are running into the same issue that the customer who reported this ran into.
The TD app submitted had the incorrect prototype for the sqlldp and sqlunl functions. The functions return a 16-bit value (WORD), but the TD app was listed as having a 32-bit value (INT).
So, try changing the Return: INT to Return: WORD in the function definition and you should be fine.
Best regards,
Who is online
Users browsing this forum: [Ccbot] and 0 guests