--source include/have_falcon.inc
SET storage_engine = Falcon;
#
# Bug #28040: Falcon CREATE TABLE in new SCHEMA crashes server
#
--echo *** Bug #28040 ***
--disable_warnings
DROP DATABASE IF EXISTS test_db;
--enable_warnings

CREATE DATABASE test_db;
USE test_db;

CREATE TABLE BASE_TESTREPORT (
  TESTNO CHAR(4),
  RESULT CHAR(4),
  TESTTYPE CHAR(3)
);

INSERT INTO BASE_TESTREPORT VALUES ('a', 'b', 'c');
SELECT count(*) FROM BASE_TESTREPORT WHERE TESTNO  = 'a';

# Final cleanup
DROP DATABASE test_db;
