Skip to content

Commit

Permalink
Now uses test database
Browse files Browse the repository at this point in the history
  • Loading branch information
pjb304 committed Mar 20, 2015
1 parent 9eee35b commit 2e62137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reader/dbprocess-test
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

echo 'SELECT device_id, timestamp, HEX(data) FROM `test_unprocessed_data` WHERE id > ( (SELECT MAX(id) FROM test_unprocessed_data ) -10)' |
mysql -udjap1g11 -papplebanana --skip-column-names feshie |
echo 'SELECT device_id, timestamp, HEX(data) FROM `unprocessed_data` WHERE id > ( (SELECT MAX(id) FROM unprocessed_data ) -10)' |
mysql -udjap1g11 -papplebanana --skip-column-names feshie_test |
while read row
do
id=`echo $row | cut -f 1 -d" "`
Expand Down

0 comments on commit 2e62137

Please sign in to comment.