Package: dbconfig-common Version: 1.8.39 Severity: wishlist It would be fine to have a command, that would automatically check the sql scripts.
Unfortunately at least MySQL does not provide any means to syntax check a sql script. But the script could create a temporary database and try to install the given schema (and data). -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dbconfig-common depends on: ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii ucf 3.0011 Update Configuration File: preserv dbconfig-common recommends no packages. Versions of packages dbconfig-common suggests: ii mysql-client 5.0.51a-21 MySQL database client (metapackage ii mysql-client-5.0 [virtual-mys 5.0.51a-21 MySQL database client binaries -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org