summaryrefslogtreecommitdiff
path: root/mysql-test/main/anel_int.test
diff options
context:
space:
mode:
authorAnel Husakovic <anel@mariadb.org>2019-06-03 03:05:22 -0700
committerAnel Husakovic <anel@mariadb.org>2019-06-03 03:05:26 -0700
commit4f2f95d6c2354b1f6c1e3feabf5c6320ad2d801c (patch)
tree859d3411e8094efba9967218da10c77ca1ea7ee6 /mysql-test/main/anel_int.test
parentad2ec31ced0f72f93d183cb4c4274c68c61a88b6 (diff)
downloadmariadb-git-bb-anel-json-v2.tar.gz
Add support to INT32, UINT64bb-anel-json-v2
- Added a test case for ints ->works - Same analogy should be applied to other int types ->todo with tests - Analysis done
Diffstat (limited to 'mysql-test/main/anel_int.test')
-rw-r--r--mysql-test/main/anel_int.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/main/anel_int.test b/mysql-test/main/anel_int.test
new file mode 100644
index 00000000000..370c312844a
--- /dev/null
+++ b/mysql-test/main/anel_int.test
@@ -0,0 +1,17 @@
+let $datadir=`select @@datadir`;
+drop table if exists mysql_json;
+
+--echo #
+--echo # Mix of INT32 and UINT64
+--echo #
+
+
+
+# Make sure you have placed `json.[frm/myd/myi]` files in `source/mysql-test/std_data/`
+--copy_file std_data/simple_ints_table_json_object.frm $datadir/test/mysql_json.frm
+--copy_file std_data/simple_ints_table_json_object.MYI $datadir/test/mysql_json.MYI
+--copy_file std_data/simple_ints_table_json_object.MYD $datadir/test/mysql_json.MYD
+
+# Now can read
+select * from test.mysql_json;
+drop table mysql_json;