aboutsummaryrefslogtreecommitdiffstats
path: root/test/mysqlerl_writequery_SUITE_data
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2012-02-09 23:17:30 -0500
committerBrian Cully <bjc@kublai.com>2012-02-09 23:17:30 -0500
commitc21f79c9415c91946c83f5372907e6441d085986 (patch)
tree0e5c206c7a27d5d6a983a5c6c43855a396b0ed74 /test/mysqlerl_writequery_SUITE_data
parentbe2da842fe0396a9e7908f4a2f0b86bea009fea6 (diff)
downloadmysqlerl-c21f79c9415c91946c83f5372907e6441d085986.tar.gz
mysqlerl-c21f79c9415c91946c83f5372907e6441d085986.zip
Copy over sample data for transaction and write query suites.
Diffstat (limited to 'test/mysqlerl_writequery_SUITE_data')
-rw-r--r--test/mysqlerl_writequery_SUITE_data/table-data.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/mysqlerl_writequery_SUITE_data/table-data.sql b/test/mysqlerl_writequery_SUITE_data/table-data.sql
new file mode 100644
index 0000000..410712f
--- /dev/null
+++ b/test/mysqlerl_writequery_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'));