~ubuntu-branches/ubuntu/karmic/mysql-dfsg-5.1/karmic

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/r/tmp_table_size_basic_32.result

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-02-10 16:42:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090210164205-ej41ocvm4z1s14nq
Tags: 5.1.31-1ubuntu1
* Merge from debian experimental, remaining changes: 
  - debian/mysql-server-5.1.config: ask for MySQL root password at priority
    high instead of medium so that the password prompt is seen on a default
    install. (LP: #319843)
  - debian/control: 
    + Don't build mysql-server, mysql-client, mysql-common and 
      libmysqlclient15-dev binary packages since they're still provided 
      by mysql-dfsg-5.0.
    + Rename libmysqlclient-dev package to libmysqlclient16-dev (LP: #316280).
      Make it conflict with libmysqlclient15-dev.
    + Make mysql-{client,server}-5.1 packages conflict and
      replace mysql-{client,server}-5.0, but not provide 
      mysql-{client,server}.
    + Depend on a specific version of mysql-common rather than the src 
      version of mysql-dfsg-5.1 since mysql-common is currently part of
      mysql-dfsg-5.0.
  - debian/rules: added -fno-strict-aliasing to CFLAGS to get
    around mysql testsuite build failures.
* debian/patches/92_ssl_test_cert.dpatch: certificate expiration in 
  test suite (LP: #323755).
* Dropped changes:
  - all of the changes made to support both 5.0 and 5.1 installed at the
    same time have been dropped now that amarok doesn't depend on
    mysql-server-5.1 anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SET @start_global_value = @@global.tmp_table_size;
2
 
SELECT @start_global_value;
3
 
@start_global_value
4
 
16777216
5
 
SET @start_session_value = @@session.tmp_table_size;
6
 
SELECT @start_session_value;
7
 
@start_session_value
8
 
16777216
9
 
'Bug# 34876: This variable has invalid default value as compared to documentation';
10
 
'#--------------------FN_DYNVARS_005_01-------------------------#'
11
 
SET @@global.tmp_table_size = 100;
12
 
Warnings:
13
 
Warning 1292    Truncated incorrect tmp_table_size value: '100'
14
 
SET @@global.tmp_table_size = DEFAULT;
15
 
SELECT @@global.tmp_table_size;
16
 
@@global.tmp_table_size
17
 
16777216
18
 
'Bug# 34876: This variable has invalid default value as compared to documentation';
19
 
SET @@session.tmp_table_size = 200;
20
 
Warnings:
21
 
Warning 1292    Truncated incorrect tmp_table_size value: '200'
22
 
SET @@session.tmp_table_size = DEFAULT;
23
 
SELECT @@session.tmp_table_size;
24
 
@@session.tmp_table_size
25
 
16777216
26
 
'Bug# 34876: This variable has invalid default value as compared to documentation';
27
 
'#--------------------FN_DYNVARS_005_02-------------------------#'
28
 
SET @@global.tmp_table_size = DEFAULT;
29
 
SELECT @@global.tmp_table_size = 33554432;
30
 
@@global.tmp_table_size = 33554432
31
 
0
32
 
SET @@session.tmp_table_size = DEFAULT;
33
 
SELECT @@session.tmp_table_size = 33554432;
34
 
@@session.tmp_table_size = 33554432
35
 
0
36
 
'Bug# 34876: This variable has invalid default value as compared to documentation';
37
 
'#--------------------FN_DYNVARS_005_03-------------------------#'
38
 
SET @@global.tmp_table_size = 1024;
39
 
SELECT @@global.tmp_table_size;
40
 
@@global.tmp_table_size
41
 
1024
42
 
SET @@global.tmp_table_size = 60020;
43
 
SELECT @@global.tmp_table_size;
44
 
@@global.tmp_table_size
45
 
60020
46
 
SET @@global.tmp_table_size = 4294967295;
47
 
SELECT @@global.tmp_table_size;
48
 
@@global.tmp_table_size
49
 
4294967295
50
 
'#--------------------FN_DYNVARS_005_04-------------------------#'
51
 
SET @@session.tmp_table_size = 1024;
52
 
SELECT @@session.tmp_table_size;
53
 
@@session.tmp_table_size
54
 
1024
55
 
SET @@session.tmp_table_size =4294967295;
56
 
SELECT @@session.tmp_table_size;
57
 
@@session.tmp_table_size
58
 
4294967295
59
 
SET @@session.tmp_table_size = 65535;
60
 
SELECT @@session.tmp_table_size;
61
 
@@session.tmp_table_size
62
 
65535
63
 
'#------------------FN_DYNVARS_005_05-----------------------#'
64
 
SET @@global.tmp_table_size = 0;
65
 
Warnings:
66
 
Warning 1292    Truncated incorrect tmp_table_size value: '0'
67
 
SELECT @@global.tmp_table_size;
68
 
@@global.tmp_table_size
69
 
1024
70
 
SET @@global.tmp_table_size = -1024;
71
 
Warnings:
72
 
Warning 1292    Truncated incorrect tmp_table_size value: '0'
73
 
SELECT @@global.tmp_table_size;
74
 
@@global.tmp_table_size
75
 
1024
76
 
SET @@global.tmp_table_size = 1000;
77
 
Warnings:
78
 
Warning 1292    Truncated incorrect tmp_table_size value: '1000'
79
 
SELECT @@global.tmp_table_size;
80
 
@@global.tmp_table_size
81
 
1024
82
 
'Bug # 34837: Errors are not coming on assigning invalid values to variable';
83
 
SET @@global.tmp_table_size = ON;
84
 
ERROR 42000: Incorrect argument type to variable 'tmp_table_size'
85
 
SET @@global.tmp_table_size = OFF;
86
 
ERROR 42000: Incorrect argument type to variable 'tmp_table_size'
87
 
SET @@global.tmp_table_size = True;
88
 
Warnings:
89
 
Warning 1292    Truncated incorrect tmp_table_size value: '1'
90
 
SELECT @@global.tmp_table_size;
91
 
@@global.tmp_table_size
92
 
1024
93
 
SET @@global.tmp_table_size = False;
94
 
Warnings:
95
 
Warning 1292    Truncated incorrect tmp_table_size value: '0'
96
 
SELECT @@global.tmp_table_size;
97
 
@@global.tmp_table_size
98
 
1024
99
 
'Bug:Error should be shown that variable is numeric and can not assigned boolean value';
100
 
SET @@global.tmp_table_size = 65530.34;
101
 
ERROR 42000: Incorrect argument type to variable 'tmp_table_size'
102
 
SET @@global.tmp_table_size ="Test";
103
 
ERROR 42000: Incorrect argument type to variable 'tmp_table_size'
104
 
SET @@session.tmp_table_size = ON;
105
 
ERROR 42000: Incorrect argument type to variable 'tmp_table_size'
106
 
SET @@session.tmp_table_size = OFF;
107
 
ERROR 42000: Incorrect argument type to variable 'tmp_table_size'
108
 
SET @@session.tmp_table_size = True;
109
 
Warnings:
110
 
Warning 1292    Truncated incorrect tmp_table_size value: '1'
111
 
SELECT @@session.tmp_table_size;
112
 
@@session.tmp_table_size
113
 
1024
114
 
SET @@session.tmp_table_size = False;
115
 
Warnings:
116
 
Warning 1292    Truncated incorrect tmp_table_size value: '0'
117
 
SELECT @@session.tmp_table_size;
118
 
@@session.tmp_table_size
119
 
1024
120
 
SET @@session.tmp_table_size = "Test";
121
 
ERROR 42000: Incorrect argument type to variable 'tmp_table_size'
122
 
SET @@session.tmp_table_size = 12345678901;
123
 
SELECT @@session.tmp_table_size;
124
 
@@session.tmp_table_size
125
 
4294967295
126
 
'#------------------FN_DYNVARS_005_06-----------------------#'
127
 
SELECT @@global.tmp_table_size = VARIABLE_VALUE 
128
 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
129
 
WHERE VARIABLE_NAME='tmp_table_size';
130
 
@@global.tmp_table_size = VARIABLE_VALUE
131
 
1
132
 
'#------------------FN_DYNVARS_005_07-----------------------#'
133
 
SELECT @@session.tmp_table_size = VARIABLE_VALUE 
134
 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
135
 
WHERE VARIABLE_NAME='tmp_table_size';
136
 
@@session.tmp_table_size = VARIABLE_VALUE
137
 
1
138
 
'#---------------------FN_DYNVARS_001_09----------------------#'
139
 
SET @@global.tmp_table_size = 1024;
140
 
SET @@tmp_table_size = 4294967295;
141
 
SELECT @@tmp_table_size = @@global.tmp_table_size;
142
 
@@tmp_table_size = @@global.tmp_table_size
143
 
0
144
 
'#---------------------FN_DYNVARS_001_10----------------------#'
145
 
SET @@tmp_table_size = 100;
146
 
Warnings:
147
 
Warning 1292    Truncated incorrect tmp_table_size value: '100'
148
 
SELECT @@tmp_table_size = @@local.tmp_table_size;
149
 
@@tmp_table_size = @@local.tmp_table_size
150
 
1
151
 
SELECT @@local.tmp_table_size = @@session.tmp_table_size;
152
 
@@local.tmp_table_size = @@session.tmp_table_size
153
 
1
154
 
'#---------------------FN_DYNVARS_001_11----------------------#'
155
 
SET tmp_table_size = 1027;
156
 
SELECT @@tmp_table_size;
157
 
@@tmp_table_size
158
 
1027
159
 
SELECT local.tmp_table_size;
160
 
ERROR 42S02: Unknown table 'local' in field list
161
 
SELECT global.tmp_table_size;
162
 
ERROR 42S02: Unknown table 'global' in field list
163
 
SELECT tmp_table_size = @@session.tmp_table_size;
164
 
ERROR 42S22: Unknown column 'tmp_table_size' in 'field list'
165
 
SET @@global.tmp_table_size = @start_global_value;
166
 
SELECT @@global.tmp_table_size;
167
 
@@global.tmp_table_size
168
 
16777216
169
 
SET @@session.tmp_table_size = @start_session_value;
170
 
SELECT @@session.tmp_table_size;
171
 
@@session.tmp_table_size
172
 
16777216