Re: Testing ODBC
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]>
| Newsgroups | gmane.lisp.clsql.devel |
|---|---|
| Message-ID | <[email protected]> |
MichaelL-mTnyLpuDpHxWk0Htik3J/[email protected] wrote: > Error: A database error occurred: NIL / 42000 > [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot drop the > view 'sysconstraints' because it is a system view. > > The problem is that test-connect-to-database in test-init.lisp is calling > truncate-database in fddl.lisp, and that function tries to drop all views, I don't use MS SQL server, so I won't be working on this. But, I did have to do some work in the odbc backend to avoid trying to drop system tables for postgresql. If you review the sources, you might be able to use a similiar approach to MS SQL server. Kevin