You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-09-01 01:22:04 +03:00
14 lines
409 B
Bash
Executable File
14 lines
409 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#dml-scan.cpp: dml.l
|
|
$1 -i -L -Pdml -odml-scan-temp.cpp dml.l
|
|
set +e; \
|
|
if [ -f dml-scan.cpp ]; \
|
|
then diff -abBq dml-scan-temp.cpp dml-scan.cpp >/dev/null 2>&1; \
|
|
if [ $$? -ne 0 ]; \
|
|
then mv -f dml-scan-temp.cpp dml-scan.cpp; \
|
|
else touch dml-scan.cpp; \
|
|
fi; \
|
|
else mv -f dml-scan-temp.cpp dml-scan.cpp; \
|
|
fi
|
|
rm -f dml-scan-temp.cpp |