Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function install_chromedriver() {
unzip -o -q chromedriver_linux64.zip -d "$dist"
rm chromedriver_linux64.zip
}
install_dep "chromedriver" "2.25" "$VTROOT/dist/chromedriver" install_chromedriver
install_dep "chromedriver" "2.40" "$VTROOT/dist/chromedriver" install_chromedriver


#
Expand Down
2 changes: 2 additions & 0 deletions go/vt/sqlparser/sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions tools/check_make_parser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ if ! cd go/vt/sqlparser/ ; then
exit 1
fi

goyacc -o $TMP sql.y
gofmt -w $TMP
mv $CUR $TMP
goyacc -o $CUR sql.y
gofmt -w $CUR

if ! diff -q $CUR $TMP > /dev/null ; then
echo "ERROR: Regenerated parser $TMP does not match current version $(pwd)/sql.go:"
diff -u $CUR $TMP
rm $TMP
mv $TMP $CUR

echo
echo "Please ensure go and goyacc are up to date and re-run 'make parser' to generate."
exit 1
fi

rm $TMP
mv $TMP $CUR