Fix tests

This commit is contained in:
Alexey Milovidov 2020-08-03 00:27:45 +03:00
parent 650aad7585
commit b7b2759b0b
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
INSERT INTO `test_log`(`date`, `datetime`, `path`, `gtid`, `query_serial`, `row_serial`, `reqid`, `method`, `service`, `db`, `type`, `operation`, `old_fields`.`name`, `old_fields`.`value`, `old_fields`.`is_null`, `new_fields`.`name`, `new_fields`.`value`, `new_fields`.`is_null`, `record_source_type`, `record_source_timestamp`, `deleted`) FORMAT TabSeparated
INSERT INTO "test_log"("date", "datetime", "path", "gtid", "query_serial", "row_serial", "reqid", "method", "service", "db", "type", "operation", "old_fields"."name", "old_fields"."value", "old_fields"."is_null", "new_fields"."name", "new_fields"."value", "new_fields"."is_null", "record_source_type", "record_source_timestamp", "deleted") FORMAT TabSeparated
run by native protocol
run by http protocol
run by native protocol

View File

@ -13,7 +13,7 @@ echo "==== check escaping ===="
echo -ne '{prefix} \n${data}\n $$ suffix $$\n' > "$CURDIR"/00938_template_input_format_resultset.tmp
echo -ne 'n:\t${n:Escaped}, s1:\t${0:Escaped}\t, s2:\t${1:Quoted}, s3:\t${s3:JSON}, s4:\t${3:CSV}, d:\t${d:Escaped}\t' > "$CURDIR"/00938_template_input_format_row.tmp
echo "{prefix}
echo "{prefix}"' '"
n: 123, s1: qwe,rty , s2: 'as\"df\\'gh', s3: \"\", s4: \"zx
cv bn m\", d: 2016-01-01 ;
n: 456, s1: as\"df\\'gh , s2: '', s3: \"zx\\ncv\\tbn m\", s4: \"qwe,rty\", d: 2016-01-02 ;