aboutsummaryrefslogtreecommitdiffstats
path: root/test/mysqlerl_readquery_SUITE_data
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2012-02-09 23:02:24 -0500
committerBrian Cully <bjc@kublai.com>2012-02-09 23:02:24 -0500
commitb3c35e4812356a55ab5c67164771f4cb80839e92 (patch)
tree750af11de141affbc9230131a3251b9f4eb0de92 /test/mysqlerl_readquery_SUITE_data
parent07369746fd460019822624c1a0651beaf19bf0ae (diff)
downloadmysqlerl-b3c35e4812356a55ab5c67164771f4cb80839e92.tar.gz
mysqlerl-b3c35e4812356a55ab5c67164771f4cb80839e92.zip
Rename mysqlerl_SUITE to mysqlerl_readquery_SUITE
Diffstat (limited to 'test/mysqlerl_readquery_SUITE_data')
-rw-r--r--test/mysqlerl_readquery_SUITE_data/table-data.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/mysqlerl_readquery_SUITE_data/table-data.sql b/test/mysqlerl_readquery_SUITE_data/table-data.sql
new file mode 100644
index 0000000..410712f
--- /dev/null
+++ b/test/mysqlerl_readquery_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'));