Added test for readwrite split: SET and TRANSACTION - COMMIT

Added test for readwrite split: SET and TRANSACTION - COMMIT
This commit is contained in:
MassimilianoPinto
2014-03-24 15:15:21 +01:00
parent d660d3590d
commit f320c17834
3 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#! /bin/sh
a=`mysql --host=127.0.0.1 -P 4606 -umassi -pmassi --unbuffered=true --disable-reconnect --silent < ./transaction_with_set.sql`
#a=`mysql --host=107.170.19.59 -P 4606 -uvai -pvai --unbuffered=true --disable-reconnect --silent < ./transaction_with_set.sql`
if [ "$a" -eq 2 ]; then
exit 0
else
exit 1
fi