~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/tests/t/archive_aio_posix.test

  • Committer: Andrew Hutchings
  • Date: 2010-09-08 19:03:09 UTC
  • mfrom: (1750 staging)
  • mto: (1750.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1751.
  • Revision ID: andrew@linuxjedi.co.uk-20100908190309-mya1nu7xvo1fpvk8
Merge trunk into branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1333
1333
#
1334
1334
# For bug #12836
1335
1335
# Delete was allowing all rows to be removed
1336
 
--error 1031
 
1336
--error ER_ILLEGAL_HA
1337
1337
DELETE FROM t2;
1338
1338
SELECT * FROM t2;
1339
1339
INSERT INTO t2 VALUES (2,011401,37,'breaking','dreaded','Steinberg','W');
1340
1340
INSERT INTO t2 VALUES (3,011402,37,'Romans','scholastics','jarring','');
1341
1341
INSERT INTO t2 VALUES (4,011403,37,'intercepted','audiology','tinily','');
1342
1342
SELECT * FROM t2;
1343
 
--error 1031
 
1343
--error ER_ILLEGAL_HA
1344
1344
TRUNCATE TABLE t2;
1345
1345
SELECT * FROM t2;
1346
1346
 
1370
1370
INSERT INTO t5 VALUES (NULL, "foo");
1371
1371
INSERT INTO t5 VALUES (NULL, "foo");
1372
1372
INSERT INTO t5 VALUES (32, "foo");
1373
 
--error 1022
 
1373
--error ER_DUP_KEY
1374
1374
INSERT INTO t5 VALUES (23, "foo");
1375
1375
INSERT INTO t5 VALUES (NULL, "foo");
1376
1376
INSERT INTO t5 VALUES (NULL, "foo");
1377
 
--error 1022
 
1377
--error ER_DUP_KEY
1378
1378
INSERT INTO t5 VALUES (3, "foo");
1379
1379
INSERT INTO t5 VALUES (NULL, "foo");
1380
1380
SELECT * FROM t5;