Expand description
IBM Db2 server implementation (DRDA wire protocol).
Speaks enough DRDA/DDM that a Db2 client can complete the connection handshake
(EXCSAT/ACCSEC/SECCHK/ACCRDB) and execute a basic statement (EXCSQLIMM), with
the LLM playing the database: it decides whether a login is accepted and what
SQLCA a statement produces. The wire codec is drda; no storage exists —
the model answers every request.
Fail closed. An LLM outage during the security check is a refusal
(SECCHKRM at severity ERROR), never an accept; a failure during a statement is
an error SQLCARD, never a success. See AGENTS.md for what DRDA is and is not
implemented here; Apache Derby’s JDBC driver and IBM’s CLI driver both connect to it
(tests/server/db2/real_client_test.rs).
Modules§
Structs§
- Db2Server
- Db2 server.