summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2004-09-11 12:31:28 +0200
committerunknown <ingo@mysql.com>2004-09-11 12:31:28 +0200
commit3ffc483275d6b8e733ddd98d534263f6f533cc9d (patch)
tree72484b6643fb7ad93e32a0f1c59e406d1795b9eb /mysql-test/r
parent6607b50754b35747f43b09355ee6c372c67c7503 (diff)
parent7c80446c4e0bd6d4572bdbc3a5498c379c49d0a5 (diff)
downloadmariadb-git-3ffc483275d6b8e733ddd98d534263f6f533cc9d.tar.gz
Merge mysql.com:/home/mydev/mysql-4.1
into mysql.com:/home/mydev/mysql-4.1-bug4788
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/variables.result26
1 files changed, 26 insertions, 0 deletions
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result
index 5d3f32cdd55..b2a97ce3e48 100644
--- a/mysql-test/r/variables.result
+++ b/mysql-test/r/variables.result
@@ -452,3 +452,29 @@ set global log_warnings = @tstlw;
show global variables like 'log_warnings';
Variable_name Value
log_warnings 1
+create table t1 (
+c1 tinyint,
+c2 smallint,
+c3 mediumint,
+c4 int,
+c5 bigint);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` tinyint(4) default NULL,
+ `c2` smallint(6) default NULL,
+ `c3` mediumint(9) default NULL,
+ `c4` int(11) default NULL,
+ `c5` bigint(20) default NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;
+set @arg00= 8, @arg01= 8.8, @arg02= 'a string';
+create table t1 as select @arg00 as c1, @arg01 as c2, @arg02 as c3;
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` bigint(20) default NULL,
+ `c2` double default NULL,
+ `c3` longtext
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;