mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
5487d7a8c0
Removed usage of @r/result as this made life hard when testing different table handlers. Allow concurrent inserts if no update/binary log. Don't remove key_cache at flush tables. Fixed bug in SELECT DISTINCT SUM()...
18 lines
353 B
Text
18 lines
353 B
Text
# sel000001
|
|
#
|
|
# Versions
|
|
# --------
|
|
# 3.22
|
|
# 3.23
|
|
#
|
|
# Description
|
|
# -----------
|
|
# This test is just a simple select.
|
|
# Testing WHERE clause.
|
|
#
|
|
|
|
DROP TABLE IF EXISTS t1;
|
|
CREATE TABLE t1 (s CHAR(20) PRIMARY KEY, id INT);
|
|
INSERT INTO t1 VALUES ('cat', 1), ('mouse', 3), ('dog', 2), ('snake', 77);
|
|
SELECT s, id FROM t1 WHERE s = 'mouse';
|
|
drop table t1;
|