import firebird.driver as fdb
if __name__ == '__main__':
with fdb.connect('localhost:employee', user='SYSDBA', password='masterkey') as conn:
with conn.cursor() as cursor:
with cursor.prepare('SELECT COUNT(*) FROM JOB WHERE 11 < ?') as stmt:
print(cursor.execute(stmt, (12,)).fetchone())
(31,)
Ошибка сегментирования (образ памяти сброшен на диск)
I use python version
3.11.7.Steps to reproduce:
python -m venv venvsource venv/bin/activatepip install firebird-driver5.0.3sudo systemctl start firebird.service