~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/innobase/mysql-test/innodb-use-sys-malloc.test

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--source include/have_innodb.inc
2
 
 
3
 
#display current value of innodb_use_sys_malloc
4
 
SELECT @@GLOBAL.innodb_use_sys_malloc;
5
 
--echo 1 Expected
6
 
 
7
 
#try changing it. Should fail.
8
 
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
9
 
SET @@GLOBAL.innodb_use_sys_malloc=0;
10
 
--echo Expected error 'Read only variable'
11
 
 
12
 
SELECT @@GLOBAL.innodb_use_sys_malloc;
13
 
--echo 1 Expected
14
 
 
15
 
 
16
 
#do some stuff to see if it works.
17
 
--disable_warnings
18
 
drop table if exists t1;
19
 
--enable_warnings
20
 
 
21
 
create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1;
22
 
insert into t1 values (1),(2),(3),(4),(5),(6),(7);
23
 
select * from t1;
24
 
drop table t1;
25
 
--source include/have_innodb.inc
26
 
 
27
 
#display current value of innodb_use_sys_malloc
28
 
SELECT @@GLOBAL.innodb_use_sys_malloc;
29
 
--echo 1 Expected
30
 
 
31
 
#try changing it. Should fail.
32
 
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
33
 
SET @@GLOBAL.innodb_use_sys_malloc=0;
34
 
--echo Expected error 'Read only variable'
35
 
 
36
 
SELECT @@GLOBAL.innodb_use_sys_malloc;
37
 
--echo 1 Expected
38
 
 
39
 
 
40
 
#do some stuff to see if it works.
41
 
--disable_warnings
42
 
drop table if exists t1;
43
 
--enable_warnings
44
 
 
45
 
create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1;
46
 
insert into t1 values (1),(2),(3),(4),(5),(6),(7);
47
 
select * from t1;
48
 
drop table t1;