You are not logged in.
Pages: 1
Deleting a user performing the example "Synops-sqlite-demo" occurs the error: unrecognized token: ""
I added a button where I run the cancellation of the user with the following code:
procedure TForm1.btnDeleteUserClick(Sender: TObject);
begin
Database.Delete(TSQLUser,integer(lbUsers.Items.Objects[lbUsers.ItemIndex]));
end;
debuging I saw that goes wrong when running the following code:
function TSQLRestServerDB.EngineExecuteAll(const aSQL: RawUTF8): boolean;
begin
try
DB.ExecuteAll(aSQL); // Execute all statements (don't use fStatementCache[])
result := true;
except
on E: ESQLException do begin
LogToTextFile('TSQLRestServerDB.EngineExecuteAll Error: '+RawUTF8(E.Message)+#13#10+aSQL);
result := false;
end;
end;
end;
Offline
I found the issue.
Corrected in source code repository:
http://synopse.info/fossil/info/8affd6d98d
Thanks for the report
Offline
ok Thanks
Offline
Pages: 1