You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a test case which attempts to update a column value in a shared table with a where clause using multiple threads. The error returned is "invalid request BLR at offset 24 - table id 428 is not defined". The expected SQLSTATE of 42S02 is returned.
The error message is true - yes, we cannot find the table as it has already been dropped. This part is ok.
The "invalid request BLR" portion of the error message leads the user to believe that there is a Firebird bug - why is my BLR invalid? It is kind of scary. In this case, the BLR is valid - it's just that we can't find the table - it has already been deleted.
An improvement would just be for the error message to simply say, "Table id 428 was not found", or "Table id 428 no longer exists". I think the 2nd form is ok, since if we have an ID the table must have existed at some point, right?
SQLSTATE of 42S02 is correct and should be preserved for this case if new message is added.
Bill, the message "table id 428 is not defined" is correct because BLR may be generated externally and passed to the engine. In this case, the tool that generated the id may send an invalid number for whatever reason. If you can't find it, it doesn't necessarily mean that it existed.
Submitted by: Bill Oliver (verbguy)
Assigned to: Claudio Valderrama C. (robocop)
I have a test case which attempts to update a column value in a shared table with a where clause using multiple threads. The error returned is "invalid request BLR at offset 24 - table id 428 is not defined". The expected SQLSTATE of 42S02 is returned.
The error message is true - yes, we cannot find the table as it has already been dropped. This part is ok.
The "invalid request BLR" portion of the error message leads the user to believe that there is a Firebird bug - why is my BLR invalid? It is kind of scary. In this case, the BLR is valid - it's just that we can't find the table - it has already been deleted.
An improvement would just be for the error message to simply say, "Table id 428 was not found", or "Table id 428 no longer exists". I think the 2nd form is ok, since if we have an ID the table must have existed at some point, right?
SQLSTATE of 42S02 is correct and should be preserved for this case if new message is added.
Commits: 298ec36
The text was updated successfully, but these errors were encountered: