You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-04 04:42:30 +03:00
15 lines
409 B
Bash
Executable File
15 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
|