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.

48 lines
1010 B

  1. SELECT @@GLOBAL.innodb_use_sys_malloc;
  2. @@GLOBAL.innodb_use_sys_malloc
  3. 1
  4. 1 Expected
  5. SET @@GLOBAL.innodb_use_sys_malloc=0;
  6. ERROR HY000: Variable 'innodb_use_sys_malloc' is a read only variable
  7. Expected error 'Read only variable'
  8. SELECT @@GLOBAL.innodb_use_sys_malloc;
  9. @@GLOBAL.innodb_use_sys_malloc
  10. 1
  11. 1 Expected
  12. drop table if exists t1;
  13. create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1;
  14. insert into t1 values (1),(2),(3),(4),(5),(6),(7);
  15. select * from t1;
  16. a
  17. 1
  18. 2
  19. 3
  20. 4
  21. 5
  22. 6
  23. 7
  24. drop table t1;
  25. SELECT @@GLOBAL.innodb_use_sys_malloc;
  26. @@GLOBAL.innodb_use_sys_malloc
  27. 1
  28. 1 Expected
  29. SET @@GLOBAL.innodb_use_sys_malloc=0;
  30. ERROR HY000: Variable 'innodb_use_sys_malloc' is a read only variable
  31. Expected error 'Read only variable'
  32. SELECT @@GLOBAL.innodb_use_sys_malloc;
  33. @@GLOBAL.innodb_use_sys_malloc
  34. 1
  35. 1 Expected
  36. drop table if exists t1;
  37. create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1;
  38. insert into t1 values (1),(2),(3),(4),(5),(6),(7);
  39. select * from t1;
  40. a
  41. 1
  42. 2
  43. 3
  44. 4
  45. 5
  46. 6
  47. 7
  48. drop table t1;