aboutsummaryrefslogtreecommitdiffstats
path: root/test/mysqlerl_SUITE_data
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2012-02-07 16:16:58 -0500
committerBrian Cully <github.20.shmit@spamgourmet.com>2012-02-07 16:16:58 -0500
commite59975930394e44fcaa88e80b5f403986835876e (patch)
tree59ed198c061088b0b810c0089e24c59474687f61 /test/mysqlerl_SUITE_data
parent779e20ff25c20ebb8f988c0a8ae1a8ca6794b4dc (diff)
downloadmysqlerl-e59975930394e44fcaa88e80b5f403986835876e.tar.gz
mysqlerl-e59975930394e44fcaa88e80b5f403986835876e.zip
Fix tests, and preload with data.
Diffstat (limited to 'test/mysqlerl_SUITE_data')
-rw-r--r--test/mysqlerl_SUITE_data/table-data.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/mysqlerl_SUITE_data/table-data.sql b/test/mysqlerl_SUITE_data/table-data.sql
new file mode 100644
index 0000000..410712f
--- /dev/null
+++ b/test/mysqlerl_SUITE_data/table-data.sql
@@ -0,0 +1,11 @@
+DROP TABLE IF EXISTS user;
+
+CREATE TABLE user (
+ username VARCHAR(20) PRIMARY KEY NOT NULL,
+ password VARCHAR(64)
+);
+
+INSERT INTO user (username, password)
+ VALUES ('bjc', MD5('test'));
+INSERT INTO user (username, password)
+ VALUES ('siobain', MD5('test2'));