DrRacket crashes after running database query script multiple times
WuTianyi321 opened this issue · comments
Environment
Win10 1709
Racket v7.9[cs]
Description
I have a database query script as follow:
#lang racket
(require db)
(define c
(odbc-driver-connect
"AutoTranslate=yes;DRIVER={ODBC Driver 17 for SQL Server};SERVER=localhost;DATABASE=db;UID=sa;PWD=thepassword"))
(query c "select * from city")
Where city is a four-column, 300-row table.
When the script run a single time there is no problem, but when I run it multiple times it will cause DrRacket to crash.
This sounds like the same issue as racket/racket#3619, fixed a few weeks ago. Can you try the program with a recent Racket build?
This sounds like the same issue as racket/racket#3619, fixed a few weeks ago. Can you try the program with a recent Racket build?
I try the program with Snapshot: 20210122-e4518f662d (Welcome to DrRacket, version 8.0.0.1--2021-01-22(e4518f662d /a) [cs].) and manually merge the commit 9cef0a8 in racket/db. But this problem still occurs.