]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/scripts/clean_db.sh
Case c1 t1 vs c2 t2 where c1 and c2 are not splitted and t1 and t2
[helm.git] / helm / software / matita / scripts / clean_db.sh
1 #!/bin/sh
2
3 TBL=`echo show tables | mysql matita -u helm | grep -v _`
4 for X in $TBL; do
5   echo cleaning $X
6   echo "delete from $X where source like 'cic:/matita/%'" | mysql matita -u helm
7 done