Skip to content

Commit 5cffeb3

Browse files
committed
Update test scripts
1 parent 3d57644 commit 5cffeb3

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

test.jsonl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
{"test_boolean":true,"test_long":123,"test_double":1.23,"test_string":"あいうえお","test_timestamp":"1999-12-31 23:59:59.000000 +0000","test_json":{"キー":""},"test_json_text":{"キー":""},"test_json_string":{"キー":""},"test_json_nstring":{"キー":""}}
22
{"test_boolean":false,"test_long":456,"test_double":4.56,"test_string":"かきくけこ","test_timestamp":"2000-01-01 00:00:00.000000 +0000","test_json":[{"キー1":"値1"},{"キー2":"値2"}],"test_json_text":[{"キー1":"値1"},{"キー2":"値2"}],"test_json_string":[{"キー1":"値1"},{"キー2":"値2"}],"test_json_nstring":[{"キー1":"値1"},{"キー2":"値2"}]}
3+
{"test_boolean":null,"test_long":null,"test_double":null,"test_string":null,"test_timestamp":null,"test_json":null,"test_json_text":null,"test_json_string":null,"test_json_nstring":null}
4+
{"test_boolean":null,"test_long":null,"test_double":null,"test_string":null,"test_timestamp":null,"test_json":12345,"test_json_text":12345,"test_json_string":12345,"test_json_nstring":12345}
5+
{"test_boolean":null,"test_long":null,"test_double":null,"test_string":null,"test_timestamp":null,"test_json":123.45,"test_json_text":123.45,"test_json_string":123.45,"test_json_nstring":123.45}
6+
{"test_boolean":null,"test_long":null,"test_double":null,"test_string":null,"test_timestamp":null,"test_json":"hoge","test_json_text":"hoge","test_json_string":"hoge","test_json_nstring":"hoge"}

test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ cd `dirname ${0}`
33
VERSION=0.10.5
44
BEFORE=refs/tags/v${VERSION}
55
AFTER=remotes/trocco/fix/nstring_to_json_to_origin
6+
git checkout .
67
git checkout master
78
git branch -D __BEFORE__ > /dev/null 2>&1
89
git branch -D __AFTER__ > /dev/null 2>&1

test/sqlserver.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DATABASE=
66
SCHEMA=
77
TABLE=
88
TIMESTAMP_TYPE=DATETIME
9-
JSON_STRING_TYPE='VARCHAR(max)'
9+
JSON_STRING_TYPE='VARCHAR(max) COLLATE Latin1_General_100_CI_AS_SC_UTF8'
1010
JSON_NSTRING_TYPE='NVARCHAR(max)'
1111
SSH=
1212
DRIVER_VERSION=12.6.1.jre8

0 commit comments

Comments
 (0)