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
CREATE TABLE LOGGER (DET_TIME TIMESTAMP,
AC INTEGER);
SET TERM ^ ;
CREATE TRIGGER LOGGER
ACTIVE ON DISCONNECT POSITION 0
as declare variable c int; begin select count(*) from mon$attachments into :c; insert into logger values(current_timestamp, :c); end ^
SET TERM ; ^
COMMIT WORK;
having at least one additional attachment is shutdown SS hangs.
The text was updated successfully, but these errors were encountered:
AlexPeshkoff
changed the title
Hang when database with disconnect trigger using MON$ tables shutdown
Hang when database with disconnect trigger using MON$ tables is shutting down
Jan 28, 2024
Bug could NOT be reproduced on Windows.
Bug can be reproduced only when appropriate code runs OUTSIDE current firebird-QA framework, i.e. directly from OS.
Because of that, test creates temporary .py script which is launched further using subprocess.run( [ sys.executable ...] ).
Confirmed problem on 6.0.0.219: 'gfix -shut full -force 0' hangs.
Checked on 6.0.0.244.
When the following database:
SET SQL DIALECT 3;
CREATE TABLE LOGGER (DET_TIME TIMESTAMP,
AC INTEGER);
SET TERM ^ ;
CREATE TRIGGER LOGGER
ACTIVE ON DISCONNECT POSITION 0
as declare variable c int; begin select count(*) from mon$attachments into :c; insert into logger values(current_timestamp, :c); end ^
SET TERM ; ^
COMMIT WORK;
having at least one additional attachment is shutdown SS hangs.
The text was updated successfully, but these errors were encountered: