You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
528 B

  1. set GLOBAL query_cache_size=1355776;
  2. drop table if exists t1;
  3. create table t1 (a int not null);
  4. insert into t1 values (1),(2),(3);
  5. flush query cache;
  6. flush query cache;
  7. reset query cache;
  8. flush status;
  9. ( select * from t1 );
  10. a
  11. 1
  12. 2
  13. 3
  14. /*!40101 SET @OLD_SQL_MODE := @@SQL_MODE, @@SQL_MODE := REPLACE(REPLACE(@@SQL_MODE, 'ANSI_QUOTES', ''), ',,', ','), @OLD_QUOTE := @@SQL_QUOTE_SHOW_CREATE, @@SQL_QUOTE_SHOW_CREATE := 1 */;
  15. /* only comment */;
  16. # only comment
  17. ;
  18. -- only comment
  19. ;
  20. DROP TABLE t1;
  21. SET GLOBAL query_cache_size= default;