mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0 mysql-test/t/variables.test: Auto merged sql/sql_trigger.cc: Auto merged
This commit is contained in:
@ -940,3 +940,12 @@ f5 19 NULL
|
||||
f6 1 NULL
|
||||
f7 64 NULL
|
||||
drop table t1;
|
||||
create table t1 (f1 integer);
|
||||
create trigger tr1 after insert on t1 for each row set @test_var=42;
|
||||
use information_schema;
|
||||
select trigger_schema, trigger_name from triggers where
|
||||
trigger_name='tr1';
|
||||
trigger_schema trigger_name
|
||||
test tr1
|
||||
use test;
|
||||
drop table t1;
|
||||
|
@ -1452,16 +1452,16 @@ Error 1146 Table 'test.t4' doesn't exist
|
||||
checksum table t1, t2, t3, t4;
|
||||
Table Checksum
|
||||
test.t1 2948697075
|
||||
test.t2 1157260244
|
||||
test.t3 1157260244
|
||||
test.t2 3835700799
|
||||
test.t3 3835700799
|
||||
test.t4 NULL
|
||||
Warnings:
|
||||
Error 1146 Table 'test.t4' doesn't exist
|
||||
checksum table t1, t2, t3, t4 extended;
|
||||
Table Checksum
|
||||
test.t1 3092701434
|
||||
test.t2 1157260244
|
||||
test.t3 1157260244
|
||||
test.t2 3835700799
|
||||
test.t3 3835700799
|
||||
test.t4 NULL
|
||||
Warnings:
|
||||
Error 1146 Table 'test.t4' doesn't exist
|
||||
|
@ -525,3 +525,15 @@ set @@warning_count=1;
|
||||
ERROR HY000: Variable 'warning_count' is a read only variable
|
||||
set @@global.error_count=1;
|
||||
ERROR HY000: Variable 'error_count' is a read only variable
|
||||
set @@max_heap_table_size= 4294967296;
|
||||
select @@max_heap_table_size;
|
||||
@@max_heap_table_size
|
||||
4294967296
|
||||
set global max_heap_table_size= 4294967296;
|
||||
select @@max_heap_table_size;
|
||||
@@max_heap_table_size
|
||||
4294967296
|
||||
set @@max_heap_table_size= 4294967296;
|
||||
select @@max_heap_table_size;
|
||||
@@max_heap_table_size
|
||||
4294967296
|
||||
|
@ -622,3 +622,14 @@ select column_name, NUMERIC_PRECISION, NUMERIC_SCALE
|
||||
from information_schema.columns
|
||||
where table_name='t1';
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Bug #12127 triggers do not show in info_schema before they are used if set to the database
|
||||
#
|
||||
create table t1 (f1 integer);
|
||||
create trigger tr1 after insert on t1 for each row set @test_var=42;
|
||||
use information_schema;
|
||||
select trigger_schema, trigger_name from triggers where
|
||||
trigger_name='tr1';
|
||||
use test;
|
||||
drop table t1;
|
||||
|
@ -408,3 +408,13 @@ drop table t1;
|
||||
set @@warning_count=1;
|
||||
--error 1238
|
||||
set @@global.error_count=1;
|
||||
|
||||
#
|
||||
# Bug #10351: Setting max_heap_table_size to 4G fails
|
||||
#
|
||||
set @@max_heap_table_size= 4294967296;
|
||||
select @@max_heap_table_size;
|
||||
set global max_heap_table_size= 4294967296;
|
||||
select @@max_heap_table_size;
|
||||
set @@max_heap_table_size= 4294967296;
|
||||
select @@max_heap_table_size;
|
||||
|
Reference in New Issue
Block a user