~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/bulk_replace.test

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-21 01:02:23 UTC
  • mto: (960.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 961.
  • Revision ID: osullivan.padraig@gmail.com-20090321010223-j8cph7eeyt1u3xol
Fixed function object to ensure it correctly returns a boolean type since
memcmp returns an integer. Added some more comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
--enable_warnings
8
8
CREATE TABLE t1 (a int, unique (a), b int not null, unique(b), c int not null, index(c));
9
9
replace into t1 values (1,1,1),(2,2,2),(3,1,3);
 
10
--sorted_result
10
11
select * from t1;
11
12
check table t1;
12
13
drop table t1;