diff options
author | Michael Widenius <monty@mysql.com> | 2008-10-12 11:57:24 +0300 |
---|---|---|
committer | Michael Widenius <monty@mysql.com> | 2008-10-12 11:57:24 +0300 |
commit | 5d2a1425d77f927066e14490b0c037fd892eaf17 (patch) | |
tree | 926617b5e4d9f2596e46175b1a593966317ecef3 /mysql-test/suite/maria/r/maria.result | |
parent | 57c1a63d49a4729e417102b48d4b5c0ca31c4585 (diff) | |
parent | 0e43d765573ececac5c0b013235f11aa3c66fbda (diff) | |
download | mariadb-git-5d2a1425d77f927066e14490b0c037fd892eaf17.tar.gz |
(Mostly) automatic merge
Fixed also some failing tests after merge. The files that was touched outside of the merge has a more explicit comment
include/my_global.h:
Remove 'register' from 'swap_variables' as this gives a warnings when the variables are structs. Compilers should also now be smart enough to figure out this themselves
mysql-test/t/subselect_debug.test:
Reset value of the debug variable; Without setting this the subselect_innodb test will fail when run after this one
sql/mysqld.cc:
Fix for Bug #39987 main.partition_not_windows fails under debug build
The problem was that when compiling for purify/valgrind realpath() is not used, which causes test_if_data_home_dir to fail when it shouldn't
unittest/mysys/waiting_threads-t.c:
Remove not needed 'volatile' to get rid of compiler warnings on windows
Diffstat (limited to 'mysql-test/suite/maria/r/maria.result')
-rw-r--r-- | mysql-test/suite/maria/r/maria.result | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/mysql-test/suite/maria/r/maria.result b/mysql-test/suite/maria/r/maria.result index 3983b56c2a8..67db557bc99 100644 --- a/mysql-test/suite/maria/r/maria.result +++ b/mysql-test/suite/maria/r/maria.result @@ -987,7 +987,6 @@ set @a=repeat(' ',20); insert into t1 values (concat('+',@a),concat('+',@a),concat('+',@a)); Warnings: Note 1265 Data truncated for column 'v' at row 1 -Note 1265 Data truncated for column 'c' at row 1 select concat('*',v,'*',c,'*',t,'*') from t1; concat('*',v,'*',c,'*',t,'*') *+ *+*+ * @@ -1749,6 +1748,28 @@ id ref 3 2 4 5 DROP TABLE t1, t2; +CREATE TABLE t1 (a INT) ENGINE=MARIA CHECKSUM=1 ROW_FORMAT=DYNAMIC; +INSERT INTO t1 VALUES (0); +UPDATE t1 SET a=1; +SELECT a FROM t1; +a +1 +CHECK TABLE t1; +Table Op Msg_type Msg_text +test.t1 check status OK +INSERT INTO t1 VALUES (0), (5), (4), (2); +UPDATE t1 SET a=2; +SELECT a FROM t1; +a +2 +2 +2 +2 +2 +CHECK TABLE t1; +Table Op Msg_type Msg_text +test.t1 check status OK +DROP TABLE t1; End of 5.0 tests create table t1 (a int not null, key `a` (a) key_block_size=1024); show create table t1; |