3 # applies SQL patch to a database and inserts a revision control entry in the
10 ctrl_patch_query
="insert into ctrl_patch values ('', '$patch')"
13 mysql
-u $db_user $db < $patch
14 echo $ctrl_patch_query
15 echo $ctrl_patch_query | mysql
-u $db_user $db