summaryrefslogtreecommitdiff
path: root/storage/innodb_plugin/revert_gen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innodb_plugin/revert_gen.sh')
-rwxr-xr-xstorage/innodb_plugin/revert_gen.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/storage/innodb_plugin/revert_gen.sh b/storage/innodb_plugin/revert_gen.sh
new file mode 100755
index 00000000000..231e05a21e0
--- /dev/null
+++ b/storage/innodb_plugin/revert_gen.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+#
+# revert changes to all generated files. this is useful in some situations
+# when merging changes between branches.
+
+set -eu
+
+svn revert include/pars0grm.h pars/pars0grm.h pars/lexyy.c pars/pars0grm.c