aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mysqlerl_transaction_SUITE_data/table-data.sql11
-rw-r--r--test/mysqlerl_writequery_SUITE_data/table-data.sql11
2 files changed, 22 insertions, 0 deletions
diff --git a/test/mysqlerl_transaction_SUITE_data/table-data.sql b/test/mysqlerl_transaction_SUITE_data/table-data.sql
new file mode 100644
index 0000000..410712f
--- /dev/null
+++ b/test/mysqlerl_transaction_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'));
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'));