~mysql/mysql-server/mysql-6.0

« back to all changes in this revision

Viewing changes to mysql-test/r/query_cache.result

  • Committer: monty at mysql
  • Date: 2002-07-23 15:31:22 UTC
  • mto: (1110.1.7)
  • mto: This revision was merged to the branch mainline in revision 1116.
  • Revision ID: sp1r-monty@mashka.mysql.fi-20020723153122-09736
New SET syntax & system variables.
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
Variable_name   Value
227
227
Qcache_free_blocks      1
228
228
drop table t1, t2, t3, t11, t21;
229
 
set sql_query_cache_type=demand;
 
229
set query_cache_type=demand;
230
230
create table t1 (a int not null);
231
231
insert into t1 values (1),(2),(3);
232
232
select * from t1;
242
242
1
243
243
2
244
244
3
245
 
set sql_query_cache_type=2;
 
245
set query_cache_type=2;
246
246
select sql_cache * from t1;
247
247
a
248
248
1
254
254
show status like "Qcache_queries_in_cache";
255
255
Variable_name   Value
256
256
Qcache_queries_in_cache 1
257
 
set sql_query_cache_type=on;
 
257
set query_cache_type=on;
258
258
reset query cache;
259
259
show status like "Qcache_queries_in_cache";
260
260
Variable_name   Value