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
17 lines
342 B
Bash
Executable File
17 lines
342 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#ddl-scan.cpp: ddl.l
|
|
$1 -i -L -P ddl -o ddl-scan-temp.cpp ddl.l
|
|
set +e;
|
|
if [ -f ddl-scan.cpp ];
|
|
then diff -abBq ddl-scan-temp.cpp ddl-scan.cpp >/dev/null 2>&1;
|
|
if [ "$?" -ne 0 ];
|
|
then mv -f ddl-scan-temp.cpp ddl-scan.cpp;
|
|
else touch ddl-scan.cpp;
|
|
fi;
|
|
else mv -f ddl-scan-temp.cpp ddl-scan.cpp;
|
|
fi
|
|
rm -f ddl-scan-temp.cpp
|
|
|
|
|