1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-18 20:42:02 +03:00
Files
mariadb-columnstore-engine/mysql/queries/nightly/srvswdev11/test297/.svn/text-base/bug5315.sql.ref.log.svn-base
2016-01-06 14:08:59 -06:00

100 lines
1.4 KiB
Plaintext

--------------
drop table if exists trow
--------------
Query OK, 0 rows affected, 1 warning
--------------
create table trow(col1 int, col2 int) engine=infinidb
--------------
Query OK, 0 rows affected
--------------
insert into trow values(1,2),(3,4)
--------------
Query OK, 2 rows affected
Records: 2 Duplicates: 0 Warnings: 0
--------------
select * from trow
--------------
col1 col2
1 2
3 4
2 rows in set
--------------
update trow set col1 = 10
--------------
Query OK, 2 rows affected
Rows matched: 0 Changed: 0 Warnings: 0
--------------
select * from trow
--------------
col1 col2
10 2
10 4
2 rows in set
--------------
update trow set col1 = 11 where col2=20
--------------
Query OK, 0 rows affected
Rows matched: 0 Changed: 0 Warnings: 0
--------------
update trow set col1 = 11
--------------
Query OK, 2 rows affected
Rows matched: 0 Changed: 0 Warnings: 0
--------------
update trow set col1 = 12 where col2=20
--------------
Query OK, 0 rows affected
Rows matched: 0 Changed: 0 Warnings: 0
--------------
select * from trow
--------------
col1 col2
11 2
11 4
2 rows in set
--------------
delete from trow
--------------
Query OK, 2 rows affected
--------------
delete from trow where col2=20
--------------
Query OK, 0 rows affected
--------------
select * from trow
--------------
Empty set
--------------
drop table trow
--------------
Query OK, 0 rows affected
Bye