⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test002.ksh

📁 b树实现源码,linux和unix下运行,速度快,极好用
💻 KSH
字号:
#!/bin/sh#Run this test only under csql/test or on this directory.#Otherwise, it may failCSQL_CONF=${PWD}/cache/Recovery/csql.confinput=${PWD}/cache/Recovery/create.sqlREL_PATH=.if [ -s "$input" -a -s "$CSQL_CONF" ]then    REL_PATH=${PWD}/cache/Recoveryfiexport CSQL_CONFIG_FILE=$REL_PATH/csql.confisql myodbc3 < $REL_PATH/create.sql > /dev/null 2>&1if [ $? -ne 0 ]then    exit 1;fi# edit /tmp/csql/csqltable.confrm -f /tmp/csql/csqltable.confif [ $? -ne 0 ]then    exit 2;fitouch /tmp/csql/csqltable.confif [ $? -ne 0 ]then    exit 3;fifor (( a=1; a<101; a++ ))do    echo "1:t$a"done >> /tmp/csql/csqltable.conf$CSQL_INSTALL_ROOT/bin/csqlserver -c >/dev/null 2>&1 &pid=$!sleep 5$CSQL_INSTALL_ROOT/bin/csqldump if [ $? -ne 0 ]then    exit 5;fikill -9 $pid > /dev/null 2>&1if [ $? -ne 0 ]then    exit 6;fiipcrm -M 1199 -M 2277isql myodbc3 < $REL_PATH/dropall.sql > /dev/null 2>&1if [ $? -ne 0 ]then    exit 7;fiexit 0;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -