~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/mysql-test/innodb_bug44032.test

  • Committer: Monty Taylor
  • Date: 2009-08-12 06:25:19 UTC
  • mto: (1114.1.1 innodb-plugin-merge)
  • mto: This revision was merged to the branch mainline in revision 1183.
  • Revision ID: mordred@inaugust.com-20090812062519-cij02mrrunvnxblt
Tags: innodb-plugin-1.0.4
InnoDB Plugin 1.0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Bug44032 no update-in-place of UTF-8 columns in ROW_FORMAT=REDUNDANT
 
2
# (btr_cur_update_in_place not invoked when updating from/to NULL;
 
3
# the update is performed by delete and insert instead)
 
4
 
 
5
-- source include/have_innodb.inc
 
6
 
 
7
CREATE TABLE bug44032(c CHAR(3) CHARACTER SET UTF8) ROW_FORMAT=REDUNDANT
 
8
ENGINE=InnoDB;
 
9
INSERT INTO bug44032 VALUES('abc'),(0xEFBCA4EFBCA4EFBCA4);
 
10
UPDATE bug44032 SET c='DDD' WHERE c=0xEFBCA4EFBCA4EFBCA4;
 
11
UPDATE bug44032 SET c=NULL WHERE c='DDD';
 
12
UPDATE bug44032 SET c='DDD' WHERE c IS NULL;
 
13
DROP TABLE bug44032;