SET storage_engine = Falcon;
#
# Mantis bug #187: Large DECIMAL values stored incorrectly
#
--echo *** Bug #187 ***
--disable_warnings
DROP TABLE IF EXISTS tj23;
--enable_warnings

CREATE TABLE tj23 (
  s1 decimal(20)
);
INSERT INTO tj23 VALUES (12345678901234567890);
SELECT * FROM tj23;

# Final cleanup
DROP TABLE tj23;
