Re: problems with branch-1.7
Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.web.midgard.devel |
|---|---|
| Message-ID | <[email protected]> |
Tarjei Huse <tarjei-y/[email protected]> wrote: > > empty.sql seems to be untouched since 1.4. > > We use additional queries and files to alter tables. > > Why isn't repligard.sql run then? That would have solved my problem :-) No idea. This is what is executed: $mysqlcmd -D $DB -e 'describe repligard author' | grep author > /dev/null 2>&1 if [ $? -ne 0 ];then # NOTE! 1 is returned as true in this case! VC=`$MGD_CONFIG --report | grep vc | sed 's/vc.*: //g'` if [ $VC -eq 1 ];then echo "Updating database: version control" $mysqlcmd -D $DB < $MGD_SHARE_PATH/repligard.sql I think there is some issue with bash&mysql error returned. And I wonder why it happens with 1.7.3 when repligard table update is the same since 1.6.x IIRC. Piotras