blob: 9280e33ed089a86d0c2d350cc1a9ea6d5b42a156 [file]
-- -*- mode: sql; coding: utf-8 -*-
-- Test: TEST316
-- Functionality: This tests Implicit Casting and Translation feature
-- Expected files: EXPECTED316
-- Tables created: cs316t*
-- Limitations: None
--
-- @@@ START COPYRIGHT @@@
--
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you may not use this file except in compliance
-- with the License. You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing,
-- software distributed under the License is distributed on an
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-- KIND, either express or implied. See the License for the
-- specific language governing permissions and limitations
-- under the License.
--
-- @@@ END COPYRIGHT @@@
obey test316(clnup);
log log316 clear;
obey test316(test64k);
obey test316(clnup);
log;
exit;
?section test64k
create table cs316t64k (a varchar(65537) character set utf8);
-- This would generate a warning or error of string overflow before
-- the fix of JIRA 3259
-- WARNING[8402] A string overflow occurred during the evaluation of a character expression.
insert into cs316t64k values ('aaa');
?section clnup
drop table if exists cs316t64k;